/* ================================================
   HULK STORE — Modern RTL Design System
   ================================================ */

/* --- CSS Variables --- */
:root {
    --hulk-primary: #1a1a2e;
    --hulk-secondary: #16213e;
    --hulk-accent: #e94560;
    --hulk-accent-hover: #d63851;
    --hulk-blue: #0f3460;
    --hulk-green: #28a745;
    --hulk-gold: #f59e0b;
    --hulk-light: #f8f9fb;
    --hulk-gray-50: #f9fafb;
    --hulk-gray-100: #f3f4f6;
    --hulk-gray-200: #e5e7eb;
    --hulk-gray-300: #d1d5db;
    --hulk-gray-400: #9ca3af;
    --hulk-gray-500: #6b7280;
    --hulk-gray-600: #4b5563;
    --hulk-gray-700: #374151;
    --hulk-gray-800: #1f2937;
    --hulk-gray-900: #111827;
    --hulk-radius: 12px;
    --hulk-radius-sm: 8px;
    --hulk-radius-lg: 16px;
    --hulk-shadow-sm: 0 1px 2px rgba(0,0,0,.06);
    --hulk-shadow: 0 4px 12px rgba(0,0,0,.08);
    --hulk-shadow-lg: 0 12px 40px rgba(0,0,0,.12);
    --hulk-transition: .2s ease;
    --hulk-font: 'Rubik', 'Segoe UI', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--hulk-font);
    background: var(--hulk-light);
    color: var(--hulk-gray-800);
    line-height: 1.6;
    direction: rtl;
    text-align: right;
}
a { text-decoration: none; color: inherit; transition: color var(--hulk-transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ================================================
   TOP BAR
   ================================================ */
.top-bar {
    background: var(--hulk-primary);
    color: rgba(255,255,255,.7);
    font-size: .8rem;
    padding: 6px 0;
}
.top-bar a { color: rgba(255,255,255,.8); }
.top-bar a:hover { color: #fff; }
.top-bar__social { display: flex; gap: 12px; align-items: center; }
.top-bar__social a { font-size: 1rem; }

/* ================================================
   HEADER
   ================================================ */
.header {
    background: #fff;
    border-bottom: 1px solid var(--hulk-gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--hulk-shadow-sm);
}
.header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 12px 0;
}
.header__logo img {
    height: 48px;
    width: auto;
}
.header__search {
    flex: 1;
    max-width: 520px;
    position: relative;
}
.header__search input {
    width: 100%;
    padding: 10px 44px 10px 16px;
    border: 2px solid var(--hulk-gray-200);
    border-radius: 50px;
    font-size: .9rem;
    font-family: var(--hulk-font);
    transition: border-color var(--hulk-transition);
    direction: rtl;
}
.header__search input:focus {
    outline: none;
    border-color: var(--hulk-accent);
}
.header__search button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--hulk-accent);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--hulk-transition);
}
.header__search button:hover { background: var(--hulk-accent-hover); }

.header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.header__action-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 12px;
    border-radius: var(--hulk-radius-sm);
    color: var(--hulk-gray-600);
    font-size: .7rem;
    transition: all var(--hulk-transition);
    border: none;
    background: none;
    cursor: pointer;
}
.header__action-btn i { font-size: 1.3rem; }
.header__action-btn:hover {
    background: var(--hulk-gray-100);
    color: var(--hulk-accent);
}
.header__action-btn .badge {
    position: absolute;
    top: 2px;
    left: 4px;
    background: var(--hulk-accent);
    color: #fff;
    font-size: .65rem;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header__cart-total {
    font-weight: 600;
    color: var(--hulk-accent);
    font-size: .8rem;
}

/* ================================================
   MEGA MENU NAVIGATION
   ================================================ */
.nav-bar {
    background: var(--hulk-secondary);
}
.nav-bar__inner {
    display: flex;
    align-items: stretch;
}
.nav-bar__item {
    position: relative;
}
.nav-bar__link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    color: rgba(255,255,255,.9);
    font-size: .85rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all var(--hulk-transition);
    border-bottom: 3px solid transparent;
}
.nav-bar__link:hover,
.nav-bar__item:hover .nav-bar__link {
    background: rgba(255,255,255,.08);
    color: #fff;
    border-bottom-color: var(--hulk-accent);
}
.nav-bar__link i { font-size: .7rem; opacity: .6; }

/* Categories Button (first item) */
.nav-bar__categories-btn {
    background: var(--hulk-accent);
    color: #fff !important;
    font-weight: 600;
    border-bottom-color: transparent !important;
    gap: 8px;
}
.nav-bar__categories-btn:hover {
    background: var(--hulk-accent-hover) !important;
}
.nav-bar__categories-btn i { opacity: 1 !important; font-size: 1rem; }

/* Mega Menu Dropdown */
.mega-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border-radius: 0 0 var(--hulk-radius) var(--hulk-radius);
    box-shadow: var(--hulk-shadow-lg);
    min-width: 720px;
    padding: 24px;
    display: none;
    z-index: 100;
    border-top: 3px solid var(--hulk-accent);
}
.nav-bar__item:hover .mega-menu {
    display: flex;
    gap: 32px;
}
.mega-menu__column {
    flex: 1;
    min-width: 180px;
}
.mega-menu__title {
    font-size: .85rem;
    font-weight: 700;
    color: var(--hulk-primary);
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--hulk-accent);
    display: inline-block;
}
.mega-menu__list a {
    display: block;
    padding: 5px 0;
    font-size: .82rem;
    color: var(--hulk-gray-600);
    transition: all var(--hulk-transition);
}
.mega-menu__list a:hover {
    color: var(--hulk-accent);
    padding-right: 6px;
}
.mega-menu__badge {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: .65rem;
    font-weight: 600;
    background: var(--hulk-accent);
    color: #fff;
    margin-right: 4px;
}

/* Full-width mega menu for categories button */
.mega-menu--full {
    right: 0;
    left: 0;
    min-width: 100%;
    width: 100vw;
    position: fixed;
    border-radius: 0;
    max-height: 70vh;
    overflow-y: auto;
}

/* ================================================
   HERO SLIDER
   ================================================ */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--hulk-primary) 0%, var(--hulk-secondary) 100%);
    border-radius: 0 0 var(--hulk-radius-lg) var(--hulk-radius-lg);
    margin-bottom: 32px;
}
.hero__slide {
    display: none;
    padding: 60px 0;
    min-height: 380px;
    align-items: center;
}
.hero__slide.active { display: flex; }
.hero__content {
    flex: 1;
    color: #fff;
    padding-left: 40px;
}
.hero__tag {
    display: inline-block;
    background: var(--hulk-accent);
    color: #fff;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.hero__title {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}
.hero__subtitle {
    font-size: 1rem;
    opacity: .8;
    margin-bottom: 24px;
    line-height: 1.7;
}
.hero__image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero__image img {
    max-height: 300px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,.3));
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    font-family: var(--hulk-font);
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--hulk-transition);
    border: 2px solid transparent;
}
.btn--primary {
    background: var(--hulk-accent);
    color: #fff;
    border-color: var(--hulk-accent);
}
.btn--primary:hover {
    background: var(--hulk-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(233,69,96,.3);
}
.btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.4);
}
.btn--outline:hover {
    background: rgba(255,255,255,.1);
    border-color: #fff;
}
.btn--dark {
    background: var(--hulk-primary);
    color: #fff;
    border-color: var(--hulk-primary);
}
.btn--sm { padding: 6px 16px; font-size: .8rem; }

/* ================================================
   CATEGORY CARDS (Home Page Grid)
   ================================================ */
.section { padding: 40px 0; }
.section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.section__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--hulk-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}
.section__title::before {
    content: '';
    width: 4px;
    height: 28px;
    background: var(--hulk-accent);
    border-radius: 4px;
}
.section__link {
    color: var(--hulk-accent);
    font-size: .85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}
.section__link:hover { gap: 8px; }

.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}
.cat-card {
    background: #fff;
    border-radius: var(--hulk-radius);
    padding: 20px 16px;
    text-align: center;
    transition: all var(--hulk-transition);
    border: 1px solid var(--hulk-gray-200);
    cursor: pointer;
}
.cat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hulk-shadow);
    border-color: var(--hulk-accent);
}
.cat-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    background: var(--hulk-gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--hulk-blue);
    transition: all var(--hulk-transition);
}
.cat-card:hover .cat-card__icon {
    background: var(--hulk-accent);
    color: #fff;
}
.cat-card__name {
    font-size: .85rem;
    font-weight: 600;
    color: var(--hulk-gray-800);
    margin-bottom: 4px;
}
.cat-card__count {
    font-size: .75rem;
    color: var(--hulk-gray-400);
}

/* ================================================
   PRODUCT CARDS
   ================================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.product-card {
    background: #fff;
    border-radius: var(--hulk-radius);
    overflow: hidden;
    border: 1px solid var(--hulk-gray-200);
    transition: all var(--hulk-transition);
    position: relative;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hulk-shadow);
}
.product-card__badges {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}
.product-card__badge {
    padding: 3px 10px;
    border-radius: 6px;
    font-size: .7rem;
    font-weight: 700;
}
.product-card__badge--sale { background: var(--hulk-accent); color: #fff; }
.product-card__badge--new { background: var(--hulk-green); color: #fff; }

.product-card__actions {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateX(-8px);
    transition: all .3s ease;
    z-index: 2;
}
.product-card:hover .product-card__actions {
    opacity: 1;
    transform: translateX(0);
}
.product-card__action-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--hulk-gray-200);
    color: var(--hulk-gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--hulk-transition);
    font-size: .9rem;
}
.product-card__action-btn:hover {
    background: var(--hulk-accent);
    color: #fff;
    border-color: var(--hulk-accent);
}
.product-card__image {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--hulk-gray-50);
}
.product-card__image img {
    max-height: 160px;
    object-fit: contain;
    transition: transform .4s ease;
}
.product-card:hover .product-card__image img {
    transform: scale(1.05);
}
.product-card__info {
    padding: 14px 16px 16px;
}
.product-card__category {
    font-size: .7rem;
    color: var(--hulk-gray-400);
    margin-bottom: 4px;
}
.product-card__name {
    font-size: .85rem;
    font-weight: 600;
    color: var(--hulk-gray-800);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    min-height: 2.5em;
}
.product-card__price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.product-card__price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--hulk-accent);
}
.product-card__old-price {
    font-size: .8rem;
    color: var(--hulk-gray-400);
    text-decoration: line-through;
    margin-right: 6px;
}
.product-card__add-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--hulk-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--hulk-transition);
}
.product-card__add-btn:hover {
    background: var(--hulk-accent);
    transform: scale(1.1);
}

/* ================================================
   FEATURES STRIP
   ================================================ */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 32px 0;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border-radius: var(--hulk-radius);
    border: 1px solid var(--hulk-gray-200);
}
.feature-item__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--hulk-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--hulk-accent);
    flex-shrink: 0;
}
.feature-item__title {
    font-size: .85rem;
    font-weight: 600;
    color: var(--hulk-gray-800);
}
.feature-item__text {
    font-size: .75rem;
    color: var(--hulk-gray-400);
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
    background: var(--hulk-primary);
    color: rgba(255,255,255,.7);
    padding: 48px 0 0;
    margin-top: 48px;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 40px;
}
.footer__brand-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.footer__brand-text {
    font-size: .85rem;
    line-height: 1.8;
    margin-bottom: 16px;
}
.footer__social {
    display: flex;
    gap: 10px;
}
.footer__social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--hulk-transition);
}
.footer__social a:hover {
    background: var(--hulk-accent);
    transform: translateY(-2px);
}
.footer__title {
    font-size: .95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}
.footer__links a {
    display: block;
    padding: 4px 0;
    font-size: .82rem;
    color: rgba(255,255,255,.6);
    transition: all var(--hulk-transition);
}
.footer__links a:hover {
    color: var(--hulk-accent);
    padding-right: 4px;
}
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 16px 0;
    text-align: center;
    font-size: .8rem;
}

/* ================================================
   WHATSAPP FLOATING BUTTON
   ================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    z-index: 999;
    box-shadow: 0 4px 16px rgba(37,211,102,.4);
    transition: all var(--hulk-transition);
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,.5);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 992px) {
    .nav-bar { display: none; }
    .header__mobile-toggle { display: flex; }
    .features { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .hero__title { font-size: 1.8rem; }
    .hero__slide { min-height: 280px; padding: 32px 0; }
}
@media (max-width: 576px) {
    .header__search { display: none; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .features { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .hero__image { display: none; }
    .hero__content { padding-left: 0; }
    .hero__title { font-size: 1.5rem; }
}

/* ================================================
   PRODUCT PAGE
   ================================================ */
.product-gallery__main {
    position: relative;
    background: var(--hulk-gray-50);
    border-radius: var(--hulk-radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--hulk-gray-200);
}
.product-gallery__main img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: transform .3s ease;
}
.product-gallery__main:hover img { transform: scale(1.05); }
.product-gallery__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
}
.product-gallery__thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--hulk-gray-200);
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color .15s;
}
.product-gallery__thumb:hover,
.product-gallery__thumb.active {
    border-color: var(--hulk-accent);
}
.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-tab {
    padding: 12px 24px;
    font-size: .88rem;
    font-weight: 500;
    color: var(--hulk-gray-500);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all .15s;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: var(--hulk-font);
}
.product-tab:hover { color: var(--hulk-gray-800); }
.product-tab.active {
    color: var(--hulk-accent);
    border-bottom-color: var(--hulk-accent);
}
.variant-option:hover { border-color: var(--hulk-accent) !important; }

/* ================================================
   SEARCH PAGE
   ================================================ */
.search-header {
    padding: 24px 0;
    margin-bottom: 24px;
}

/* ================================================
   UTILITIES
   ================================================ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.text-center { text-align: center; }
.text-muted { color: var(--hulk-gray-400); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
/* ================================================
   הוסף את כל הקוד הזה בסוף wwwroot/css/site.css
   ================================================ */

/* ========== MOBILE — 768px ========== */
@media (max-width: 768px) {

    /* Show mobile menu button */
    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    /* Show mobile search */
    .mobile-search {
        display: block !important;
    }

    /* Hide desktop search in header */
    .header__search {
        display: none !important;
    }

    /* Hide desktop mega menu nav bar */
    .nav-bar {
        display: none !important;
    }

    /* Hide top bar on mobile */
    .top-bar {
        display: none !important;
    }

    /* Header compact */
    .header__inner {
        padding: 8px 12px !important;
        gap: 8px !important;
    }

    .header__action-btn span {
        display: none !important;
    }

    .header__cart-total {
        display: none !important;
    }

    .header__action-btn {
        padding: 6px !important;
    }

    .header__logo img, .header__logo span {
        max-height: 30px !important;
        font-size: 1.2rem !important;
    }

    /* Hero smaller */
    section[style*="min-height:380px"] {
        min-height: 220px !important;
    }

        section[style*="min-height:380px"] h2 {
            font-size: 1.3rem !important;
        }

        section[style*="min-height:380px"] p {
            font-size: .85rem !important;
        }

        section[style*="min-height:380px"] .btn {
            padding: 8px 20px !important;
            font-size: .82rem !important;
        }

    /* Features strip scroll */
    section[style*="justify-content:center"][style*="gap:32px"] {
        justify-content: flex-start !important;
        gap: 16px !important;
        padding: 12px !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        -webkit-overflow-scrolling: touch;
    }

        section[style*="justify-content:center"][style*="gap:32px"] > div {
            white-space: nowrap !important;
            flex-shrink: 0 !important;
        }

    /* Categories grid — 2 columns */
    div[style*="grid-template-columns:repeat(4,1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    /* Products grid — 2 columns */
    .products-grid,
    div.products-grid[style] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    /* Product card compact */
    .product-card__info {
        padding: 8px !important;
    }

    .product-card__name {
        font-size: .78rem !important;
        -webkit-line-clamp: 2 !important;
    }

    .product-card__category {
        font-size: .65rem !important;
    }

    .product-card__price {
        font-size: .85rem !important;
    }

    .product-card__old-price {
        font-size: .68rem !important;
    }

    .product-card__actions {
        display: none !important;
    }

    .product-card__image {
        height: 140px !important;
    }

    .product-card__badges {
        top: 6px !important;
        right: 6px !important;
    }

    .product-card__badge {
        font-size: .6rem !important;
        padding: 2px 6px !important;
    }

    .product-card__add-btn {
        width: 28px !important;
        height: 28px !important;
    }

    /* Container */
    .container {
        padding: 0 10px !important;
    }

    /* Section titles */
    h2[style*="font-size:1.2rem"] {
        font-size: 1rem !important;
    }

    /* Category page — hide sidebar */
    #filters-sidebar {
        display: none !important;
    }

    div[style*="grid-template-columns:250px"] {
        grid-template-columns: 1fr !important;
    }

    /* Product page — single column */
    div[style*="grid-template-columns:1fr 1fr"][style*="gap:36px"] {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* Cart — single column */
    div[style*="grid-template-columns:1fr 360px"],
    div[style*="grid-template-columns:1fr 380px"] {
        grid-template-columns: 1fr !important;
    }

    .cart-item {
        flex-wrap: wrap !important;
        gap: 8px !important;
        padding: 12px !important;
    }

    .cart-item__img {
        width: 60px !important;
        height: 60px !important;
    }

    .cart-item__name {
        font-size: .8rem !important;
    }

    /* Checkout — single column */
    div[style*="grid-template-columns:1fr 1fr"][style*="gap:12px"],
    div[style*="grid-template-columns:1fr 1fr"][style*="gap:14px"] {
        grid-template-columns: 1fr !important;
    }

    /* Account — hide sidebar */
    div[style*="grid-template-columns:240px"] {
        grid-template-columns: 1fr !important;
    }

    .account-sidebar {
        display: none !important;
    }

    /* Side banners — single column */
    section[style*="grid-template-columns:1fr 1fr"][style*="gap:16px"] {
        grid-template-columns: 1fr !important;
    }

    /* Footer — single column */
    .footer__grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .footer__bottom {
        font-size: .75rem !important;
    }

    /* Contact page */
    div[style*="grid-template-columns:1fr 1fr"][style*="max-width:900px"] {
        grid-template-columns: 1fr !important;
    }

    /* Admin on mobile */
    .admin-sidebar {
        display: none !important;
    }

    .admin-main {
        margin-right: 0 !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .admin-page {
        padding: 12px !important;
    }

    .stat-card__value {
        font-size: 1.2rem !important;
    }

    div[style*="grid-template-columns:2fr 1fr"],
    div[style*="grid-template-columns:1fr 1fr"][style*="gap:16px"],
    div[style*="grid-template-columns:1fr 340px"],
    div[style*="grid-template-columns:2fr 1fr"][style*="gap:20px"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .products-grid,
    div.products-grid[style] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
    }

    .product-card__image {
        height: 120px !important;
    }

    div[style*="grid-template-columns:repeat(4,1fr)"],
    div[style*="grid-template-columns:repeat(2,1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .stat-card {
        padding: 12px !important;
    }

    .stat-card__value {
        font-size: 1rem !important;
    }
}