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

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

:root {
  --white: #FFFFFF;
  --navy: #1E293B;
  --blue: #2563EB;
  --emerald: #059669;
  --cyan: #0891B2;
  --gray-light: #F1F5F9;
  --gray-mid: #E2E8F0;
  --gray-text: #64748B;
  --gray-dark: #334155;
  --red: #DC2626;
  --font-main: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --radius: 10px;
  --shadow: 0 2px 16px rgba(30,41,59,0.09);
  --shadow-lg: 0 8px 40px rgba(30,41,59,0.14);
  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--navy); background: var(--white); font-size: 15px; line-height: 1.6; }

a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--cyan); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* ========== UTILITY ========== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.text-center { text-align: center; }
.text-blue { color: var(--blue); }
.text-emerald { color: var(--emerald); }
.text-cyan { color: var(--cyan); }
.text-gray { color: var(--gray-text); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.grid { display: grid; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ========== BUTTONS ========== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 26px; border-radius: var(--radius); font-weight: 600; font-size: 14px; cursor: pointer; border: 2px solid transparent; transition: all var(--transition); text-decoration: none; }
.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: #1d4ed8; border-color: #1d4ed8; color: var(--white); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-emerald { background: var(--emerald); color: var(--white); border-color: var(--emerald); }
.btn-emerald:hover { background: #047857; border-color: #047857; color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: #0f172a; border-color: #0f172a; color: var(--white); }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-lg { padding: 14px 34px; font-size: 16px; }
.btn-icon { width: 36px; height: 36px; padding: 0; justify-content: center; border-radius: 8px; }

/* ========== HEADER ========== */
.site-header { background: var(--white); border-bottom: 1px solid var(--gray-mid); position: sticky; top: 0; z-index: 1000; }
.header-top { background: var(--navy); color: rgba(255,255,255,0.8); font-size: 12px; padding: 7px 0; }
.header-top-inner { display: flex; align-items: center; justify-content: space-between; }
.header-top a { color: rgba(255,255,255,0.8); }
.header-top a:hover { color: var(--white); }
.header-top-links { display: flex; gap: 20px; }
.header-main { padding: 14px 0; }
.header-main-inner { display: flex; align-items: center; gap: 24px; }
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { width: 38px; height: 38px; background: var(--blue); border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; }
.logo-text { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--navy); letter-spacing: -0.5px; }
.logo-text span { color: var(--blue); }
.header-search { flex: 1; max-width: 440px; position: relative; }
.header-search input { width: 100%; padding: 10px 16px 10px 42px; border: 1.5px solid var(--gray-mid); border-radius: 9px; font-size: 14px; background: var(--gray-light); transition: border var(--transition), background var(--transition); }
.header-search input:focus { outline: none; border-color: var(--blue); background: var(--white); }
.header-search .search-icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--gray-text); pointer-events: none; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.cart-btn { display: flex; align-items: center; gap: 7px; background: var(--gray-light); border: 1.5px solid var(--gray-mid); border-radius: 9px; padding: 9px 16px; font-size: 14px; font-weight: 600; color: var(--navy); cursor: pointer; position: relative; text-decoration: none; transition: all var(--transition); }
.cart-btn:hover { border-color: var(--blue); color: var(--blue); }
.cart-count { background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; border-radius: 50%; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; }

/* ========== NAV ========== */
.main-nav { border-top: 1px solid var(--gray-mid); }
.main-nav-inner { display: flex; align-items: center; gap: 0; }
.nav-item { position: relative; }
.nav-link { display: flex; align-items: center; gap: 5px; padding: 13px 16px; font-size: 13.5px; font-weight: 500; color: var(--navy); text-decoration: none; transition: color var(--transition); white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--blue); }
.nav-link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }
.dropdown { position: absolute; top: 100%; left: 0; background: var(--white); border: 1px solid var(--gray-mid); border-radius: var(--radius); box-shadow: var(--shadow-lg); min-width: 220px; padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all var(--transition); z-index: 200; }
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 9px 18px; font-size: 13.5px; color: var(--navy); font-weight: 400; }
.dropdown a:hover { background: var(--gray-light); color: var(--blue); }
.mega-dropdown { min-width: 600px; padding: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mega-col h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.7px; color: var(--gray-text); margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--gray-mid); }
.mega-col a { padding: 5px 0; border-radius: 0; font-size: 13px; }
.mega-col a:hover { background: none; padding-left: 4px; }
.mobile-menu-btn { display: none; background: none; border: 1.5px solid var(--gray-mid); border-radius: 8px; padding: 7px 10px; cursor: pointer; }
.mobile-menu-btn svg { display: block; width: 20px; height: 20px; }
.mobile-nav { display: none; background: var(--white); border-top: 1px solid var(--gray-mid); padding: 12px 0; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 10px 20px; font-size: 14px; color: var(--navy); border-bottom: 1px solid var(--gray-light); }
.mobile-nav a:hover { color: var(--blue); background: var(--gray-light); }

/* ========== BREADCRUMB ========== */
.breadcrumb { padding: 12px 0; font-size: 13px; color: var(--gray-text); }
.breadcrumb-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.breadcrumb a { color: var(--gray-text); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb-sep { color: var(--gray-mid); }
.breadcrumb span { color: var(--navy); font-weight: 500; }

/* ========== HERO ========== */
.hero { background: var(--gray-light); padding: 64px 0 56px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--cyan); margin-bottom: 16px; }
.hero-title { font-family: var(--font-display); font-size: 46px; font-weight: 700; line-height: 1.15; color: var(--navy); margin-bottom: 18px; }
.hero-title span { color: var(--blue); }
.hero-desc { font-size: 17px; color: var(--gray-dark); line-height: 1.65; margin-bottom: 32px; max-width: 480px; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--gray-mid); }
.hero-stat-val { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--navy); }
.hero-stat-lbl { font-size: 12px; color: var(--gray-text); margin-top: 2px; }
.hero-image { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5/4; object-fit: cover; width: 100%; }

/* ========== CATEGORY CARDS ========== */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card { background: var(--white); border: 1.5px solid var(--gray-mid); border-radius: var(--radius); padding: 22px 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; text-decoration: none; color: var(--navy); transition: all var(--transition); }
.category-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--navy); }
.cat-icon { width: 46px; height: 46px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cat-icon svg { width: 24px; height: 24px; }
.cat-name { font-weight: 600; font-size: 14.5px; }
.cat-count { font-size: 12px; color: var(--gray-text); }

/* ========== PRODUCT CARDS ========== */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { background: var(--white); border: 1.5px solid var(--gray-mid); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: all var(--transition); }
.product-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.product-img-wrap { padding: 16px; background: var(--gray-light); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-category { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.6px; color: var(--cyan); margin-bottom: 6px; }
.product-name { font-weight: 600; font-size: 14px; line-height: 1.4; color: var(--navy); margin-bottom: 8px; }
.product-name a { color: inherit; }
.product-name a:hover { color: var(--blue); }
.product-specs { font-size: 12px; color: var(--gray-text); line-height: 1.5; margin-bottom: 12px; flex: 1; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.product-price { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--navy); }
.product-price-old { font-size: 12px; text-decoration: line-through; color: var(--gray-text); }
.product-actions { display: flex; gap: 6px; }
.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 6px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-blue { background: #EFF6FF; color: var(--blue); }
.badge-emerald { background: #ECFDF5; color: var(--emerald); }
.badge-cyan { background: #ECFEFF; color: var(--cyan); }
.badge-red { background: #FEF2F2; color: var(--red); }
.badge-navy { background: #F1F5F9; color: var(--navy); }

/* ========== RATING ========== */
.rating { display: flex; align-items: center; gap: 4px; }
.stars { color: #FBBF24; font-size: 13px; }
.rating-count { font-size: 12px; color: var(--gray-text); }

/* ========== SECTION HEADERS ========== */
.section-head { margin-bottom: 36px; }
.section-head.flex { align-items: flex-end; }
.section-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--cyan); margin-bottom: 8px; }
.section-title { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.section-desc { color: var(--gray-text); font-size: 15.5px; margin-top: 10px; max-width: 560px; line-height: 1.6; }

/* ========== TABS ========== */
.tabs-nav { display: flex; gap: 0; border-bottom: 2px solid var(--gray-mid); margin-bottom: 28px; }
.tab-btn { padding: 10px 20px; font-size: 14px; font-weight: 500; color: var(--gray-text); cursor: pointer; background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all var(--transition); }
.tab-btn:hover { color: var(--blue); }
.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); font-weight: 600; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ========== SIDEBAR LAYOUT ========== */
.layout-sidebar { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.sidebar { position: sticky; top: 80px; }
.sidebar-block { background: var(--white); border: 1.5px solid var(--gray-mid); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.sidebar-block h3 { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--gray-mid); }
.sidebar-cat-link { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; font-size: 13.5px; color: var(--navy); border-bottom: 1px solid var(--gray-light); }
.sidebar-cat-link:hover { color: var(--blue); }
.sidebar-cat-link:last-child { border-bottom: none; }
.sidebar-cat-count { font-size: 12px; color: var(--gray-text); background: var(--gray-light); padding: 2px 7px; border-radius: 12px; }
.filter-group { margin-bottom: 14px; }
.filter-group label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--navy); cursor: pointer; padding: 4px 0; }
.filter-group input[type="checkbox"], .filter-group input[type="radio"] { width: 15px; height: 15px; accent-color: var(--blue); cursor: pointer; }
.range-input { width: 100%; accent-color: var(--blue); }
.price-inputs { display: flex; gap: 8px; margin-top: 10px; }
.price-inputs input { flex: 1; padding: 7px 10px; border: 1.5px solid var(--gray-mid); border-radius: 7px; font-size: 13px; }
.price-inputs input:focus { outline: none; border-color: var(--blue); }

/* ========== COMPARISON TABLE ========== */
.compare-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.compare-table th, .compare-table td { padding: 12px 16px; border: 1px solid var(--gray-mid); text-align: left; }
.compare-table th { background: var(--navy); color: #fff; font-weight: 600; font-size: 13px; }
.compare-table tr:nth-child(even) { background: var(--gray-light); }
.compare-table td:first-child { font-weight: 600; color: var(--gray-dark); background: var(--gray-light); white-space: nowrap; }
.compare-table .winner { color: var(--emerald); font-weight: 700; }
.compare-table .check { color: var(--emerald); }
.compare-table .cross { color: var(--red); }

/* ========== SPECS TABLE ========== */
.specs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs-table tr { border-bottom: 1px solid var(--gray-mid); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td { padding: 10px 14px; }
.specs-table td:first-child { font-weight: 600; color: var(--gray-dark); width: 200px; background: var(--gray-light); }

/* ========== PRICE CHART ========== */
.price-chart-wrap { background: var(--gray-light); border-radius: var(--radius); padding: 20px; }

/* ========== INFO CARDS ========== */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card { background: var(--white); border: 1.5px solid var(--gray-mid); border-radius: var(--radius); padding: 26px 22px; }
.info-card-icon { width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.info-card-icon svg { width: 24px; height: 24px; }
.info-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.info-card p { font-size: 14px; color: var(--gray-text); line-height: 1.6; }

/* ========== BLOG CARDS ========== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: var(--white); border: 1.5px solid var(--gray-mid); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: all var(--transition); }
.blog-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--gray-text); margin-bottom: 10px; }
.blog-card h3 { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.35; margin-bottom: 8px; }
.blog-card h3 a { color: inherit; }
.blog-card h3 a:hover { color: var(--blue); }
.blog-card p { font-size: 13.5px; color: var(--gray-text); line-height: 1.55; flex: 1; }
.blog-card-footer { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--gray-mid); }

/* ========== TESTIMONIAL ========== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card { background: var(--white); border: 1.5px solid var(--gray-mid); border-radius: var(--radius); padding: 22px; }
.testimonial-text { font-size: 14px; color: var(--gray-dark); line-height: 1.65; font-style: italic; margin-bottom: 16px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.testimonial-name { font-weight: 600; font-size: 14px; color: var(--navy); }
.testimonial-role { font-size: 12px; color: var(--gray-text); }

/* ========== TRUST BAR ========== */
.trust-bar { background: var(--navy); padding: 20px 0; }
.trust-bar-inner { display: flex; align-items: center; justify-content: space-around; gap: 20px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.85); font-size: 13.5px; font-weight: 500; }
.trust-item svg { width: 22px; height: 22px; color: var(--cyan); flex-shrink: 0; }

/* ========== NEWSLETTER ========== */
.newsletter-section { background: var(--blue); padding: 52px 0; }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.newsletter-title { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--white); }
.newsletter-desc { color: rgba(255,255,255,0.8); font-size: 15px; margin-top: 8px; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input { flex: 1; padding: 12px 16px; border-radius: 9px; border: 2px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.12); color: #fff; font-size: 14px; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-form input:focus { outline: none; border-color: rgba(255,255,255,0.7); }
.newsletter-form .btn { background: var(--white); color: var(--blue); border-color: var(--white); flex-shrink: 0; }
.newsletter-form .btn:hover { background: var(--gray-light); }

/* ========== FOOTER ========== */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); font-size: 13.5px; padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-brand .logo-text { color: var(--white); }
.footer-desc { margin-top: 14px; line-height: 1.65; font-size: 13px; color: rgba(255,255,255,0.65); max-width: 280px; }
.footer-contact { margin-top: 18px; display: flex; flex-direction: column; gap: 7px; }
.footer-contact a { color: rgba(255,255,255,0.75); display: flex; align-items: center; gap: 7px; font-size: 13px; }
.footer-contact a:hover { color: var(--white); }
.footer-contact svg { width: 15px; height: 15px; flex-shrink: 0; }
.footer-col h4 { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.7px; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 13px; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.55); font-size: 12px; }
.footer-bottom-links a:hover { color: var(--white); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.4); }

/* ========== FORM ========== */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-control { width: 100%; padding: 10px 14px; border: 1.5px solid var(--gray-mid); border-radius: 9px; font-size: 14px; color: var(--navy); background: var(--white); transition: border var(--transition); }
.form-control:focus { outline: none; border-color: var(--blue); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-hint { font-size: 12px; color: var(--gray-text); margin-top: 5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.success-message { background: #ECFDF5; border: 1.5px solid var(--emerald); border-radius: var(--radius); padding: 16px 20px; color: var(--emerald); font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.success-message svg { width: 20px; height: 20px; flex-shrink: 0; }
.error-message { background: #FEF2F2; border: 1.5px solid var(--red); border-radius: var(--radius); padding: 16px 20px; color: var(--red); font-weight: 600; font-size: 14px; }

/* ========== PAGE HERO ========== */
.page-hero { background: var(--navy); padding: 44px 0; }
.page-hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.page-hero h1 { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 15.5px; margin-top: 8px; }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.55); }
.page-hero .breadcrumb-sep { color: rgba(255,255,255,0.3); }
.page-hero .breadcrumb span { color: rgba(255,255,255,0.85); }

/* ========== PRODUCT DETAIL ========== */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.product-gallery { position: sticky; top: 80px; }
.product-main-img { border: 1.5px solid var(--gray-mid); border-radius: var(--radius); overflow: hidden; background: var(--gray-light); padding: 24px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.product-main-img img { width: 100%; height: 100%; object-fit: contain; }
.product-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.product-thumb { width: 64px; height: 64px; border: 1.5px solid var(--gray-mid); border-radius: 8px; overflow: hidden; cursor: pointer; background: var(--gray-light); padding: 6px; display: flex; align-items: center; justify-content: center; transition: border var(--transition); }
.product-thumb:hover, .product-thumb.active { border-color: var(--blue); }
.product-thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-info h1 { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--navy); line-height: 1.25; margin-bottom: 10px; }
.product-price-block { display: flex; align-items: baseline; gap: 12px; margin: 18px 0; }
.product-current-price { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--navy); }
.product-old-price { font-size: 18px; text-decoration: line-through; color: var(--gray-text); }
.product-save { background: #ECFDF5; color: var(--emerald); font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 6px; }
.product-availability { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--emerald); margin-bottom: 18px; }
.product-availability svg { width: 16px; height: 16px; }
.product-qty-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.qty-control { display: flex; align-items: center; border: 1.5px solid var(--gray-mid); border-radius: 9px; overflow: hidden; }
.qty-btn { width: 36px; height: 36px; background: var(--gray-light); border: none; cursor: pointer; font-size: 18px; font-weight: 600; color: var(--navy); transition: background var(--transition); }
.qty-btn:hover { background: var(--gray-mid); }
.qty-input { width: 46px; height: 36px; border: none; border-left: 1.5px solid var(--gray-mid); border-right: 1.5px solid var(--gray-mid); text-align: center; font-size: 15px; font-weight: 600; color: var(--navy); }
.product-add-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.product-short-specs { margin: 20px 0; background: var(--gray-light); border-radius: var(--radius); padding: 16px; }
.product-short-specs ul li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--navy); padding: 4px 0; }
.product-short-specs ul li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }

/* ========== CART ========== */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.cart-item { display: flex; gap: 16px; padding: 18px; border: 1.5px solid var(--gray-mid); border-radius: var(--radius); margin-bottom: 14px; background: var(--white); }
.cart-item-img { width: 80px; height: 80px; border-radius: 8px; border: 1px solid var(--gray-mid); background: var(--gray-light); padding: 6px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 14.5px; color: var(--navy); }
.cart-item-meta { font-size: 12px; color: var(--gray-text); margin-top: 4px; }
.cart-item-price { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--navy); margin-top: 8px; }
.cart-item-actions { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.order-summary { background: var(--white); border: 1.5px solid var(--gray-mid); border-radius: var(--radius); padding: 22px; position: sticky; top: 80px; }
.order-summary h3 { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--navy); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--gray-mid); }
.summary-line { display: flex; justify-content: space-between; font-size: 14px; color: var(--gray-text); margin-bottom: 10px; }
.summary-line.total { font-size: 17px; font-weight: 700; color: var(--navy); border-top: 1.5px solid var(--gray-mid); padding-top: 14px; margin-top: 8px; }

/* ========== ALERT BOX ========== */
.alert { padding: 14px 18px; border-radius: var(--radius); font-size: 14px; display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
.alert svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.alert-info { background: #EFF6FF; color: #1d4ed8; border: 1px solid #BFDBFE; }
.alert-success { background: #ECFDF5; color: #065f46; border: 1px solid #A7F3D0; }
.alert-warning { background: #FFFBEB; color: #92400e; border: 1px solid #FDE68A; }

/* ========== FAQ ========== */
.faq-item { border: 1.5px solid var(--gray-mid); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; cursor: pointer; font-weight: 600; font-size: 14.5px; color: var(--navy); background: var(--white); user-select: none; }
.faq-question:hover { background: var(--gray-light); }
.faq-question svg { width: 18px; height: 18px; transition: transform var(--transition); flex-shrink: 0; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { display: none; padding: 14px 18px 18px; background: var(--gray-light); font-size: 14px; color: var(--gray-dark); line-height: 1.65; border-top: 1px solid var(--gray-mid); }
.faq-item.open .faq-answer { display: block; }

/* ========== CONTENT PAGES ========== */
.content-wrap { max-width: 820px; }
.content-wrap h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--navy); margin: 32px 0 12px; }
.content-wrap h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--navy); margin: 24px 0 10px; }
.content-wrap p { font-size: 15px; color: var(--gray-dark); line-height: 1.7; margin-bottom: 16px; }
.content-wrap ul, .content-wrap ol { margin: 12px 0 18px 20px; }
.content-wrap ul { list-style: disc; }
.content-wrap ol { list-style: decimal; }
.content-wrap li { font-size: 15px; color: var(--gray-dark); line-height: 1.65; margin-bottom: 6px; }
.content-wrap a { color: var(--blue); }
.content-wrap a:hover { text-decoration: underline; }
.content-wrap table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.content-wrap table th, .content-wrap table td { border: 1px solid var(--gray-mid); padding: 10px 14px; text-align: left; }
.content-wrap table th { background: var(--navy); color: #fff; font-weight: 600; }
.content-wrap table tr:nth-child(even) { background: var(--gray-light); }

/* ========== PAGINATION ========== */
.pagination { display: flex; align-items: center; gap: 6px; margin-top: 32px; }
.pagination a, .pagination span { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1.5px solid var(--gray-mid); border-radius: 8px; font-size: 13.5px; font-weight: 500; color: var(--navy); transition: all var(--transition); text-decoration: none; }
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination .active { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination .prev, .pagination .next { width: auto; padding: 0 14px; gap: 5px; font-size: 13px; }

/* ========== PRICE HISTORY ========== */
.price-history-chart { background: var(--gray-light); border-radius: var(--radius); padding: 24px; margin: 20px 0; }
.price-history-chart canvas { width: 100%; height: 200px; }

/* ========== ICONS SVG inline helpers ========== */
.icon-sm { width: 16px; height: 16px; display: inline-block; vertical-align: middle; }
.icon-md { width: 20px; height: 20px; display: inline-block; vertical-align: middle; }
.icon-lg { width: 24px; height: 24px; display: inline-block; vertical-align: middle; }

/* ========== COMPARISON FLOATING ========== */
.compare-bar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--navy); color: #fff; padding: 14px 0; z-index: 900; transform: translateY(100%); transition: transform var(--transition); }
.compare-bar.visible { transform: translateY(0); }
.compare-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.compare-slots { display: flex; gap: 10px; }
.compare-slot { width: 60px; height: 60px; border: 2px dashed rgba(255,255,255,0.3); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 11px; color: rgba(255,255,255,0.5); text-align: center; }
.compare-slot.filled { border-style: solid; border-color: var(--cyan); }
.compare-slot img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

/* ========== STOCK INDICATOR ========== */
.stock-bar { height: 6px; border-radius: 3px; background: var(--gray-mid); overflow: hidden; margin-top: 4px; }
.stock-fill { height: 100%; border-radius: 3px; }
.stock-high { background: var(--emerald); }
.stock-mid { background: #F59E0B; }
.stock-low { background: var(--red); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .layout-sidebar { grid-template-columns: 220px 1fr; }
  .hero-title { font-size: 36px; }
}

@media (max-width: 768px) {
  .header-search { display: none; }
  .main-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { max-height: 300px; }
  .hero-title { font-size: 28px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .info-cards { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .layout-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .compare-table { font-size: 12px; }
  .section-title { font-size: 24px; }
}

@media (max-width: 480px) {
  .category-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .header-top-links { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
