/* =====================================================
   CHASHMAHOUSE.COM — PREMIUM EYEWEAR STORE CSS
   ===================================================== */

:root {
    --ch-primary:     #1a1a2e;
    --ch-accent:      #c8a96e;
    --ch-accent-dark: #a0854c;
    --ch-accent-light:#f0e2c4;
    --ch-secondary:   #16213e;
    --ch-white:       #ffffff;
    --ch-light:       #f8f6f2;
    --ch-gray:        #6b7280;
    --ch-gray-light:  #e5e7eb;
    --ch-dark:        #111827;
    --ch-success:     #10b981;
    --ch-danger:      #ef4444;
    --ch-wa-green:    #25d366;
    --ch-font-body:   'Jost', sans-serif;
    --ch-font-heading:'Cormorant Garamond', serif;
    --ch-shadow-sm:   0 2px 8px rgba(0,0,0,.08);
    --ch-shadow-md:   0 8px 24px rgba(0,0,0,.12);
    --ch-shadow-lg:   0 16px 48px rgba(0,0,0,.18);
    --ch-radius:      10px;
    --ch-radius-sm:   6px;
    --ch-radius-lg:   16px;
    --ch-transition:  all .3s cubic-bezier(.4,0,.2,1);
}

/* ─── RESET & BASE ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--ch-font-body); color: var(--ch-dark); background: var(--ch-white); overflow-x: hidden; }
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; transition: var(--ch-transition); }
a:hover { color: var(--ch-accent); }
ul   { list-style: none; padding: 0; margin: 0; }

/* ─── TYPOGRAPHY ────────────────────────────────────── */
h1, h2, h3, h4, h5 { font-family: var(--ch-font-heading); font-weight: 600; line-height: 1.2; }
.ch-section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--ch-primary);
    text-align: center;
    margin-bottom: .5rem;
}
.ch-section-subtitle {
    color: var(--ch-gray);
    text-align: center;
    font-size: .95rem;
    margin-bottom: 2.5rem;
}
.ch-accent-line {
    display: inline-block;
    width: 60px; height: 3px;
    background: var(--ch-accent);
    border-radius: 2px;
    margin: .5rem auto 0;
}

/* ─── BUTTONS ───────────────────────────────────────── */
.ch-btn-primary {
    background: var(--ch-accent);
    color: var(--ch-white);
    border: 2px solid var(--ch-accent);
    padding: .6rem 1.6rem;
    border-radius: var(--ch-radius-sm);
    font-weight: 500;
    font-size: .9rem;
    letter-spacing: .5px;
    cursor: pointer;
    transition: var(--ch-transition);
    display: inline-flex;
    align-items: center;
}
.ch-btn-primary:hover {
    background: var(--ch-accent-dark);
    border-color: var(--ch-accent-dark);
    color: var(--ch-white);
    transform: translateY(-1px);
}
.ch-btn-outline {
    background: transparent;
    color: var(--ch-accent);
    border: 2px solid var(--ch-accent);
    padding: .6rem 1.6rem;
    border-radius: var(--ch-radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: var(--ch-transition);
    display: inline-flex;
    align-items: center;
}
.ch-btn-outline:hover {
    background: var(--ch-accent);
    color: var(--ch-white);
}
.ch-btn-wa {
    background: var(--ch-wa-green);
    color: var(--ch-white);
    border: 2px solid var(--ch-wa-green);
    padding: .7rem 1.5rem;
    border-radius: var(--ch-radius-sm);
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
    transition: var(--ch-transition);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.ch-btn-wa:hover { background: #1db954; border-color: #1db954; color: var(--ch-white); transform: translateY(-2px); }

/* ─── TOP BAR ───────────────────────────────────────── */
.ch-topbar {
    background: var(--ch-primary);
    color: rgba(255,255,255,.85);
    font-size: .8rem;
    padding: .5rem 0;
}
.ch-topbar-link { color: rgba(255,255,255,.85); }
.ch-topbar-link:hover { color: var(--ch-accent); }
.ch-topbar-text { font-size: .78rem; }

/* ─── HEADER ────────────────────────────────────────── */
.ch-header {
    background: var(--ch-white);
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
    z-index: 1000;
    top: 0;
}
.ch-logo { max-height: 60px; width: auto; transition: var(--ch-transition); }
.ch-logo:hover { opacity: .85; }

/* Search */
.ch-search-wrap { position: relative; }
.ch-search-input {
    width: 100%;
    padding: .65rem 3rem .65rem 1rem;
    border: 1.5px solid var(--ch-gray-light);
    border-radius: 30px;
    font-size: .9rem;
    font-family: var(--ch-font-body);
    transition: var(--ch-transition);
    background: var(--ch-light);
}
.ch-search-input:focus {
    outline: none;
    border-color: var(--ch-accent);
    background: var(--ch-white);
    box-shadow: 0 0 0 3px rgba(200,169,110,.15);
}
.ch-search-btn {
    position: absolute;
    right: .75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--ch-gray);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--ch-transition);
}
.ch-search-btn:hover { color: var(--ch-accent); }
.ch-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    background: var(--ch-white);
    border: 1.5px solid var(--ch-gray-light);
    border-radius: var(--ch-radius);
    box-shadow: var(--ch-shadow-lg);
    z-index: 9999;
    max-height: 400px;
    overflow-y: auto;
    display: none;
}
.ch-search-dropdown.active { display: block; }
.ch-search-item {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .65rem 1rem;
    border-bottom: 1px solid var(--ch-gray-light);
    cursor: pointer;
    transition: var(--ch-transition);
}
.ch-search-item:hover { background: var(--ch-light); }
.ch-search-item:last-child { border-bottom: none; }
.ch-search-item img { width: 48px; height: 48px; object-fit: cover; border-radius: var(--ch-radius-sm); }
.ch-search-item-name { font-size: .88rem; font-weight: 500; }
.ch-search-item-price { font-size: .82rem; color: var(--ch-accent); font-weight: 600; }

/* Header Actions */
.ch-action-link {
    font-size: 1.1rem;
    color: var(--ch-primary);
    display: flex;
    align-items: center;
    transition: var(--ch-transition);
}
.ch-action-link:hover { color: var(--ch-accent); }
.ch-wa-link { color: var(--ch-wa-green) !important; font-size: .88rem; font-weight: 500; }
.ch-wa-link:hover { color: #1db954 !important; }

/* Hamburger */
.ch-hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: .3rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.ch-hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--ch-primary);
    border-radius: 2px;
    transition: var(--ch-transition);
}
.ch-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ch-hamburger.active span:nth-child(2) { opacity: 0; }
.ch-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── NAVIGATION ────────────────────────────────────── */
.ch-nav { background: var(--ch-primary); }
.ch-nav-list { display: flex; align-items: center; gap: 0; padding: 0; }
.ch-nav-item { position: relative; }
.ch-nav-link {
    display: block;
    padding: .8rem 1.1rem;
    color: rgba(255,255,255,.85);
    font-size: .88rem;
    font-weight: 500;
    letter-spacing: .3px;
    transition: var(--ch-transition);
    white-space: nowrap;
}
.ch-nav-link:hover, .ch-nav-link.active { color: var(--ch-accent); }

/* Dropdown */
.ch-has-dropdown:hover .ch-dropdown { display: block; }
.ch-dropdown {
    display: none;
    position: absolute;
    top: 100%; left: 0;
    background: var(--ch-white);
    border: 1.5px solid var(--ch-gray-light);
    border-radius: var(--ch-radius);
    box-shadow: var(--ch-shadow-lg);
    min-width: 200px;
    z-index: 9999;
    padding: .5rem 0;
    animation: fadeInDown .2s ease;
}
.ch-dropdown li a {
    display: block;
    padding: .55rem 1.2rem;
    color: var(--ch-dark);
    font-size: .87rem;
    transition: var(--ch-transition);
}
.ch-dropdown li a:hover { background: var(--ch-light); color: var(--ch-accent); padding-left: 1.5rem; }

/* CTA button in nav */
.ch-nav-cta { margin-left: auto; }
.ch-wa-btn {
    background: var(--ch-wa-green) !important;
    color: var(--ch-white) !important;
    border-radius: var(--ch-radius-sm) !important;
    margin: .3rem .5rem;
    padding: .45rem 1rem !important;
    font-size: .83rem !important;
    font-weight: 600 !important;
}
.ch-wa-btn:hover { background: #1db954 !important; transform: translateY(-1px); }

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

/* ─── HERO SLIDER ───────────────────────────────────── */
.ch-hero { position: relative; overflow: hidden; background: var(--ch-light); }
.ch-hero-swiper { height: 580px; }
.ch-hero-slide {
    position: relative;
    height: 100%;
    overflow: hidden;
}
.ch-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.ch-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(26,26,46,.75) 0%, rgba(26,26,46,.2) 60%, transparent 100%);
    display: flex;
    align-items: center;
}
.ch-hero-content {
    padding: 2rem 3rem;
    max-width: 560px;
    color: var(--ch-white);
    animation: heroContentIn .6s ease forwards;
}
@keyframes heroContentIn {
    from { opacity:0; transform:translateX(-30px); }
    to   { opacity:1; transform:translateX(0); }
}
.ch-hero-badge {
    display: inline-block;
    background: var(--ch-accent);
    color: var(--ch-white);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: .3rem .8rem;
    border-radius: 3px;
    margin-bottom: 1rem;
}
.ch-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-family: var(--ch-font-heading);
    font-weight: 700;
    line-height: 1.1;
    color: var(--ch-white);
    margin-bottom: 1rem;
}
.ch-hero-desc {
    font-size: 1rem;
    color: rgba(255,255,255,.85);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.ch-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.swiper-pagination-bullet-active { background: var(--ch-accent) !important; }
.swiper-button-prev, .swiper-button-next {
    color: var(--ch-white) !important;
    background: rgba(0,0,0,.3);
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
    backdrop-filter: blur(4px);
}
.swiper-button-prev::after, .swiper-button-next::after { font-size: 1rem !important; }

/* ─── OFFER BANNERS ─────────────────────────────────── */
.ch-offer-banners { padding: 2rem 0; }
.ch-offer-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--ch-radius);
    height: 160px;
    cursor: pointer;
    transition: var(--ch-transition);
}
.ch-offer-card:hover { transform: translateY(-4px); box-shadow: var(--ch-shadow-md); }
.ch-offer-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ch-offer-card:hover img { transform: scale(1.05); }
.ch-offer-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--ch-accent);
    color: var(--ch-white);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: .3rem .6rem;
    border-radius: 3px;
}
.ch-offer-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.65));
    color: var(--ch-white);
    padding: 1rem .8rem .6rem;
    font-weight: 600;
    font-size: .9rem;
}

/* ─── PRODUCT TABS ──────────────────────────────────── */
.ch-product-tabs { padding: 3rem 0; background: var(--ch-light); }
.ch-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 0;
    border-bottom: 2px solid var(--ch-gray-light);
    margin-bottom: 2rem;
}
.ch-tab-btn {
    background: none;
    border: none;
    padding: .75rem 1.8rem;
    font-family: var(--ch-font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ch-gray);
    cursor: pointer;
    position: relative;
    transition: var(--ch-transition);
}
.ch-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 3px;
    background: var(--ch-accent);
    transform: scaleX(0);
    transition: transform .3s ease;
}
.ch-tab-btn.active { color: var(--ch-accent); }
.ch-tab-btn.active::after { transform: scaleX(1); }
.ch-tab-btn:hover { color: var(--ch-accent); }

/* ─── PRODUCT CARD ──────────────────────────────────── */
.ch-product-card {
    background: var(--ch-white);
    border-radius: var(--ch-radius);
    overflow: hidden;
    box-shadow: var(--ch-shadow-sm);
    transition: var(--ch-transition);
    position: relative;
    height: 100%;
}
.ch-product-card:hover {
    box-shadow: var(--ch-shadow-md);
    transform: translateY(-4px);
}
.ch-product-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--ch-light);
}
.ch-product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: opacity .35s ease, transform .4s ease;
}
.ch-product-img-hover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    opacity: 0;
    transition: opacity .35s ease;
}
.ch-product-card:hover .ch-product-img { opacity: 0; transform: scale(1.03); }
.ch-product-card:hover .ch-product-img-hover { opacity: 1; }

.ch-product-badges {
    position: absolute;
    top: 10px; left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}
.ch-badge {
    display: inline-block;
    padding: .18rem .6rem;
    border-radius: 20px;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
    line-height: 1.5;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 1px 6px rgba(0,0,0,.15);
    width: fit-content;
}
.ch-badge-new       { background: rgba(34,197,94,.72);  color: #fff; }
.ch-badge-sale      { background: rgba(239,68,68,.72);  color: #fff; }
.ch-badge-trending  { background: rgba(180,142,60,.72); color: #fff; }
.ch-badge-bestseller{ background: rgba(15,23,42,.65);   color: #fff; }

.ch-product-actions {
    position: absolute;
    top: 10px; right: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--ch-transition);
    z-index: 2;
}
.ch-product-card:hover .ch-product-actions { opacity: 1; transform: translateX(0); }
.ch-product-action-btn {
    width: 34px; height: 34px;
    background: var(--ch-white);
    border: 1.5px solid var(--ch-gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    color: var(--ch-gray);
    cursor: pointer;
    transition: var(--ch-transition);
    box-shadow: var(--ch-shadow-sm);
}
.ch-product-action-btn:hover { background: var(--ch-accent); border-color: var(--ch-accent); color: #fff; }

.ch-product-body { padding: 1rem; }
.ch-product-cat {
    font-size: .72rem;
    color: var(--ch-gray);
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: .3rem;
}
.ch-product-name {
    font-family: var(--ch-font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ch-primary);
    margin-bottom: .5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ch-product-rating {
    display: flex;
    align-items: center;
    gap: .3rem;
    margin-bottom: .5rem;
}
.ch-stars { color: #f59e0b; font-size: .8rem; }
.ch-rating-count { font-size: .75rem; color: var(--ch-gray); }
.ch-product-price { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.ch-price-new {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ch-accent-dark);
}
.ch-price-old {
    font-size: .85rem;
    color: var(--ch-gray);
    text-decoration: line-through;
}
.ch-price-off {
    font-size: .72rem;
    background: #fef3c7;
    color: #92400e;
    padding: .1rem .4rem;
    border-radius: 3px;
    font-weight: 600;
}
.ch-product-footer {
    padding: .7rem 1rem 1rem;
    display: flex;
    gap: .5rem;
    border-top: 1px solid var(--ch-gray-light);
}
.ch-product-footer .ch-btn-wa { flex: 1; justify-content: center; padding: .45rem .8rem; font-size: .8rem; }
.ch-product-footer .ch-btn-outline { flex: 1; justify-content: center; padding: .45rem .8rem; font-size: .8rem; }

/* Out of stock overlay */
.ch-out-of-stock .ch-product-img-wrap::after {
    content: 'Out of Stock';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.4);
    color: #fff;
    font-weight: 600;
    font-size: .85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ─── SECTION COMMON ────────────────────────────────── */
.ch-section { padding: 4rem 0; }
.ch-section-header { text-align: center; margin-bottom: 2.5rem; }
.ch-view-all {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--ch-accent);
    font-weight: 600;
    font-size: .88rem;
    margin-top: 2rem;
    border: 2px solid var(--ch-accent);
    padding: .5rem 1.5rem;
    border-radius: var(--ch-radius-sm);
    transition: var(--ch-transition);
}
.ch-view-all:hover { background: var(--ch-accent); color: #fff; }

/* ─── CATEGORIES GRID ───────────────────────────────── */
.ch-category-card {
    position: relative;
    border-radius: var(--ch-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--ch-transition);
    aspect-ratio: 1;
}
.ch-category-card:hover { transform: translateY(-4px); box-shadow: var(--ch-shadow-md); }
.ch-category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ch-category-card:hover img { transform: scale(1.08); }
.ch-category-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(26,26,46,.8));
    color: var(--ch-white);
    padding: 1.5rem .8rem .8rem;
    text-align: center;
}
.ch-category-label h6 {
    font-family: var(--ch-font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}
.ch-category-label small { font-size: .72rem; opacity: .8; }

/* ─── DEAL OF WEEK ──────────────────────────────────── */
.ch-deal-section { background: var(--ch-primary); padding: 4rem 0; }
.ch-deal-section .ch-section-title { color: var(--ch-white); }
.ch-deal-section .ch-section-subtitle { color: rgba(255,255,255,.7); }
.ch-deal-section .ch-product-card { border: 1px solid rgba(200,169,110,.2); }
.ch-countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.ch-count-box { text-align: center; }
.ch-count-num {
    display: block;
    width: 60px; height: 60px;
    background: var(--ch-accent);
    color: var(--ch-white);
    font-size: 1.6rem;
    font-weight: 700;
    border-radius: var(--ch-radius-sm);
    line-height: 60px;
    text-align: center;
}
.ch-count-label { font-size: .7rem; color: rgba(255,255,255,.7); margin-top: .3rem; text-transform: uppercase; letter-spacing: 1px; }

/* ─── BRANDS ────────────────────────────────────────── */
.ch-brands { padding: 3rem 0; background: var(--ch-light); }
.ch-brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    filter: grayscale(100%);
    opacity: .6;
    transition: var(--ch-transition);
    cursor: pointer;
}
.ch-brand-logo:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.05); }
.ch-brand-logo img { max-height: 45px; width: auto; object-fit: contain; }

/* ─── TESTIMONIALS ──────────────────────────────────── */
.ch-testimonials { padding: 4rem 0; }
.ch-testimonial-card {
    background: var(--ch-white);
    border: 1.5px solid var(--ch-gray-light);
    border-radius: var(--ch-radius-lg);
    padding: 2rem;
    position: relative;
    height: 100%;
    transition: var(--ch-transition);
}
.ch-testimonial-card:hover { box-shadow: var(--ch-shadow-md); border-color: var(--ch-accent-light); }
.ch-testimonial-card::before {
    content: '"';
    font-family: var(--ch-font-heading);
    font-size: 5rem;
    color: var(--ch-accent-light);
    position: absolute;
    top: -10px; left: 16px;
    line-height: 1;
}
.ch-testimonial-text {
    font-size: .92rem;
    line-height: 1.7;
    color: var(--ch-gray);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}
.ch-testimonial-author { display: flex; align-items: center; gap: .8rem; }
.ch-testimonial-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--ch-accent-light);
    background: var(--ch-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ch-font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ch-accent);
    overflow: hidden;
}
.ch-testimonial-name { font-weight: 600; font-size: .9rem; }
.ch-testimonial-role { font-size: .78rem; color: var(--ch-gray); }

/* ─── WHY US ────────────────────────────────────────── */
.ch-why-us { background: var(--ch-light); padding: 3rem 0; }
.ch-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
}
.ch-feature-icon {
    width: 70px; height: 70px;
    background: var(--ch-accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--ch-accent-dark);
    margin-bottom: 1rem;
    transition: var(--ch-transition);
}
.ch-feature:hover .ch-feature-icon { background: var(--ch-accent); color: #fff; transform: scale(1.1); }
.ch-feature-title { font-family: var(--ch-font-heading); font-size: 1rem; font-weight: 600; margin-bottom: .4rem; }
.ch-feature-desc { font-size: .82rem; color: var(--ch-gray); line-height: 1.5; }

/* ─── FOOTER ────────────────────────────────────────── */
.ch-footer { background: var(--ch-primary); color: rgba(255,255,255,.8); }
.ch-newsletter-bar {
    background: var(--ch-secondary);
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.ch-newsletter-title { font-family: var(--ch-font-heading); color: var(--ch-white); font-size: 1.5rem; margin-bottom: .3rem; }
.ch-newsletter-sub   { font-size: .88rem; color: rgba(255,255,255,.7); }
.ch-newsletter-form .form-control {
    background: rgba(255,255,255,.1);
    border: 1.5px solid rgba(255,255,255,.2);
    color: var(--ch-white);
    border-radius: var(--ch-radius-sm) 0 0 var(--ch-radius-sm);
    padding: .7rem 1rem;
}
.ch-newsletter-form .form-control::placeholder { color: rgba(255,255,255,.5); }
.ch-newsletter-form .form-control:focus { outline: none; box-shadow: none; border-color: var(--ch-accent); }

.ch-footer-main { padding: 3rem 0 1.5rem; }
.ch-footer-logo { max-height: 55px; filter: brightness(10); }
.ch-footer-desc { font-size: .85rem; color: rgba(255,255,255,.65); line-height: 1.7; }
.ch-footer-heading {
    font-family: var(--ch-font-heading);
    color: var(--ch-white);
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: .6rem;
}
.ch-footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px; height: 2px;
    background: var(--ch-accent);
    border-radius: 2px;
}
.ch-footer-links li { margin-bottom: .5rem; }
.ch-footer-links a { font-size: .85rem; color: rgba(255,255,255,.65); transition: var(--ch-transition); }
.ch-footer-links a:hover { color: var(--ch-accent); padding-left: 6px; }
.ch-footer-contact li {
    display: flex;
    gap: .8rem;
    margin-bottom: .8rem;
    font-size: .84rem;
    color: rgba(255,255,255,.65);
    align-items: flex-start;
}
.ch-footer-contact li i { color: var(--ch-accent); margin-top: 3px; min-width: 16px; }
.ch-footer-contact a { color: rgba(255,255,255,.65); }
.ch-footer-contact a:hover { color: var(--ch-accent); }

.ch-social-links { display: flex; gap: .6rem; }
.ch-social-link {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    color: rgba(255,255,255,.7);
    transition: var(--ch-transition);
}
.ch-social-link:hover { background: var(--ch-accent); color: #fff; transform: translateY(-3px); }

.ch-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 1.2rem 0;
    font-size: .8rem;
    color: rgba(255,255,255,.5);
}
.ch-payment-icons img { opacity: .7; transition: var(--ch-transition); }
.ch-payment-icons img:hover { opacity: 1; }

/* ─── FLOATING WHATSAPP ─────────────────────────────── */
.ch-float-wa {
    position: fixed;
    bottom: 5rem;
    right: 1.5rem;
    background: var(--ch-wa-green);
    color: #fff;
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37,211,102,.5);
    z-index: 9998;
    transition: var(--ch-transition);
    overflow: hidden;
}
.ch-float-wa:hover {
    width: auto;
    padding: 0 1.2rem;
    border-radius: 30px;
    color: #fff;
}
.ch-float-wa-text {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: .85rem;
    font-weight: 600;
    margin-left: 0;
    transition: max-width .3s ease, margin .3s ease;
}
.ch-float-wa:hover .ch-float-wa-text { max-width: 120px; margin-left: .5rem; }
@keyframes waPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.5); }
    50%       { box-shadow: 0 4px 30px rgba(37,211,102,.8), 0 0 0 10px rgba(37,211,102,.1); }
}
.ch-float-wa { animation: waPulse 2.5s infinite; }

/* ─── MOBILE BOTTOM NAV ─────────────────────────────── */
.ch-mobile-bottom {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--ch-white);
    border-top: 1.5px solid var(--ch-gray-light);
    display: flex;
    z-index: 9997;
    box-shadow: 0 -4px 16px rgba(0,0,0,.08);
}
.ch-mb-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: .6rem .2rem;
    font-size: .65rem;
    color: var(--ch-gray);
    gap: .2rem;
    transition: var(--ch-transition);
}
.ch-mb-item i { font-size: 1.1rem; }
.ch-mb-item:hover, .ch-mb-item.active { color: var(--ch-accent); }
.ch-mb-wa { color: var(--ch-wa-green) !important; }
.ch-mb-wa:hover { color: #1db954 !important; }
body { padding-bottom: 70px; }
@media (min-width: 992px) { body { padding-bottom: 0; } }

/* ─── BACK TO TOP ───────────────────────────────────── */
.ch-back-top {
    position: fixed;
    bottom: 6rem;
    right: 1.5rem;
    width: 40px; height: 40px;
    background: var(--ch-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: .85rem;
    cursor: pointer;
    z-index: 9996;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--ch-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ch-back-top.visible { opacity: 1; transform: translateY(0); }
.ch-back-top:hover { background: var(--ch-accent); }

/* ─── PRODUCT LISTING PAGE ──────────────────────────── */
.ch-catalog { padding: 2rem 0; }
.ch-breadcrumb {
    background: var(--ch-light);
    padding: .8rem 0;
    font-size: .82rem;
    color: var(--ch-gray);
    border-bottom: 1px solid var(--ch-gray-light);
}
.ch-breadcrumb a { color: var(--ch-gray); }
.ch-breadcrumb a:hover { color: var(--ch-accent); }
.ch-breadcrumb .separator { margin: 0 .4rem; }

/* Filter Sidebar */
.ch-filter-sidebar {
    background: var(--ch-white);
    border: 1.5px solid var(--ch-gray-light);
    border-radius: var(--ch-radius);
    padding: 1.5rem;
    position: sticky;
    top: 100px;
}
.ch-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
    padding-bottom: .8rem;
    border-bottom: 1.5px solid var(--ch-gray-light);
}
.ch-filter-title { font-family: var(--ch-font-heading); font-size: 1.1rem; font-weight: 600; }
.ch-filter-clear { font-size: .78rem; color: var(--ch-accent); cursor: pointer; border: none; background: none; }
.ch-filter-group { margin-bottom: 1.2rem; border-bottom: 1px solid var(--ch-gray-light); padding-bottom: 1rem; }
.ch-filter-group:last-child { border-bottom: none; }
.ch-filter-group-title {
    font-weight: 600;
    font-size: .85rem;
    color: var(--ch-primary);
    margin-bottom: .6rem;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.ch-filter-option {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .3rem;
    cursor: pointer;
    font-size: .85rem;
    color: var(--ch-gray);
    transition: var(--ch-transition);
}
.ch-filter-option:hover { color: var(--ch-accent); }
.ch-filter-option input { accent-color: var(--ch-accent); width: 14px; height: 14px; }
.ch-price-range { display: flex; gap: .5rem; align-items: center; }
.ch-price-input {
    flex: 1;
    padding: .4rem .6rem;
    border: 1.5px solid var(--ch-gray-light);
    border-radius: var(--ch-radius-sm);
    font-size: .82rem;
    width: 100%;
}
.ch-price-input:focus { outline: none; border-color: var(--ch-accent); }

/* Sort bar */
.ch-sort-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .8rem 0;
    margin-bottom: 1.5rem;
    border-bottom: 1.5px solid var(--ch-gray-light);
    flex-wrap: wrap;
    gap: .5rem;
}
.ch-sort-label { font-size: .85rem; color: var(--ch-gray); }
.ch-sort-select {
    padding: .4rem .8rem;
    border: 1.5px solid var(--ch-gray-light);
    border-radius: var(--ch-radius-sm);
    font-size: .85rem;
    font-family: var(--ch-font-body);
}
.ch-sort-select:focus { outline: none; border-color: var(--ch-accent); }
.ch-view-toggle { display: flex; gap: .4rem; }
.ch-view-btn {
    padding: .4rem .6rem;
    border: 1.5px solid var(--ch-gray-light);
    border-radius: var(--ch-radius-sm);
    background: none;
    cursor: pointer;
    color: var(--ch-gray);
    transition: var(--ch-transition);
}
.ch-view-btn.active { background: var(--ch-accent); border-color: var(--ch-accent); color: #fff; }

/* Pagination */
.ch-pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 2.5rem; flex-wrap: wrap; }
.ch-page-btn {
    width: 38px; height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--ch-gray-light);
    border-radius: var(--ch-radius-sm);
    font-size: .85rem;
    cursor: pointer;
    transition: var(--ch-transition);
    background: var(--ch-white);
    color: var(--ch-dark);
    text-decoration: none;
}
.ch-page-btn:hover, .ch-page-btn.active { background: var(--ch-accent); border-color: var(--ch-accent); color: #fff; }
.ch-page-btn.disabled { opacity: .4; cursor: not-allowed; pointer-events: none; }

/* ─── PRODUCT DETAIL ────────────────────────────────── */
.ch-detail { padding: 2.5rem 0; }
.ch-gallery { position: sticky; top: 100px; }
.ch-gallery-main {
    aspect-ratio: 4/3;
    border: 1.5px solid var(--ch-gray-light);
    border-radius: var(--ch-radius);
    overflow: hidden;
    background: var(--ch-light);
    cursor: zoom-in;
    position: relative;
}
.ch-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
    transition: transform .3s ease;
}
.ch-gallery-thumbs { display: flex; gap: .5rem; margin-top: .8rem; flex-wrap: wrap; }
.ch-gallery-thumb {
    width: 65px; height: 65px;
    border: 2px solid var(--ch-gray-light);
    border-radius: var(--ch-radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: var(--ch-transition);
    background: var(--ch-light);
}
.ch-gallery-thumb:hover, .ch-gallery-thumb.active { border-color: var(--ch-accent); }
.ch-gallery-thumb img { width: 100%; height: 100%; object-fit: contain; padding: .3rem; }

/* Detail info */
.ch-detail-brand { font-size: .78rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--ch-accent); margin-bottom: .3rem; font-weight: 600; }
.ch-detail-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; color: var(--ch-primary); margin-bottom: .5rem; }
.ch-detail-sku { font-size: .78rem; color: var(--ch-gray); margin-bottom: 1rem; }
.ch-detail-price { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.ch-detail-price-new { font-size: 2rem; font-weight: 700; color: var(--ch-accent-dark); }
.ch-detail-price-old { font-size: 1.1rem; color: var(--ch-gray); text-decoration: line-through; }
.ch-detail-price-off {
    background: #fef3c7;
    color: #92400e;
    padding: .2rem .6rem;
    border-radius: 3px;
    font-size: .8rem;
    font-weight: 700;
}
.ch-detail-stock { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 500; margin-bottom: 1rem; }
.ch-detail-stock.instock { color: var(--ch-success); }
.ch-detail-stock.outstock { color: var(--ch-danger); }
/* ─── PRODUCT RATING WIDGET ─────────────────────────────── */
.ch-rating-wrap  { margin: .5rem 0 1rem; }
.ch-rating-avg   { display: flex; align-items: center; gap: .4rem; margin-bottom: .35rem; flex-wrap: wrap; }
.ch-avg-stars i                { color: #f5a623 !important; font-size: .95rem; }
.ch-avg-stars .far.fa-star     { color: #d1d5db !important; }
.ch-rating-count { font-size: .8rem; color: var(--ch-gray); }
.ch-rate-it      { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.ch-rate-label   { font-size: .82rem; color: var(--ch-gray); }
.ch-rate-stars   { display: flex; gap: .1rem; }
.ch-rate-star    { font-size: 1.4rem; color: #d1d5db; cursor: pointer; transition: color .12s; }
.ch-rate-star.ch-rate-star-lit { color: #f5a623; }
.ch-rate-msg     { font-size: .8rem; color: var(--ch-accent); font-weight: 500; }

.ch-detail-desc { font-size: .9rem; color: var(--ch-gray); line-height: 1.75; margin-bottom: 1.5rem; }
.ch-detail-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.ch-detail-actions .ch-btn-wa { padding: .85rem 1.5rem; font-size: .95rem; }
.ch-detail-actions .ch-btn-outline { padding: .85rem 1.5rem; font-size: .95rem; }
.ch-detail-share { display: flex; align-items: center; gap: .8rem; }
.ch-detail-share-label { font-size: .82rem; color: var(--ch-gray); }
.ch-share-btn {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1.5px solid var(--ch-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .82rem;
    cursor: pointer;
    color: var(--ch-gray);
    transition: var(--ch-transition);
}
.ch-share-btn:hover { background: var(--ch-accent); border-color: var(--ch-accent); color: #fff; }

/* Product Tabs */
.ch-detail-tabs { margin-top: 2.5rem; }
.ch-detail-tab-nav {
    display: flex;
    border-bottom: 2px solid var(--ch-gray-light);
    gap: 0;
    overflow-x: auto;
}
.ch-detail-tab-btn {
    padding: .7rem 1.5rem;
    background: none;
    border: none;
    font-family: var(--ch-font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ch-gray);
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    transition: var(--ch-transition);
}
.ch-detail-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 3px;
    background: var(--ch-accent);
    transform: scaleX(0);
    transition: transform .3s;
}
.ch-detail-tab-btn.active { color: var(--ch-accent); }
.ch-detail-tab-btn.active::after { transform: scaleX(1); }
.ch-detail-tab-content { padding: 1.5rem 0; display: none; }
.ch-detail-tab-content.active { display: block; }

/* Specs table */
.ch-spec-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.ch-spec-table tr:nth-child(even) td { background: var(--ch-light); }
.ch-spec-table td { padding: .6rem .8rem; border: 1px solid var(--ch-gray-light); }
.ch-spec-table td:first-child { font-weight: 600; color: var(--ch-primary); width: 40%; }

/* ─── STATIC PAGES ──────────────────────────────────── */
.ch-page-hero {
    background: linear-gradient(135deg, var(--ch-primary) 0%, var(--ch-secondary) 100%);
    padding: 4rem 0;
    text-align: center;
    color: var(--ch-white);
    position: relative;
    overflow: hidden;
}
.ch-page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: var(--ch-white);
    clip-path: ellipse(55% 100% at 50% 100%);
}
.ch-page-hero-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: .5rem; }
.ch-page-content { padding: 3rem 0; }
.ch-page-content h3 { font-family: var(--ch-font-heading); color: var(--ch-primary); margin: 1.5rem 0 .8rem; font-size: 1.3rem; }
.ch-page-content p  { color: var(--ch-gray); line-height: 1.8; margin-bottom: 1rem; font-size: .92rem; }
.ch-page-content ul { list-style: disc; padding-left: 1.5rem; color: var(--ch-gray); font-size: .92rem; }
.ch-page-content ul li { margin-bottom: .4rem; line-height: 1.6; }

/* ─── CONTACT PAGE ──────────────────────────────────── */
.ch-contact-card {
    background: var(--ch-white);
    border: 1.5px solid var(--ch-gray-light);
    border-radius: var(--ch-radius);
    padding: 1.8rem;
    text-align: center;
    transition: var(--ch-transition);
    height: 100%;
}
.ch-contact-card:hover { box-shadow: var(--ch-shadow-md); border-color: var(--ch-accent-light); }
.ch-contact-icon {
    width: 60px; height: 60px;
    background: var(--ch-accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--ch-accent-dark);
    margin: 0 auto 1rem;
    transition: var(--ch-transition);
}
.ch-contact-card:hover .ch-contact-icon { background: var(--ch-accent); color: #fff; }
.ch-contact-form .ch-input {
    border: 1.5px solid var(--ch-gray-light);
    border-radius: var(--ch-radius-sm);
    padding: .7rem 1rem;
    font-family: var(--ch-font-body);
    font-size: .9rem;
    transition: var(--ch-transition);
}
.ch-contact-form .ch-input:focus {
    outline: none;
    border-color: var(--ch-accent);
    box-shadow: 0 0 0 3px rgba(200,169,110,.15);
}

/* ─── SEARCH PAGE ───────────────────────────────────── */
.ch-search-hero {
    background: var(--ch-light);
    padding: 3rem 0;
    border-bottom: 1.5px solid var(--ch-gray-light);
}
.ch-search-hero-input {
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    border: 2px solid var(--ch-gray-light);
    border-radius: 40px;
    width: 100%;
    font-family: var(--ch-font-body);
    transition: var(--ch-transition);
}
.ch-search-hero-input:focus {
    outline: none;
    border-color: var(--ch-accent);
    box-shadow: 0 0 0 4px rgba(200,169,110,.15);
}

/* ─── ERROR PAGES ───────────────────────────────────── */
.ch-error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.ch-error-code { font-size: 6rem; font-weight: 700; color: var(--ch-accent); font-family: var(--ch-font-heading); line-height: 1; }
.ch-error-title { font-size: 1.8rem; color: var(--ch-primary); margin: 1rem 0 .5rem; }
.ch-error-msg { color: var(--ch-gray); margin-bottom: 2rem; }

/* ─── INPUT COMMON ──────────────────────────────────── */
.ch-input {
    width: 100%;
    padding: .65rem 1rem;
    border: 1.5px solid var(--ch-gray-light);
    border-radius: var(--ch-radius-sm);
    font-size: .9rem;
    font-family: var(--ch-font-body);
    transition: var(--ch-transition);
    background: var(--ch-white);
}
.ch-input:focus { outline: none; border-color: var(--ch-accent); box-shadow: 0 0 0 3px rgba(200,169,110,.15); }

/* ─── QUICK VIEW MODAL ──────────────────────────────── */
.ch-quickview .modal-content { border: none; border-radius: var(--ch-radius-lg); overflow: hidden; }
.ch-quickview .modal-header { border-bottom: 1.5px solid var(--ch-gray-light); padding: 1rem 1.5rem; }
.ch-quickview .modal-body { padding: 1.5rem; }

/* ─── LOADING SKELETON ──────────────────────────────── */
.ch-skeleton {
    background: linear-gradient(90deg, var(--ch-light) 25%, #e9e5de 50%, var(--ch-light) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite;
    border-radius: var(--ch-radius-sm);
}
@keyframes skeletonShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.ch-skeleton-card { height: 300px; margin-bottom: 1rem; }
.ch-skeleton-text { height: 14px; margin-bottom: .5rem; }
.ch-skeleton-title { height: 20px; margin-bottom: .8rem; width: 80%; }

/* ─── UTILITY ───────────────────────────────────────── */
.text-accent { color: var(--ch-accent) !important; }
.bg-accent   { background: var(--ch-accent) !important; }
.text-primary-ch { color: var(--ch-primary) !important; }
.bg-primary-ch   { background: var(--ch-primary) !important; }
.ch-divider  { border: none; border-top: 1.5px solid var(--ch-gray-light); margin: 1.5rem 0; }

/* ─── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 991.98px) {
    .ch-hero-swiper { height: 420px; }
    .ch-hero-content { padding: 1.5rem; }
    .ch-nav { display: none; }
    .ch-nav.mobile-open { display: block; }
    .ch-nav-list { flex-direction: column; gap: 0; padding: .5rem 0; }
    .ch-nav-link { padding: .65rem 1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
    .ch-has-dropdown:hover .ch-dropdown { display: none; }
    .ch-dropdown { position: static; box-shadow: none; border: none; border-radius: 0; padding: 0; background: rgba(0,0,0,.15); }
    .ch-dropdown li a { padding: .5rem 1.5rem; font-size: .84rem; color: rgba(255,255,255,.85); }
    .ch-dropdown li a:hover { background: rgba(255,255,255,.08); color: var(--ch-accent); padding-left: 2rem; }
    .ch-dropdown li a .text-muted, .ch-dropdown li a small { color: rgba(255,255,255,.45) !important; }
    .ch-nav-cta { margin-left: 0; }
    .ch-filter-sidebar { position: fixed; top: 0; left: -100%; bottom: 0; width: 280px; z-index: 9999; overflow-y: auto; transition: left .3s; }
    .ch-filter-sidebar.open { left: 0; }
    .ch-float-wa { bottom: 80px; }
    .ch-back-top { bottom: 90px; }
}

@media (max-width: 767.98px) {
    .ch-hero-swiper { height: 320px; }
    .ch-hero-title  { font-size: 1.6rem; }
    .ch-hero-desc   { display: none; }
    .ch-section     { padding: 2.5rem 0; }
    .ch-deal-section { padding: 2.5rem 0; }
    .ch-count-num   { width: 50px; height: 50px; font-size: 1.3rem; line-height: 50px; }
}
