/* ==========================================================================
   EMA KIRTASİYE — TRENDYOL-STYLE NAVY BLUE RETAIL DESIGN SYSTEM
   Pure CSS3 | Deep Navy (#0F172A / #1E3A8A) | Boutique Retail Marketplace
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
    /* ── Core Backgrounds ── */
    --bg-page:       #F4F5F7;
    --bg-white:      #FFFFFF;
    --bg-panel:      #EEF1F6;      /* Trendyol "Popüler Ürünler" panel */
    --bg-card:       #FFFFFF;
    --bg-card-img:   #F2F4F8;
    --bg-warm:       #FFFBEB;

    /* ── Navy Palette ── */
    --navy-950:      #0F172A;      /* Deepest navy — primary text & headings */
    --navy-800:      #1E293B;
    --navy-700:      #1E3A8A;      /* Brand navy — logo, active states */
    --navy-600:      #2563EB;      /* Mid navy — links */
    --navy-100:      #DBEAFE;
    --navy-50:       #EFF6FF;

    /* ── Accent: WhatsApp / Positive ── */
    --green-600:     #059669;
    --green-700:     #047857;
    --green-50:      #ECFDF5;

    /* ── Neutral & Border ── */
    --border:        #E2E8F0;
    --border-card:   #E8ECF2;
    --text-primary:  #0F172A;
    --text-body:     #334155;
    --text-muted:    #64748B;
    --text-light:    #94A3B8;

    /* ── Story Circle Colors ── */
    --circle-okul:   #DBEAFE;
    --circle-ofis:   #D1FAE5;
    --circle-yazi:   #FEF3C7;
    --circle-sanat:  #FCE7F3;
    --circle-defter: #E0E7FF;

    /* ── Typography ── */
    --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* ── Shadows ── */
    --shadow-xs:    0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-sm:    0 2px 6px rgba(15, 23, 42, 0.07);
    --shadow-md:    0 4px 16px rgba(15, 23, 42, 0.09);
    --shadow-card:  0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow-hover: 0 8px 24px rgba(15, 23, 42, 0.13);
    --shadow-navy:  0 4px 14px rgba(30, 58, 138, 0.22);

    /* ── Radii ── */
    --r-xs:   4px;
    --r-sm:   8px;
    --r-md:   12px;
    --r-lg:   16px;
    --r-xl:   20px;
    --r-2xl:  24px;
    --r-pill: 9999px;

    /* ── Transitions ── */
    --ease:        all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* ── Layout ── */
    --max-w: 1240px;
    --header-h: 116px; /* announcement + main + cat bar */
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font);
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: var(--ease); }
button { font-family: inherit; font-size: inherit; border: none; background: none; cursor: pointer; }
input  { font-family: inherit; font-size: inherit; border: none; outline: none; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* --------------------------------------------------------------------------
   3. ANNOUNCEMENT BAR
   -------------------------------------------------------------------------- */
.announcement-bar {
    background: var(--navy-700);
    color: #fff;
    font-size: 0.8rem;
    padding: 0.35rem 0;
}
@media (max-width: 767px) { .announcement-bar { font-size: 0.7rem; padding: 0.25rem 0; } }

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    text-align: center;
}

.announcement-badge {
    background: rgba(255,255,255,0.18);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.1rem 0.5rem;
    border-radius: var(--r-pill);
    letter-spacing: 0.04em;
}

.announcement-link {
    color: #BAE6FD;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.announcement-link:hover { color: #fff; }

/* --------------------------------------------------------------------------
   4. HEADER — Two-Tier (Trendyol-Style)
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-white);
    box-shadow: 0 1px 0 var(--border), var(--shadow-xs);
}

/* — Tier 1: Logo | Search | Actions — */
.header-main-row {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border);
}

.header-main-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--navy-950), var(--navy-700));
    color: #fff;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-navy);
}

.logo-text { display: flex; flex-direction: column; }

.brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy-950);
    line-height: 1;
    letter-spacing: -0.03em;
}

.brand-tagline {
    font-size: 0.55rem;
    font-weight: 800;
    color: var(--navy-700);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* Search Bar Group */
.header-search-wrap {
    flex-grow: 1;
    width: 100%;
    order: 3;
    display: block;
    max-width: 100%;
    margin-top: 0.25rem;
}

@media (min-width: 768px) { 
    .header-search-wrap { 
        max-width: 580px; 
        order: 0; 
        margin-top: 0; 
        width: auto; 
    } 
}

.search-bar-group {
    display: flex;
    align-items: stretch;
    border: 2px solid var(--border);
    border-radius: var(--r-pill);
    overflow: hidden;
    transition: var(--ease);
}

.search-bar-group:focus-within {
    border-color: var(--navy-700);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
}

.search-input-wrap {
    position: relative;
    flex-grow: 1;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.search-input-wrap input {
    width: 100%;
    padding: 0.65rem 2.5rem 0.65rem 2.75rem;
    font-size: 0.875rem;
    color: var(--text-primary);
    background: transparent;
}

.search-input-wrap input::placeholder { color: var(--text-muted); }

.search-clear-btn {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1;
}
.search-clear-btn:hover { color: var(--text-primary); }

.search-submit-btn {
    background: var(--navy-700);
    color: #fff;
    padding: 0 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--ease);
}
.search-submit-btn:hover { background: var(--navy-950); }

/* Header Action Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

/* ── Universal Button Styles ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    border-radius: var(--r-pill);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--ease);
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-navy {
    background: var(--navy-700);
    color: #fff;
    box-shadow: var(--shadow-navy);
}
.btn-navy:hover { 
    background: var(--navy-950); 
    transform: translateY(-1px); 
    box-shadow: 0 8px 16px -2px rgba(30, 58, 138, 0.3);
}

.btn-wa-header {
    background: var(--green-600);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(5,150,105,0.25);
    padding: 0.55rem;
    border-radius: 50%;
}
@media (min-width: 992px) {
    .btn-wa-header {
        padding: 0.55rem 1.1rem;
        border-radius: var(--r-pill);
    }
}
.btn-wa-header:hover { background: var(--green-700); transform: translateY(-1px); }

.btn-ghost-light {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.35);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.25); }

.btn-white-on-dark {
    background: #fff;
    color: var(--navy-950);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}
.btn-white-on-dark:hover { background: #f0f4ff; transform: translateY(-1px); }

.btn-white-cta {
    background: #fff;
    color: var(--navy-950);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.7rem 1.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-white-cta:hover { transform: translateY(-1px); background: #f0f4ff; }

.btn-outline-navy {
    background: transparent;
    color: var(--navy-700);
    border-color: var(--navy-700);
}
.btn-outline-navy:hover { background: var(--navy-50); }

.btn-full { width: 100%; justify-content: center; }

.btn-wa-text { display: none; }
@media (min-width: 992px) { .btn-wa-text { display: inline; } }

/* — Mobile Hamburger — */
.mobile-nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 36px;
    height: 36px;
    padding: 6px;
    border-radius: var(--r-xs);
    background: var(--bg-page);
    border: 1px solid var(--border);
}

@media (min-width: 992px) { .mobile-nav-toggle { display: none; } }

.ham-bar {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--ease);
}

/* — Tier 2: Text Category Nav Bar — */
.header-category-bar {
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    padding: 0;
}
@media (max-width: 767px) {
    .header-category-bar { display: none; }
}

.text-cat-nav {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.text-cat-nav::-webkit-scrollbar { display: none; }

.text-cat-link {
    padding: 0.625rem 1rem;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--text-body);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: var(--ease);
    flex-shrink: 0;
}

.text-cat-link:hover {
    color: var(--navy-700);
    border-bottom-color: var(--navy-100);
}

.text-cat-link.active {
    color: var(--navy-700);
    border-bottom-color: var(--navy-700);
    font-weight: 700;
}

.flash-link { color: var(--green-600); font-weight: 700; }
.flash-link:hover { color: var(--green-700); border-bottom-color: var(--green-600); }

/* — Mobile Drawer — */
.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-h));
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    z-index: 99;
}
.mobile-nav-drawer.open { display: block; }

.mobile-nav-content {
    background: var(--bg-white);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    animation: slideDown 0.25s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.mobile-nav-list { display: flex; flex-direction: column; gap: 0; }

.mobile-nav-link {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy-950);
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
}

.mobile-hours {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   5. HERO CAROUSEL (Compact, Retail-Style)
   -------------------------------------------------------------------------- */
.hero-carousel-section {
    padding: 1rem 0;
}

.carousel-wrapper {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), var(--shadow-md);
}

.carousel-track {
    display: flex;
    transition: transform 0.42s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide {
    min-width: 100%;
    padding: 1.5rem 1.25rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: center;
}

@media (min-width: 768px) {
    .carousel-slide { grid-template-columns: 1fr 260px; padding: 2.5rem 3.5rem; }
}

/* — Slide Themes — */
.slide-navy   { background: linear-gradient(130deg, #0F172A 0%, #1E3A8A 100%); color: #fff; }
.slide-emerald { background: linear-gradient(130deg, #065F46 0%, #059669 100%); color: #fff; }
.slide-slate  { background: linear-gradient(130deg, #1E293B 0%, #334155 100%); color: #fff; }

.slide-tag {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 0.18rem 0.65rem;
    border-radius: var(--r-pill);
    margin-bottom: 0.6rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.slide-title {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.5rem;
}
@media (min-width: 768px) { .slide-title { font-size: 2.1rem; } }

.slide-desc {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-bottom: 1rem;
    max-width: 500px;
}
@media (min-width: 768px) { .slide-desc { font-size: 0.9rem; margin-bottom: 1.25rem; } }

.slide-btns { display: flex; gap: 0.65rem; flex-wrap: wrap; }

/* Decoration panel */
.slide-deco { display: none; }
@media (min-width: 768px) { .slide-deco { display: block; } }

.deco-card {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--r-md);
    padding: 1.15rem 1.25rem;
    backdrop-filter: blur(6px);
}

.deco-card-green { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.25); }
.deco-card-slate { background: rgba(255,255,255,0.1); }

.deco-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.7;
    margin-bottom: 0.6rem;
}

.deco-brands, .deco-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.deco-brands span {
    background: rgba(255,255,255,0.18);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: var(--r-pill);
}

.deco-steps span {
    font-size: 0.78rem;
    font-weight: 600;
    opacity: 0.9;
}

/* Slider Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.9);
    color: var(--navy-950);
    border-radius: 50%;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 10;
    transition: var(--ease);
}
@media (max-width: 767px) { .carousel-control { display: none; } }
.carousel-control:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.carousel-control.prev { left: 0.85rem; }
.carousel-control.next { right: 0.85rem; }

.carousel-dots {
    position: absolute;
    bottom: 0.85rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
    z-index: 10;
}

.dot {
    width: 7px;
    height: 7px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--ease);
}
.dot.active {
    width: 20px;
    background: rgba(255,255,255,0.95);
    border-radius: var(--r-pill);
}

/* --------------------------------------------------------------------------
   6. STORY / CAMPAIGN CIRCLES (Trendyol Icon Badges)
   -------------------------------------------------------------------------- */
.story-circles-section {
    padding: 1.25rem 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
}

.story-circles-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.story-arrow {
    width: 32px;
    height: 32px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 1.25rem;
    line-height: 1;
    color: var(--text-body);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    transition: var(--ease);
    z-index: 2;
}
.story-arrow:hover { border-color: var(--navy-700); color: var(--navy-700); box-shadow: var(--shadow-md); }
@media (max-width: 768px) { .story-arrow { display: none; } }

.story-circles-track {
    flex-grow: 1;
    overflow: hidden;
}

.story-circles-inner {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.2rem 0.25rem 0.35rem;
    scrollbar-width: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) { .story-circles-inner { gap: 1.1rem; padding: 0.35rem 0.15rem 0.5rem; } }
.story-circles-inner::-webkit-scrollbar { display: none; }

.story-circle-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: none;
    padding: 0;
    flex-shrink: 0;
    cursor: pointer;
}

.story-circle-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-page);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: var(--shadow-xs);
    transition: var(--ease-bounce);
}
@media (min-width: 768px) {
    .story-circle-img { width: 64px; height: 64px; font-size: 1.65rem; border-width: 2.5px; }
}

/* Per-category circle background */
.story-img-okul  { background: var(--circle-okul);  }
.story-img-ofis  { background: var(--circle-ofis);  }
.story-img-yazi  { background: var(--circle-yazi);  }
.story-img-sanat { background: var(--circle-sanat); }
.story-img-defter{ background: var(--circle-defter);}

.story-circle-card:hover .story-circle-img,
.story-circle-card:active .story-circle-img {
    transform: translateY(-3px) scale(1.06);
    border-color: var(--navy-600);
    box-shadow: var(--shadow-md);
}

/* Active State: Deep Navy Blue Outline Ring with Vibrant Gradient */
.story-circle-card.active .story-circle-img {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.18);
    position: relative;
}
.story-circle-card.active .story-circle-img::after {
    content: '';
    position: absolute;
    inset: -2.5px;
    border-radius: 50%;
    padding: 2.5px;
    background: linear-gradient(135deg, #2563EB, #059669);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.story-circle-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-body);
    white-space: nowrap;
    transition: var(--ease);
}
@media (min-width: 768px) { .story-circle-label { font-size: 0.75rem; } }

.story-circle-card.active .story-circle-label {
    color: var(--navy-700);
}

/* --------------------------------------------------------------------------
   7. TRUST STRIP
   -------------------------------------------------------------------------- */
.trust-strip {
    padding: 0.9rem 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.25rem;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}
@media (min-width: 992px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.trust-icon {
    font-size: 1.25rem;
    width: 34px;
    height: 34px;
    background: var(--navy-50);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-item h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--navy-950);
}

.trust-item p {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   8. PRODUCT SHOWCASE — GREY PANEL (Trendyol "Popüler Ürünler")
   -------------------------------------------------------------------------- */
.catalog-panel-section {
    padding: 0 0 1.5rem;
}

.catalog-panel {
    background: var(--bg-panel);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    border: 1px solid #D8DCE6;
}

/* Panel Header */
.panel-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.panel-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--navy-950);
    letter-spacing: -0.02em;
}

.panel-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.15rem;
}

.panel-see-all-btn {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy-700);
    white-space: nowrap;
    padding: 0.35rem 0.75rem;
    border-radius: var(--r-pill);
    transition: var(--ease);
}
.panel-see-all-btn:hover { background: var(--navy-50); }
.panel-see-all-btn span { font-size: 1.05em; }

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
@media (min-width: 768px) { .products-grid { gap: 1rem; } }

@media (min-width: 640px)  { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }

/* ── Product Card (Trendyol Style) ── */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--r-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--ease);
    position: relative;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px -4px rgba(30, 58, 138, 0.15);
    border-color: #C4CBDA;
}

/* Image Area */
.product-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--bg-card-img);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    overflow: hidden;
}
@media (min-width: 768px) { .product-image-wrap { padding: 1rem; } }

.product-image-wrap svg {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}
.product-card:hover .product-image-wrap svg { transform: scale(1.06); }

/* Badges */
.badge-category {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--navy-700);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 0.22rem 0.55rem;
    border-radius: 0 0 var(--r-sm) 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge-stock {
    position: absolute;
    bottom: 0.6rem;
    right: 0.6rem;
    background: var(--green-50);
    color: var(--green-600);
    font-size: 0.62rem;
    font-weight: 800;
    padding: 0.18rem 0.5rem;
    border-radius: var(--r-pill);
    border: 1px solid rgba(5,150,105,0.2);
}

/* Card Body */
.product-card-body {
    padding: 0.65rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
@media (min-width: 768px) { .product-card-body { padding: 0.85rem; } }

.product-brand {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--navy-950);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.2rem;
}

.product-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-body);
    line-height: 1.3;
    margin-bottom: 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (min-width: 768px) { .product-title { font-size: 0.875rem; line-height: 1.35; } }

.product-desc {
    display: none;
}
@media (min-width: 768px) {
    .product-desc {
        display: -webkit-box;
        font-size: 0.775rem;
        color: var(--text-muted);
        line-height: 1.4;
        margin-bottom: 0.85rem;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

.product-card-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.btn-card-details {
    width: 100%;
    padding: 0.4rem 0.5rem;
    background: var(--bg-page);
    color: var(--text-body);
    border: 1px solid var(--border);
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: var(--r-sm);
    transition: var(--ease);
}
@media (min-width: 768px) { .btn-card-details { padding: 0.45rem 0.75rem; font-size: 0.775rem; } }
.btn-card-details:hover { background: var(--navy-50); color: var(--navy-700); border-color: var(--navy-100); }

.btn-card-wa {
    width: 100%;
    padding: 0.5rem 0.5rem;
    background: var(--navy-700);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--r-sm);
    transition: var(--ease);
}
@media (min-width: 768px) { .btn-card-wa { padding: 0.55rem 0.75rem; font-size: 0.8rem; } }
.btn-card-wa:hover { background: var(--navy-950); }

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--bg-white);
    border-radius: var(--r-md);
    border: 1px dashed var(--border);
    max-width: 480px;
    margin: 1.5rem auto 0;
}
.empty-icon { font-size: 2.75rem; margin-bottom: 0.75rem; }
.empty-state h3 { font-size: 1.1rem; color: var(--navy-950); margin-bottom: 0.35rem; }
.empty-state p  { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.empty-actions  { display: flex; justify-content: center; gap: 0.65rem; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   9. SCHOOL REQUIREMENT CTA BANNER
   -------------------------------------------------------------------------- */
.school-cta-section { padding: 1.5rem 0 2rem; }

.school-cta-card {
    background: linear-gradient(130deg, var(--navy-950) 0%, var(--navy-700) 100%);
    color: #fff;
    border-radius: var(--r-xl);
    padding: 2.5rem 1.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.cta-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.65rem;
    border-radius: var(--r-pill);
    margin-bottom: 0.75rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.school-cta-card h2 {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.65rem;
}

.school-cta-card p {
    font-size: 0.9rem;
    color: #CBD5E1;
    max-width: 600px;
    margin: 0 auto 1.75rem;
    line-height: 1.55;
}

.steps-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.1);
    padding: 0.45rem 0.9rem;
    border-radius: var(--r-pill);
    font-size: 0.82rem;
    font-weight: 600;
}

.step-num {
    width: 20px;
    height: 20px;
    background: var(--green-600);
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-arrow { color: rgba(255,255,255,0.5); font-size: 1rem; display: none; }
@media (min-width: 640px) { .step-arrow { display: block; } }

/* --------------------------------------------------------------------------
   10. SERVICES
   -------------------------------------------------------------------------- */
.services-section {
    padding: 1.5rem 0 2rem;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
}

.section-header-row {
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy-950);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
    display: block;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 992px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1.25rem;
    transition: var(--ease);
}
.service-card:hover { border-color: var(--navy-600); box-shadow: var(--shadow-sm); }

.service-icon { font-size: 1.65rem; margin-bottom: 0.65rem; }
.service-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--navy-950); margin-bottom: 0.3rem; }
.service-card p  { font-size: 0.8rem; color: var(--text-muted); line-height: 1.45; }

/* --------------------------------------------------------------------------
   11. CONTACT & FAQ
   -------------------------------------------------------------------------- */
.contact-section {
    padding: 1.5rem 0 2rem;
    background: var(--bg-page);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}
@media (min-width: 992px) { .contact-grid { grid-template-columns: 1fr 1.3fr; } }

.contact-info-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1.65rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-block { display: flex; align-items: flex-start; gap: 0.75rem; }

.info-icon {
    font-size: 1.2rem;
    width: 36px;
    height: 36px;
    background: var(--navy-50);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-block h4 { font-size: 0.875rem; font-weight: 700; color: var(--navy-950); }
.info-block p  { font-size: 0.825rem; color: var(--text-muted); line-height: 1.5; }

/* FAQ Accordion */
.faq-container { display: flex; flex-direction: column; gap: 0.65rem; }

.faq-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--navy-950);
    margin-bottom: 0.35rem;
}

.accordion-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy-950);
    text-align: left;
    gap: 0.5rem;
}

.accordion-icon {
    font-size: 1.1rem;
    color: var(--navy-700);
    flex-shrink: 0;
    transition: var(--ease);
}
.accordion-item.active .accordion-icon { transform: rotate(45deg); }

.accordion-content {
    display: none;
    padding: 0 1.1rem 0.9rem;
    font-size: 0.825rem;
    color: var(--text-muted);
    line-height: 1.55;
    border-top: 1px solid var(--border);
}
.accordion-item.active .accordion-content { display: block; }

/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--navy-950);
    color: #94A3B8;
    padding-top: 2.75rem;
    font-size: 0.85rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
@media (min-width: 768px)  { .footer-container { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.footer-logo .brand-name { color: #fff; }
.footer-logo .logo-icon  { background: var(--navy-700); }

.footer-text { margin-top: 0.75rem; color: #CBD5E1; line-height: 1.55; }

.footer-heading { font-size: 0.9rem; font-weight: 700; color: #fff; margin-bottom: 0.85rem; }

.footer-links { display: flex; flex-direction: column; gap: 0.45rem; }
.footer-links a { color: #94A3B8; }
.footer-links a:hover { color: #fff; }

.footer-hours { color: #CBD5E1; margin-bottom: 0.25rem; }

.footer-phone {
    margin-top: 0.75rem;
    background: rgba(255,255,255,0.06);
    border-radius: var(--r-sm);
    padding: 0.5rem 0.75rem;
    color: #BAE6FD;
    font-weight: 700;
    text-align: center;
}

.footer-bottom {
    padding: 1rem 0;
    background: #060E1D;
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    align-items: center;
    justify-content: space-between;
    font-size: 0.74rem;
    color: #475569;
}
@media (min-width: 768px) { .footer-bottom-inner { flex-direction: row; } }

/* --------------------------------------------------------------------------
   13. QUICK VIEW MODAL
   -------------------------------------------------------------------------- */
.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}
.modal-backdrop.active { display: flex; }

.modal-content {
    background: var(--bg-white);
    border-radius: var(--r-xl);
    max-width: 660px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    animation: modalPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.92) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close-btn {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    width: 32px;
    height: 32px;
    background: var(--bg-page);
    border-radius: 50%;
    font-size: 1.3rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: var(--ease);
}
.modal-close-btn:hover { background: var(--border); color: var(--text-primary); }

.modal-body-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.35rem;
    padding: 1.75rem;
}
@media (min-width: 600px) { .modal-body-grid { grid-template-columns: 1fr 1.15fr; } }

.modal-image-col {
    background: var(--bg-card-img);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    min-height: 200px;
}

.modal-info-col { display: flex; flex-direction: column; }
.modal-brand    { font-size: 0.7rem; font-weight: 800; color: var(--navy-700); text-transform: uppercase; margin-bottom: 0.2rem; }
.modal-title-text { font-size: 1.15rem; font-weight: 800; color: var(--navy-950); line-height: 1.3; margin-bottom: 0.5rem; }
.modal-desc-text  { font-size: 0.84rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 1.1rem; }

.modal-specs-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    background: var(--bg-page);
    padding: 0.75rem;
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
    margin-bottom: 1.15rem;
}

.modal-specs-list li { display: flex; justify-content: space-between; font-size: 0.8rem; }
.spec-key { color: var(--text-muted); font-weight: 600; }
.spec-val { font-weight: 700; color: var(--navy-950); }

/* ── Focus Outline ── */
:focus-visible { outline: 3px solid var(--navy-700); outline-offset: 2px; }

/* --------------------------------------------------------------------------
   14. MOBILE BOTTOM BAR
   -------------------------------------------------------------------------- */
.mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 8px;
    left: 12px;
    width: calc(100% - 24px);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
}

@media (min-width: 768px) {
    .mobile-bottom-bar { display: none; }
}

.mobile-bottom-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 0;
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 600;
    gap: 0.2rem;
    transition: var(--ease);
}

.mobile-bottom-link.active, .mobile-bottom-link:hover {
    color: var(--navy-700);
}

.bottom-icon { font-size: 1.2rem; margin-bottom: 0.1rem; }

@media (max-width: 767px) {
    body { padding-bottom: 60px; }
}

/* ── Product Card Image ── */
/* ── Logo Image Styling ── */
.site-logo-img { 
    height: 45px; 
    width: auto; 
    max-width: 220px;
    object-fit: contain; 
    flex-shrink: 0;
    display: block;
    border-radius: var(--r-sm); 
}

@media (min-width: 768px) {
    .site-logo-img {
        height: 55px;
    }
}
.product-image-wrap .card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--ease);
}
.product-card:hover .product-image-wrap .card-img {
    transform: scale(1.05);
}


/* ==========================================================================
   DARK MODE STYLES & VARIABLES ([data-theme="dark"])
   ========================================================================== */
[data-theme="dark"] {
    --bg-page: #0B132B;
    --bg-white: #1E293B;
    --bg-panel: #0F172A;
    --bg-card: #1E293B;
    --bg-card-img: #0F172A;
    --navy-950: #F8FAFC;
    --navy-900: #F1F5F9;
    --navy-800: #E2E8F0;
    --navy-700: #38BDF8;
    --navy-600: #0284C7;
    --navy-50:  #1E293B;
    --text-body: #E2E8F0;
    --text-muted: #94A3B8;
    --border: #334155;
    --border-light: #1E293B;
}
[data-theme="dark"] .theme-toggle-btn {
    border-color: #334155 !important;
    color: #FBBF24 !important;
}
