/* HS Electronics — main stylesheet
   Colours: navy #0B2A4A, gold #E8A317, white, light #F4F6F9, cream #FFF6DB */
:root {
  --navy: #0B2A4A;
  --navy-2: #102E4E;
  --navy-3: #0a2237;
  --gold: #E8A317;
  --gold-2: #F0A500;
  --cream: #FFF6DB;
  --light: #F4F6F9;
  --light-2: #F7F8FA;
  --text: #16283c;
  --muted: #5b6b7d;
  --border: #e3e8ef;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 8px 28px rgba(11, 42, 74, .10);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* v1.6.0 — horizontal-scroll safety net: no element may push the page
   wider than the viewport. `clip` (modern browsers) does not create a
   scroll container, so the sticky header keeps working; older browsers
   fall back to `hidden`. */
html, body { overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0; font-family: var(--font); color: var(--text);
  background: var(--white); line-height: 1.6; font-size: 16px;
}
img, video, iframe { max-width: 100%; height: auto; display: block; }
img { height: auto; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-2); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 .5rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 1.15rem; font-weight: 800; }
p { margin: 0 0 1rem; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
/* Grid children must be allowed to shrink below their content size,
   or a wide child blows its grid track out past the viewport. */
.hero-grid > *, .faq-cta-grid > *, .promo-grid > *, .footer-grid > *,
.trust-grid > *, .blog-grid > *, .review-grid > * { min-width: 0; }
.eyebrow {
  display: inline-block; color: var(--gold-2); font-size: .78rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: .4rem;
}
.section { padding: 56px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.view-all { font-weight: 700; color: var(--navy); white-space: nowrap; }
.view-all:hover { color: var(--gold-2); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer;
  font-weight: 800; font-size: 1rem; padding: 13px 24px; border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 6px 18px rgba(232, 163, 23, .35); }
.btn-gold:hover { background: var(--gold-2); color: var(--navy); transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.65); }
.btn-outline:hover { border-color: #fff; color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: .92rem; }

/* ---- Top bar ---- */
.topbar { background: var(--navy); color: #dbe6f2; font-size: .88rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--gold); }
.topbar-left, .topbar-right { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.topbar .sep { opacity: .45; }

/* ---- Header ---- */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.site-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.25rem; letter-spacing: -.02em;
}
.site-brand .brand-name { font-size: 1.35rem; font-weight: 900; color: var(--navy); line-height: 1.1; }
.site-brand .brand-name span { color: var(--gold-2); }
.site-brand .brand-tag { font-size: .8rem; color: var(--muted); line-height: 1.2; }
.header-search { flex: 1; display: flex; max-width: 560px; margin: 0 auto; }
.header-search select, .header-search input {
  font: inherit; padding: 11px 14px; border: 1.5px solid var(--border); outline: none; background: var(--light-2);
}
.header-search select { border-radius: 999px 0 0 999px; border-right: 0; max-width: 170px; color: var(--navy); font-weight: 600; }
.header-search input { flex: 1; border-left: 0; border-right: 0; min-width: 0; }
.header-search button {
  border: 0; background: var(--navy); color: #fff; padding: 0 20px; border-radius: 0 999px 999px 0;
  cursor: pointer; font-weight: 800; font-size: 1.05rem;
}
.header-search button:hover { background: var(--navy-2); }
.header-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header-action { position: relative; font-weight: 700; color: var(--navy); font-size: .95rem; }
.cart-count {
  position: absolute; top: -9px; right: -11px; min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--gold); color: var(--navy); border-radius: 999px; font-size: .75rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center; transition: transform .2s ease;
}
.cart-count.bump { transform: scale(1.35); }

/* ---- Nav ---- */
.main-nav { background: #fff; border-top: 1px solid var(--border); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a { display: block; padding: 12px 14px; font-weight: 700; color: var(--navy); font-size: .98rem; }
.main-nav a:hover, .main-nav .current-menu-item a { color: var(--gold-2); }
.menu-toggle { display: none; background: var(--navy); color: #fff; border: 0; border-radius: 10px; padding: 10px 14px; font-weight: 800; cursor: pointer; }
/* v1.7.0: Account + Cart links that live inside the hamburger menu on
   mobile. Hidden on desktop; on mobile they show only when the menu is open. */
.mobile-nav-links { display: none; }
.mobile-nav-links a { position: relative; display: block; padding: 12px 14px; font-weight: 700; color: var(--navy); border-top: 1px solid var(--border); }
.mobile-nav-links a:hover { color: var(--gold-2); }
.mobile-nav-links .cart-count { position: static; display: inline-flex; margin-left: 6px; vertical-align: middle; }

/* ---- Header mega menu (Categories) ---- */
.main-nav { position: relative; }
.main-nav li.mega-parent { position: static; }
.main-nav li.mega-parent > a::after { content: " ▾"; font-size: .8em; }
.hs-mega-menu {
  display: none; position: absolute; left: 50%; transform: translateX(-50%); top: 100%;
  width: min(1140px, calc(100vw - 32px)); max-width: calc(100vw - 24px); background: #fff; border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 18px 44px rgba(11, 42, 74, .18); padding: 20px; z-index: 200;
  grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.main-nav li.mega-parent:hover > .hs-mega-menu,
.main-nav li.mega-parent:focus-within > .hs-mega-menu { display: grid; }
.hs-mega-col { min-width: 0; }
.hs-mega-head {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  background: #F2F4F7; border-radius: 10px; padding: 10px 12px; font-weight: 800;
  color: var(--navy); margin-bottom: 8px; font-size: .95rem;
}
.hs-mega-head:hover { background: var(--cream); color: var(--navy); }
.hs-mega-head .count {
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 1px 8px; font-size: .78rem; font-weight: 800; color: var(--muted); flex-shrink: 0;
}
.hs-mega-menu ul { display: block; list-style: none; margin: 0; padding: 0; }
.hs-mega-menu ul li { display: block; }
.hs-mega-menu ul li a {
  display: block; padding: 6px 4px; font-weight: 600; font-size: .93rem; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hs-mega-menu ul li a:hover { color: var(--gold-2); }

/* ---- Hero ---- */
.hero-wrap { background: var(--light); padding: 28px 0 8px; }
.hero-grid { display: grid; grid-template-columns: 1.9fr 1fr; gap: 20px; align-items: stretch; }
.hero-panel {
  background: var(--navy); border-radius: 24px; padding: clamp(28px, 4vw, 52px);
  color: #fff; position: relative; overflow: hidden;
}
.hero-panel::after {
  content: ""; position: absolute; right: -70px; bottom: -70px; width: 260px; height: 260px;
  border: 28px solid rgba(232, 163, 23, .16); border-radius: 50%;
}
.hero-panel h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 900; letter-spacing: -.02em; margin: .35rem 0 .8rem; }
.hero-panel p { color: #cbd9e8; max-width: 560px; font-size: 1.05rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; position: relative; z-index: 1; }
.hero-dots { display: flex; gap: 8px; margin-top: 28px; position: relative; z-index: 1; }
.hero-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; padding: 0; }
.hero-dots button.active { width: 28px; background: var(--gold); }
.hero-note { margin-top: 16px; color: #9fb4c9; font-size: .9rem; position: relative; z-index: 1; }

/* Deal of the Week */
.deal-card {
  background: #fff; border: 2px solid var(--gold); border-radius: 24px; padding: 20px;
  display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.deal-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.deal-top h3 { margin: 0; font-size: 1.25rem; }
.sale-badge {
  background: var(--navy); color: #fff; font-weight: 900; font-size: .85rem;
  padding: 5px 10px; border-radius: 999px; white-space: nowrap;
}
.deal-image { background: var(--light); border-radius: 14px; margin: 14px 0; min-height: 180px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.deal-image img { width: 100%; height: 190px; object-fit: contain; padding: 12px; }
.deal-title { font-weight: 800; color: var(--navy); line-height: 1.35; }
.deal-price { margin: 8px 0 14px; font-size: 1.35rem; font-weight: 900; color: var(--navy); }
.deal-price del { color: var(--muted); font-size: 1rem; font-weight: 600; margin-left: 8px; }
.deal-card .btn { justify-content: center; margin-top: auto; }

/* ---- Trust row ---- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; gap: 14px; align-items: flex-start; box-shadow: 0 2px 10px rgba(11,42,74,.04); }
.trust-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 1.35rem; }
.trust-card h3 { margin: 0 0 2px; font-size: 1rem; }
.trust-card p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---- Category marquee (v1.7.0) ---- */
/* Continuous marquee: the tile set is rendered twice (see front-page.php)
   and the track slides 0 -> -50% in a seamless loop. Pause on hover.
   No arrows, no dots, no scrollbar for this section. */
.cat-carousel-wrap { position: relative; min-width: 0; max-width: 100%; overflow: hidden; }
.cat-carousel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: thin; width: 100%; max-width: 100%; }
.cat-carousel.hs-marquee {
  overflow: visible; scroll-snap-type: none; scrollbar-width: none;
  width: max-content; max-width: none; gap: 0;
  animation: hs-marquee 36s linear infinite;
}
.cat-carousel.hs-marquee::-webkit-scrollbar { display: none; }
.cat-carousel.hs-marquee .cat-card { margin-right: 16px; }
.cat-carousel-wrap:hover .cat-carousel.hs-marquee { animation-play-state: paused; }
@keyframes hs-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .cat-carousel.hs-marquee { animation: none; }
}
.cat-card {
  flex: 0 0 200px; scroll-snap-align: start; background: var(--light-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px; text-align: center;
}
.cat-card:hover { border-color: var(--gold); }
.cat-thumb { height: 110px; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.cat-thumb img { max-height: 100px; object-fit: contain; }
.cat-thumb .cat-initial { font-size: 2.4rem; font-weight: 900; color: var(--navy); }
.cat-card h3 { margin: 0; font-size: 1.02rem; }
.cat-card p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.cat-all { text-align: center; margin-top: 6px; }

/* ---- Product grids (WooCommerce, dynamic) ---- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s ease, transform .15s ease;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-thumb { background: var(--light-2); position: relative; }
.product-thumb img { width: 100%; height: 200px; object-fit: contain; padding: 14px; }
.product-thumb .onsale {
  position: absolute; top: 10px; left: 10px; background: var(--gold); color: var(--navy);
  font-weight: 900; font-size: .78rem; padding: 4px 9px; border-radius: 999px;
}
.product-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product-cat-label { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.product-title { font-weight: 800; color: var(--navy); line-height: 1.35; margin: 4px 0 8px; font-size: 1rem; }
.product-title a { color: var(--navy); }
.product-price { font-weight: 900; color: var(--navy); font-size: 1.1rem; margin-bottom: 12px; }
.product-price del { color: var(--muted); font-weight: 600; font-size: .95rem; margin-right: 6px; }
.product-price ins { text-decoration: none; }
.product-card .button, .product-card .add_to_cart_button {
  margin-top: auto; display: inline-block; text-align: center; background: var(--navy); color: #fff !important;
  font-weight: 800; padding: 11px 14px; border-radius: 999px; border: 0; cursor: pointer;
}
.product-card .button:hover { background: var(--navy-2); }
.sale-section { background: var(--cream); border-radius: 24px; padding: 32px 24px; }
.empty-note { background: var(--light); border: 1px dashed var(--border); border-radius: var(--radius); padding: 22px; color: var(--muted); }

/* ---- Promo banners ---- */
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.promo-card { border-radius: 24px; padding: clamp(24px, 3vw, 36px); min-height: 220px; display: flex; flex-direction: column; justify-content: center; }
.promo-navy { background: var(--navy); color: #fff; }
.promo-navy h2, .promo-navy h3 { color: #fff; }
.promo-navy p { color: #cbd9e8; }
.promo-light { background: var(--light); border: 1px solid var(--border); }
.promo-card h2, .promo-card h3 { font-size: 1.7rem; margin: .3rem 0 .5rem; }
.promo-card .btn { align-self: flex-start; margin-top: 14px; }

/* ---- Blog ---- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.blog-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.blog-thumb { background: var(--navy); color: #fff; min-height: 170px; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; font-weight: 900; font-size: 1.25rem; }
.blog-thumb img { width: 100%; height: 180px; object-fit: cover; }
.blog-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.blog-body h3 { font-size: 1.15rem; }
.blog-body p { color: var(--muted); }
.blog-body .read-more { margin-top: auto; font-weight: 800; color: var(--gold-2); }

/* ---- Brands (text cloud, like the original) ---- */
.brands-cloud { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; align-items: center; }
.brands-cloud a { color: var(--navy); font-weight: 700; font-size: 1.05rem; }
.brands-cloud a:hover { color: var(--gold-2); }

/* ---- Reviews ---- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; margin-bottom: 10px; }
.review-card p { color: var(--text); }
.review-who { font-weight: 800; color: var(--navy); }
.review-meta { color: var(--muted); font-size: .9rem; }

/* ---- FAQ + WhatsApp CTA ---- */
.faq-cta-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; margin-bottom: 10px; overflow: hidden; background: #fff; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 16px 18px; font: inherit; font-weight: 800; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; gap: 12px; }
.faq-a { display: none; padding: 0 18px 16px; color: var(--muted); }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q span:last-child { transform: rotate(45deg); }
.whatsapp-card { background: var(--navy); color: #fff; border-radius: 24px; padding: 28px; }
.whatsapp-card h2, .whatsapp-card h3 { color: #fff; }
.whatsapp-card p { color: #cbd9e8; }
.whatsapp-btn { display: inline-flex; background: #25D366; color: #fff !important; font-weight: 800; padding: 12px 20px; border-radius: 999px; margin-top: 12px; }

/* ---- Footer ---- */
.site-footer { background: var(--navy); color: #cbd9e8; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 28px; padding: 48px 20px 28px; }
/* v1.7.0: WHITE logo shown directly on the navy footer (bundled
   hs-logo-white.png — white wings/circle, gold bolt), no white badge. */
.footer-logo { display: inline-block; margin-bottom: 10px; }
.footer-logo img, .footer-logo .custom-logo { width: 120px; height: auto; display: block; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.site-footer a { color: #dbe6f2; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-brand-name { color: #fff; font-size: 1.4rem; font-weight: 900; }
.footer-brand-name span { color: var(--gold); }
/* v1.7.0: white "Chat on WhatsApp" button in the footer contact column. */
.footer-wa-btn {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--navy) !important;
  font-weight: 800; padding: 11px 20px; border-radius: 999px; margin-top: 14px;
}
.footer-wa-btn:hover { background: var(--gold); color: var(--navy) !important; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 16px 0 22px; text-align: center; font-size: .9rem; color: #9fb4c9; }
.footer-legal { margin-top: 8px; }
.footer-legal a { color: #dbe6f2; font-weight: 600; }
.footer-legal a:hover { color: var(--gold); }
.footer-legal .sep { opacity: .45; margin: 0 8px; }

/* ---- Inner pages / WooCommerce ---- */
.page-wrap { padding: 40px 0 56px; }
.page-wrap h1 { font-size: 2.1rem; font-weight: 900; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
/* v1.6.0: WooCommerce's clearfix ::before/::after (content ' ', display
   table) become grid items inside a grid container and occupy the first
   (and last) cell — that was the empty first cell on /shop/ and category
   pages. Remove them; the grid needs no clearfix. */
.woocommerce ul.products::before,
.woocommerce ul.products::after { content: none; display: none; }
.woocommerce ul.products li.product {
  width: auto; float: none; margin: 0; clear: none; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px;
}
.woocommerce ul.products li.product img { width: 100%; height: auto; }
.woocommerce ul.products li.product .price { color: var(--navy); font-weight: 900; }
.woocommerce ul.products li.product .button { margin-top: auto; }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button {
  background: var(--navy); color: #fff; border-radius: 12px; font-weight: 800;
  padding: 12px 20px; white-space: nowrap; text-align: center;
}
.woocommerce .button:hover { background: var(--navy-2); color: #fff; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--gold); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--gold-2); }

/* ---- Checkout (navy / gold, matches the site) — v1.7.0 full redesign ---- */
.woocommerce-checkout h3, .woocommerce-checkout h2 { color: var(--navy); font-weight: 900; }
/* Two-column layout: form card left, order summary right. */
.woocommerce-checkout form.checkout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.woocommerce-checkout form.checkout .col2-set { flex: 1 1 520px; min-width: 0; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px; box-shadow: var(--shadow); }
.woocommerce-checkout form.checkout #order_review,
.woocommerce-checkout .woocommerce-checkout-review-order {
  flex: 1 1 360px; min-width: 0; background: #EDF2F7; border: 1px solid var(--border);
  border-top: 4px solid var(--gold); border-radius: 16px; box-shadow: var(--shadow); padding: 24px;
}
.woocommerce-checkout #order_review_heading { margin-bottom: 16px; padding-bottom: 10px; border-bottom: 3px solid var(--gold); }
/* Section headings with a gold underline inside the form card. */
.woocommerce-checkout form.checkout .col2-set h3 { padding-bottom: 10px; border-bottom: 3px solid var(--gold); margin-bottom: 18px; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce form .form-row .select2-selection {
  border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 14px;
  font: inherit; background: #fff; color: var(--text);
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: var(--gold); outline: 2px solid rgba(232, 163, 23, .35); outline-offset: 0;
}
.woocommerce form .form-row label { font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.woocommerce form .form-row label .required { color: var(--gold-2); }
/* Order-review table: clear row separators, bold total. */
.woocommerce-checkout #order_review table.shop_table { border: 0; background: #fff; border-radius: 12px; overflow: hidden; }
.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td { border-top: 1px solid var(--border); padding: 12px 10px; }
.woocommerce-checkout #order_review table.shop_table thead th { border-top: 0; color: var(--navy); }
.woocommerce-checkout #order_review table.shop_table tfoot .order-total th,
.woocommerce-checkout #order_review table.shop_table tfoot .order-total td { font-size: 1.2rem; font-weight: 900; color: var(--navy); border-top: 2px solid var(--gold); }
.woocommerce-checkout #order_review table.shop_table .cart-subtotal th,
.woocommerce-checkout #order_review table.shop_table .cart-subtotal td { font-weight: 800; }
/* Coupon row. */
.woocommerce-checkout .woocommerce-form-coupon-toggle { margin-bottom: 16px; }
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info { border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: 12px; background: #fff; padding: 14px 18px; }
.woocommerce-checkout #payment { background: var(--light-2); border-radius: 14px; border: 1px solid var(--border); margin-top: 18px; }
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--border); }
/* COD box clearly highlighted. */
.woocommerce-checkout #payment div.payment_box {
  background: var(--cream); border: 2px solid var(--gold); border-radius: 12px; color: var(--text);
}
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--gold); }
.woocommerce-checkout #payment label[for="payment_method_cod"] { font-weight: 900; color: var(--navy); font-size: 1.05rem; }
.woocommerce-checkout #place_order {
  background: var(--navy); color: #fff; border-radius: 12px; font-weight: 800;
  padding: 16px 22px; width: 100%; white-space: normal; text-align: center; font-size: 1.05rem;
}
.woocommerce-checkout #place_order:hover { background: var(--gold); color: var(--navy); }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { margin-bottom: 16px; }
@media (max-width: 900px) {
  .woocommerce-checkout form.checkout { flex-direction: column; }
  .woocommerce-checkout form.checkout .col2-set,
  .woocommerce-checkout form.checkout #order_review,
  .woocommerce-checkout .woocommerce-checkout-review-order { flex-basis: 100%; width: 100%; }
}
@media (max-width: 760px) {
  .woocommerce-checkout #order_review,
  .woocommerce-checkout .woocommerce-checkout-review-order { padding: 18px; }
  .woocommerce-checkout form.checkout .col2-set { padding: 18px; }
}

/* ---- Single product page (v1.7.0) ---- */
/* Quantity box: proper size, border, radius, navy text. */
.woocommerce div.product form.cart .quantity { margin-right: 12px; }
.woocommerce div.product form.cart .quantity input.qty {
  width: 64px; height: 48px; padding: 8px 6px; text-align: center;
  border: 1.5px solid var(--border); border-radius: 12px; font: inherit;
  font-weight: 800; color: var(--navy); background: #fff; -moz-appearance: textfield;
}
.woocommerce div.product form.cart .quantity input.qty:focus { border-color: var(--gold); outline: 2px solid rgba(232, 163, 23, .35); }
.woocommerce div.product form.cart .quantity input.qty::-webkit-outer-spin-button,
.woocommerce div.product form.cart .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* Add to cart: navy, never WooCommerce's purple. */
.woocommerce div.product form.cart .button.single_add_to_cart_button,
body.woocommerce div.product form.cart .button.single_add_to_cart_button {
  background: var(--navy) !important; color: #fff !important; border-radius: 12px;
  font-weight: 800; padding: 14px 28px; height: 48px; white-space: nowrap;
}
.woocommerce div.product form.cart .button.single_add_to_cart_button:hover,
body.woocommerce div.product form.cart .button.single_add_to_cart_button:hover {
  background: var(--gold) !important; color: var(--navy) !important;
}
.woocommerce div.product form.cart { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0; margin: 20px 0; }
.woocommerce div.product .woocommerce-product-gallery img { border-radius: 16px; }
/* Product details block (added by hs_product_details_block). */
.hs-product-details { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px; margin: 28px 0; box-shadow: var(--shadow); }
.hs-product-details h2 { font-size: 1.35rem; padding-bottom: 10px; border-bottom: 3px solid var(--gold); margin-bottom: 16px; }
.hs-product-details .hs-details-desc { color: var(--text); }
.hs-details-list { margin: 0; }
.hs-details-list > div { display: flex; gap: 16px; padding: 10px 0; border-top: 1px solid var(--border); }
.hs-details-list > div:first-child { border-top: 0; }
.hs-details-list dt { flex: 0 0 140px; font-weight: 800; color: var(--navy); }
.hs-details-list dd { margin: 0; }

/* ---- Contact form (v1.7.0) ---- */
.hs-contact-form { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px; margin-top: 24px; box-shadow: var(--shadow); max-width: 640px; }
.hs-contact-form p { margin: 0 0 16px; }
.hs-contact-form label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.hs-contact-form input[type="text"], .hs-contact-form input[type="tel"], .hs-contact-form input[type="email"], .hs-contact-form textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--border);
  border-radius: 12px; background: #fff; color: var(--text);
}
.hs-contact-form input:focus, .hs-contact-form textarea:focus { border-color: var(--gold); outline: 2px solid rgba(232, 163, 23, .35); }
.hs-contact-form .hs-honeypot { position: absolute; left: -9999px; top: -9999px; height: 0; margin: 0; overflow: hidden; }
.hs-form-notice { border-radius: 12px; padding: 16px 18px; margin-top: 24px; font-weight: 600; }
.hs-form-notice.success { background: #e7f6ec; border: 1px solid #7fc795; color: #14532d; }
.hs-form-notice.error { background: #fdecea; border: 1px solid #f0a8a0; color: #7a1f1a; }

/* ---- About / Contact info pages (v1.7.0) — same layout structure as
   the original: eyebrow + H1 + intro, stat cards, story, offer, audience
   cards, value blocks, visit block; contact: info cards + form beside the
   visit-shop card, help list, faster-answer steps. ---- */
.hs-page-eyebrow { display: inline-block; color: var(--gold-2); font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; margin-bottom: .4rem; }
.hs-page-intro { font-size: 1.08rem; color: var(--muted); max-width: 760px; }
.hs-info-section { margin-top: 40px; }
.hs-info-section > h2 { font-size: 1.6rem; margin-bottom: 6px; }
.hs-info-section > .hs-section-sub { color: var(--muted); margin-bottom: 20px; }
.hs-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.hs-stat-card { background: var(--light); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; }
.hs-stat-num { font-size: 1.5rem; font-weight: 900; color: var(--navy); line-height: 1.2; }
.hs-stat-label { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.hs-info-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.hs-info-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: 0 2px 10px rgba(11,42,74,.04); }
.hs-info-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.hs-info-card .hs-card-value { font-weight: 900; color: var(--navy); font-size: 1.08rem; }
.hs-info-card p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.hs-audience-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 20px; }
.hs-audience-card { background: var(--light); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.hs-audience-card h3 { font-size: 1rem; }
.hs-audience-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.hs-value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.hs-value-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.hs-value-card .hs-value-tick { color: var(--gold-2); font-weight: 900; font-size: 1.2rem; }
.hs-value-card h3 { margin: 6px 0 4px; }
.hs-value-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.hs-visit-card { background: var(--navy); color: #fff; border-radius: 24px; padding: 28px; margin-top: 40px; }
.hs-visit-card h2, .hs-visit-card h3 { color: #fff; }
.hs-visit-card p { color: #cbd9e8; }
.hs-visit-card a { color: #fff; font-weight: 700; }
.hs-visit-card a:hover { color: var(--gold); }
.hs-contact-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: start; margin-top: 24px; }
.hs-contact-layout .hs-contact-form { margin-top: 0; max-width: none; }
.hs-contact-layout .hs-visit-card { margin-top: 0; }
.hs-help-list { margin: 20px 0 0; padding-left: 20px; }
.hs-help-list li { margin-bottom: 10px; }
.hs-help-list strong { color: var(--navy); }
.hs-tips-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; counter-reset: hs-tip; }
.hs-tip-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.hs-tip-num { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 900; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.hs-tip-card h3 { font-size: 1rem; }
.hs-tip-card p { margin: 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 1020px) {
  .hs-stat-grid, .hs-info-cards, .hs-value-grid, .hs-tips-grid { grid-template-columns: repeat(2, 1fr); }
  .hs-audience-grid { grid-template-columns: repeat(2, 1fr); }
  .hs-contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hs-stat-grid, .hs-info-cards, .hs-value-grid, .hs-tips-grid, .hs-audience-grid { grid-template-columns: 1fr; }
}

/* ---- Responsive ---- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .product-grid, .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .faq-cta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  /* v1.7.0 mobile header: logo + Menu button side by side in one row;
     search bar hidden; Account/Cart hidden from the header bar (they live
     inside the hamburger menu instead — see .mobile-nav-links). */
  .header-inner { flex-wrap: nowrap; gap: 12px; justify-content: space-between; }
  .site-brand { min-width: 0; }
  .header-search { display: none; }
  .header-actions { gap: 0; }
  .header-actions .header-action { display: none; }
  .menu-toggle { display: inline-block; }
  .main-nav ul { display: none; flex-direction: column; padding-bottom: 10px; }
  .main-nav ul.open { display: flex; }
  .mobile-nav-links.open { display: block; padding-bottom: 10px; }
  .hs-mega-menu { display: none !important; }
  .product-grid, .woocommerce ul.products, .blog-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: 1fr; }
  .topbar-right { display: none; }
  .section { padding: 40px 0; }
}
@media (max-width: 520px) {
  .product-grid, .woocommerce ul.products, .blog-grid, .review-grid, .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cat-card { flex-basis: 160px; }
}

/* ---- v1.1 Sliders ---- */

/* Hero slider: one slide visible, fade/slide transition, arrows + dots.
   v1.6.0: the slide area is clipped (overflow hidden, slides capped at
   100% width) so no slide can push the page wider than the viewport. */
.hero-panel { min-height: 420px; }
.hero-slides { position: relative; z-index: 1; overflow: hidden; }
.hero-slide { display: none; width: 100%; max-width: 100%; }
.hero-slide.active { display: block; animation: hs-fade-slide .55s ease both; }
@keyframes hs-fade-slide {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5);
  background: rgba(11,42,74,.55); color: #fff; font-size: 1.5rem; font-weight: 900;
  cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1;
}
.hero-arrow:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }
.hero-controls { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 24px; position: relative; z-index: 1; }
.hero-controls .hero-dots { margin-top: 0; }
.hero-controls .hero-note { margin-top: 0; }
.hero-dots button:focus-visible, .hero-arrow:focus-visible, .hs-arrow:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Generic horizontal slider (products + reviews). */
.hs-slider-wrap { position: relative; min-width: 0; max-width: 100%; }
.hs-slider {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 2px 14px; scrollbar-width: none; -ms-overflow-style: none; scroll-behavior: smooth;
  width: 100%; max-width: 100%;
}
.hs-slider > * { scroll-snap-align: start; flex-shrink: 0; }
.product-slider .product-card { flex: 0 0 calc(25% - 14px); }
.review-slider .review-card { flex: 0 0 calc(33.333% - 12px); }
.hs-arrow {
  position: absolute; top: 38%; z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--border); background: #fff; cursor: pointer; font-size: 1.25rem;
  font-weight: 900; color: var(--navy); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.hs-arrow:hover { background: var(--gold); border-color: var(--gold); }
/* v1.7.0: arrows stick out beyond the slider edge (half outside),
   like the user asked — desktop and reviews alike. */
.hs-arrow.prev { left: -21px; }
.hs-arrow.next { right: -21px; }

/* Category marquee: no dots, no arrows (CSS animation, see above). */
.hs-slider::-webkit-scrollbar { display: none; }
.cat-card { scroll-snap-align: start; }

@media (max-width: 1020px) {
  .product-slider .product-card { flex-basis: calc(33.333% - 12px); }
  .review-slider .review-card { flex-basis: calc(50% - 9px); }
}
@media (max-width: 760px) {
  .product-slider .product-card { flex-basis: calc(50% - 9px); }
  .review-slider .review-card { flex-basis: 100%; }
  .hero-arrow { width: 36px; height: 36px; font-size: 1.2rem; }
  .hero-arrow.prev { left: 8px; }
  .hero-arrow.next { right: 8px; }
  .hero-panel { min-height: 0; }
}
@media (max-width: 520px) {
  .product-slider .product-card { flex-basis: 100%; }
  .hs-arrow { width: 36px; height: 36px; }
  .hs-arrow.prev { left: -10px; }
  .hs-arrow.next { right: -10px; }
}

/* ---- v1.8.0: full-width info pages, navy hero panels, Track Order,
   My Account two-card login, top bar on mobile ---- */

/* Width 100% (no max-width cap) for About / Contact / Track Order /
   My Account — side padding only, like the original's wide layout.
   Homepage and shop keep their 1240px container. */
.container.hs-wide { padding: 0 24px; }

/* Navy hero panel for info pages (reuses .hero-panel: navy, radius 24px,
   gold circle decoration). The H1 inside is white via .hero-panel h1. */
.hs-hero-panel { min-height: 0; margin-bottom: 24px; }
.hs-hero-panel .hs-hero-intro { max-width: 900px; color: #cbd9e8; font-size: 1.08rem; }
.hs-hero-eyebrow {
  display: inline-block; color: var(--gold); font-size: .78rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase; padding: 6px 16px;
  border: 1.5px solid rgba(232, 163, 23, .7); border-radius: 999px; margin-bottom: .6rem;
}
.hs-hero-panel .hero-actions { margin-top: 24px; }

/* Stat cards in a white rounded wrap; the cards themselves are cream,
   like the original's About page. */
.hs-stat-wrap { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 24px; margin-top: 24px; }
.hs-stat-wrap .hs-stat-grid { margin-top: 0; }
.hs-stat-wrap .hs-stat-card { background: var(--cream); border-color: #f0e2b8; }

/* Story + Offer as two side-by-side white cards. */
.hs-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.hs-info-card-large { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 28px; min-width: 0; }
.hs-info-card-large h2 { font-size: 1.5rem; }
.hs-info-card-large p:last-child { margin-bottom: 0; }

/* ---- Track Order page ---- */
.hs-track-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; margin-top: 24px; align-items: start; }
.hs-track-card { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); min-width: 0; }
.hs-track-card h2 { font-size: 1.5rem; }
.hs-track-form { margin-top: 20px; }
.hs-track-form p { margin: 0 0 16px; }
.hs-track-form label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.hs-track-form input[type="text"], .hs-track-form input[type="email"] {
  width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--border);
  border-radius: 12px; background: #fff; color: var(--text);
}
.hs-track-form input:focus { border-color: var(--gold); outline: 2px solid rgba(232, 163, 23, .35); }
.hs-track-result { margin-top: 22px; background: var(--light-2); border: 1px solid var(--border); border-radius: 12px; padding: 18px; }
.hs-track-result h3 { margin-bottom: 10px; }
.hs-track-items { margin: 12px 0 0; padding-left: 20px; }
.hs-track-items li { margin-bottom: 4px; }
.hs-help-cream { background: var(--cream); border-radius: 24px; padding: 28px; min-width: 0; }
.hs-help-cream h2 { font-size: 1.5rem; }
.hs-help-cream p:last-child { margin-bottom: 0; }

/* ---- My Account: Login / Register two-card layout ---- */
.hs-account { display: grid !important; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
.hs-account .col-1, .hs-account .col-2 { float: none !important; width: auto !important; }
.hs-account-card { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); min-width: 0; }
.hs-account-card h2 { font-size: 1.5rem; margin-bottom: 18px; }
.hs-account-card label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.hs-account-card input[type="text"], .hs-account-card input[type="email"], .hs-account-card input[type="password"] {
  width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--border);
  border-radius: 12px; background: #fff; color: var(--text);
}
.hs-account-card input:focus { border-color: var(--gold); outline: 2px solid rgba(232, 163, 23, .35); }
.hs-account-card .woocommerce-button {
  background: var(--gold); color: var(--navy); border: 0; border-radius: 999px;
  padding: 13px 28px; font-weight: 800; font-size: 1rem; cursor: pointer;
}
.hs-account-card .woocommerce-button:hover { background: var(--gold-2); color: var(--navy); }
.hs-login-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.hs-login-actions label { margin-bottom: 0; font-weight: 600; color: var(--text); }
.hs-google-btn {
  display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--text);
  border: 1.5px solid var(--border); border-radius: 999px; padding: 10px 20px;
  font: inherit; font-weight: 700; cursor: pointer; margin-bottom: 18px;
}
.hs-google-btn:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.hs-google-note { background: var(--cream); border: 1px solid var(--gold); border-radius: 12px; padding: 12px 14px; font-weight: 600; margin-bottom: 18px; }
.hs-password-wrap { position: relative; display: block; }
.hs-password-wrap input { padding-right: 46px; }
.hs-show-password {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; cursor: pointer; font-size: 1.15rem; line-height: 1; padding: 6px;
}

@media (max-width: 1020px) {
  .hs-two-col, .hs-track-layout, .hs-account { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  /* v1.8.0: the whole top bar is hidden on mobile (the v1.7 mobile
     header — logo + Menu only — stays intact). */
  .topbar { display: none; }
  .container.hs-wide { padding: 0 16px; }
  .hs-hero-panel { padding: 28px 20px; }
  .hs-stat-wrap, .hs-info-card-large, .hs-track-card, .hs-help-cream, .hs-account-card { padding: 20px; }
}
