/* =========================================================
   MachinesWala - Premium Machinery Marketplace Theme 2026
   ========================================================= */

:root {
    --primary: #0d6efd;
    --primary-dark: #0a58ca;
    --primary-gradient: linear-gradient(135deg, #0d6efd 0%, #6f42c1 100%);
    --secondary: #6f42c1;
    --success: #198754;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #0dcaf0;
    --dark: #0b132b;
    --dark-2: #132240;
    --body-bg: #f5f7fb;
    --text: #1f2d3d;
    --text-muted: #6c757d;
    --border: #e6eaf2;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow-sm: 0 2px 8px rgba(20, 40, 80, .08);
    --shadow: 0 8px 24px rgba(20, 40, 80, .10);
    --shadow-lg: 0 20px 50px rgba(20, 40, 80, .16);
    --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', 'Inter', sans-serif;
}

* { box-sizing: border-box; }

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

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--body-bg);
    line-height: 1.6;
    font-size: 15px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; color: var(--dark); }

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

.container { max-width: 1280px; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ============ TOP BAR ============ */
.topbar {
    background: var(--dark);
    color: #cdd7ea;
    font-size: .82rem;
    padding: 7px 0;
}
.topbar a { color: #cdd7ea; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-item i { color: var(--warning); }
.topbar-social a {
    width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; font-size: .7rem; background: rgba(255,255,255,.1);
}
.topbar-social a:hover { background: var(--primary); color: #fff; }

/* ============ MAIN NAV ============ */
.main-nav {
    background: #fff;
    box-shadow: var(--shadow-sm);
    padding-top: 10px; padding-bottom: 10px;
    transition: padding .25s, box-shadow .25s;
}
.main-nav.scrolled {
    padding-top: 6px; padding-bottom: 6px;
    box-shadow: 0 4px 20px rgba(20,40,80,.12);
}
.navbar-brand { display: flex; align-items: center; gap: 8px; }
.brand-logo {
    width: 40px; height: 40px; border-radius: 12px;
    background: var(--primary-gradient); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(13,110,253,.35);
}
.brand-text { font-family: var(--font-heading); font-weight: 800; font-size: 1.35rem; color: var(--dark); }
.brand-text span { color: var(--primary); }

.main-nav .navbar-nav { gap: 2px; }
.main-nav .nav-link {
    color: var(--text); font-weight: 600; font-size: .9rem;
    padding: 8px 12px !important; border-radius: 8px;
}
.main-nav .nav-link:hover { color: var(--primary); background: rgba(13,110,253,.06); }
.main-nav .nav-link.dropdown-toggle::after { margin-left: 4px; }

.header-actions .icon-btn {
    width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; color: var(--text); background: var(--body-bg); font-size: 1rem;
    transition: all .2s;
}
.header-actions .icon-btn:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.count-badge {
    position: absolute; top: 0; right: 0; transform: translate(30%,-30%);
    background: var(--danger); color: #fff; font-size: .62rem; font-weight: 700;
    min-width: 17px; min-height: 17px; border-radius: 10px; display: inline-flex;
    align-items: center; justify-content: center; padding: 0 4px;
}
.login-btn { border-radius: 8px; font-weight: 600; border-color: var(--primary); color: var(--primary); }
.login-btn:hover { background: var(--primary); border-color: var(--primary); }

.category-menu, .state-menu { min-width: 260px; border: none; box-shadow: var(--shadow); border-radius: 12px; padding: 8px; }
.category-menu .dropdown-item, .state-menu .dropdown-item { border-radius: 8px; padding: 8px 12px; font-size: .88rem; }

.navbar-toggler { border: none; }
.navbar-toggler:focus { box-shadow: none; }

/* ============ OFF CANVAS MOBILE ============ */
.mobile-nav .nav-link { padding: 10px 0; color: var(--text); font-weight: 600; border-bottom: 1px solid var(--border); }
.mobile-nav .nav-link:hover { color: var(--primary); padding-left: 6px; }
.card mb { color: var(--border); }

/* ============ HERO ============ */
.hero-slider .swiper-slide { position: relative; overflow: hidden; }
.hero-slide-inner {
    position: relative; min-height: 560px; background: var(--dark);
    display: flex; align-items: center; color: #fff;
}
.hero-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
}
.hero-overlay {
    position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(100deg, rgba(11,19,43,.92) 0%, rgba(11,19,43,.75) 45%, rgba(11,19,43,.25) 100%);
}
.hero-content { position: relative; z-index: 3; padding: 40px 0; }
.hero-eyebrow {
    display: inline-block; padding: 6px 16px; border-radius: 30px;
    background: rgba(255,193,7,.15); color: var(--warning); font-weight: 600; font-size: .82rem;
    letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px;
}
.hero-title {
    font-size: clamp(1.8rem, 4.5vw, 3.5rem); font-weight: 800; color: #fff;
    line-height: 1.15; margin-bottom: 18px;
}
.hero-sub { color: #d7e0f0; font-size: clamp(1rem, 1.5vw, 1.2rem); margin-bottom: 28px; max-width: 560px; }
.hero-actions .btn { border-radius: 40px; padding: 12px 28px; font-weight: 600; }

.hero-animate { opacity: 0; transform: translateY(24px); animation: heroIn .7s forwards; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.hero-slide-inner.d1 .hero-animate { animation-delay: .15s; }
.hero-slide-inner.d2 .hero-animate { animation-delay: .3s; }
.hero-slide-inner.d3 .hero-animate { animation-delay: .45s; }

.hero-slider .swiper-pagination-bullet { background: #fff; opacity: .5; }
.hero-slider .swiper-pagination-bullet-active { background: var(--warning); opacity: 1; width: 24px; border-radius: 4px; }
.hero-nav-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
    width: 46px; height: 46px; border-radius: 50%; border: none;
    background: rgba(255,255,255,.15); color: #fff; font-size: 1.1rem;
    backdrop-filter: blur(4px); cursor: pointer; display: none; align-items: center; justify-content: center;
}
.hero-slider:hover .hero-nav-arrow { display: flex; }
.hero-nav-arrow.prev { left: 20px; }
.hero-nav-arrow.next { right: 20px; }
.hero-nav-arrow:hover { background: var(--primary); }

/* ============ HERO SEARCH ============ */
.hero-search-wrap { position: relative; z-index: 5; }
.hero-search {
    background: #fff; border-radius: 60px; padding: 8px; box-shadow: var(--shadow-lg);
    display: flex; align-items: center;
}
.hero-search .btn { border-radius: 50px; padding: 12px 28px; }
.hero-search input { border: none; box-shadow: none; font-size: 1rem; }
.search-suggestions { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background:#fff; border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; z-index: 20; display: none; max-height: 360px; overflow-y: auto; }
.search-suggestions.show { display: block; }
.suggestion-item { display: flex; align-items: center; gap: 12px; padding: 10px 16px; cursor: pointer; border-bottom: 1px solid var(--border); }
.suggestion-item:hover { background: var(--body-bg); }
.suggestion-item img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.suggestion-item .s-title { font-weight: 600; font-size: .9rem; color: var(--text); }
.suggestion-item .s-price { font-size: .8rem; color: var(--primary); font-weight: 600; }
.search-popular { font-size: .82rem; color: var(--text-muted); }
.search-popular .btn { border-radius: 30px; background: rgba(255,255,255,.12); color:#e6ecf8; border-color: rgba(255,255,255,.25); margin: 0 4px 6px 0; }

/* ============ SECTION HEADINGS ============ */
.section { padding: 70px 0; }
.section-alt { background: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-eyebrow {
    display: inline-block; color: var(--primary); font-weight: 700; text-transform: uppercase;
    letter-spacing: 2px; font-size: .78rem; margin-bottom: 10px;
}
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 12px; }
.section-sub { color: var(--text-muted); font-size: 1rem; }

/* ============ CATEGORY CARDS ============ */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; }
.category-card {
    background: #fff; border-radius: var(--radius); padding: 22px 14px; text-align: center;
    border: 1px solid var(--border); transition: all .28s; display: block; height: 100%;
    box-shadow: var(--shadow-sm);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--primary); }
.category-icon {
    width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 16px;
    background: var(--primary-gradient); color: #fff; display: flex; align-items: center;
    justify-content: center; font-size: 1.5rem;
}
.category-name { font-weight: 700; font-size: .92rem; color: var(--dark); margin-bottom: 4px; }
.category-count { font-size: .78rem; color: var(--text-muted); }

/* ============ PRODUCT CARDS ============ */
.product-card {
    background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
    transition: all .28s; box-shadow: var(--shadow-sm); position: relative; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(13,110,253,.3); }
.product-card-media { position: relative; overflow: hidden; background: var(--body-bg); }
.product-img-link { display: block; aspect-ratio: 4/3; overflow: hidden; }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-img { transform: scale(1.08); }

.product-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 3; }
.badge-discount { background: var(--danger); color:#fff; border-radius: 6px; }
.badge-featured { background: var(--warning); color: var(--dark); border-radius: 6px; }
.availability-badge { position: absolute; top: 12px; right: 12px; z-index: 3; border-radius: 20px; font-size: .68rem; }

.product-card-actions {
    position: absolute; top: 50px; right: 12px; z-index: 4; display: flex; flex-direction: column; gap: 8px;
    opacity: 0; transform: translateX(10px); transition: all .3s;
}
.product-card:hover .product-card-actions { opacity: 1; transform: none; }
.action-btn {
    width: 36px; height: 36px; border-radius: 50%; border:none; background:#fff; color:var(--text);
    display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-sm);
    transition: all .2s; font-size: .85rem;
}
.action-btn:hover, .action-btn.active { background: var(--primary); color:#fff; }
.action-btn.active.wishlist-btn { background: var(--danger); color:#fff; }
.action-btn.active.compare-btn { background: var(--secondary); color:#fff; }

.product-card-quickadd {
    position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 4;
    opacity: 0; transform: translateY(14px); transition: all .3s;
}
.product-card:hover .product-card-quickadd { opacity: 1; transform: none; }

.product-card-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: .78rem; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.product-title { font-size: 1rem; margin: 6px 0 6px; font-weight: 600; line-height: 1.35; }
.product-title a { color: var(--dark); }
.product-title a:hover { color: var(--primary); }
.product-desc { font-size: .82rem; color: var(--text-muted); margin-bottom: 10px; flex: 1; }

.product-price-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 10px; }
.price-wrap { display: flex; align-items: baseline; gap: 8px; }
.price-sale { font-size: 1.25rem; font-weight: 800; color: var(--primary); }
.price-mrp { font-size: .85rem; color: var(--text-muted); text-decoration: line-through; }
.price-on-request { font-size: .9rem; font-weight: 700; color: var(--success); }
.product-sku { font-size: .72rem; color: var(--text-muted); }

.product-card-footer { display: flex; gap: 8px; }
.product-card-footer .btn { flex: 1; border-radius: 8px; font-size: .85rem; }
.product-card-footer .btn-whatsapp { max-width: 44px; flex: 0 0 44px; }

/* ============ BUTTONS ============ */
.btn-whatsapp { background: #25d366; border-color: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe5d; border-color: #1ebe5d; color:#fff; }
.btn-call { background: var(--success); border-color: var(--success); color:#fff; }
.btn-call:hover { color:#fff; background: #146c43; }
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); }
.btn-gradient { background: var(--primary-gradient); border: none; color:#fff; }
.btn-gradient:hover { color:#fff; opacity:.92; }

/* ============ INDUSTRY CARDS ============ */
.industry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.industry-card {
    background: #fff; border-radius: var(--radius); padding: 26px 20px; text-align: center;
    border: 1px solid var(--border); transition: all .28s; box-shadow: var(--shadow-sm);
}
.industry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--secondary); }
.industry-icon {
    width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 18px;
    background: rgba(111,66,193,.12); color: var(--secondary); display: flex; align-items: center;
    justify-content: center; font-size: 1.5rem; transition: all .3s;
}
.industry-card:hover .industry-icon { background: var(--secondary); color: #fff; }
.industry-name { font-weight: 700; margin-bottom: 6px; }

/* ============ LOCATION CARDS ============ */
.location-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.location-card {
    background: #fff; border-radius: var(--radius); padding: 18px; text-align: center;
    border: 1px solid var(--border); transition: all .25s; box-shadow: var(--shadow-sm);
}
.location-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow); }
.location-icon { color: var(--primary); font-size: 1.6rem; margin-bottom: 8px; }
.location-name { font-weight: 700; font-size: .95rem; }
.location-count { font-size: .78rem; color: var(--text-muted); }

/* ============ WHY CHOOSE ============ */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.why-card {
    background: #fff; border-radius: var(--radius); padding: 28px 22px; text-align: center;
    border: 1px solid var(--border); transition: all .3s; box-shadow: var(--shadow-sm);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.why-icon-wrap {
    width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 22px;
    background: var(--primary-gradient); color: #fff; display: flex; align-items: center;
    justify-content: center; font-size: 1.6rem; box-shadow: 0 8px 20px rgba(13,110,253,.3);
}
.why-title { font-weight: 700; margin-bottom: 8px; }
.why-desc { font-size: .88rem; color: var(--text-muted); }

/* ============ HOW IT WORKS ============ */
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.how-step {
    text-align: center; position: relative; padding: 20px;
}
.how-number {
    font-family: var(--font-heading); font-size: 4rem; font-weight: 800; line-height: 1;
    color: rgba(13,110,253,.15); margin-bottom: -12px; display: block;
}
.how-icon {
    width: 70px; height: 70px; border-radius: 50%; background: #fff; margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
    color: var(--primary); box-shadow: var(--shadow); border: 2px solid rgba(13,110,253,.15);
}
.how-title { font-weight: 700; margin-bottom: 8px; }
.how-desc { font-size: .88rem; color: var(--text-muted); }

/* ============ CTA ============ */
.cta-section { padding: 20px 0 70px; }
.cta-box {
    background: var(--primary-gradient); border-radius: 24px; padding: 46px 40px; color: #fff;
    box-shadow: 0 20px 50px rgba(111,66,193,.3); position: relative; overflow: hidden;
}
.cta-box::before {
    content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%;
    background: rgba(255,255,255,.08); top: -120px; right: -60px; z-index: 1;
}
.cta-box h2 { color: #fff; }

/* ============ FOOTER ============ */
.site-footer { background: var(--dark); color: #aeb9d0; }
.footer-main { padding: 60px 0 40px; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand .brand-text { color: #fff; }
.footer-heading { color: #fff; font-size: 1.05rem; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-heading::after { content:''; position:absolute; left:0; bottom:0; width: 34px; height:3px; border-radius:3px; background: var(--primary); }
.footer-links { list-style: none; margin:0; padding:0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: #aeb9d0; font-size: .9rem; }
.footer-links a:hover { color: var(--warning); padding-left: 4px; }
.footer-contact p { font-size: .9rem; }
.footer-contact a { color: #aeb9d0; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .85rem; }

/* ============ FLOATING BUTTONS ============ */
.floating-buttons { position: fixed; bottom: 80px; right: 18px; z-index: 1000; display: flex; flex-direction: column; gap: 12px; }
.fb-btn {
    width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: #fff; box-shadow: var(--shadow-lg); position: relative;
    transition: transform .2s;
}
.fb-btn:hover { transform: scale(1.1); color: #fff; }
.fb-call { background: var(--success); }
.fb-whatsapp { background: #25d366; animation: pulse 2s infinite; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
    70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ============ MOBILE CTA BAR ============ */
.mobile-cta-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
    background: #fff; display: flex; box-shadow: 0 -4px 20px rgba(20,40,80,.12);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
.mcta-btn { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: none; border: none; color: var(--text); font-size: .68rem; font-weight: 600; position: relative; }
.mcta-btn i { font-size: 1.2rem; color: var(--primary); }
.mcta-price i { color: var(--warning); }
.mcta-btn.mcta-cart i { color: var(--dark); }
.mcta-badge { position: absolute; top: 0; right: 22%; background: var(--danger); color: #fff; border-radius: 10px; font-size: .6rem; padding: 1px 5px; }
body { padding-bottom: 58px; }
@media (min-width: 768px) { body { padding-bottom: 0; } .mobile-cta-bar { display: none; } }
@media (min-width: 768px) { .floating-buttons { bottom: 24px; } }

/* ============ GLOBAL SEARCH MODAL ============ */
.search-popular .btn-primary { background: var(--primary); }
.global-search .form-control { font-size: 1.1rem; padding: 14px; }
.search-results .suggestion-item { border-bottom: 1px solid var(--border); }

/* ============ BREADCRUMB ============ */
.breadcrumb-wrap { background: #fff; border-bottom: 1px solid var(--border); padding: 14px 0; margin-bottom: 0; }
.breadcrumb { font-size: .85rem; }
.breadcrumb-item a { color: var(--primary); text-decoration: none; }
.breadcrumb-item.active { color: var(--text-muted); }

/* ============ PAGE HEADER ============ */
.page-header { background: var(--primary-gradient); color: #fff; padding: 56px 0; }
.page-header h1 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.page-header p { color: rgba(255,255,255,.85); }

/* ============ DETAIL PAGE ============ */
.detail-gallery .main-image { border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: #fff; border: 1px solid var(--border); }
.detail-gallery .main-image img { width: 100%; height: auto; }
.thumb-list { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb-item { width: 76px; height: 76px; border-radius: 8px; overflow: hidden; cursor: pointer; border: 2px solid transparent; padding: 0; background: #fff; }
.thumb-item.active { border-color: var(--primary); }
.thumb-item img { width: 100%; height: 100%; object-fit: cover; }

.price-box { background: var(--body-bg); border-radius: var(--radius); padding: 20px; }
.price-sale-big { font-size: 1.9rem; font-weight: 800; color: var(--primary); }
.detail-cta .btn { border-radius: 10px; padding: 12px; font-weight: 600; margin-bottom: 10px; }
.detail-meta { font-size: .9rem; }
.detail-meta dt { font-weight: 600; color: var(--dark); }
.detail-meta dd { margin-bottom: 8px; }

/* Specs table */
.specs-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
.specs-table th, .specs-table td { padding: 12px 16px; border: 1px solid var(--border); text-align: left; font-size: .92rem; }
.specs-table th { background: var(--primary); color: #fff; width: 38%; }

/* ---------- Enquiry sticky sidebar ---------- */
.lead-sidebar { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); padding: 20px; box-shadow: var(--shadow-sm); position: sticky; top: 90px; }

/* ============ FAQ ============ */
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-question { padding: 18px 20px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--dark); }
.faq-question i { transition: transform .3s; color: var(--primary); }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer { padding: 0 20px 18px; color: var(--text-muted); display: none; }

/* ============ Filter sidebar ============ */
.filter-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); padding: 18px; margin-bottom: 16px; }
.filter-title { font-weight: 700; font-size: .95rem; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.check-list { max-height: 220px; overflow-y: auto; }
.check-list label { display: flex; align-items: center; gap: 8px; font-size: .88rem; padding: 4px 0; cursor: pointer; }
.price-range { width: 100%; }
.sort-bar { background:#fff; border-radius: var(--radius); padding: 12px 16px; border: 1px solid var(--border); margin-bottom: 20px; }

/* ============ COMPARE TABLE ============ */
.compare-table { width: 100%; border-collapse: collapse; background:#fff; }
.compare-table th, .compare-table td { border: 1px solid var(--border); padding: 12px; text-align: center; }
.compare-table th:first-child, .compare-table td:first-child { width: 160px; background: var(--body-bg); font-weight: 600; text-align: left; }
.compare-product-img { width: 130px; height: 130px; object-fit: cover; border-radius: 10px; }

/* ============ COOKIE ============ */
.cookie-consent {
    position: fixed; bottom: 70px; left: 16px; right: 16px; z-index: 1100;
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
    border: 1px solid var(--border); padding: 16px; max-width: 420px; margin: 0 auto;
}
.cookie-consent p { font-size: .88rem; }
@media (min-width: 768px){ .cookie-consent { left: 24px; right: auto; bottom: 24px; margin:0; } }

/* ============ CART ============ */
.cart-table { width: 100%; background: #fff; border-radius: var(--radius); overflow: hidden; }
.cart-table th, .cart-table td { padding: 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-table th { background: var(--body-bg); font-size: .85rem; }
.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.qty-control button { width: 32px; height: 32px; border: none; background: transparent; font-size: 1rem; cursor: pointer; }
.qty-control input { width: 42px; text-align: center; border: none; outline: none; height: 32px; }
.cart-summary { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); padding: 20px; }

/* ============ AUTH ============ */
.auth-card { max-width: 460px; margin: 40px auto; background:#fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

/* ============ REVIEWS ============ */
.review-card { background:#fff; border-radius: var(--radius); padding: 20px; border: 1px solid var(--border); }
.stars { color: var(--warning); font-size: .9rem; }

/* ============ BLOG ============ */
.blog-card { background:#fff; border-radius: var(--radius); overflow:hidden; border:1px solid var(--border); transition: all .25s; box-shadow: var(--shadow-sm); height: 100%; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.blog-card-img { height: 200px; overflow: hidden; }
.blog-card-img img { width:100%; height:100%; object-fit: cover; }
.blog-card-body { padding: 18px; }
.blog-cat { font-size: .75rem; color: var(--primary); text-transform: uppercase; font-weight: 700; letter-spacing: .5px; }
.blog-title { font-size: 1.1rem; font-weight: 700; line-height: 1.4; }
.blog-title a { color: var(--dark); }

/* ============ AUTHORS / CONTACT ============ */
.contact-info-card { background:#fff; border-radius: var(--radius); padding: 26px; border:1px solid var(--border); box-shadow: var(--shadow-sm); height:100%; text-align: center; transition: all .25s; }
.contact-info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--primary-gradient); color:#fff; margin: 0 auto 14px; display:flex; align-items:center; justify-content:center; font-size: 1.4rem; }
.contact-info-card h5 { font-size: 1rem; }
.contact-info-card p { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* ============ ADMIN ============ */
.admin-wrapper { display: flex; min-height: 100vh; }
.admin-sidebar { width: 250px; background: var(--dark); color:#fff; position: fixed; top:0; bottom:0; left:0; overflow-y:auto; z-index:1000; transition: all .3s; }
.admin-main { margin-left: 250px; flex:1; padding: 24px; background: var(--body-bg); }
.admin-sidebar .nav-link { color:#aeb9d0; padding: 10px 16px; border-radius: 8px; margin: 2px 8px; }
.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active { background: rgba(255,255,255,.08); color:#fff; }
.admin-sidebar .nav-link i { width: 22px; }
.stat-card { background:#fff; border-radius: var(--radius); padding: 20px; border:1px solid var(--border); box-shadow: var(--shadow-sm); }
.stat-value { font-size: 1.8rem; font-weight: 800; color: var(--dark); }
.stat-label { color: var(--text-muted); font-size: .88rem; }
.stat-icon { width: 52px; height: 52px; border-radius: 14px; display:flex; align-items:center; justify-content:center; font-size:1.3rem; }
.table-admin { background:#fff; border-radius: var(--radius); overflow:hidden; }

/* ============ MISC ============ */
.gradient-bg { background: var(--primary-gradient); }
.text-gradient { background: var(--primary-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.rounded-full { border-radius: 50% !important; }
.mini-feature { display:flex; gap:14px; align-items:flex-start; padding: 16px; }
.mini-feature i { color: var(--primary); font-size: 1.4rem; margin-top: 3px; }
.mini-feature h6 { margin-bottom:4px; }
.mini-feature p { font-size:.85rem; color:var(--text-muted); margin:0; }

/* ============ RESPONSIVE ============ */
@media (max-width: 991.98px) {
    .section { padding: 50px 0; }
    .hero-slide-inner { min-height: 460px; }
}

@media (max-width: 767.98px) {
    .hero-slide-inner { min-height: 400px; padding: 40px 0; }
    .hero-title { font-size: 1.7rem; }
    .hero-search { border-radius: 20px; flex-wrap: wrap; }
    .hero-search .btn { width: 100%; }
    .category-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
    .section-head { margin-bottom: 30px; }
    .cta-box { padding: 30px 20px; }
}

@media (max-width: 575.98px) {
    .topbar-item span { display: none; }
    .hidden-xs { display: none; }
}

@keyframes spin { to { transform: rotate(360deg); } }
.loading-spinner { width: 40px; height: 40px; border: 4px solid rgba(13,110,253,.2); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; margin: 30px auto; }

/* Accordion custom */
.accordion-button:not(.collapsed) { background: var(--body-bg); color: var(--primary); }

/* Price / product detail tabs */
.nav-pills .nav-link.active { background: var(--primary); }

.section-70 { padding: 70px 0; }

/* Quick Answer / AEO box */
.quick-answer { background: linear-gradient(135deg, #eef4ff, #f3eefe); border:1px solid rgba(13,110,253,.2); border-radius: var(--radius); padding: 24px; margin-bottom: 28px; }
.quick-answer h2 { font-size: 1.3rem; }
.qa-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 12px; margin-top: 14px; }
.qa-item { background:#fff; border-radius:10px; padding: 12px; border:1px solid var(--border); }
.qa-item .qa-label { font-size:.72rem; text-transform: uppercase; color:var(--text-muted); letter-spacing:.5px; font-weight:700; }
.qa-item .qa-value { font-size:.9rem; font-weight:600; color:var(--dark); }

/* Error pages */
.error-code { font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; color: var(--primary); line-height: 1; }
