:root {
  --navy: #123a4d;
  --navy-light: #1c5670;
  --blue: #1976d2;
  --blue-dark: #125199;
  --accent: #ea7c1e;
  --accent-dark: #c4650f;
  --brand-black: #0a2530;
  --bg: #f6f7fb;
  --card-bg: #ffffff;
  --text: #182233;
  --text-light: #667085;
  --border: #e6e9f0;
  --success: #1f9254;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.06);
  --shadow: 0 6px 20px rgba(10, 22, 40, 0.07);
  --shadow-hover: 0 20px 44px rgba(10, 22, 40, 0.16);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

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

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

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: 1.25; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: #cbd5e1;
  font-size: 13px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
  padding-bottom: 6px;
}
.topbar a { color: #cbd5e1; }
.topbar-links { display: flex; gap: 18px; }
.topbar-links span, .topbar-links a { display: flex; align-items: center; gap: 5px; }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-main {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 16px 24px;
  flex-wrap: wrap;
}

/* ---------- Logo ---------- */
.logo-box {
  display: inline-flex;
  align-items: stretch;
  background: var(--brand-black);
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  height: 46px;
  box-shadow: 0 4px 14px rgba(10, 10, 10, 0.18);
}
.logo-security {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  padding: 0 4px 0 14px;
  white-space: nowrap;
}
.logo-cart {
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 19px;
  display: flex;
  align-items: center;
  padding: 0 12px 0 6px;
  position: relative;
  white-space: nowrap;
}
.logo-cart small {
  position: absolute;
  right: 8px;
  bottom: 3px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ---------- Main nav with dropdowns ---------- */
.mobile-menu-toggle, .mobile-menu-close, .nav-backdrop { display: none; }
.main-nav { flex-shrink: 0; }
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a,
.main-nav > ul > li > button.nav-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  padding: 10px 10px;
  white-space: nowrap;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > button.nav-trigger:hover,
.main-nav > ul > li.open > button.nav-trigger { color: var(--blue); }
.main-nav .caret { width: 9px; height: 9px; margin-top: 1px; }
/* Desktop already surfaces Track Order in the topbar; this <li> exists so
   it also shows up inside the mobile drawer, where the topbar is hidden. */
.track-order-item { display: none; }
.callback-link { color: var(--accent) !important; }
.callback-link:hover { color: var(--accent-dark) !important; }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  min-width: 220px;
  padding: 8px;
  display: none;
  z-index: 200;
}
.main-nav li.has-dropdown:hover .dropdown-menu,
.main-nav li.has-dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 9px 12px;
  font-size: 13px;
  border-radius: 6px;
  color: var(--text);
}
.dropdown-menu a:hover { background: var(--bg); color: var(--blue); }
.dropdown-menu a.view-all { font-weight: 700; color: var(--blue); border-bottom: 1px solid var(--border); border-radius: 0; margin-bottom: 4px; padding-bottom: 10px; }

/* ---------- Search bar (pill style) ---------- */
.search-bar {
  flex: 1;
  display: flex;
  align-items: center;
  max-width: 360px;
  min-width: 180px;
  background: var(--bg);
  border-radius: 20px;
  padding: 0 14px;
  gap: 8px;
}
.search-bar .search-icon { width: 16px; height: 16px; color: var(--text-light); flex-shrink: 0; }
.search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 0;
  font-size: 13px;
  outline: none;
  color: var(--text);
}
.search-bar button { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
}
.header-action {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
  position: relative;
}
.header-action .icon-circle {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.header-action .icon-circle svg { width: 20px; height: 20px; }
.cart-badge {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 50%;
  display: none;
  align-items: center; justify-content: center;
}
.header-callback-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s;
}
.header-callback-btn:hover { background: var(--accent-dark); }

/* ---------- Callback modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 42, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 400px;
  padding: 30px;
  position: relative;
  box-shadow: var(--shadow-hover);
}
.modal-box h3 { font-family: var(--font-heading); }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: none; border: none;
  font-size: 20px; color: var(--text-light);
  line-height: 1;
}
.modal-box h3 { color: var(--navy); font-size: 18px; margin-bottom: 4px; }
.modal-box p.modal-sub { color: var(--text-light); font-size: 13px; margin-bottom: 16px; }

/* ---------- Auth modal (login/register/mobile OTP) ---------- */
.auth-modal-box { max-width: 420px; padding: 34px 30px 30px; }
.auth-modal-header { text-align: center; margin-bottom: 22px; }
.auth-modal-icon {
  width: 54px; height: 54px; border-radius: 50%; background: var(--bg);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
  color: var(--navy);
}
.auth-modal-icon svg { width: 26px; height: 26px; }
.auth-modal-header h3 { font-size: 19px; margin-bottom: 5px; }
.auth-modal-header .modal-sub { margin-bottom: 0; }

.auth-tabs {
  display: flex; gap: 3px; margin-bottom: 22px; background: var(--bg);
  border-radius: 10px; padding: 4px; border-bottom: none;
}
.auth-tab {
  flex: 1; background: none; border: none; border-radius: 8px; cursor: pointer;
  padding: 9px 6px; margin-bottom: 0;
  font-size: 13px; font-weight: 600; color: var(--text-light);
  border-bottom: none; transition: background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.auth-tab.active { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.auth-form { display: block; }
.auth-error {
  background: #fdecea;
  color: #b3261e;
  border: 1px solid #f5c6c2;
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 13px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.auth-error svg { width: 15px; height: 15px; flex-shrink: 0; }

.auth-input-wrap { position: relative; display: flex; align-items: center; }
.auth-input-icon {
  position: absolute; left: 13px; width: 16px; height: 16px;
  color: var(--text-light); pointer-events: none;
}
.auth-input-wrap input { padding-left: 38px !important; }
.auth-form .form-group:last-of-type { margin-bottom: 18px; }

/* ---------- Account header action ---------- */
.header-action.account-action { cursor: pointer; }
.account-name { font-size: 13px; font-weight: 600; white-space: nowrap; }

/* ---------- Mega menu (Products dropdown) ---------- */
.dropdown-menu.mega {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  align-content: start;
  gap: 14px 28px;
  width: 760px;
  max-width: 90vw;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px;
}
.main-nav li.has-dropdown:hover .dropdown-menu.mega,
.main-nav li.has-dropdown.open .dropdown-menu.mega { display: grid; }
.mega-col { display: flex; flex-direction: column; gap: 1px; }
.mega-group-title {
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  padding: 3px 10px 5px;
  display: block;
}
a.mega-group-title:hover { color: var(--blue); }
.mega-col a:not(.mega-group-title) { font-size: 13px; padding: 4px 10px; line-height: 1.35; }

/* Thin scrollbar for the mega panel */
.dropdown-menu.mega::-webkit-scrollbar { width: 8px; }
.dropdown-menu.mega::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.dropdown-menu.mega::-webkit-scrollbar-track { background: transparent; }

/* ---------- Hero banner (compact premium card) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  height: 380px;
  margin: 24px 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: var(--navy);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  z-index: 1;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 0 70px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-slide.slide-1 .hero-slide-link { background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
.hero-slide.slide-2 .hero-slide-link { background: linear-gradient(135deg, var(--navy-light), #2a6f8f); }
.hero-slide.slide-3 .hero-slide-link { background: linear-gradient(135deg, var(--navy), #1a4a63); }
.hero-slide-link::before {
  content: "";
  position: absolute;
  top: -90px; right: -90px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 124, 30, 0.35), transparent 70%);
}
.hero-content { position: relative; z-index: 2; max-width: 540px; }
.hero-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: #ffd7a8; background: rgba(255, 255, 255, 0.12);
  padding: 5px 12px; border-radius: 20px; margin-bottom: 16px;
}
.hero-content h2 { font-size: 36px; font-weight: 800; line-height: 1.15; margin-bottom: 12px; }
.hero-content p { font-size: 14.5px; color: rgba(255, 255, 255, 0.82); line-height: 1.7; margin-bottom: 22px; max-width: 440px; }
.hero-icon { position: relative; z-index: 2; width: 150px; height: 150px; flex-shrink: 0; color: rgba(255, 255, 255, 0.85); }
.hero-icon svg { width: 100%; height: 100%; }
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  color: var(--navy);
  font-size: 20px;
  transition: background 0.2s;
}
.hero-arrow:hover { background: rgba(255, 255, 255, 0.9); }
.hero-arrow.prev { left: 26px; }
.hero-arrow.next { right: 26px; }
.hero-dots { position: absolute; bottom: 20px; left: 90px; display: flex; gap: 8px; z-index: 5; }
.hero-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.8); cursor: pointer; }
.hero-dots span.active { background: var(--accent); }

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  border: none;
  letter-spacing: 0.2px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(226, 33, 26, 0.28); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(226, 33, 26, 0.34); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(10, 22, 40, 0.28); }
.btn-navy:hover { background: #1c5670; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(10, 22, 40, 0.32); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(25, 118, 210, 0.26); }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(25, 118, 210, 0.3); }
.btn-outline { background: transparent; border: 2px solid var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.btn-block { width: 100%; text-align: center; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 26px;
}
.section-head h2 { font-size: 26px; font-weight: 700; color: var(--navy); }
.section-head a { color: var(--blue); font-size: 14px; font-weight: 700; transition: gap 0.2s var(--ease); }
.section-head a:hover { color: var(--blue-dark); }

/* ---------- Intro paragraph (below hero) ---------- */
.intro-section { padding: 16px 0 10px; }
.intro-section h2 { font-size: 27px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.intro-section p { font-size: 15px; color: var(--text-light); line-height: 1.85; max-width: 1000px; }

/* ---------- Product grid & card ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
}
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-6px); border-color: transparent; }
.product-thumb {
  height: 160px;
  background: linear-gradient(135deg, #eef4fc, #dce9fb);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  transition: background 0.3s var(--ease);
}
.product-thumb svg { width: 68px; height: 68px; transition: transform 0.3s var(--ease); }
.product-card:hover .product-thumb svg { transform: scale(1.08); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s var(--ease); }
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(226, 33, 26, 0.3);
}
.product-info { padding: 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.product-brand { font-size: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.6px; font-weight: 600; }
.product-name {
  font-size: 14px; font-weight: 600; color: var(--text); font-family: var(--font-heading);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 38px;
}
.product-rating { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.stars { color: #f5a623; }
.product-rating .count { color: var(--text-light); }
.product-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.price-now { font-size: 18px; font-weight: 800; color: var(--navy); font-family: var(--font-heading); }
.price-mrp { font-size: 13px; color: var(--text-light); text-decoration: line-through; }
.price-off { font-size: 12px; color: var(--success); font-weight: 700; }
.product-card .btn { margin-top: auto; }

/* ---------- Trust badges ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 18px;
  text-align: center;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.trust-item:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.trust-item .icon-wrap {
  width: 60px; height: 60px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eaf1fb, #dbe8fa);
  display: flex; align-items: center; justify-content: center;
}
.trust-item .t-icon { width: 28px; height: 28px; color: var(--blue); }
.trust-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.trust-item p { font-size: 12.5px; color: var(--text-light); line-height: 1.6; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b6c2d9; margin-top: 40px; position: relative; }
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr 1.3fr;
  gap: 34px;
  padding: 54px 0 32px;
}
.footer-grid h4 {
  color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 18px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.footer-grid ul li { margin-bottom: 11px; font-size: 13.5px; }
.footer-grid ul a { transition: color 0.2s var(--ease), padding-left 0.2s var(--ease); }
.footer-grid ul a:hover { color: #fff; padding-left: 3px; }
.footer-grid p { font-size: 13.5px; color: #9fb0c3; margin-bottom: 18px; line-height: 1.7; }
.footer-tagline { font-size: 12px !important; font-weight: 600; color: var(--accent) !important; text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 8px !important; }
.footer-contact-list li { display: flex; gap: 9px; align-items: flex-start; }
.footer-contact-list .fc-icon { flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; color: var(--accent); }

.newsletter { display: flex; margin-top: 6px; }
.newsletter input {
  flex: 1; padding: 11px 13px; border: none; border-radius: 20px 0 0 20px; font-size: 13px; outline: none;
}
.newsletter button {
  background: var(--accent); color: #fff; border: none; padding: 0 18px; border-radius: 0 20px 20px 0; font-weight: 700;
  transition: background 0.2s var(--ease);
}
.newsletter button:hover { background: var(--accent-dark); }

.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  color: #cbd5e1; transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer-social a:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }
.footer-social svg { width: 16px; height: 16px; }

.payment-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.payment-badges span {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.3px;
  padding: 5px 10px; border-radius: 5px;
  background: rgba(255, 255, 255, 0.08); color: #cbd5e1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
}
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 12px; color: #8ea0b5;
}
.footer-legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal-links a:hover { color: #fff; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 13px; color: var(--text-light); padding: 16px 0; }
.breadcrumb a { color: var(--blue); }

/* ---------- Service category intro (products.html, service categories only) ---------- */
.service-intro {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  margin-bottom: 20px;
  color: #fff;
}
.service-intro .eyebrow { color: var(--accent); }
.service-intro h1 { font-size: 24px; font-weight: 700; margin: 6px 0 8px; font-family: var(--font-heading); }
.service-intro p { font-size: 14px; color: #cbd5e1; max-width: 640px; line-height: 1.6; }

/* ---------- Products page layout ---------- */
.products-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
.filters-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.filters-box h3 { font-size: 14px; margin-bottom: 12px; color: var(--navy); }
.filter-group { margin-bottom: 20px; }
.filter-group h4 { font-size: 13px; margin-bottom: 10px; color: var(--text); }
.filter-group label { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 8px; color: var(--text-light); cursor: pointer; }
.filter-group input[type="range"] { width: 100%; }

/* Replaces the category/brand filters when browsing a Service category —
   those filters are for physical products and don't apply here. */
.service-trust-list { list-style: none; margin-bottom: 18px; }
.service-trust-list li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: var(--text); line-height: 1.5;
  margin-bottom: 12px;
}
.service-trust-list .st-icon {
  flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
  background: #e6f7ec; color: var(--success);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; margin-top: 1px;
}
#categoryFilters, #brandFilters { max-height: 220px; overflow-y: auto; padding-right: 4px; }
.results-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.results-toolbar select { padding: 8px 10px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-light); }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 420px 1fr; gap: 40px; }
.gallery-main {
  height: 380px;
  background: linear-gradient(135deg, #eef4fc, #dce9fb);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}
.gallery-main svg { width: 160px; height: 160px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery-thumbs div {
  width: 64px; height: 64px; border-radius: 6px;
  background: linear-gradient(135deg, #eaf1fb, #dbe8fa);
  display: flex; align-items: center; justify-content: center; color: var(--blue);
  border: 2px solid transparent; cursor: pointer;
}
.gallery-thumbs svg { width: 30px; height: 30px; }
.gallery-thumbs div.active { border-color: var(--blue); }

.pd-title { font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.pd-brand { font-size: 13px; color: var(--text-light); margin-bottom: 10px; }
.pd-price-row { display: flex; align-items: baseline; gap: 12px; margin: 14px 0; }
.pd-price-row .price-now { font-size: 26px; }
.pd-stock { color: var(--success); font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.qty-selector { display: flex; align-items: center; gap: 0; border: 1px solid var(--border); border-radius: 6px; width: fit-content; }
.qty-selector button { width: 34px; height: 34px; background: var(--bg); border: none; font-size: 16px; }
.qty-selector input { width: 46px; text-align: center; border: none; font-size: 14px; }
.pd-actions { display: flex; gap: 12px; margin: 18px 0; }
.pd-actions .btn { flex: 1; text-align: center; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.spec-table td { padding: 9px 12px; border-bottom: 1px solid var(--border); font-size: 13px; }
.spec-table td:first-child { color: var(--text-light); width: 40%; }
.pd-desc { font-size: 14px; color: var(--text); line-height: 1.7; margin-top: 10px; }
.pd-section-title { font-size: 15px; color: var(--navy); margin: 26px 0 6px; padding-top: 16px; border-top: 1px solid var(--border); }

/* ---------- Cart page ---------- */
.cart-table { width: 100%; border-collapse: collapse; background: var(--card-bg); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.cart-table th { text-align: left; background: var(--bg); padding: 14px 12px; font-size: 11.5px; letter-spacing: 0.4px; font-weight: 700; text-transform: uppercase; color: var(--text-light); }
.cart-table td { padding: 14px 12px; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: middle; }
.cart-item-info { display: flex; align-items: center; gap: 12px; }
.cart-item-thumb { width: 56px; height: 56px; border-radius: 6px; background: linear-gradient(135deg, #eaf1fb, #dbe8fa); display: flex; align-items: center; justify-content: center; color: var(--blue); flex-shrink: 0; }
.cart-item-thumb svg { width: 30px; height: 30px; }
.cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.remove-btn { color: #d32f2f; font-size: 13px; background: none; border: none; font-weight: 600; }
.cart-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.summary-box { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.summary-box h3 { font-size: 17px; font-weight: 700; margin-bottom: 14px; color: var(--navy); }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 10px; color: var(--text-light); }
.summary-row.total { font-size: 16px; font-weight: 700; color: var(--navy); border-top: 1px solid var(--border); padding-top: 12px; margin-top: 6px; }
.coupon-row { display: flex; gap: 8px; margin: 14px 0; }
.coupon-row input { flex: 1; padding: 9px 10px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; }

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; }
.form-box { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.form-box h3 { font-size: 17px; font-weight: 700; margin-bottom: 16px; color: var(--navy); }
.saved-address-card {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
  background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px; margin-bottom: 20px;
}
.saved-address-text { font-size: 13.5px; line-height: 1.7; color: var(--text); }
.saved-address-card .btn { flex-shrink: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; margin-bottom: 6px; color: var(--text); font-weight: 600; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(25, 118, 210, 0.12);
}
.payment-options { display: flex; flex-direction: column; gap: 10px; margin: 10px 0 20px; }
.payment-options label {
  display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 6px; padding: 12px; font-size: 14px; cursor: pointer;
}
.payment-options input { width: auto; }
.order-success { text-align: center; padding: 60px 20px; }
.order-success .ok-icon { width: 70px; height: 70px; margin: 0 auto 18px; color: var(--success); }
.order-success h2 { color: var(--navy); margin-bottom: 8px; }
.order-success p { color: var(--text-light); margin-bottom: 20px; }

/* ---------- Orders & live tracking ---------- */
.order-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.order-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.order-card-head h3 { font-size: 15px; color: var(--navy); font-weight: 700; }
.order-card-head .order-date { font-size: 12.5px; color: var(--text-light); }
.order-status-badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  background: #eaf1fb;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.order-status-badge.delivered { background: #e6f7ec; color: var(--success); }
.payment-status-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.payment-status-badge.paid { background: #e6f7ec; color: var(--success); }
.payment-status-badge.pending { background: #fff4e5; color: #b76e00; }
.payment-status-badge.failed { background: #fdecea; color: #b3261e; }
.pay-now-btn {
  font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 20px;
  background: var(--accent); color: #fff; border: none;
}
.pay-now-btn:hover { background: var(--accent-dark, #c4650f); }
.order-items-summary { font-size: 13px; color: var(--text-light); margin-bottom: 4px; }
.order-total { font-size: 14px; font-weight: 700; color: var(--navy); }
.track-toggle-btn { font-size: 13px; font-weight: 700; color: var(--blue); background: none; border: none; padding: 0; }
.track-toggle-btn:hover { color: var(--blue-dark); }

.tracker-wrap { margin-top: 22px; padding-top: 4px; }
.delivery-otp-box {
  margin-top: 16px; padding: 14px 16px; background: #fff7ed; border: 1.5px solid var(--accent);
  border-radius: var(--radius-sm); font-size: 14px; color: var(--text);
}
.delivery-otp-box strong { font-size: 18px; letter-spacing: 2px; color: var(--accent-dark); }
.delivery-otp-hint { font-size: 12px; color: var(--text-light); margin-top: 6px; }
.tracker { display: flex; justify-content: space-between; position: relative; padding: 0 4px; }
.tracker::before {
  content: "";
  position: absolute;
  top: 17px; left: 10%; right: 10%;
  height: 3px;
  background: var(--border);
  z-index: 0;
}
.tracker-progress {
  position: absolute;
  top: 17px; left: 10%;
  height: 3px;
  background: var(--success);
  z-index: 1;
  transition: width 0.5s var(--ease);
}
.tracker-step { flex: 1; text-align: center; position: relative; z-index: 2; }
.tracker-dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 8px;
  font-weight: 700;
  color: var(--text-light);
  font-size: 14px;
  transition: all 0.3s var(--ease);
}
.tracker-step.done .tracker-dot { border-color: var(--success); background: var(--success); color: #fff; }
.tracker-step.current .tracker-dot {
  border-color: var(--accent);
  background: #fff;
  color: var(--accent);
  animation: trackerPulse 1.6s infinite;
}
.tracker-label { font-size: 12px; font-weight: 700; color: var(--text); }
.tracker-location { font-size: 11px; color: var(--blue); margin-top: 2px; }
.tracker-time { font-size: 10.5px; color: var(--text-light); margin-top: 2px; }
@keyframes trackerPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(226, 33, 26, 0.32); }
  50% { box-shadow: 0 0 0 8px rgba(226, 33, 26, 0); }
}
.live-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; color: var(--success);
  text-transform: uppercase; letter-spacing: 0.4px;
}
.live-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); animation: trackerPulse 1.4s infinite; }

/* ---------- Static content pages (Services / Solutions / Resources / Policies) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy), #1c5670);
  color: #fff;
  padding: 54px 0;
  text-align: center;
  border-radius: var(--radius-lg);
  margin: 24px 0 10px;
}
.page-hero h1 { font-size: 30px; margin-bottom: 10px; }
.page-hero p { color: #b6c2d9; max-width: 620px; margin: 0 auto; font-size: 14.5px; line-height: 1.7; }

.content-section { padding: 38px 0; border-bottom: 1px solid var(--border); }
.content-section:last-of-type { border-bottom: none; }
.content-section h2 {
  font-size: 21px; color: var(--navy); margin-bottom: 16px;
  display: flex; align-items: center; gap: 14px;
}
.content-section .sec-icon {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #eaf1fb, #dbe8fa);
  display: flex; align-items: center; justify-content: center; color: var(--blue);
}
.content-section .sec-icon svg { width: 22px; height: 22px; }
.content-section p { color: var(--text-light); line-height: 1.85; margin-bottom: 14px; max-width: 780px; font-size: 14.5px; }
.content-section ul { padding-left: 22px; margin-bottom: 14px; color: var(--text-light); line-height: 1.85; max-width: 780px; font-size: 14.5px; }
.content-section ul li { list-style: disc; margin-bottom: 7px; }
.content-cta { margin-top: 10px; }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  cursor: pointer; font-weight: 700; color: var(--navy); font-size: 15px;
}
.faq-toggle-icon { font-size: 20px; color: var(--blue); transition: transform 0.25s var(--ease); flex-shrink: 0; }
.faq-item.open .faq-toggle-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding-top: 10px; margin-bottom: 0; font-size: 14px; }

/* Blog preview cards */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.blog-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.blog-card .eyebrow { margin-bottom: 8px; }
.blog-card h4 { font-size: 15.5px; color: var(--navy); margin-bottom: 8px; font-family: var(--font-heading); }
.blog-card p { font-size: 13.5px; color: var(--text-light); line-height: 1.7; }

/* Service / solution cards */
.solution-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 6px; }
.solution-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.solution-card h3 { font-size: 17px; color: var(--navy); margin-bottom: 10px; }
.solution-card p { font-size: 14px; color: var(--text-light); line-height: 1.75; margin-bottom: 14px; }

/* Shop by Brand */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; margin-top: 6px; }
.brand-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 16px; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s, transform 0.2s;
}
.brand-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.brand-logo-box {
  width: 76px; height: 76px; border-radius: 50%; background: var(--bg);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px; overflow: hidden;
}
.brand-logo-box img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.brand-logo-box span { font-size: 26px; font-weight: 800; color: var(--navy); font-family: var(--font-heading); }
.brand-name { font-size: 15px; font-weight: 700; color: var(--navy); }
.brand-desc { font-size: 12.5px; color: var(--text-light); margin-top: 6px; line-height: 1.5; }

/* Policy pages */
.policy-page .content-section h2 { font-size: 18px; }
.policy-meta { font-size: 13px; color: var(--text-light); margin-bottom: 6px; }
.policy-toc { background: #fafbfd; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; margin: 20px 0 10px; }
.policy-toc h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.4px; color: var(--navy); margin-bottom: 10px; }
.policy-toc ol { padding-left: 20px; }
.policy-toc li { font-size: 13.5px; margin-bottom: 6px; }
.policy-toc a { color: var(--blue); }
.policy-toc a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .products-layout { grid-template-columns: 200px 1fr; }
  .product-detail { grid-template-columns: 340px 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .topbar { display: none; }
  .header-main { flex-wrap: wrap; gap: 10px; }
  .header-actions { gap: 10px; margin-left: auto; }
  .search-bar { order: 2; max-width: 100%; flex: 1 1 auto; }

  .mobile-menu-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; flex-shrink: 0;
    margin-left: auto;
    background: var(--bg); border: none; border-radius: 8px;
    color: var(--navy); cursor: pointer;
  }
  .mobile-menu-toggle svg { width: 24px; height: 24px; }

  .main-nav {
    position: fixed; top: 0; left: 0; height: 100%; width: 82%; max-width: 320px;
    background: #fff; z-index: 500; transform: translateX(-100%);
    transition: transform 0.25s ease; overflow-y: auto; padding: 54px 0 24px;
    box-shadow: 2px 0 24px rgba(0, 0, 0, 0.18);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; width: 100%; gap: 0; }
  .main-nav > ul > li { width: 100%; border-bottom: 1px solid var(--border); }
  .main-nav > ul > li > button.nav-trigger,
  .main-nav > ul > li > a { width: 100%; justify-content: space-between; padding: 15px 20px; font-size: 15px; }
  .track-order-item { display: block; }
  .main-nav .caret { transition: transform 0.2s; }
  .main-nav li.has-dropdown.open > button.nav-trigger .caret { transform: rotate(180deg); }

  .mobile-menu-close {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 10px; right: 14px; z-index: 1;
    width: 32px; height: 32px; border: none; background: var(--bg); border-radius: 50%;
    font-size: 20px; color: var(--text); line-height: 1; cursor: pointer;
  }

  .nav-backdrop { display: none; position: fixed; inset: 0; background: rgba(10, 20, 30, 0.5); z-index: 400; }
  .nav-backdrop.open { display: block; }

  .dropdown-menu {
    position: static; left: auto; right: auto; width: auto; min-width: 0;
    max-height: none; box-shadow: none; border: none; border-radius: 0;
    background: var(--bg); padding: 4px 12px 10px 28px;
  }
  .dropdown-menu.mega { grid-template-columns: 1fr !important; width: auto; }
  /* Touch browsers keep :hover "stuck" on the tapped item after the first
     tap, so relying on hover here makes a second tap look like it does
     nothing (the menu never gets a chance to see :hover go false again). */
  .main-nav li.has-dropdown:hover .dropdown-menu { display: none; }
  .main-nav li.has-dropdown:hover .dropdown-menu.mega { display: none !important; }
  .main-nav li.has-dropdown.open .dropdown-menu { display: block !important; }
  .main-nav li.has-dropdown.open .dropdown-menu.mega { display: grid !important; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 38px 20px; }
  .page-hero h1 { font-size: 24px; }
  .products-layout { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
  .hero { height: 300px; margin: 16px 0; }
  .hero-slide-link { padding: 0 24px; }
  .hero-icon { display: none; }
  .hero-content h2 { font-size: 24px; }
  .hero-content p { font-size: 13px; margin-bottom: 16px; }
  .hero-eyebrow { font-size: 11px; margin-bottom: 10px; }
  /* The prev/next buttons sit at vertical-center, which collides with the
     hero text now that slides are text content instead of a photo — mobile
     carousels typically rely on the dots (and auto-rotate) instead anyway. */
  .hero-arrow { display: none; }
  .hero-dots { left: 50%; transform: translateX(-50%); }
  .tracker { flex-direction: column; align-items: flex-start; gap: 16px; }
  .tracker::before, .tracker-progress { display: none; }
  .tracker-step { flex: none; display: flex; align-items: center; gap: 12px; text-align: left; width: 100%; }
  .tracker-dot { margin: 0; flex-shrink: 0; }
  .order-card-head { align-items: flex-start; }
  .header-callback-btn { padding: 9px 12px; }
}

@media (max-width: 480px) {
  .header-callback-btn .cb-text { display: none; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .intro-section h2 { font-size: 21px; }
  .section-head { flex-wrap: wrap; row-gap: 8px; }
  .results-toolbar { flex-wrap: wrap; gap: 10px; }
  .modal-box { padding: 22px 18px; }
  .form-row { grid-template-columns: 1fr; }
  .payment-options { gap: 10px; }

  /* Cart table -> stacked cards, same "label above value" pattern as a real
     mobile checkout, instead of a 5-column table forcing horizontal scroll. */
  .cart-table { box-shadow: none; background: none; }
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr {
    background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 14px; margin-bottom: 14px; box-shadow: var(--shadow-sm);
  }
  .cart-table td { border-bottom: none; padding: 6px 0; }
  .cart-table td:first-child { padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--border); }
  .cart-table td[data-label] { display: flex; justify-content: space-between; align-items: center; }
  .cart-table td[data-label]::before {
    content: attr(data-label); font-size: 11.5px; font-weight: 700; color: var(--text-light);
    text-transform: uppercase; letter-spacing: 0.3px;
  }
}
