/* ==========================================
   Radhe Collection - Green Elegant Theme
   ========================================== */

:root {
    --primary: #2d6a4f;
    --primary-dark: #1b4332;
    --primary-light: #40916c;
    --accent: #95d5b2;
    --accent-light: #d8f3dc;
    --gold: #c9a23c;
    --gold-light: #f0d78a;
    --text: #1a1a2e;
    --text-light: #555;
    --bg: #f8faf9;
    --bg-alt: #edf7f0;
    --white: #ffffff;
    --shadow: 0 2px 20px rgba(45, 106, 79, 0.1);
    --shadow-hover: 0 8px 30px rgba(45, 106, 79, 0.18);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
    --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Header ---- */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    flex-wrap: wrap;
}
.header-search {
    display: flex;
    align-items: center;
    background: #f2f5f4;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    padding: 0 6px 0 16px;
    flex: 1 1 300px;
    max-width: 360px;
    transition: border-color 0.3s;
}
.header-search:focus-within { border-color: var(--primary); }
.header-search input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    padding: 9px 0;
    width: 100%;
    min-width: 0;
    color: var(--text);
}
.header-search button {
    border: none;
    background: var(--primary);
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 14px;
    transition: background 0.3s;
}
.header-search button:hover { background: var(--primary-dark); }
.logo { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; display:flex; align-items:center; }
.logo a { color: var(--primary-dark); display:flex; align-items:center; }
.logo span { color: var(--gold); }
.site-logo { height: 50px; width: auto; display:block; }
.announcement-bar { background: var(--gold); color: #fff; font-size: 14px; padding: 6px 0; }
.announcement-bar marquee { display:block; }

.nav-list { display: flex; gap: 30px; align-items: center; }
.nav-list a {
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding-bottom: 3px;
}
.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--primary);
    transition: var(--transition);
}
.nav-list a:hover::after { width: 100%; }
.nav-list a.active { color: var(--primary); }
.nav-list a.active::after { width: 100%; }
.nav-has-sub { position: relative; }
.nav-has-sub > a { cursor: pointer; }
.nav-sub {
    display: none;
    position: absolute;
    top: 100%; left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    box-shadow: 0 5px 25px rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 220px;
    z-index: 200;
    list-style: none;
}
.nav-sub li a {
    display: block;
    padding: 8px 20px;
    font-size: 14px;
    white-space: nowrap;
}
.nav-sub li a::after { display: none; }
.nav-sub li a:hover { background: #f0f7f4; color: var(--primary); }
.nav-has-sub:hover .nav-sub { display: block; }
@media (max-width: 768px) {
    .nav-has-sub:hover .nav-sub,
    .nav-has-sub:active .nav-sub { display: block; }
}

.header-actions { display: flex; align-items: center; gap: 20px; }
.cart-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 22px;
    color: var(--text);
    padding: 5px;
}
.cart-count {
    position: absolute;
    top: -5px; right: -8px;
    background: var(--gold);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    width: 20px; height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
    padding: 5px;
}

/* ---- Hero Section ---- */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    background: var(--primary-dark);
}
.hero-slide {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
}
.hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 600px;
    padding: 60px 0;
}
.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 15px;
}
.hero-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 25px;
    line-height: 1.7;
}
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
}
.btn-primary:hover { background: var(--primary-dark); color: var(--white); }
.btn-gold {
    background: var(--gold);
    color: var(--white);
}
.btn-gold:hover { background: #b8912e; color: var(--white); }
.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--primary-dark); }

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}
.hero-dots button {
    width: 12px; height: 12px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}
.hero-dots button.active { background: var(--white); }

/* ---- Sections ---- */
.section {
    padding: 70px 0;
}
.section-tight {
    padding: 25px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 45px;
}
.section-title h2 {
    font-size: 34px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 10px;
}
.section-title p {
    color: var(--text-light);
    font-size: 16px;
    max-width: 550px;
    margin: 0 auto;
}
.section-title .gold-line {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ---- Category Grid ---- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}
.cat-slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cat-slider-wrap .swiper,
.video-slider-wrap .swiper {
    flex: 1;
    min-width: 0;
}
.cat-slider-wrap .swiper-wrapper,
.video-slider-wrap .swiper-wrapper {
    align-items: stretch;
}
.cat-slider-wrap .swiper-slide,
.video-slider-wrap .swiper-slide {
    height: auto;
}
.cat-slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: var(--white);
    color: #555;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
    z-index: 2;
}
.cat-slider-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.cat-slider-btn.swiper-button-disabled {
    opacity: 0.3;
    pointer-events: none;
}
.video-slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}
.category-card {
    display: block;
    background: #ffffff;
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.category-card .cat-info {
    padding: 20px;
}
.category-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary-dark);
}
.category-card .count {
    font-size: 13px;
    color: var(--text-light);
}

/* ---- Product Grid ---- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 25px;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.product-card .badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--gold);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 2;
}
.product-card .img-wrap {
    position: relative;
    overflow: hidden;
    height: 260px;
}
.product-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .img-wrap img { transform: scale(1.05); }
.product-card .overlay {
    position: absolute;
    inset: 0;
    background: rgba(27, 67, 50, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: var(--transition);
}
.product-card:hover .overlay { opacity: 1; }
.product-card .overlay a,
.product-card .overlay button {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}
.product-card .overlay a:hover,
.product-card .overlay button:hover {
    background: var(--primary);
    color: var(--white);
}
.product-card .info {
    padding: 18px;
}
.product-card .vendor {
    font-size: 12px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.product-card .info h3 {
    font-size: 16px;
    margin: 5px 0 8px;
    font-weight: 600;
    line-height: 1.3;
}
.product-card .info h3 a { color: var(--text); }
.product-card .info h3 a:hover { color: var(--primary); }
.product-card .price {
    display: flex;
    align-items: center;
    gap: 10px;
}
.product-card .price .current {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
}
.product-card .price .old {
    font-size: 15px;
    color: var(--text-light);
    text-decoration: line-through;
}
.product-card .add-cart {
    margin-top: 12px;
    width: 100%;
    padding: 10px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}
.product-card .add-cart:hover {
    background: var(--primary);
    color: var(--white);
}

/* ---- Banner ---- */
.banner-section { padding: 25px 0; }
.banner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}
.banner-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 220px;
}
.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute; inset: 0;
}
.banner-item .banner-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    color: var(--white);
}
.banner-item .banner-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}
.banner-item .banner-content p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 15px;
}
.banner-item .banner-content .btn {
    padding: 10px 24px;
    font-size: 13px;
}
.banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(27, 67, 50, 0.55);
    z-index: 1;
}

/* ---- Features Strip ---- */
.features {
    background: var(--accent-light);
    padding: 40px 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.feature-item .icon {
    font-size: 32px;
    margin-bottom: 10px;
}
.feature-item h4 {
    font-size: 16px;
    color: var(--primary-dark);
    margin-bottom: 5px;
}
.feature-item p {
    font-size: 13px;
    color: var(--text-light);
}

/* ---- Footer ---- */
.site-footer {
    background: var(--primary-dark);
    color: var(--accent-light);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-about h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 12px;
}
.footer-about h3 span { color: var(--gold); }
.footer-logo {
    width: 250px;
    height: auto;
    display: block;
    margin-bottom: 12px;
}
.footer-about p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); }

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 18px;
    font-weight: 700;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
    color: var(--accent-light);
    font-size: 14px;
}
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
}

/* ---- Page Header ---- */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 50px 0;
    text-align: center;
}
.page-header h1 { font-size: 38px; font-weight: 800; margin-bottom: 8px; }
.page-header p { font-size: 16px; opacity: 0.85; }
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    margin-top: 12px;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb span { color: var(--accent-light); }

/* ---- Product Detail ---- */
.product-detail {
    padding: 50px 0;
}
.product-detail .detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.detail-gallery {
    position: relative;
}
.detail-main-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius);
}
.detail-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}
.detail-thumbs img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}
.detail-thumbs img.active, .detail-thumbs img:hover {
    border-color: var(--primary);
}
.detail-video {
    margin-top: 20px;
}
.detail-video .video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 12px;
}
.detail-video .video-wrap {
    aspect-ratio: 9 / 16;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.detail-video .video-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.detail-info .vendor {
    font-size: 13px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.detail-info h1 {
    font-size: 30px;
    font-weight: 800;
    margin: 8px 0 12px;
    color: var(--primary-dark);
}
.detail-info .rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
    color: var(--gold);
    font-size: 14px;
}
.detail-info .price-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.detail-info .price-box .current {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-dark);
}
.detail-info .price-box .old {
    font-size: 20px;
    color: var(--text-light);
    text-decoration: line-through;
}
.detail-info .description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
}
.detail-info .description p { margin-bottom: 10px; }

.qty-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}
.qty-selector label { font-weight: 600; font-size: 15px; }
.qty-controls {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    overflow: hidden;
}
.qty-controls button {
    width: 40px; height: 40px;
    border: none;
    background: var(--bg);
    font-size: 18px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
}
.qty-controls button:hover { background: var(--accent-light); }
.qty-controls input {
    width: 50px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    outline: none;
}

.detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.detail-actions .btn { flex: 1; min-width: 160px; }
.btn-cart {
    background: var(--primary);
    color: var(--white);
}
.btn-cart:hover { background: var(--primary-dark); color: var(--white); }
.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-whatsapp:hover { background: #1da851; color: var(--white); }

/* ---- Cart Sidebar ---- */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-sidebar {
    position: fixed;
    top: 0; right: -400px;
    width: 400px;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    z-index: 2001;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
}
.cart-sidebar.open { right: 0; }

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-header h3 { font-size: 20px; color: var(--primary-dark); }
.cart-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 15px 20px;
}
.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}
.cart-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}
.cart-item .item-info { flex: 1; }
.cart-item .item-info h4 {
    font-size: 14px;
    margin-bottom: 4px;
}
.cart-item .item-info .item-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-dark);
}
.cart-item .item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}
.cart-item .item-qty button {
    width: 26px; height: 26px;
    border: 1px solid #ddd;
    background: var(--white);
    border-radius: 50%;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}
.cart-item .item-qty button:hover { border-color: var(--primary); color: var(--primary); }
.cart-item .item-qty span { font-weight: 600; min-width: 20px; text-align: center; }
.cart-item .remove-item {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    font-size: 18px;
    align-self: flex-start;
    transition: var(--transition);
}
.cart-item .remove-item:hover { color: #e74c3c; }

.cart-footer {
    padding: 20px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    border-top: 1px solid #eee;
}
.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-dark);
}
.cart-footer .btn { width: 100%; }

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}
.cart-empty .icon { font-size: 48px; margin-bottom: 15px; }

/* ---- WhatsApp Float ---- */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 56px; height: 56px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
}

/* ---- Filters ---- */
.filters-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 12px;
}
.filters-bar .results { color: var(--text-light); font-size: 14px; }
.filter-select {
    padding: 10px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    background: var(--white);
    transition: var(--transition);
}
.filter-select:focus { border-color: var(--primary); }

/* ---- Collection Layout ---- */
.collection-layout { display: flex; gap: 30px; align-items: flex-start; }
.filter-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    position: sticky;
    top: 90px;
}
.filter-close { display: none; }
.filter-heading { font-size: 18px; color: var(--primary-dark); margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); }
.filter-block { margin-bottom: 18px; }
.filter-title { font-size: 14px; font-weight: 700; color: #555; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.filter-options { max-height: 260px; overflow-y: auto; }
.filter-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    transition: color 0.2s;
}
.filter-check:hover { color: var(--primary); }
.filter-check input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; }
.filter-check .count { color: #aaa; font-size: 12px; margin-left: auto; }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-input {
    width: 100%;
    padding: 8px 10px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}
.price-input:focus { border-color: var(--primary); }
.price-sep { color: #ccc; font-size: 14px; }
.collection-main { flex: 1; min-width: 0; }
.filter-overlay { display: none; }

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .product-detail .detail-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .banner-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header-search { order: 3; flex: 1 1 100%; max-width: none; }
    .nav-list {
        display: none;
        position: absolute;
        top: 100%; left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        gap: 15px;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    .nav-list.open { display: flex; }
    .nav-list li { width: 100%; }
    .nav-has-sub { position: static; }
    .nav-sub {
        position: static;
        transform: none;
        width: 100%;
        min-width: 0;
        box-shadow: none;
        background: #f8faf9;
        padding: 10px;
        border-radius: var(--radius-sm);
        margin-top: 10px;
    }
    .nav-sub li a { white-space: normal; padding: 8px 12px; }
    .menu-toggle { display: block; }
    .header-inner nav { order: -1; }
    .hero-content h1 { font-size: 32px; }
    .section-title h2 { font-size: 26px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .cart-sidebar { width: 100%; right: -100%; }
    .detail-main-img { height: 350px; }
    .page-header h1 { font-size: 28px; }
}

@media (max-width: 576px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .category-grid { grid-template-columns: 1fr; }
    .cat-slider-btn { display: none; }
    .category-card img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
    .category-card .cat-info { padding: 10px 8px; }
    .category-card h3 { font-size: 14px; }
    .category-card .count { font-size: 11px; }
    .product-card .img-wrap { height: auto; aspect-ratio: 1 / 1; }
    .product-card .img-wrap img { object-fit: contain; }
    .product-card .info { padding: 10px 12px 14px; }
    .product-card .info h3 { font-size: 13px; margin: 4px 0 6px; }
    .product-card .price { flex-wrap: wrap; row-gap: 2px; }
    .product-card .price .current { font-size: 17px; color: var(--gold); }
    .product-card .price .old { font-size: 12px; flex-basis: 100%; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .feature-item:nth-child(n+3) { display: none; }
    .feature-item .icon { font-size: 18px; margin-bottom: 4px; }
    .feature-item h4 { font-size: 12px; margin-bottom: 2px; }
    .feature-item p { font-size: 10px; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 26px; }
    .detail-main-img { height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
    .product-detail .detail-grid > * { min-width: 0; }
    .detail-info h1 { font-size: 20px; margin: 6px 0 10px; }
    .detail-thumbs { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
    .detail-thumbs img { width: 64px; height: 64px; flex-shrink: 0; }
    .header-inner { padding: 12px 0; }
    .logo { font-size: 22px; }
}

@media (max-width: 768px) {
    .collection-layout { flex-direction: column; }
    .filter-sidebar {
        position: fixed;
        top: 0; left: -320px;
        width: 300px;
        height: 100vh;
        z-index: 2000;
        border-radius: 0;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    .filter-sidebar.open { left: 0; }
    .filter-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 12px; right: 12px;
        width: 32px; height: 32px;
        border: none;
        background: #eee;
        border-radius: 50%;
        font-size: 20px;
        cursor: pointer;
        color: #555;
    }
    .filter-overlay.show {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1999;
    }
}

/* ---- Utilities ---- */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
