@charset "UTF-8";
:root {
    --primary: #0055ff;
    --primary-hover: #0044cc;
    --dark: #0f172a;
    --light: #ffffff;
    --bg-light: #f8fafc;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow: 0 10px 30px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.08);
    --radius: 20px;
    --radius-sm: 12px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #fff;
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.5;
}

/* Navigation overlay removed (caused black-screen effect on some mobile browsers). */

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

/* Top Announcement Bar */
.top-bar {
    background: var(--dark);
    color: #fff;
    text-align: center;
    padding: 12px 0;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Header Redesign */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 1000;
}

.header-main {
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo-area {
    flex-shrink: 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -1px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--primary);
    padding: 5px 15px;
    border-radius: 8px;
    text-transform: uppercase;
}

.search-area {
    flex: 1;
    max-width: 600px;
}
.mobile-home-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s;
    flex-shrink: 0;
}
.mobile-home-btn i { width: 22px; height: 22px; }
.mobile-home-btn:hover { border-color: var(--primary); background: #f8fbff; }

.header-search-wrap {
    position: relative;
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s ease;
    overflow: hidden;
}

.header-search-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.1);
}

.header-search-wrap input {
    flex: 1;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1e293b;
    outline: none;
}

.search-icon-inside {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    width: 20px;
    height: 20px;
    transition: color 0.2s;
}

.header-search-wrap:focus-within .search-icon-inside {
    color: var(--primary);
}

.btn-search {
    background: transparent;
    color: var(--primary);
    border: none;
    padding: 0 1.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-search:hover {
    background: var(--bg-light);
}

.user-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s;
    background: #fff;
}

.action-btn i {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.action-btn:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.action-btn:hover i {
    color: var(--primary);
}

.action-btn.cart-btn {
    border-color: var(--primary);
}

.action-btn.cart-btn i {
    color: var(--primary);
}

/* Orange Nav Bar */
.header-nav-orange {
    background: var(--primary);
    position: relative; /* Mega menu buna göre hizalanacak */
}

.cat-nav {
    max-width: 1400px;
    margin: 0 auto;
}

.cat-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-start; /* Sola yaslı veya merkez olabilir */
    gap: 0;
}

.cat-nav li {
    position: static;
}

.cat-nav a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 1rem 1.25rem;
    white-space: nowrap;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cat-nav a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Mega Menu Container - TAM GENİŞLİK */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(0,0,0,0.05);
    visibility: hidden;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 3rem 0;
    z-index: 9999;
    pointer-events: none;
}

/* Hover Köprüsü: Menü ile link arasındaki boşluğu kapatır */
.mega-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.cat-nav li:hover .mega-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Click-to-open support (desktop) */
.cat-nav li.is-open .mega-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mega-menu-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.mega-menu-grid {
    display: grid;
    /* Sol liste kısa olduğunda gereksiz dev boşluk oluşmasın; uzun listede yine genişleyebilsin */
    grid-template-columns: minmax(320px, 1fr) 580px;
    gap: 2.25rem;
    align-items: start;
}

.mega-menu-list-wrapper {
    flex: 1;
    max-width: 520px;
}

.mega-menu-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

.mega-menu-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem 2.5rem;
}

.mega-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    text-decoration: none !important;
    color: #334155 !important;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    background: #f8fafc;
    border: 1px solid transparent;
}

.mega-menu-item:hover {
    background: #fff;
    border-color: var(--primary);
    color: var(--primary) !important;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* ============================================================
   Mega Menü — Fırsat Ürünleri (Promo) Alanı
   ============================================================ */
.mega-menu-promo {
    width: 580px;
    background: #f8fafc;
    border-radius: 20px;
    padding: 3.5rem 1.5rem 1.5rem;
    border: 1px solid #e2e8f0;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    text-transform: none !important;
    text-align: left !important;
}

.mega-menu-promo::before {
    content: 'FIRSAT \00DC R\00DC NLER\0130';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    width: calc(100% - 32px);
    height: 36px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
}

.mega-menu-promo .product-card {
    background: #fff;
    padding: 0.75rem;
    border-radius: 16px;
    border: 1px solid #eef2f6;
    height: auto;
}

.mega-menu-promo .product-card__media {
    height: 140px;
    border-radius: 12px;
    margin-bottom: 0.75rem;
}

.mega-menu-promo .product-title {
    font-size: 0.85rem;
    min-height: auto;
    margin-bottom: 0.5rem;
}
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
    z-index: 10;
    text-transform: uppercase !important;
}

.mega-menu-promo .product-card {
    background: #fff;
    padding: 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    text-transform: none !important;
    text-align: left !important;
}

/* Anchor'ın kendi padding'i boşluk oluşturur — sıfırla */
.mega-menu-promo .product-card__link {
    padding: 0 !important;
}

.mega-menu-promo .product-card__media {
    height: 180px;
}

/* Başlık bölgesi — body padding'i boşluk kaynağı */
.mega-menu-promo .product-card__body {
    padding: 0 !important;
}

.mega-menu-promo .product-title {
    text-transform: none !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    color: var(--dark) !important;
    padding: 8px 14px 4px !important;
    margin: 0 !important;
    text-align: left !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    line-height: 1.3 !important;
}

.mega-menu-promo .product-card__footer {
    padding: 8px 14px 14px !important;
    text-transform: none !important;
    text-align: left !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 900px) {
    .site-header {
        position: relative !important;
        background: #fff;
        border-bottom: none !important;
    }
    .header-main {
        padding: 0.5rem 0;
        border-bottom: none !important;
    }
    .header-container {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-areas: "menu logo actions"
                             "search search search";
        gap: 0.5rem;
        align-items: center;
        padding: 0 16px;
    }
    .mobile-menu-btn {
        display: flex !important;
        grid-area: menu;
        background: var(--primary);
        color: #fff;
        border: none;
        width: 36px;
        height: 36px;
        align-items: center;
        justify-content: center;
        border-radius: 4px;
        cursor: pointer;
    }
    .logo-area {
        grid-area: logo;
        margin: 0;
        text-align: left;
        display: flex;
        align-items: center;
        padding-left: 0.25rem;
    }
    .logo {
        font-size: 1.25rem !important;
        height: 40px;
        padding: 0 10px !important;
        border: 2px solid var(--primary) !important;
        border-radius: 8px !important;
        white-space: nowrap;
        font-weight: 900;
        letter-spacing: -0.5px;
    }
    .search-area {
        grid-area: search;
        width: 100%;
        min-width: 0;
        margin-top: 0.4rem;
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        gap: 0.55rem;
    }
    .mobile-home-btn {
        display: flex;
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        border: 1.5px solid #e2e8f0;
        border-radius: 8px;
    }
    .mobile-home-btn i { width: 20px; height: 20px; }
    .header-search-wrap {
        border-radius: 8px !important;
        border-color: #e2e8f0;
        flex: 1 1 auto;
        min-width: 0;
        height: 40px;
    }
    .header-search-wrap input {
        padding: 0.5rem 0.5rem 0.5rem 2rem !important;
        font-size: 0.85rem !important;
        height: 100%;
    }
    .search-icon-inside {
        left: 0.5rem !important;
        width: 16px !important;
        height: 16px !important;
    }
    .btn-search {
        padding: 0 0.75rem !important;
        font-size: 0.85rem !important;
        color: var(--primary);
    }
    .user-actions {
        display: none !important;
    }
    .mobile-actions {
        display: flex !important;
        grid-area: actions;
        gap: 0.5rem;
        align-items: center;
    }
    .m-action-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        color: var(--text);
        text-decoration: none;
        position: relative;
    }
    .m-action-btn i {
        width: 18px;
        height: 18px;
    }
    .m-action-btn.m-cart-btn {
        border-color: var(--primary);
        color: var(--primary);
    }
    .m-cart-badge {
        position: absolute;
        top: -5px;
        right: -5px;
        background: var(--primary);
        color: #fff;
        font-size: 0.65rem;
        font-weight: 700;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .cat-nav ul {
        justify-content: flex-start;
        padding: 0 1rem;
    }
    .header-nav-orange {
        display: none;
    }
}

/* Brand Stories */
.stories-container {
    display: flex;
    gap: 1.2rem;
    padding: 1.5rem 8%;
    overflow-x: auto;
    scrollbar-width: none;
    background: #fff;
}

.stories-container::-webkit-scrollbar { display: none; }

.story {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    min-width: 85px;
    cursor: pointer;
}

.story-img {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    padding: 3px;
    border: 2.5px solid var(--primary);
    object-fit: cover;
    transition: var(--transition);
}

.story:hover .story-img { transform: scale(1.08) rotate(5deg); }

.story span { font-size: 0.8rem; font-weight: 600; color: var(--text); }

/* Ana sayfa alt bento — mobilde tek sütun */
.home-bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 720px) {
    .home-bento-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1024px) {
    .home-bento-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

/* Hero Slider with Rounded Corners */
.hero-slider {
    width: 92% !important;
    margin: 1.25rem auto !important;
    height: auto !important;
    aspect-ratio: 1200 / 380;
    position: relative;
    overflow: hidden !important;
    background: transparent;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .hero-slider {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1200 / 520;
        margin: 0 auto 1rem !important;
        border-radius: 16px !important;
    }
    .hero-slider-section {
        padding: 0.15rem 16px 0 !important;
    }
}

.slider-counter {
    position: absolute;
    bottom: 1.25rem !important;
    right: 8% !important;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    font-size: 0.72rem !important;
    font-weight: 800;
    z-index: 30;
    backdrop-filter: blur(10px);
}

.site-footer {
    background: #f8fafc;
    border-top: 1px solid var(--border);
    margin-top: 0;
}

.footer-trust-strip {
    width: 100%;
    margin: 3rem 0 0;
    padding: 0;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.footer-trust-strip__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 44px;
    padding: 34px 12px;
}

.footer-trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.footer-trust-item__icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 2px solid #0055ff;
    color: #0055ff;
    background: #f8fbff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-trust-item__icon svg {
    width: 29px;
    height: 29px;
}

.footer-trust-item strong {
    display: block;
    color: #334155;
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 4px;
}

.footer-trust-item span {
    display: block;
    color: #64748b;
    font-size: .9rem;
    font-weight: 650;
    line-height: 1.35;
}

@media (max-width: 768px) {
    .footer-trust-strip {
        display: none;
    }
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem clamp(1rem, 5vw, 4rem) 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) repeat(2, minmax(180px, 0.8fr));
    gap: 3rem;
    align-items: start;
}

.footer-brand h3 {
    color: var(--primary);
    font-size: 1.35rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.footer-brand p,
.footer-contact p {
    color: var(--text-muted);
    max-width: 340px;
    line-height: 1.75;
    font-weight: 500;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--dark);
    font-size: 0.98rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-copy {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    color: #475569;
    font-weight: 600;
}

.cart-mobile-search {
    display: none;
}

/* Brand Squares */
.stories-container--squares {
    padding: 0.5rem 4% 1.5rem !important;
    gap: 0.85rem !important;
}

.story--square {
    background: #ffffff;
    border: 1px solid #f1f5f9 !important;
    border-radius: 12px !important;
    padding: 0.65rem 0.5rem !important;
    min-width: 78px !important;
    max-width: 78px !important;
    text-align: center !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02) !important;
    transition: all 0.2s ease !important;
}

.story--square:hover {
    transform: translateY(-2px) !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.04) !important;
}

.story-img--square {
    width: 44px !important;
    height: 44px !important;
    border-radius: 8px !important;
    border: 1px solid #f1f5f9 !important;
    padding: 0 !important;
    object-fit: contain !important;
    background: #f8fafc;
    transition: transform 0.2s ease;
}

.story--square:hover .story-img--square {
    transform: scale(1.05);
}

.story--square span {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    margin-top: 2px;
}

.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    padding: 0 8%;
    background-size: cover;
    background-position: center;
}

.slide.active { opacity: 1; z-index: 10; }

/* Tüm slayt tıklanabilir (iç içe <a> olmadan) */
a.slide.slide--cta {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
a.slide.slide--cta:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}
.slide-cta-pill {
    margin-top: 1.5rem;
    padding: 1rem 2.5rem;
    display: inline-block;
    pointer-events: none;
}

.slide-content h2 { font-size: 2.5rem; font-weight: 900; color: #fff; line-height: 1; margin-bottom: 0.5rem; }
.slide-content p { color: #fff; opacity: 0.8; font-size: 1rem; }

.slide-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, transparent 100%);
}

.cart-focus-topbar {
    display: none;
}

/* Sepet — boş sayfa kompakt + güçlü CTA */
.cart-page--empty .cart-featured {
    padding-top: 1.6rem;
    padding-bottom: 1.6rem;
    min-height: 0;
}
.cart-page--empty .section-title {
    margin-bottom: 1rem;
}
.cart-empty {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 1.75rem 1.35rem;
    max-width: 520px;
    margin: 0 auto 1rem;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}
.cart-empty::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #0055ff, #0f766e);
}
.cart-empty__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.9rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0055ff;
    background: linear-gradient(180deg, #eff6ff, #fff);
    border: 1px solid #bfdbfe;
    box-shadow: 0 12px 28px rgba(0, 85, 255, 0.12);
}
.cart-empty__icon svg {
    width: 28px;
    height: 28px;
}
.cart-empty__text {
    color: #0f172a;
    margin: 0 0 0.4rem;
    font-size: 1.08rem;
    font-weight: 900;
}
.cart-empty__desc,
.cart-empty__hint {
    margin: 0 auto 1.1rem;
    max-width: 350px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #46658f;
    font-weight: 700;
}
.cart-empty__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem !important;
    font-size: 0.95rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.02em;
    border-radius: 14px !important;
    background: #0f172a !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.22) !important;
    text-decoration: none !important;
    transform: translateY(0);
    transition: transform 0.2s, box-shadow 0.2s;
}
.cart-empty__quick {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0.75rem;
}
.cart-empty__quick a {
    min-height: 32px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #0f172a;
    background: #fff;
    border: 1px solid #dbeafe;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 850;
}
.cart-empty__cta:hover {
    background: linear-gradient(135deg, var(--primary) 0%, #d97706 100%) !important;
    box-shadow: 0 12px 36px rgba(243, 156, 18, 0.45) !important;
    transform: translateY(-4px) scale(1.02);
    color: #fff !important;
}
/* Son baktıklar — sepet içinde gömülü */
.cart-recent-embed {
    margin-top: 0.5rem;
    padding-top: 0.25rem;
}
.cart-page--empty .cart-recent-embed {
    margin-top: 0.25rem;
}
.recent-viewed--embed-cart {
    margin-top: 1.25rem;
    padding: 1.25rem 1rem 1.5rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 40%);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.recent-viewed__title {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
    color: var(--dark);
}
.recent-viewed-container--empty-state {
    text-align: center;
    padding: 1.25rem 1rem 1.35rem !important;
}
.recent-viewed__empty-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 0.65rem;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0055ff;
    background: linear-gradient(180deg, #eff6ff, #fff);
    border: 1px solid #bfdbfe;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.1);
}
.recent-viewed__empty-icon svg {
    width: 25px;
    height: 25px;
}
.recent-viewed__empty-text {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0 0 1rem;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
}
.recent-viewed__empty-cta {
    display: inline-flex;
    text-decoration: none;
}
.recent-viewed__empty-links {
    margin-top: 0.8rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.recent-viewed__empty-links a {
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid #dbeafe;
    background: #fff;
    color: #0055ff;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 850;
}

.orders-page {
    max-width: 1180px;
    margin: 0 auto;
}
.orders-page__head {
    text-align: center;
    margin: 0 auto 1.5rem;
}
.orders-page__head .section-title {
    margin: 0.55rem 0 0.45rem;
}
.orders-page__head p {
    max-width: 560px;
    margin: 0 auto;
    color: #64748b;
    font-weight: 700;
    line-height: 1.5;
}
.orders-page__back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 34px;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid #dbeafe;
    color: #0055ff;
    background: #fff;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 850;
}
.orders-page__back svg {
    width: 16px;
    height: 16px;
}
.orders-empty {
    position: relative;
    overflow: hidden;
    max-width: 560px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}
.orders-empty::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #0055ff, #0f766e);
}
.orders-empty__icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 0.95rem;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0055ff;
    background: linear-gradient(180deg, #eff6ff, #fff);
    border: 1px solid #bfdbfe;
    box-shadow: 0 12px 28px rgba(0, 85, 255, 0.12);
}
.orders-empty__icon svg {
    width: 29px;
    height: 29px;
}
.orders-empty h2 {
    margin: 0 0 0.45rem;
    color: #0f172a;
    font-size: 1.15rem;
    line-height: 1.25;
}
.orders-empty p {
    max-width: 390px;
    margin: 0 auto 1.15rem;
    color: #46658f;
    font-size: 0.92rem;
    line-height: 1.5;
    font-weight: 700;
}
.orders-empty__cta {
    border-radius: 14px !important;
    background: #0f172a !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.22) !important;
}
.orders-empty__quick {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0.85rem;
}
.orders-empty__quick a {
    min-height: 32px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #0055ff;
    background: #fff;
    border: 1px solid #dbeafe;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 850;
}
.orders-table-wrap {
    overflow-x: auto;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
}
.orders-table-wrap .data-table th,
.orders-table-wrap .data-table td {
    padding: 0.85rem 0.75rem;
}

/* Product Cards */
.featured-products { padding: 3rem clamp(1rem, 5vw, 8%); }

.section-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

/* Ortak ürün kartı (includes/product_card.php) */
.product-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1rem;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    border: 1px solid var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    /* Tam genişlik şeritler + gölge: taşmayı yuvarlatılmış kart sınırında kes */
    overflow: hidden;
    content-visibility: auto;
    contain-intrinsic-size: 360px;
}

.product-card__discount-bar {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #10b981;
    color: #fff;
    text-align: center;
    padding: 0;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(16, 185, 129, 0.28);
    z-index: 5;
}

@media (max-width: 640px) {
    .product-card__discount-bar {
        top: 8px;
        right: 8px;
        width: 38px;
        height: 38px;
        font-size: 0.74rem;
    }
}

.product-detail__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.85rem 0 1.25rem;
}

.product-detail__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.82rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #0f172a;
}

.product-detail__pill--ship {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.product-detail__pill--save {
    border-color: #bbf7d0;
    background: #ecfdf5;
    color: #047857;
}

.product-detail__discount-bar {
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.product-card__link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.product-card__media {
    width: 100%;
    height: 220px;
    /* "Fotoğraf sahnesi" arka plan: küçük görselde bile boşluk tasarım gibi dursun */
    background: linear-gradient(180deg, #f6f8fc 0%, #eef2f9 100%);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid #e9eef7;
}
.product-card__media::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120px 120px at 18% 22%, rgba(255,255,255,0.92), rgba(255,255,255,0) 60%),
        radial-gradient(200px 160px at 78% 20%, rgba(255,255,255,0.65), rgba(255,255,255,0) 62%),
        radial-gradient(220px 200px at 50% 92%, rgba(2,6,23,0.05), rgba(2,6,23,0) 64%);
    pointer-events: none;
}

.product-card__media .product-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    padding: 10px;
    image-rendering: auto;
}

.product-card--scroll .product-card__media {
    height: 140px;
}

.product-card--cart .product-card__media {
    width: 88px;
    height: 88px;
    min-width: 88px;
    margin-bottom: 0;
}

.product-card__body {
    min-width: 0;
}

.product-card .product-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.25;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.25em * 2);
    text-transform: none;
}

.product-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.65rem;
    width: 100%;
}

.product-card__footer-left {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.product-price-column--card {
    gap: 2px;
}

/* Satış fiyatı + TL aynı satır */
.product-price--sale {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 0.2ch;
    white-space: nowrap;
}

.product-price .product-price__n {
    font-variant-numeric: tabular-nums;
}

.product-price .product-price__suf {
    font-weight: 800;
    font-size: 0.88em;
    letter-spacing: 0.02em;
}

.product-price-column--card .product-price--sale {
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 900;
}

.product-price-column--card .product-price:not(.product-price--sale) {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 0.2ch;
    white-space: nowrap;
}

.product-meta .price.product-price--sale {
    color: var(--primary);
}

.product-card__actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.product-card__fav {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.product-card__actions i, .product-card__actions svg {
    width: 16px !important;
    height: 16px !important;
}

@media (max-width: 640px) {
    /* Mobilde fiyat satırı ile aksiyonlar çakışmasın */
    .product-card__footer {
        align-items: stretch;
        gap: 0.4rem;
    }
    .product-card__footer-left {
        width: 100%;
    }
    .product-card__actions {
        justify-content: flex-end;
        gap: 0.3rem;
    }
    .product-card__fav,
    .add-to-cart-btn {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }
    .product-price-column--card .product-price--sale {
        font-size: 1.05rem;
    }
}

.product-card__fav:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.product-card__fav.is-active {
    border-color: #ff4757;
    color: #ff4757;
    background: rgba(255, 71, 87, 0.08);
}

.product-card__fav.is-active svg {
    fill: #ff4757;
    stroke: #ff4757;
}

.product-card__cart-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    width: 100%;
}

.product-card__link--cart {
    flex-direction: row;
    align-items: center;
    gap: 0.85rem;
    flex: 1 1 200px;
    min-width: 0;
}

.product-card--cart .product-title {
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__cart-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    flex: 0 0 auto;
    text-align: right;
    font-size: 0.85rem;
    font-weight: 700;
}

.product-card__cart-meta .product-card__line {
    font-size: 1rem;
    font-weight: 900;
    color: var(--primary);
}

.product-card__remove-form {
    margin: 0;
}

.product-card__remove-form button {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    text-decoration: underline;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    border-color: var(--primary);
}

.product-card--cart:hover {
    transform: none;
}

.product-card--upcoming {
    border-color: #dbeafe;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.product-card--upcoming .product-card__media {
    overflow: hidden;
}

.product-card--upcoming .product-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(15,23,42,.18), rgba(37,99,235,.14)),
        radial-gradient(circle at 80% 18%, rgba(255,255,255,.42), transparent 28%);
    pointer-events: none;
}

.product-card--upcoming .product-image {
    filter: blur(3px) saturate(.82) brightness(.92);
    transform: scale(1.04);
}

.product-card--upcoming:hover .product-image {
    transform: scale(1.06);
}

.product-card__mystery-lock {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(15,23,42,.88);
    color: #fff;
    font-size: .72rem;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 12px 26px rgba(15,23,42,.24);
}

.product-card__mystery-lock svg {
    width: 14px;
    height: 14px;
}

.product-card--upcoming .product-title {
    color: #0f172a;
}

.product-card--upcoming .add-to-cart-btn.is-locked {
    cursor: not-allowed;
    background: #e2e8f0;
    color: #64748b;
    box-shadow: none;
}

.product-card--upcoming:hover .add-to-cart-btn.is-locked {
    transform: none;
    background: #e2e8f0;
}

/* 2. ürün indirimi şeridi (kampanya aktifse) */
.product-second-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    margin-bottom: 0.75rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #047857 0%, #059669 38%, #10b981 72%, #34d399 100%);
    color: #ecfdf5;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.35;
    box-shadow: 0 3px 12px rgba(5, 150, 105, 0.28);
    letter-spacing: 0.02em;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Bazı sayfalarda parent'tan uppercase gelebiliyor; şeritte istemiyoruz */
    text-transform: none;
}
.product-second-strip--detail {
    font-size: 0.85rem;
    padding: 0.65rem 1.2rem;
    margin-bottom: 1rem;
    border-radius: 16px;
}
.product-second-strip__text {
    flex: 1;
    min-width: 0;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
    text-transform: none;
}
.product-second-strip__stock {
    font-weight: 900;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    background: rgba(255, 255, 255, 0.18);
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
}

/* Tasarruf: yeşil/kırmızıdan ayrılan indigo ton (turuncu yerine daha dengeli) */
.product-second-strip--savings {
    justify-content: flex-start;
    background: linear-gradient(135deg, #3730a3 0%, #4f46e5 42%, #6366f1 88%);
    color: #eef2ff;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.28);
    border-color: rgba(255, 255, 255, 0.2);
}

.product-second-strip--upcoming {
    justify-content: center;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #f1f5f9;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
    border-color: rgba(255, 255, 255, 0.15);
}

.product-second-strip--upcoming .product-second-strip__text {
    font-weight: 900;
    letter-spacing: 0.02em;
}

.product-second-strip--savings .product-second-strip__text {
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.product-second-strip--premium {
    justify-content: space-between;
    gap: 0.5rem;
}

.product-second-strip__promo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: fit-content;
    min-width: 88px;
    padding: 0.26rem 0.72rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #fbbf24 0%, #fcd34d 55%, #fde68a 100%);
    color: #7c5100;
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.01em;
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(180, 122, 0, 0.18);
    white-space: nowrap;
}

.product-card--premium {
    border-color: rgba(245, 158, 11, 0.32);
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.08);
}

.product-card--premium .product-title {
    color: #1f2937;
}

/* Liste / scroll kart: şeritler kartın en üstüne ve yanlarına tam dayansın */
.product-card:not(.product-card--cart) .product-card__link > .product-second-strip {
    width: calc(100% + 2rem);
    margin-left: -1rem;
    margin-right: -1rem;
    margin-top: -1rem; /* Kartın en üstüne sıfırla */
    margin-bottom: 0.75rem;
    box-sizing: border-box;
    border-radius: 0; /* Kartın overflow:hidden özelliği köşeleri yuvarlayacak */
    padding: 0.65rem 1.2rem;
}

.product-card__body .product-second-strip + .product-second-strip--savings {
    margin-top: 0.4rem;
}

.product-meta .product-second-strip + .product-second-strip--savings {
    margin-top: 0.4rem;
}

.product-second-strip--in-cart {
    width: calc(100% + 2rem);
    margin-left: -1rem;
    margin-right: -1rem;
    margin-bottom: 0.65rem;
    box-sizing: border-box;
    border-radius: 14px;
    padding: 0.55rem 1.2rem;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: auto;
    transition: var(--transition);
}

.product-card:hover .product-image { transform: none; }

.product-price-column {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-old-price {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 600;
}

.product-price { font-size: 1.1rem; font-weight: 800; color: var(--dark); }

.product-savings-note {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #059669;
    letter-spacing: 0.01em;
}
.product-savings-note--detail {
    font-size: 0.95rem;
    margin-top: 0.5rem;
}


.add-to-cart-btn {
    width: 45px;
    height: 45px;
    background: var(--dark);
    color: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.product-card:hover .add-to-cart-btn {
    background: var(--primary);
    transform: rotate(10deg);
}

/* Product Detail */
.product-detail-container {
    padding: 4rem 8%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.product-gallery img {
    width: 100%;
    border-radius: 30px;
    background: linear-gradient(180deg, #f6f8fc 0%, #eef2f9 100%);
    border: 1px solid #e9eef7;
    padding: 18px;
    object-fit: contain;
    filter: drop-shadow(0 18px 30px rgba(15,23,42,0.16));
    image-rendering: auto;
}

.product-detail-v2--premium .product-gallery img {
    border-color: rgba(245, 158, 11, 0.26);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.12);
}

.product-detail-v2--premium .product-meta h1 {
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 48%, #b45309 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.product-detail__pill--premium {
    border-color: rgba(245, 158, 11, 0.42);
    background: linear-gradient(135deg, #fbbf24 0%, #fde68a 100%);
    color: #7c5100;
    box-shadow: 0 8px 18px rgba(245, 158, 11, 0.16);
}

.product-meta h1 { font-size: 3rem; font-weight: 900; margin-bottom: 1rem; }
.product-meta .price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: baseline;
    gap: 0.2ch;
    white-space: nowrap;
}

.btn {
    padding: 1.2rem 2rem;
    border-radius: 18px;
    font-weight: 800;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

/* Recently Viewed Section */
.recent-viewed-container {
    padding: 2rem 5%;
    background: #fff;
    border-top: 1px solid var(--border);
}

.recent-viewed-list {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0.75rem 0 1rem;
    align-items: stretch;
}

.recent-viewed-list::-webkit-scrollbar { display: none; }

.recent-viewed-list .product-card--scroll {
    flex: 0 0 min(46vw, 200px);
    max-width: 200px;
}

@media (min-width: 901px) {
    .recent-viewed-container {
        padding: 2rem 0 2.5rem;
    }
    .recent-viewed-container > .recent-viewed__title,
    .recent-viewed-container > .recent-viewed-list {
        width: min(1208px, 90vw);
        max-width: min(1208px, 90vw);
        margin-left: auto;
        margin-right: auto;
    }
    .recent-viewed-list {
        gap: 1rem;
        padding-top: 0.75rem;
    }
    .recent-viewed-list .product-card--scroll {
        flex: 0 0 220px;
        max-width: 220px;
    }
    .recent-viewed-list .product-card--scroll .product-card__media {
        height: 160px;
    }
}

.btn-primary { background: var(--dark); color: #fff; }
.btn-primary:hover { background: var(--primary); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(243,156,18,0.2); }

.btn-outline { background: #fff; border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* Sticky Bottom Navigation */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    justify-content: space-around;
    padding: 15px 0;
    z-index: 99999;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.03);
}



.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 700;
    transition: var(--transition);
}

.bottom-nav-item.active { color: var(--primary); }
.bottom-nav-item i { width: 22px; height: 22px; }

/* Mobile */
@media (max-width: 768px) {
    header nav { display: none !important; }
    header {
        padding: 0;
        height: auto !important;
        min-height: 0 !important;
        margin-bottom: 0;
    }
    .featured-products { padding: 2rem 5%; }
    .stories-container { padding: 1rem 5%; }
    .hero-slider { height: 180px; }
    .slide-content h2 { font-size: 1.5rem; }
    .recent-viewed-list .product-card--scroll {
        flex: 0 0 46vw;
        max-width: none;
    }
    .product-card__cart-row { flex-direction: column; align-items: stretch; }
    .product-card__link--cart { flex-direction: row; }
    .product-card__cart-meta { align-items: flex-start; text-align: left; flex-direction: row; flex-wrap: wrap; justify-content: space-between; width: 100%; }
    .bottom-nav { display: flex !important; position: fixed !important; bottom: 0 !important; left: 0 !important; right: 0 !important; width: 100% !important; z-index: 99999 !important; }
    body { padding-bottom: 90px; }
    .site-footer {
        display: none;
    }
    /* Sepet: tam ekran hissi — üst şerit + header + alt tab bar gizli */
    body.page-cart {
        padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px));
    }
    body.page-cart .top-bar,
    body.page-cart header,
    body.page-favorites--empty .top-bar,
    body.page-favorites--empty header {
        display: none !important;
    }
    body.page-cart .cart-focus-topbar {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        margin: 0 0 0.85rem;
        padding: 0.55rem 0.15rem;
        font-weight: 800;
        font-size: 0.92rem;
        color: var(--primary);
        text-decoration: none;
        width: fit-content;
        border-radius: 12px;
    }
    body.page-cart .cart-focus-topbar:active {
        opacity: 0.85;
    }
    body.page-cart .cart-page {
        padding-top: max(0.5rem, env(safe-area-inset-top, 0px));
    }
    body.page-cart .cart-mobile-search {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        width: 100%;
        max-width: 560px;
        margin: 0 auto 1.1rem;
        padding: 0 0.25rem;
    }
    body.page-cart .cart-mobile-home-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        border: 1.5px solid var(--border);
        border-radius: 8px;
        color: var(--primary);
        background: #fff;
        text-decoration: none;
    }
    body.page-cart .cart-mobile-home-btn i {
        width: 20px;
        height: 20px;
    }
    body.page-cart .cart-mobile-search .header-search-wrap {
        flex: 1;
        min-width: 0;
        width: 100%;
    }
    body.page-cart .recent-viewed--embed-cart {
        margin-bottom: 0.5rem;
    }
    .product-detail-container { grid-template-columns: 1fr; gap: 3rem; padding: 2rem 5%; }
    
    .product-meta h1 { font-size: 1.8rem; }
    .product-meta .price { font-size: 1.8rem; }
}

/* Mobil / dar tablet: her zaman 2 sütun, taşmayı minmax(0,1fr) + min-width:0 ile kes */
@media (max-width: 900px) {
    .featured-products,
    .product-related-section {
        padding: 1.25rem 3%;
    }

    .product-related-section .product-grid,
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .product-card {
        padding: 0.5rem 0.45rem;
        border-radius: var(--radius-sm);
    }

    .product-card .product-title {
        font-size: 0.8rem;
        line-height: 1.2;
    }

    .product-card__media {
        height: 128px;
    }

    .product-card--scroll .product-card__media {
        height: 108px;
    }

    .product-card__fav {
        width: 34px;
        height: 34px;
    }

    .add-to-cart-btn {
        width: 36px;
        height: 36px;
        border-radius: 11px;
    }
}

/* Icon Fixes */
.btn-outline i { color: var(--dark); vertical-align: middle; }
.btn-primary i { vertical-align: middle; }

.btn-outline.favorite-toggle.is-active {
    border-color: #ff4757;
    color: #ff4757;
}

.btn-outline.favorite-toggle.is-active svg {
    fill: #ff4757;
    stroke: #ff4757;
}

.product-related-section {
    padding: 2rem 8% 3rem;
    background: #fff;
    border-top: 1px solid var(--border);
}

.cart-lines {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Checkout & hesap */
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    box-sizing: border-box;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.15);
}
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 340px);
    gap: 2rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}
@media (max-width: 900px) {
    .checkout-grid { grid-template-columns: 1fr; }
}
.checkout-section { margin-bottom: 2rem; }
.checkout-kicker {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 1rem;
    color: var(--dark);
}
.checkout-fields label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    margin: 0.75rem 0 0.35rem;
}
.checkout-fields .form-control { margin-bottom: 0.25rem; }
.checkout-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 600px) {
    .checkout-two { grid-template-columns: 1fr; }
}
.checkout-invoice-type label {
    display: block;
    margin: 0.35rem 0;
    font-weight: 600;
}
.checkout-hint { font-size: 0.85rem; color: var(--text-muted); margin: 0.35rem 0; }
.checkout-alert {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.checkout-alert--err { background: #fee2e2; color: #991b1b; }
.checkout-alert--ok { background: #dcfce7; color: #166534; }
.checkout-summary {
    background: var(--bg-soft);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.checkout-lines { list-style: none; padding: 0; margin: 0 0 1rem; }
.checkout-lines li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}
.checkout-sum-row {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    padding: 0.35rem 0;
}
.checkout-sum-row--total {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 2px solid var(--border);
    font-size: 1.1rem;
    color: var(--primary);
}
.checkout-submit { margin-top: 1rem; width: 100%; max-width: 320px; }
.req { color: #ef4444; }

.account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    max-width: 900px;
}
.account-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.35rem 1.5rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.25s, transform 0.25s;
}
.account-card:hover {
    box-shadow: var(--shadow);
}
.account-balance { font-size: 2.15rem; font-weight: 900; color: var(--primary); margin: 0.35rem 0 0.5rem; letter-spacing: -0.02em; }
.account-balance span { font-size: 1rem; font-weight: 700; color: var(--dark); }
.account-links { list-style: none; padding: 0; margin: 0; }
.account-links a {
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0;
    border-bottom: 2px solid transparent;
}
.account-links a:hover { border-bottom-color: rgba(243, 156, 18, 0.45); }
.account-links li { margin: 0.35rem 0; }

.account-page {
    max-width: 1220px;
    margin: 0 auto;
    padding: 2.4rem clamp(1rem, 5vw, 2rem) 4rem;
}
.account-hero {
    min-height: 220px;
    border-radius: 24px;
    padding: 2.5rem;
    background:
        radial-gradient(420px 180px at 82% 0%, rgba(16, 185, 129, 0.28), transparent 65%),
        linear-gradient(135deg, #0f172a 0%, #1d4ed8 48%, #0f766e 100%);
    color: #fff;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}
.account-eyebrow {
    display: inline-flex;
    margin-bottom: 0.55rem;
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
    color: rgba(255,255,255,0.72);
}
.account-hero h1 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    line-height: 1.05;
    letter-spacing: 0;
}
.account-hero p {
    max-width: 560px;
    margin: 0.65rem 0 0;
    color: rgba(255,255,255,0.78);
    font-weight: 650;
}
.account-logout {
    min-height: 42px;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 850;
    border: 1px solid rgba(255,255,255,0.22);
    flex: 0 0 auto;
}
.account-logout svg { width: 18px; height: 18px; }
.account-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: -45px;
    padding: 0 1.5rem;
}
.account-stat {
    min-height: 160px;
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(219, 234, 254, 0.7);
    background: rgba(255,255,255,0.98);
    color: #0f172a;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    transition: var(--transition);
}
.account-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    border-color: #0055ff;
}
.account-stat__icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #0055ff;
}
.account-stat__icon svg { width: 19px; height: 19px; }
.account-stat__label {
    margin-top: 0.3rem;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 850;
}
.account-stat strong {
    font-size: 1.55rem;
    line-height: 1.1;
    color: #0055ff;
}
.account-stat small {
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.35;
    font-weight: 650;
}
.account-stat,
.account-panel,
.account-card {
    overflow-wrap: anywhere;
}
.account-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}
.account-actions a {
    min-height: 58px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: #fff;
    color: #0f172a;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    font-weight: 850;
}
.account-actions svg {
    width: 19px;
    height: 19px;
    color: #0055ff;
}
.account-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 1rem;
}
.account-panel {
    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.045);
}
.account-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.8rem;
}
.account-panel__head h2 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
}
.account-panel__head a {
    color: #0055ff;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 850;
}
.account-empty {
    min-height: 190px;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fbff, #fff);
    border: 1px dashed #cbd5e1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    text-align: center;
    padding: 1rem;
}
.account-empty svg {
    width: 34px;
    height: 34px;
    color: #0055ff;
}
.account-empty strong { font-size: 1rem; }
.account-empty span {
    max-width: 320px;
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.45;
}
.account-empty a {
    margin-top: 0.25rem;
    min-height: 38px;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    background: #0055ff;
    color: #fff;
    text-decoration: none;
    font-weight: 850;
}

@media (max-width: 900px) {
    .account-page {
        padding: 1rem 0.85rem calc(5rem + env(safe-area-inset-bottom, 0px));
    }
    .account-hero {
        align-items: flex-start;
        flex-direction: column;
        border-radius: 16px;
        padding: 1.15rem;
    }
    .account-content-grid {
        grid-template-columns: 1fr;
    }
    .account-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        margin-top: 0.8rem;
        padding: 0;
    }
    .account-stat {
        min-height: 118px;
        padding: 1rem;
        border-radius: 16px;
    }
    .account-stat__icon {
        width: 34px;
        height: 34px;
    }
    .account-stat__label {
        font-size: 0.74rem;
    }
    .account-stat strong {
        font-size: 1.35rem;
    }
    .account-stat small {
        font-size: 0.74rem;
    }
    .account-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
        margin: 1rem 0;
        display: none;
    }
    .account-actions a {
        min-height: 48px;
        padding: 0.7rem 0.8rem;
        border-radius: 12px;
        font-size: 0.9rem;
    }
}

.order-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    max-width: 1100px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.data-table th,
.data-table td {
    padding: 0.65rem 0.5rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
}
.data-table th { font-weight: 800; color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.03em; }

/* Sepet ikonu — adet rozeti */
.nav-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.nav-cart__badge {
    position: absolute;
    top: -4px;
    right: -6px;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.28rem;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 900;
    line-height: 1.1rem;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.nav-cart__badge--empty {
    display: none;
}

/* Sepete eklendi toast (mobil + masaüstü) */
#cart-toast-root {
    position: fixed;
    z-index: 10050;
    pointer-events: none;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 5.5rem 1rem 1rem;
    box-sizing: border-box;
}
@media (max-width: 768px) {
    #cart-toast-root {
        align-items: flex-end;
        justify-content: center;
        padding: 1rem 1rem calc(5.5rem + env(safe-area-inset-bottom, 0px));
    }
}
.cart-toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    max-width: min(100%, 380px);
    padding: 0.75rem 0.85rem 0.75rem 0.75rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.06);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}
@media (max-width: 768px) {
    .cart-toast {
        transform: translateY(16px);
        max-width: min(100%, 420px);
    }
}
.cart-toast--in {
    opacity: 1;
    transform: translateY(0);
}
.cart-toast__media {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-light);
    border: 1px solid var(--border);
}
.cart-toast__media--empty {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-toast__media--empty::after {
    content: '';
    width: 22px;
    height: 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 6h15l-1.5 9h-12z'/%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='18' cy='20' r='1'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cart-toast__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cart-toast__body {
    flex: 1;
    min-width: 0;
}
.cart-toast__title {
    margin: 0 0 0.2rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cart-toast__sub {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: #059669;
}
.cart-toast__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    flex-shrink: 0;
}
.cart-toast__link {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
}
.cart-toast__link:hover {
    text-decoration: underline;
}
.cart-toast__close {
    border: none;
    background: #f1f5f9;
    color: #64748b;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.cart-toast__close:hover {
    background: #e2e8f0;
    color: var(--dark);
}

/* Premium Cart Component */
.cart-lines {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-card--cart {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.02), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: block;
    width: 100%;
}

.product-card--cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.04), 0 10px 10px -6px rgba(0, 0, 0, 0.03);
    border-color: #e2e8f0;
}

.product-card__cart-layout {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.product-card__cart-thumb {
    width: 110px;
    height: 110px;
    border-radius: 16px;
    overflow: hidden;
    background: #f8fafc;
    flex-shrink: 0;
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card__cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card--cart:hover .product-card__cart-thumb img {
    transform: scale(1.05);
}

.product-card__cart-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}

.product-card__cart-title-link {
    text-decoration: none;
    color: #0f172a;
}

.product-card__cart-title-link h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin: 0;
    transition: color 0.2s;
}

.product-card__cart-title-link h3:hover {
    color: var(--primary);
}

.product-card__cart-pricing {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.product-card__cart-savings-pill {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.35rem 0.75rem;
    border-radius: 30px;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
}

.product-card__cart-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.product-card__cart-price-row .product-old-price {
    font-size: 0.85rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.product-card__cart-price-row .product-price {
    font-size: 1.25rem;
    font-weight: 900;
    color: #0f172a;
}

.product-card__cart-price-row .product-price--sale {
    color: var(--primary);
}

.product-card__cart-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px dashed #f1f5f9;
}

.product-card__qty {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 700;
    background: #f8fafc;
    padding: 0.3rem 0.75rem;
    border-radius: 30px;
}

.product-card__line {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--primary);
}

.product-card__remove-form {
    margin: 0;
}

.product-card__remove-form button {
    background: none;
    border: none;
    color: #ef4444;
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
    transition: opacity 0.2s;
}

.product-card__remove-form button:hover {
    opacity: 0.8;
}

/* On Mobile */
@media (max-width: 640px) {
    .product-card__cart-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .product-card__cart-thumb {
        width: 85px;
        height: 85px;
        border-radius: 12px;
    }
    
    .product-card__cart-title-link h3 {
        font-size: 1rem;
    }
    
    .product-card__cart-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding-top: 0.5rem;
    }
}

/* Cart Summary Section */
.cart-summary-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 2.5rem;
    padding-bottom: 2rem;
}

.cart-summary-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 24px;
    padding: 1.75rem 2rem;
    width: 380px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.02), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-summary-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #64748b;
}

.cart-summary-value {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
}

.cart-summary-divider {
    height: 1px;
    background-color: #f1f5f9;
    width: 100%;
}

.cart-summary-row--grand {
    margin-bottom: 0.5rem;
}

.cart-summary-row--grand .cart-summary-label {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
}

.cart-summary-total {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.cart-checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    padding: 1.2rem;
    border-radius: 18px;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-checkout-btn:hover {
    background: linear-gradient(135deg, var(--primary) 0%, #e67e22 100%);
    box-shadow: 0 12px 30px rgba(243, 156, 18, 0.35);
    transform: translateY(-3px);
    color: #ffffff !important;
}

.cart-checkout-btn .arrow {
    transition: transform 0.2s ease;
}

.cart-checkout-btn:hover .arrow {
    transform: translateX(4px);
}

@media (max-width: 640px) {
    .cart-summary-wrapper {
        justify-content: stretch;
    }
    
    .cart-summary-card {
        width: 100%;
        padding: 1.5rem;
    }
}

/* Checkout/Cart Line Items Styles */
.checkout-cart-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 1.25rem;
    align-items: center;
    margin-bottom: 1rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.checkout-cart-item__media {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checkout-cart-item__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.checkout-cart-item__details {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.checkout-cart-item__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.35;
}

.checkout-cart-item__title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s;
}

.checkout-cart-item__title a:hover {
    color: var(--primary);
}

.checkout-cart-item__meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #64748b;
}

.checkout-cart-item__subtitle {
    font-weight: 600;
}

.checkout-cart-item__delivery {
    font-weight: 600;
    color: #475569;
}

.checkout-cart-item__actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 0.35rem;
}

.checkout-cart-item__qty-pill {
    background: #f1f5f9;
    color: #0f172a;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.3rem 1.1rem;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.checkout-cart-item__remove-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.checkout-cart-item__remove-btn:hover {
    color: #ef4444;
}

.checkout-cart-item__campaign-note {
    font-size: 0.8rem;
    color: #0d9488;
    font-weight: 700;
    margin-top: 0.25rem;
}

.checkout-cart-item__pricing {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.45rem;
    text-align: right;
    flex-shrink: 0;
}

.checkout-cart-item__total-line {
    font-size: 1.4rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.checkout-cart-item__savings-badge {
    background: #ecfdf5;
    color: #059669;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #d1fae5;
}

@media (max-width: 640px) {
    .checkout-cart-item {
        grid-template-columns: 85px 1fr;
        gap: 0.85rem;
        padding: 1rem;
    }
    
    .checkout-cart-item__media {
        width: 85px;
        height: 85px;
    }
    
    .checkout-cart-item__pricing {
        grid-column: span 2;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        border-top: 1px dashed #e2e8f0;
        padding-top: 0.65rem;
        margin-top: 0.25rem;
        width: 100%;
        text-align: left;
    }
    
    .checkout-cart-item__total-line {
        font-size: 1.2rem;
    }
}

/* Savings Bottom Sheet Drawer */
.savings-bottom-sheet {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.savings-bottom-sheet.is-active {
    opacity: 1;
    pointer-events: auto;
}

.savings-sheet__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    z-index: 1;
}

.savings-sheet__content {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.1);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.savings-bottom-sheet.is-active .savings-sheet__content {
    transform: translateY(0);
}

.savings-sheet__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.savings-sheet__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}

.savings-sheet__close {
    background: #f1f5f9;
    border: none;
    color: #475569;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background 0.2s;
}

.savings-sheet__close:hover {
    background: #e2e8f0;
}

.savings-sheet__body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.savings-sheet__product-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 0;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.savings-sheet__row-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: #334155;
    font-weight: 600;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.75rem;
}

.savings-sheet__row-label {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.savings-sheet__row-value--discount {
    color: #059669;
    font-weight: 800;
}

.savings-sheet__summary-pill {
    background: #ecfdf5;
    border: 1px solid #d1fae5;
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.savings-sheet__summary-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
}

.savings-sheet__summary-total {
    font-size: 1.15rem;
    font-weight: 900;
    color: #059669;
}

/* Tornado Promo Banner & Nav Counter */
.cart-promo-banner {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cart-promo-banner__left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
}

.cart-promo-icon {
    width: 20px;
    height: 20px;
    color: #f59e0b;
}

.cart-promo-badge {
    background: #ecfdf5;
    color: #047857;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    border: 1px solid #a7f3d0;
    white-space: nowrap;
}

.bottom-nav-cart-badge {
    position: absolute;
    top: 2px;
    right: calc(50% - 24px);
    background: #ef4444;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    border: 1.5px solid #ffffff;
}

@media (max-width: 640px) {
    .cart-promo-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.85rem 1rem;
    }
}

.checkout-cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    padding-bottom: 0.65rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid #f1f5f9;
    width: 100%;
}

.checkout-cart-item-header__seller {
    color: #475569;
    font-weight: 600;
}

.checkout-cart-item-header__seller strong {
    color: #0f172a;
    font-weight: 700;
}

.checkout-cart-item-header__shipping {
    color: #059669;
    font-weight: 700;
}

/* Cart page bottom-nav: only mobile (handled by @media max-width:768px) */

/* Sticky Bottom Checkout Bar */
.cart-sticky-checkout-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.04);
    z-index: 9999;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    body.page-cart .cart-sticky-checkout-bar {
        bottom: 64px !important;
    }
    body.page-cart:not(.page-cart--empty) {
        padding-bottom: 155px !important;
    }
}

.cart-sticky-checkout-bar__left {
    display: flex;
    flex-direction: column;
}

.cart-sticky-checkout-bar__total {
    font-size: 1.35rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.2;
}

.cart-sticky-checkout-bar__savings {
    font-size: 0.85rem;
    color: #059669;
    font-weight: 700;
    margin-top: 0.15rem;
}

.cart-sticky-checkout-bar__btn {
    background: #ea580c;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    padding: 0.85rem 2.25rem;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
    transition: background 0.2s ease;
    white-space: nowrap;
}

.cart-sticky-checkout-bar__btn:hover {
    background: #dd520b;
}

/* Add padding to the cart page to avoid overlap with sticky bar */
body.page-cart:not(.page-cart--empty) {
    padding-bottom: 90px !important;
}

body.page-cart.page-cart--empty {
    padding-bottom: 0 !important;
}

body.page-cart--empty .cart-page {
    padding-bottom: 0 !important;
}

body.page-cart--empty .cart-recent-embed {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body.page-cart--empty .recent-viewed--embed-cart {
    margin-top: 0 !important;
    padding-top: 0.5rem !important;
    margin-bottom: 0 !important;
    padding-bottom: 0.5rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

/* Fix title on cart page */
body.page-cart .cart-featured {
    padding-top: 0.5rem !important;
    margin-top: 0 !important;
}

body.page-cart .section-title {
    text-align: center !important;
    font-size: 1.65rem !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 1rem !important;
    font-weight: 800 !important;
    color: #1e293b !important;
}

/* Better empty cart button size */
body.page-cart--empty .cart-empty__cta {
    padding: 0.75rem 1.75rem !important;
    font-size: 0.95rem !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18) !important;
}

/* Cart bottom-nav: only mobile (handled by @media max-width:768px) */

/* Mobile product card footer: 2-line layout (prevents price/actions overlap everywhere) */
@media (max-width: 900px) {
    .product-card__footer {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        width: 100% !important;
        gap: 8px !important;
    }
    .product-card__footer-left {
        width: 100% !important;
        min-width: 0 !important;
    }
    .product-price-column--card {
        min-width: 0 !important;
    }
    .product-price-column--card .product-price,
    .product-price-column--card .product-price--sale,
    .product-price-column--card .product-old-price {
        white-space: nowrap !important;
    }
    .product-card__actions {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        margin-top: 0 !important;
        gap: 8px !important;
    }
    .product-card__fav,
    .product-card .favorite-toggle,
    .product-card .add-to-cart-btn {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        padding: 0 !important;
        border-radius: 12px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .product-card .favorite-toggle i,
    .product-card .add-to-cart-btn i,
    .product-card .favorite-toggle svg,
    .product-card .add-to-cart-btn svg {
        width: 18px !important;
        height: 18px !important;
    }
    .recent-viewed-list {
        gap: 0.85rem !important;
    }
    .recent-viewed-list .product-card--scroll {
        flex: 0 0 calc(50% - 0.45rem) !important;
        max-width: none !important;
    }
}

/* Let the title spread out on a single line on mobile */
@media (max-width: 768px) {
    .section-title {
        font-size: clamp(1.15rem, 5.2vw, 1.55rem) !important;
        white-space: nowrap !important;
        text-align: center !important;
    }
}

/* Favorite button visibility and style overrides */
.favorite-toggle:not(.product-card__fav) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 50px !important;
    height: 50px !important;
    border-radius: 12px !important;
    border: 1.5px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #475569 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02) !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
}

.favorite-toggle:not(.product-card__fav) svg {
    width: 22px !important;
    height: 22px !important;
    color: #475569 !important;
    stroke-width: 2.2px !important;
}

.favorite-toggle:not(.product-card__fav).is-active {
    border-color: #ff4757 !important;
    background: #fff0f1 !important;
}

.favorite-toggle:not(.product-card__fav).is-active svg {
    color: #ff4757 !important;
    fill: #ff4757 !important;
}

@media (max-width: 900px) {
    .cart-content-wrapper {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .cart-summary-column {
        position: static !important;
    }
}

@media (min-width: 901px) {
    .cart-sticky-checkout-bar {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .bottom-nav {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
        z-index: 2147483000 !important;
    }
    body.page-cart:not(.page-cart--empty) .mobile-sticky-action-bar {
        bottom: calc(66px + env(safe-area-inset-bottom, 0px)) !important;
        z-index: 2147482999 !important;
    }
}

@media (min-width: 901px) {
    .savings-bottom-sheet {
        justify-content: center !important;
    }
    .savings-sheet__content {
        border-radius: 24px !important;
        transform: scale(0.9) !important;
    }
    .savings-bottom-sheet.is-active .savings-sheet__content {
        transform: scale(1) !important;
    }
}
/* Info Modal Styles (Footer Links) */
.info-modal {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.info-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
}

.info-modal-content {
    position: relative;
    width: 100%;
    max-width: 600px;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.info-modal.is-active .info-modal-content {
    transform: scale(1) translateY(0);
}

.info-modal-header {
    padding: 1.75rem 2rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.info-modal-header h3 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.info-modal-close {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.info-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

.info-modal-body {
    padding: 2rem;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #334155;
    overflow-y: auto;
    white-space: pre-wrap;
}

@media (max-width: 640px) {
    .info-modal-content {
        max-height: 85vh;
        border-radius: 24px;
    }
    .info-modal-header {
        padding: 1.25rem 1.5rem;
    }
    .info-modal-body {
        padding: 1.5rem;
        font-size: 1rem;
    }
}

/* Brands Cards (User Request) */
.brands-cards { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 0.5rem; }
.brand-card { width: 72px; height: 72px; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; display: flex; align-items: center; justify-content: center; padding: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.03); transition: all 0.25s ease; flex-shrink: 0; text-decoration: none; }
.brand-card:hover { border-color: #00b894; transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0, 184, 148, 0.12); }
.brand-card img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (min-width: 768px) { .brand-card { width: 110px; height: 110px; } }

@media (min-width: 1101px) {
    .site-header {
        background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
        border-bottom: 0;
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.035);
    }
    .header-main {
        padding: 0.82rem 0;
        border-bottom: 1px solid rgba(219, 234, 254, 0.75);
        background:
            radial-gradient(520px 80px at 24% 0%, rgba(0, 85, 255, 0.055), transparent 70%),
            linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    }
    .header-nav-orange {
        background: linear-gradient(90deg, #0047ff 0%, #006dff 48%, #0891b2 100%);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 8px 20px rgba(0, 85, 255, 0.12);
    }
    .cat-nav a:hover {
        background: rgba(255, 255, 255, 0.16);
    }
}

@media (max-width: 640px) {
    body.page-cart--empty .cart-featured {
        padding-top: 1rem !important;
    }
    body.page-cart--empty .section-title {
        font-size: 1.45rem;
        margin-bottom: 0.65rem;
    }
    body.page-cart--empty .cart-empty {
        width: 100%;
        padding: 1.35rem 1rem;
        border-radius: 18px;
        box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07);
    }
    body.page-cart--empty .cart-empty__quick {
        margin-top: 0.65rem;
    }
    .orders-page {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .orders-page__head {
        margin-bottom: 1rem;
    }
    .orders-page__head p {
        font-size: 0.88rem;
    }
    .orders-empty {
        padding: 1.4rem 1rem;
        border-radius: 18px;
    }
}

@media (max-width: 768px) {
    .bottom-nav {
        display: flex !important;
        position: fixed !important;
        inset: auto 0 0 0 !important;
        width: 100vw !important;
        padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px)) !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        z-index: 2147483000 !important;
    }
    body {
        padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
    }
    body.page-cart.page-cart--empty,
    body.page-favorites.page-cart--empty {
        padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
    }
    body.page-cart:not(.page-cart--empty) {
        padding-bottom: calc(132px + env(safe-area-inset-bottom, 0px)) !important;
    }
    body.page-cart--empty .cart-page,
    body.page-cart--empty .featured-products {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
}
