@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ═══════════════════════════════════════════════════════════════════════
   THEME: Premium Light (Default) — Warm, Elegant, Mumbai Retail
   ═══════════════════════════════════════════════════════════════════════ */
:root {
    --color-bg: #faf8f5;
    --color-surface: #ffffff;
    --color-surface-hover: #f7f5f2;
    --color-primary: #b8860b;
    --color-primary-soft: rgba(184, 134, 11, 0.12);
    --color-primary-glow: rgba(184, 134, 11, 0.25);
    --color-accent: #c0392b;
    --color-accent-soft: rgba(192, 57, 43, 0.1);
    --color-text: #2c2c2c;
    --color-text-secondary: #555555;
    --color-muted: #888888;
    --color-border: rgba(0, 0, 0, 0.08);
    --color-card-shadow: rgba(0, 0, 0, 0.06);
    --color-header-bg: rgba(255, 255, 255, 0.92);
    --color-hero-gradient: linear-gradient(135deg, #fdf6e3 0%, #faf0d7 50%, #f5e6c8 100%);
    --color-badge-top: #b8860b;
    --color-badge-discount: #c0392b;
    --color-search-bg: #ffffff;
    --color-overlay: rgba(255, 255, 255, 0.95);

    --radius-sm: 10px;
    --radius-card: 16px;
    --radius-pill: 50px;
    --blur-strength: 16px;

    --shadow-card: 0 2px 16px var(--color-card-shadow);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-header: 0 1px 20px rgba(0, 0, 0, 0.06);

    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-norm: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    --placeholder-bg: #f0ece6;
    --placeholder-icon: #ccc3b3;
}

/* ═══════════════════════════════════════════════════════════════════════
   THEME: Dark Neon — Cyber / Modern
   ═══════════════════════════════════════════════════════════════════════ */
[data-theme="dark"] {
    --color-bg: #0a0b10;
    --color-surface: rgba(20, 22, 35, 0.7);
    --color-surface-hover: rgba(30, 33, 50, 0.85);
    --color-primary: #00f0ff;
    --color-primary-soft: rgba(0, 240, 255, 0.1);
    --color-primary-glow: rgba(0, 240, 255, 0.4);
    --color-accent: #ff3366;
    --color-accent-soft: rgba(255, 51, 102, 0.1);
    --color-text: #e8ecf1;
    --color-text-secondary: #b0bcc9;
    --color-muted: #7a8ca0;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-card-shadow: rgba(0, 0, 0, 0.3);
    --color-header-bg: rgba(10, 11, 16, 0.85);
    --color-hero-gradient: linear-gradient(135deg, #0d0e14 0%, #111320 50%, #0a0b10 100%);
    --color-badge-top: #00f0ff;
    --color-badge-discount: #ff3366;
    --color-search-bg: rgba(20, 22, 35, 0.7);
    --color-overlay: rgba(15, 17, 26, 0.96);

    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 240, 255, 0.1);
    --shadow-header: 0 1px 30px rgba(0, 0, 0, 0.5);

    --placeholder-bg: #1a1c2a;
    --placeholder-icon: #3a3d52;
}

/* ═══════════════════════════════════════════════════════════════════════
   BASE RESET & FOUNDATION
   ═══════════════════════════════════════════════════════════════════════ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    transition: background-color 0.4s, color 0.4s;
}

[data-theme="dark"] body {
    background-image:
        radial-gradient(circle at 15% 50%, rgba(0, 240, 255, 0.05), transparent 35%),
        radial-gradient(circle at 85% 30%, rgba(255, 51, 102, 0.05), transparent 35%);
    background-attachment: fixed;
}

h1, h2, h3, h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    letter-spacing: 0.3px;
}

a { color: var(--color-primary); text-decoration: none; transition: var(--transition-fast); }
a:hover { opacity: 0.8; }

/* ═══════════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════════ */
header {
    background: var(--color-header-bg);
    backdrop-filter: blur(var(--blur-strength));
    -webkit-backdrop-filter: blur(var(--blur-strength));
    border-bottom: 1px solid var(--color-border);
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-header);
    transition: background 0.4s, box-shadow 0.4s;
}

header h1 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.3px;
    line-height: 1.1;
}

.brand-container {
    display: flex;
    flex-direction: column;
}

.brand-subtitle {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--color-muted);
    opacity: 0;
    transform: translateY(3px);
    animation: subtitleFadeIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s forwards;
    margin-top: 2px;
}

@keyframes subtitleFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

[data-theme="dark"] header h1 {
    background: linear-gradient(90deg, #00f0ff, #bd00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* Theme Toggle */
.theme-toggle {
    background: var(--color-primary-soft);
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: var(--color-primary);
    color: white;
}

/* ═══════════════════════════════════════════════════════════════════════
   HERO / SEARCH
   ═══════════════════════════════════════════════════════════════════════ */
.hero {
    overflow: hidden;
    background: var(--color-hero-gradient);
    padding: 2.2rem 1.5rem;
    text-align: center;
    position: relative;
    transition: background 0.4s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

/* ── Hero / Search Container ── */
.search-container {
    max-width: 580px;
    width: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.search-container::before {
    content: '🔍';
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

#search-input {
    width: 100%;
    padding: 0.6rem 1.25rem 0.6rem 2.8rem;
    font-size: 0.95rem;
    border: 1px solid var(--color-border);
    background: var(--color-search-bg);
    backdrop-filter: blur(var(--blur-strength));
    color: var(--color-text);
    border-radius: var(--radius-pill);
    outline: none;
    font-family: var(--font-main);
    transition: var(--transition-norm);
}

#search-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px var(--color-primary-soft);
}


#search-input::placeholder { color: var(--color-muted); }

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 120%, var(--color-primary-soft), transparent 80%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0.25;
    z-index: 2;
}

/* ═══════════════════════════════════════════════════════════════════════
   MAIN LAYOUT
   ═══════════════════════════════════════════════════════════════════════ */
.store-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    max-width: 1440px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   SIDEBAR / CATEGORY TREE
   ═══════════════════════════════════════════════════════════════════════ */
.sidebar {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 1.2rem;
    border-radius: var(--radius-card);
    align-self: start;
    position: sticky;
    top: 80px;
    box-shadow: var(--shadow-card);
    transition: background 0.4s, border 0.4s;
}

[data-theme="dark"] .sidebar {
    backdrop-filter: blur(var(--blur-strength));
}

.sidebar h3 {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 2px solid var(--color-primary-soft);
    padding-bottom: 0.7rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
}

.category-label, .subcategory-item {
    cursor: pointer;
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    font-weight: 500;
    color: var(--color-text-secondary);
    font-size: 0.92rem;
}

.category-label:hover, .subcategory-item:hover {
    background: var(--color-primary-soft);
    color: var(--color-primary);
}

.category-label.active, .subcategory-item.active {
    color: var(--color-primary);
    background: var(--color-primary-soft);
    border-left: 3px solid var(--color-primary);
    font-weight: 600;
}

.subcat-list {
    margin-left: 1rem;
    padding-left: 0.5rem;
    border-left: 1px solid var(--color-border);
    display: none;
}
.subcat-list.open { display: block; }

.tree-toggle {
    margin-right: 8px;
    font-size: 0.7rem;
    color: var(--color-primary);
    display: inline-block;
    transition: var(--transition-fast);
}
.tree-toggle.open { transform: rotate(90deg); }

.clear-filter-btn {
    width: 100%;
    margin-top: 1.2rem;
    padding: 0.7rem;
    background: transparent;
    border: 1.5px solid var(--color-accent);
    color: var(--color-accent);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: var(--transition-fast);
}
.clear-filter-btn:hover {
    background: var(--color-accent);
    color: white;
}

/* ═══════════════════════════════════════════════════════════════════════
   TOOLBAR
   ═══════════════════════════════════════════════════════════════════════ */
.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-card);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-card);
    transition: background 0.4s;
}

.results-count {
    font-size: 0.9rem;
    color: var(--color-muted);
}

.results-count span {
    font-weight: 700;
    color: var(--color-primary);
}

select {
    background: var(--color-surface);
    color: var(--color-text);
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 0.88rem;
    outline: none;
    transition: var(--transition-fast);
    cursor: pointer;
}
select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-soft);
}

/* ═══════════════════════════════════════════════════════════════════════
   PRODUCT GRID
   ═══════════════════════════════════════════════════════════════════════ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   PRODUCT CARD — Premium Style
   ═══════════════════════════════════════════════════════════════════════ */
.product-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    transition: transform var(--transition-norm), box-shadow var(--transition-norm), border-color var(--transition-norm);
    box-shadow: var(--shadow-card);
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

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

[data-theme="dark"] .product-card {
    backdrop-filter: blur(var(--blur-strength));
}

[data-theme="dark"] .product-card:hover {
    border-color: rgba(0, 240, 255, 0.2);
}

.product-image-container {
    height: 200px;
    background: var(--placeholder-bg);
    position: relative;
    overflow: hidden;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* Placeholder for missing images */
.product-image-container .placeholder-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--placeholder-icon);
    background: var(--placeholder-bg);
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--color-badge-discount);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.3px;
}

[data-theme="dark"] .discount-badge {
    box-shadow: 0 0 12px rgba(255, 51, 102, 0.4);
}

.top-selling-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--color-badge-top);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[data-theme="dark"] .top-selling-badge {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-badge-top);
    color: var(--color-badge-top);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.product-info {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.68rem;
    text-transform: uppercase;
    color: var(--color-primary);
    letter-spacing: 1.2px;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.product-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: auto;
    line-height: 1.4;
}

.product-price-row {
    margin-top: 1.2rem;
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.price-current {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-text);
}

[data-theme="dark"] .price-current {
    color: #ffffff;
    text-shadow: 0 0 6px rgba(255,255,255,0.15);
}

.price-original {
    font-size: 0.88rem;
    color: var(--color-muted);
    text-decoration: line-through;
}

/* ═══════════════════════════════════════════════════════════════════════
   PRODUCT DETAIL MODAL
   ═══════════════════════════════════════════════════════════════════════ */
dialog {
    margin: auto;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    max-width: 900px;
    width: 94%;
    max-height: 90vh;
    padding: 0;
    background: var(--color-surface);
    color: var(--color-text);
    overflow: hidden;
    transition: background 0.4s;
}

[data-theme="dark"] dialog {
    background: #0f111a;
    border-color: rgba(0, 240, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 30px rgba(0,240,255,0.1);
}

dialog::backdrop {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
}

[data-theme="dark"] dialog::backdrop {
    background: rgba(0, 0, 0, 0.75);
}

.dialog-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--color-primary-soft);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition-fast);
}
.dialog-close:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

.dialog-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
}

.dialog-images {
    background: var(--placeholder-bg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

#main-detail-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    border: 1px solid var(--color-border);
}

.gallery-thumbs {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 0.3rem;
}
.gallery-thumbs img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition-fast);
    border: 2px solid transparent;
}
.gallery-thumbs img:hover, .gallery-thumbs img.active {
    opacity: 1;
    border-color: var(--color-primary);
}

[data-theme="dark"] .gallery-thumbs img.active {
    box-shadow: 0 0 10px var(--color-primary-glow);
}

.dialog-details {
    padding: 2.5rem;
    overflow-y: auto;
}

.detail-sku {
    font-size: 0.8rem;
    color: var(--color-primary);
    font-family: monospace;
    margin-bottom: 0.8rem;
    letter-spacing: 0.8px;
}

.detail-p {
    color: var(--color-text-secondary);
    margin-top: 1.2rem;
    line-height: 1.8;
    font-size: 0.98rem;
}

.dialog-details .price-current {
    font-size: 2.2rem;
    color: var(--color-primary);
}

.dialog-details .product-price-row {
    margin-top: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   EMPTY STATE
   ═══════════════════════════════════════════════════════════════════════ */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--color-muted);
    grid-column: 1 / -1;
}

.empty-state h3 {
    color: var(--color-muted);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════════
   SKELETON LOADERS
   ═══════════════════════════════════════════════════════════════════════ */
.skeleton {
    background: var(--color-border);
    background-image: linear-gradient(90deg, transparent, var(--color-primary-soft), transparent);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: 6px;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-text { height: 13px; margin-bottom: 0.7rem; }
.skeleton-title { height: 20px; width: 70%; }
.skeleton-price { height: 24px; width: 35%; margin-top: 1.2rem; }
.skeleton-img { width: 100%; height: 200px; border-radius: 0; }

.hidden { display: none !important; }

/* ═══════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════ */
footer {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--color-muted);
    font-size: 0.82rem;
    border-top: 1px solid var(--color-border);
    margin-top: 3rem;
}

footer .footer-brand {
    color: var(--color-primary);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE: TABLET (≤ 1024px)
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .store-layout {
        grid-template-columns: 220px 1fr;
        gap: 1.5rem;
    }

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

    .dialog-content { grid-template-columns: 1fr; }
    .dialog-images { max-height: 300px; }
    #main-detail-img { height: 240px; }
    .dialog-details { padding: 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE: MOBILE (≤ 768px)
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    html { font-size: 15px; }

    header {
        padding: 0.6rem 1rem;
    }

    header h1 {
        font-size: 1.15rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 1.5rem 1rem;
    }

    .search-container {
        max-width: 100%;
    }

    #search-input {
        padding: 0.85rem 1.2rem 0.85rem 2.8rem;
        font-size: 0.92rem;
    }

    .store-layout {
        grid-template-columns: 1fr;
        padding: 0 0.8rem;
        gap: 1rem;
        margin: 1rem auto;
    }

    .sidebar {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        z-index: 200;
        border-radius: 0;
        overflow-y: auto;
        padding: 5rem 1.5rem 2rem;
        background: var(--color-overlay);
    }

    .sidebar.open {
        display: block;
        animation: slideIn 0.3s ease-out;
    }

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

    .sidebar-close-btn {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: var(--color-accent-soft);
        border: 1px solid var(--color-accent);
        color: var(--color-accent);
        width: 36px;
        height: 36px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .toolbar {
        flex-direction: column;
        gap: 0.8rem;
        align-items: stretch;
    }

    .toolbar-controls {
        display: flex;
        gap: 0.5rem;
    }

    .toolbar-controls select {
        flex: 1;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .product-image-container { height: 150px; }
    .product-info { padding: 0.8rem; }
    .product-title { font-size: 0.88rem; }
    .price-current { font-size: 1.05rem; }
    .product-category { font-size: 0.6rem; }

    dialog {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
        max-width: 100%;
    }

    .dialog-content {
        grid-template-columns: 1fr;
    }
    .dialog-images { padding: 1rem; }
    #main-detail-img { height: 220px; }
    .dialog-details { padding: 1.2rem; }
    .dialog-details .price-current { font-size: 1.8rem; }
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE: SMALL MOBILE (≤ 420px)
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 420px) {
    html { font-size: 14px; }

    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }

    .product-image-container { height: 130px; }
    .product-info { padding: 0.6rem; }
    .product-title { font-size: 0.82rem; }
    .price-current { font-size: 0.95rem; }

    .gallery-thumbs img { width: 48px; height: 48px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   LARGE DESKTOP (≥ 1600px)
   ═══════════════════════════════════════════════════════════════════════ */
@media (min-width: 1600px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}