/* --- Checkout Independent Styles --- */
:root {
    --primary-black: #050505;
    --accent-green: #bceeb0;
    --font-main: 'Inter', sans-serif;
}

body {
    background-color: #fff !important;
    color: #000 !important;
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
}

/* Custom Promo Stripe for Checkout */
.promo-stripe {
    background-color: #6bffff !important;
    color: #000 !important;
}

/* Specific Footer Styles for Checkout */
.checkout-body #mainFooter .social-icons a,
.checkout-body #mainFooter .locale-btn {
    color: #000 !important;
}
.checkout-body #mainFooter .social-icons a svg {
    stroke: #000 !important;
}

.checkout-page {
    padding-top: 50px;
    padding-bottom: 100px;
}

.checkout-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    padding: 0 20px;
}

@media (max-width: 900px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }
}

/* Forms */
.checkout-section {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkout-section h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.checkout-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.shipping-method-box {
    border: 1px solid #000;
    border-radius: 4px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.shipping-method-box.hidden {
    display: none !important;
}

.payment-methods {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 15px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

.payment-option:last-child {
    border-bottom: none;
}

.complete-order-btn {
    width: 100%;
    padding: 20px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 20px;
}

/* Summary */
.checkout-right {
    background: #fafafa;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    height: fit-content;
}

.summary-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.item-img-container {
    position: relative;
    width: 64px;
    height: 64px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
}

.item-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.item-qty-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #888;
    color: #fff;
    font-size: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-info h3 {
    font-size: 14px;
    margin: 0;
}

.item-info p {
    font-size: 12px;
    color: #888;
    margin: 2px 0;
}

.coupon-section {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.coupon-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.apply-btn {
    padding: 10px 20px;
    background: #eee;
    border: none;
    border-radius: 4px;
    font-weight: 700;
}

.summary-totals {
    margin-top: 30px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.grand-total {
    font-size: 20px;
    font-weight: 700;
    border-top: 1px solid #ddd;
    padding-top: 15px;
    margin-top: 15px;
}

.savings-note {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

/* Utilities */
.hidden {
    display: none !important;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 20px;
}

.signin-link {
    font-size: 14px;
    color: #000;
    text-decoration: underline;
}