:root {
    --c-forest: #7A1B0E;
    --c-green: #C42128;
    --c-green-light: #E8B84D;
    --c-green-soft: #FFF3D6;
    --c-amber: #F4C430;
    --c-amber-light: #FFE082;
    --c-red: #C42128;
    --c-red-dark: #8B1A1A;
    --c-bg: #FFFDF7;
    --c-surface: #ffffff;
    --c-surface-warm: #FFFBF0;
    --c-text: #1b1b1e;
    --c-text-2: #52525b;
    --c-text-3: #a1a1aa;
    --c-border: #e4e4e7;
    --c-border-light: #f5f0e8;
    --radius: 16px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
    --shadow: 0 4px 24px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.07);
    --shadow-lg: 0 20px 48px rgba(0,0,0,0.1);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--c-text);
    background: var(--c-bg);
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── TOP BAR ── */
.top-bar {
    background: var(--c-forest);
    color: rgba(255,255,255,0.7);
    padding: 6px 0;
    font-size: 0.75rem;
    letter-spacing: 0.3px;
}

.top-bar strong { color: var(--c-amber-light); font-weight: 600; }
.top-bar i { opacity: 0.7; }

/* ── NAVBAR ── */
.main-navbar {
    background: rgba(122,27,14,0.95);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    padding: 0;
    z-index: 1050;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 1px 24px rgba(0,0,0,0.12);
}

.main-navbar .container {
    min-height: 60px;
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.brand-icon {
    font-size: 1.5rem;
    color: var(--c-amber);
}

.brand-text {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, #fff 30%, var(--c-amber-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-navbar .nav-link {
    color: rgba(255,255,255,0.75) !important;
    font-weight: 500;
    padding: 7px 14px !important;
    border-radius: var(--radius-xs);
    transition: all 0.2s var(--ease);
    font-size: 0.88rem;
    letter-spacing: 0.2px;
}

.main-navbar .nav-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.1);
}

.btn-cart {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s var(--ease);
    position: relative;
}

.btn-cart:hover {
    background: rgba(255,255,255,0.16);
    color: #fff;
    transform: translateY(-1px);
}

.cart-count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--c-red);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--c-forest);
}

/* ── HERO BANNER ── */
.hero-banner {
    background: linear-gradient(135deg, var(--c-forest) 0%, var(--c-green) 100%);
    color: #fff;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -10%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(224,159,62,0.1), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.hero-banner-text h1 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.2px;
}

.hero-banner-text p {
    margin: 4px 0 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

.hero-banner-text p strong { color: var(--c-amber-light); }

.text-gradient {
    background: linear-gradient(135deg, var(--c-amber-light), var(--c-amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-hero-primary {
    background: #fff;
    color: var(--c-forest) !important;
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-xs);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.25s var(--ease);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.btn-hero-primary:hover {
    background: var(--c-amber-light);
    color: var(--c-forest) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* ── TRUST STRIP ── */
.trust-strip {
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border-light);
    padding: 10px 0;
}

.trust-strip-inner {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.trust-strip-inner span {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--c-text-2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.trust-strip-inner span i {
    color: var(--c-green);
    font-size: 0.85rem;
}

/* ── COUNTDOWN ── */
.countdown-banner {
    background: linear-gradient(135deg, #c1121f 0%, var(--c-red) 100%);
    padding: 14px 0;
    position: relative;
    overflow: hidden;
}

.countdown-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(-45deg, transparent, transparent 12px, rgba(255,255,255,0.03) 12px, rgba(255,255,255,0.03) 24px);
}

.countdown-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.countdown-label {
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.countdown-label i {
    font-size: 1.05rem;
    animation: flash-icon 1.5s ease-in-out infinite;
}

@keyframes flash-icon {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.countdown-timer { display: flex; align-items: center; gap: 5px; }

.cd-block { text-align: center; }

.cd-num {
    display: block;
    background: rgba(0,0,0,0.25);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    min-width: 46px;
    padding: 4px 8px;
    border-radius: var(--radius-xs);
    font-variant-numeric: tabular-nums;
    line-height: 1.3;
    backdrop-filter: blur(4px);
}

.cd-lbl {
    display: block;
    font-size: 0.58rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.cd-sep {
    color: rgba(255,255,255,0.4);
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: -14px;
}

.countdown-cta {
    background: #fff;
    color: var(--c-red) !important;
    padding: 8px 20px;
    border-radius: var(--radius-xs);
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none !important;
    transition: all 0.2s var(--ease);
    white-space: nowrap;
}

.countdown-cta:hover {
    background: var(--c-amber-light);
    color: var(--c-forest) !important;
    transform: translateY(-1px);
}

/* ── SECTION HEADERS ── */
.section-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 12px;
    flex-wrap: wrap;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--c-text);
    margin-bottom: 0;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-countdown {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--c-red);
    color: #fff;
    padding: 6px 14px;
    border-radius: var(--radius-xs);
    font-size: 0.78rem;
    font-weight: 700;
    animation: pulse-badge 2s ease-in-out infinite;
}

.section-countdown i { font-size: 0.85rem; }

@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(230,57,70,0.25); }
    50% { box-shadow: 0 0 0 8px rgba(230,57,70,0); }
}

/* ── SECTIONS ── */
.campaign-section,
.bestseller-section,
.products-section {
    padding: 48px 0;
}

.campaign-section { background: var(--c-surface-warm); }
.bestseller-section { background: var(--c-bg); }
.products-section { background: var(--c-surface); }

/* ── PRODUCT CARDS ── */
.product-card {
    background: var(--c-surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--c-border-light);
    transition: all 0.3s var(--ease);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.product-card--hot {
    border: 1px solid rgba(230,57,70,0.1);
    background: linear-gradient(180deg, rgba(230,57,70,0.01) 0%, var(--c-surface) 30%);
}

.product-card--hot:hover {
    border-color: rgba(230,57,70,0.15);
    box-shadow: 0 8px 32px rgba(230,57,70,0.08);
}

.product-image-wrapper {
    position: relative;
    padding-top: 100%;
    background: linear-gradient(160deg, #fafaf8 0%, #f0efed 100%);
    overflow: hidden;
}

.product-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.05);
}

.product-card--hot .product-image-wrapper img {
    object-fit: contain;
    padding: 8px;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.product-badge--right {
    left: auto;
    right: 10px;
}

.badge-discount {
    background: var(--c-red);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.badge-out-of-stock {
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
}

.badge-rank {
    background: var(--c-amber);
    color: var(--c-forest);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 800;
}

.product-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 6px;
    color: var(--c-text);
    line-height: 1.4;
}

.product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.product-title a:hover { color: var(--c-red); }

.product-meta { margin-bottom: 8px; }

.meta-sales {
    font-size: 0.73rem;
    color: var(--c-text-3);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.meta-sales i { font-size: 0.68rem; color: var(--c-green-light); }

.product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
}

.price-current {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--c-green);
}

.price-old {
    font-size: 0.82rem;
    color: var(--c-text-3);
    text-decoration: line-through;
}

.product-savings {
    font-size: 0.7rem;
    color: var(--c-green);
    font-weight: 600;
    background: var(--c-green-soft);
    padding: 4px 8px;
    border-radius: 6px;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.product-savings i { font-size: 0.68rem; }

.product-stock {
    font-size: 0.73rem;
    color: var(--c-amber);
    font-weight: 500;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-stock.out {
    color: var(--c-red);
    font-weight: 600;
}

.product-timer-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: rgba(198,28,35,0.9);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
    backdrop-filter: blur(8px);
    z-index: 2;
}

.product-timer-badge i { font-size: 0.72rem; }

.btn-add-cart {
    background: var(--c-green);
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: var(--radius-xs);
    font-weight: 600;
    font-size: 0.82rem;
    transition: all 0.25s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: auto;
    cursor: pointer;
}

.btn-add-cart:hover {
    background: var(--c-forest);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(26,58,42,0.25);
}

.btn-add-cart:disabled {
    background: var(--c-border);
    color: var(--c-text-3);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ── PRODUCT DETAIL ── */
.product-detail-section { padding: 40px 0 70px; }

.product-detail-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--c-border-light);
}

.product-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-detail-info h1 {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 15px;
    letter-spacing: -0.3px;
}

.detail-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.detail-price .price-current { font-size: 2rem; }
.detail-price .price-old { font-size: 1.15rem; }

.detail-description {
    color: var(--c-text-2);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.quantity-control {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.quantity-control button {
    width: 42px;
    height: 42px;
    border: 1px solid var(--c-border);
    background: var(--c-surface);
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s var(--ease);
    color: var(--c-text);
}

.quantity-control button:first-child { border-radius: var(--radius-xs) 0 0 var(--radius-xs); }
.quantity-control button:last-child { border-radius: 0 var(--radius-xs) var(--radius-xs) 0; }
.quantity-control button:hover { background: var(--c-green-soft); border-color: var(--c-green-light); }

.quantity-control input {
    width: 56px;
    height: 42px;
    text-align: center;
    border: 1px solid var(--c-border);
    border-left: none;
    border-right: none;
    font-weight: 600;
    font-size: 0.95rem;
    outline: none;
    background: var(--c-surface);
    color: var(--c-text);
}

.btn-add-cart-lg {
    background: var(--c-green);
    color: #fff;
    border: none;
    padding: 13px 36px;
    border-radius: var(--radius-xs);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.25s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.btn-add-cart-lg:hover {
    background: var(--c-forest);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(45,106,79,0.25);
}

.btn-add-cart-lg:disabled {
    background: var(--c-border);
    color: var(--c-text-3);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ── BREADCRUMB ── */
.page-breadcrumb {
    background: var(--c-surface);
    padding: 14px 0;
    border-bottom: 1px solid var(--c-border-light);
}

.page-breadcrumb .breadcrumb { margin: 0; font-size: 0.85rem; }

.page-breadcrumb .breadcrumb-item a {
    color: var(--c-green);
    text-decoration: none;
    transition: color 0.2s;
}

.page-breadcrumb .breadcrumb-item a:hover { color: var(--c-forest); }

/* ── CART ── */
.cart-section { padding: 40px 0 70px; }

.cart-table {
    background: var(--c-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--c-border-light);
}

.cart-table table { margin-bottom: 0; }

.cart-table th {
    background: var(--c-forest);
    color: #fff;
    font-weight: 600;
    padding: 14px 20px;
    border: none;
    font-size: 0.85rem;
    letter-spacing: 0.2px;
}

.cart-table td {
    padding: 16px 20px;
    vertical-align: middle;
    border-color: var(--c-border-light);
}

.cart-item-img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: var(--radius-xs);
}

.cart-item-name { font-weight: 600; color: var(--c-text); font-size: 0.9rem; }

.cart-qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-xs);
    overflow: hidden;
}

.cart-qty-control button {
    width: 34px;
    height: 34px;
    border: none;
    background: var(--c-surface);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s var(--ease);
    color: var(--c-text);
}

.cart-qty-control button:hover { background: var(--c-green-soft); }

.cart-qty-control span {
    padding: 0 12px;
    font-weight: 600;
    min-width: 40px;
    text-align: center;
    font-size: 0.9rem;
}

.btn-remove {
    color: var(--c-red);
    border: none;
    background: none;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    padding: 6px 8px;
    border-radius: 6px;
}

.btn-remove:hover { background: rgba(230,57,70,0.08); }

.cart-summary {
    background: var(--c-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    border: 1px solid var(--c-border-light);
}

.cart-summary h5 {
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--c-border-light);
    font-size: 1.05rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.92rem;
    color: var(--c-text-2);
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0 0;
    margin-top: 10px;
    border-top: 2px solid var(--c-green);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--c-green);
}

.cart-empty { text-align: center; padding: 80px 20px; }
.cart-empty i { font-size: 4rem; color: var(--c-border); margin-bottom: 20px; }
.cart-empty h4 { color: var(--c-text-2); margin-bottom: 10px; font-weight: 700; }
.cart-empty p { color: var(--c-text-3); margin-bottom: 25px; }

.btn-continue-shopping {
    background: var(--c-green);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius-xs);
    font-weight: 600;
    transition: all 0.25s var(--ease);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-continue-shopping:hover {
    background: var(--c-forest);
    color: #fff;
    transform: translateY(-1px);
}

/* ── CHECKOUT ── */
.checkout-section { padding: 40px 0 70px; }

.checkout-form {
    background: var(--c-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    border: 1px solid var(--c-border-light);
}

.checkout-form h5 {
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--c-border-light);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
}

.checkout-form .form-label {
    font-weight: 500;
    color: var(--c-text);
    margin-bottom: 6px;
    font-size: 0.88rem;
}

.checkout-form .form-control {
    border: 1.5px solid var(--c-border);
    border-radius: var(--radius-xs);
    padding: 10px 14px;
    transition: all 0.2s var(--ease);
    font-size: 0.92rem;
    background: var(--c-surface);
}

.checkout-form .form-control:focus,
.checkout-form .form-select:focus {
    border-color: var(--c-green);
    box-shadow: 0 0 0 3px rgba(45,106,79,0.1);
}

.checkout-form .form-select {
    border: 1.5px solid var(--c-border);
    border-radius: var(--radius-xs);
    padding: 10px 14px;
    transition: all 0.2s var(--ease);
    cursor: pointer;
    background-color: var(--c-surface);
    font-size: 0.92rem;
}

.checkout-form .form-select:disabled {
    background-color: var(--c-bg);
    cursor: not-allowed;
}

.btn-checkout {
    background: var(--c-green);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: var(--radius-xs);
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    margin-top: 20px;
    transition: all 0.25s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
}

.btn-checkout:hover {
    background: var(--c-forest);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(26,58,42,0.2);
}

/* ── TOAST ── */
.toast-container {
    position: fixed;
    top: 76px;
    right: 20px;
    z-index: 9999;
}

.custom-toast {
    background: var(--c-surface);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 14px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    animation: slideIn 0.35s var(--ease-spring);
    border-left: 4px solid var(--c-green);
}

.custom-toast.error { border-left-color: var(--c-red); }
.custom-toast i { font-size: 1.3rem; color: var(--c-green); flex-shrink: 0; }
.custom-toast.error i { color: var(--c-red); }

@keyframes slideIn {
    from { transform: translateX(110%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(110%); opacity: 0; }
}

/* ── FOOTER ── */
.site-footer {
    background: var(--c-forest);
    color: rgba(255,255,255,0.65);
    padding: 52px 0 0;
    margin-top: 16px;
}

.footer-title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 18px;
    font-size: 1rem;
    letter-spacing: 0.2px;
}

.footer-desc {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.45);
}

.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-xs);
    background: rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: all 0.2s var(--ease);
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-social a:hover {
    background: var(--c-green);
    color: #fff;
    transform: translateY(-2px);
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }

.footer-links a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.footer-links a::before {
    content: '›';
    font-weight: 700;
    opacity: 0;
    transition: all 0.2s var(--ease);
    margin-left: -6px;
}

.footer-links a:hover { color: #fff; }
.footer-links a:hover::before { opacity: 1; margin-left: 0; }

.footer-contact { list-style: none; padding: 0; margin: 0; }

.footer-contact li {
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--c-green-light);
    font-size: 0.95rem;
    width: 18px;
    text-align: center;
}

.footer-divider {
    border-color: rgba(255,255,255,0.06);
    margin: 28px 0 18px;
}

.footer-copy {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
    margin: 0;
}

.footer-trust {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
}

.footer-trust i { color: var(--c-green-light); }

/* ── CTA ── */
.cta-section { padding: 48px 0 64px; background: var(--c-bg); }

.cta-card {
    background: linear-gradient(135deg, var(--c-forest) 0%, var(--c-green) 100%);
    border-radius: 20px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(224,159,62,0.1), transparent 65%);
    border-radius: 50%;
}

.cta-content { position: relative; z-index: 2; max-width: 560px; }
.cta-content h3 { font-size: 1.7rem; font-weight: 800; margin-bottom: 10px; }
.cta-content p { color: rgba(255,255,255,0.75); margin-bottom: 20px; line-height: 1.7; }
.cta-content p strong { color: var(--c-amber-light); }

.btn-cta {
    background: #fff;
    color: var(--c-forest);
    border: none;
    padding: 13px 30px;
    border-radius: var(--radius-xs);
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.25s var(--ease);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-cta:hover {
    background: var(--c-amber-light);
    color: var(--c-forest);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.cta-visual {
    position: relative;
    z-index: 2;
    font-size: 5rem;
    color: rgba(255,255,255,0.1);
}

/* ── ORDER SUCCESS (inline page) ── */
.order-success { text-align: center; padding: 60px 20px; }
.order-success i { font-size: 5rem; color: var(--c-green); margin-bottom: 20px; }

/* ── BADGES (section) ── */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(230,57,70,0.06);
    color: var(--c-red);
    padding: 5px 14px;
    border-radius: var(--radius-xs);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.section-badge--warm { background: rgba(224,159,62,0.08); color: #c77d17; }
.section-badge--dark { background: rgba(45,106,79,0.06); color: var(--c-green); }
.section-subtitle { color: var(--c-text-2); margin-bottom: 0; font-size: 0.92rem; }

/* ── PAYMENT SECTION (for checkout inline styles compat) ── */
.payment-placeholder {
    background: var(--c-surface-warm);
    border: 2px dashed var(--c-border);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    margin-top: 10px;
}

.payment-placeholder i { font-size: 3rem; color: var(--c-green); margin-bottom: 15px; }
.payment-placeholder h6 { font-weight: 600; color: var(--c-text); }
.payment-placeholder p { color: var(--c-text-2); font-size: 0.9rem; margin: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .cta-card { padding: 32px; flex-direction: column; text-align: center; }
    .cta-visual { display: none; }
}

@media (max-width: 767px) {
    .hero-banner-inner { flex-direction: column; text-align: center; gap: 12px; }
    .hero-banner-text h1 { font-size: 1.05rem; justify-content: center; }
    .section-title { font-size: 1.3rem; }
    .campaign-section,
    .bestseller-section,
    .products-section { padding: 32px 0; }
    .cart-table { overflow: hidden; }
    .cart-table table,
    .cart-table tbody,
    .cart-table tr,
    .cart-table td { display: block; width: 100%; }
    .cart-table thead { display: none; }
    .cart-table tr {
        padding: 8px 0;
        border-bottom: 1px solid var(--c-border-light);
    }
    .cart-table tr:last-child { border-bottom: 0; }
    .cart-table td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 9px 14px;
        border: 0;
        font-size: 0.85rem;
    }
    .cart-table td::before {
        color: var(--c-text-3);
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        flex: 0 0 60px;
    }
    .cart-table td:nth-child(1) { display: block; padding-bottom: 10px; }
    .cart-table td:nth-child(1)::before { display: none; }
    .cart-table td:nth-child(2)::before { content: 'Fiyat'; }
    .cart-table td:nth-child(3)::before { content: 'Adet'; }
    .cart-table td:nth-child(4)::before { content: 'Toplam'; }
    .cart-table td:nth-child(5)::before { content: 'İşlem'; }
    .cart-table td:nth-child(5) { justify-content: flex-start; }
    .cart-table td > form { margin-left: auto; }
    .cart-table .d-flex { width: 100%; gap: 10px !important; }
    .cart-item-img { width: 48px; height: 48px; flex: 0 0 48px; }
    .cart-item-name { min-width: 0; overflow-wrap: anywhere; }
    .cart-qty-control { margin-left: auto; }
    .page-breadcrumb { padding: 8px 0; }
    .page-breadcrumb .breadcrumb { font-size: 0.78rem; }
    .product-detail-section { padding: 8px 0 40px; }
    .product-detail-section .row.g-4 { --bs-gutter-y: 0.5rem; }
    .product-detail-image { max-height: 220px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
    .product-detail-image img { max-height: 220px; width: auto; max-width: 100%; object-fit: contain; }
    .product-detail-info h1 { font-size: 1.25rem; margin-bottom: 6px; }
    .product-detail-info .detail-price { margin-bottom: 8px; }
    .product-detail-info .detail-price .price-current { font-size: 1.5rem; }
    .product-detail-info .product-stock { margin-bottom: 8px !important; }
    .product-detail-info .btn-add-cart-lg { padding: 12px 24px; font-size: 0.95rem; }
    .cta-card { padding: 24px; }
    .cta-content h3 { font-size: 1.35rem; }
    .countdown-banner-inner { gap: 12px; }
    .cd-num { font-size: 1.1rem; min-width: 40px; }
    .trust-strip-inner { gap: 14px; }
    .site-footer { padding: 40px 0 0; }
}

@media (max-width: 575px) {
    .hero-banner { padding: 16px 0; }
    .hero-banner-text h1 { font-size: 0.95rem; }
    .btn-hero-primary { padding: 8px 16px; font-size: 0.8rem; }
    .trust-strip-inner span { font-size: 0.68rem; }
    .trust-strip-inner { gap: 10px; }
    .cart-summary { padding: 20px; }
    .checkout-form { padding: 18px; }
    .product-body { padding: 12px; }
    .product-title { font-size: 0.82rem; }
    .price-current { font-size: 1.05rem; }
    .btn-add-cart { padding: 9px 12px; font-size: 0.78rem; }
    .countdown-label { font-size: 0.8rem; }
    .cd-num { font-size: 0.95rem; min-width: 34px; padding: 3px 6px; }
    .cd-lbl { font-size: 0.52rem; }
    .countdown-cta { padding: 6px 14px; font-size: 0.75rem; }
    .section-countdown { font-size: 0.7rem; padding: 5px 10px; }
    .section-header-row { margin-bottom: 16px; }
    .main-navbar .container { min-height: 52px; }
}
