/*
Theme Name: HelmetHub
Theme URI: https://helmethub.pk/
Author: HelmetHub.pk
Author URI: https://helmethub.pk/
Description: HelmetHub — a bold, conversion-focused WooCommerce theme for motorcycle helmets & riding gear. Elementor-ready with 10 custom widgets (via the HelmetHub Elementor Addons companion plugin), one-click demo import, PKR + Cash on Delivery support, and built-in SEO schema.
Version: 2.7.35
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Requires Plugins: woocommerce, elementor
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: helmethub
Tags: e-commerce, woocommerce, elementor, dark, red, responsive, custom-logo, custom-menu
*/

/* ============================================================
   1. TOKENS — overridden live by the Customizer (inc/customizer.php)
   ============================================================ */
:root{
  --hh-red:#e10b1f; --hh-red-2:#ff4d4d; --hh-ink:#080808;
  --hh-bg:#ffffff; --hh-fg:#0b0b0d; --hh-muted:#6b6b6b;
  --hh-card:#f4f4f4; --hh-line:#e5e5e5;
  --hh-font-head:'Sora',system-ui,sans-serif;
  --hh-font-body:'Sora',system-ui,sans-serif;
  --hh-btn-radius:99px; --hh-card-radius:20px;
}

/* ============================================================
   2. BASE
   ============================================================ */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:88px; }
body{
  margin:0; background:var(--hh-bg); color:var(--hh-fg);
  font-family:var(--hh-font-body); font-size:16px; line-height:1.6;
  overflow-x:hidden; -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,h5,h6{ font-family:var(--hh-font-head); line-height:1.15; letter-spacing:-.5px; }
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; }
p{ margin:0 0 1em; }
.hh-wrap{ max-width:1200px; margin:0 auto; padding:0 20px; }
.hh-sec{ padding:80px 0; }
.hh-sec-title{ font-size:clamp(28px,4vw,44px); margin:0 0 8px; letter-spacing:-1px; }
.hh-sec-sub{ color:var(--hh-muted); margin:0 0 36px; }
.hh-alt{ background:var(--hh-card); }
.screen-reader-text{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }

/* Buttons */
.hh-btn, .button, button[type="submit"]{
  display:inline-block; padding:14px 26px; border-radius:var(--hh-btn-radius);
  background:var(--hh-red); color:#fff; font-weight:600; font-size:15px;
  text-decoration:none; margin:0 8px 8px 0; transition:.25s; border:0; cursor:pointer;
  font-family:var(--hh-font-body);
}
.hh-btn:hover, .button:hover{ transform:translateY(-3px); box-shadow:0 12px 30px rgba(225,11,31,.45); color:#fff; }
.hh-btn.ghost{ background:transparent; border:1.5px solid rgba(255,255,255,.35); }
.hh-btn.light{ background:var(--hh-fg); color:var(--hh-bg); }
.hh-btn.light:hover{ background:var(--hh-red); color:#fff; }

/* Breadcrumbs (with schema) */
.hh-crumbs{ font-size:13px; color:var(--hh-muted); margin:0 0 18px; }
.hh-crumbs a{ text-decoration:none; }
.hh-crumbs a:hover{ color:var(--hh-red-2); }
.hh-crumbs .sep{ margin:0 8px; opacity:.5; }

/* ============================================================
   3. TOPBAR + HEADER
   ============================================================ */
.hh-topbar{ background:var(--hh-red); color:#fff; overflow:hidden; white-space:nowrap; font-size:12px; padding:8px 0; }
.hh-topbar .track{ display:inline-block; animation:hh-mq 30s linear infinite; }
.hh-topbar span{ margin:0 30px; }
@keyframes hh-mq{ to{ transform:translateX(-50%); } }

.hh-header{
  position:sticky; top:0; z-index:200; color:#fff;
  background:rgba(8,8,8,.9); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.hh-hd{ display:flex; align-items:center; justify-content:space-between; height:72px; gap:16px; }
.hh-brand{ display:inline-flex; align-items:center; text-decoration:none; flex-shrink:0; }
.hh-brand img{ height:44px; width:auto; }
.hh-nav ul{ display:flex; gap:26px; align-items:center; list-style:none; margin:0; padding:0; }
.hh-nav a{ color:#fff; text-decoration:none; font-size:14px; opacity:.85; transition:.2s; padding:26px 0; display:inline-block; }
.hh-nav a:hover{ opacity:1; color:var(--hh-red-2); }
.hh-nav .menu-item-has-children{ position:relative; }
/* Mega menu panel */
.hh-mega-panel{
  position:absolute; left:50%; top:100%; transform:translate(-50%,14px);
  min-width:640px; background:#111; border:1px solid #2a2a2a; border-radius:18px;
  padding:24px; display:grid; grid-template-columns:repeat(4,1fr); gap:18px;
  box-shadow:0 30px 60px rgba(0,0,0,.5); opacity:0; visibility:hidden; transition:.25s;
}
.menu-item-has-children.hh-mega:hover .hh-mega-panel,
.menu-item-has-children:focus-within .hh-mega-panel{ opacity:1; visibility:visible; transform:translate(-50%,0); }
.hh-mega-panel a{ padding:0; display:block; }
.hh-mega-cat{ text-decoration:none; }
.hh-mega-cat img{ width:100%; aspect-ratio:1; object-fit:cover; border-radius:12px; margin-bottom:8px; }
.hh-mega-cat b{ display:block; font-size:13px; color:#fff; }
.hh-mega-cat small{ color:#999; font-size:11px; }
.hh-mega-panel .sub-menu{ list-style:none; margin:8px 0 0; padding:0; display:grid; gap:2px; }
.hh-mega-panel .sub-menu a{ font-size:12px; opacity:.7; padding:3px 0; }
/* plain dropdown fallback */
.hh-nav .sub-menu:not(.hh-mega-panel .sub-menu){
  position:absolute; top:100%; left:0; min-width:210px; background:#111; border:1px solid #2a2a2a;
  border-radius:14px; padding:10px; list-style:none; margin:0;
  opacity:0; visibility:hidden; transform:translateY(10px); transition:.2s;
}
.menu-item-has-children:hover > .sub-menu:not(.hh-mega-panel .sub-menu){ opacity:1; visibility:visible; transform:none; }
.hh-hd-actions{ display:flex; gap:10px; align-items:center; }
.hh-hd-cta{ padding:10px 20px; font-size:13px; margin:0; white-space:nowrap; }
.hh-cart{ position:relative; background:rgba(255,255,255,.08); border:0; border-radius:50%; width:42px; height:42px; color:#fff; cursor:pointer; font-size:18px; text-decoration:none; display:grid; place-items:center; }
.hh-cart .count{ position:absolute; top:-4px; right:-4px; background:var(--hh-red); font:700 11px var(--hh-font-body); border-radius:99px; padding:2px 6px; color:#fff; }
.hh-cart.bump{ animation:hh-bump .4s; }
@keyframes hh-bump{ 50%{ transform:scale(1.35); } }
.hh-menu-toggle{ display:none; background:none; border:0; color:#fff; font-size:26px; cursor:pointer; }

/* ============================================================
   4. HERO (widget: hh-hero)
   ============================================================ */
.hh-hero{ position:relative; background:var(--hh-ink); color:#fff; overflow:hidden; padding:70px 0 90px; }
.hh-hero::before{
  content:""; position:absolute; inset:0;
  background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
  background-size:48px 48px;
  -webkit-mask-image:radial-gradient(circle at 70% 40%,#000,transparent 70%);
  mask-image:radial-gradient(circle at 70% 40%,#000,transparent 70%);
}
.hh-hero::after{
  content:attr(data-watermark); position:absolute; left:-1vw; bottom:-3vw;
  font-size:19vw; font-weight:800; line-height:1; color:transparent;
  -webkit-text-stroke:1px rgba(255,255,255,.11); white-space:nowrap; pointer-events:none;
}
.hh-hero-glow{ position:absolute; width:700px; height:700px; right:-150px; top:-100px;
  background:radial-gradient(circle,rgba(225,11,31,.4),transparent 65%); pointer-events:none; }
.hh-hero-grid{ position:relative; display:grid; grid-template-columns:1.1fr .9fr; gap:30px; align-items:center; }
.hh-pill{ display:inline-block; border:1px solid rgba(225,11,31,.55); background:rgba(225,11,31,.14);
  padding:7px 16px; border-radius:99px; font-size:13px; color:#fff; }
.hh-hero h1, .hh-hero .hh-h1{ font-size:clamp(44px,8vw,92px); line-height:.95; margin:16px 0; font-weight:800; letter-spacing:-2px; color:#fff; }
.hh-hero h1 em, .hh-hero .hh-h1 em{ font-style:normal; background:linear-gradient(90deg,var(--hh-red),var(--hh-red-2));
  -webkit-background-clip:text; background-clip:text; color:transparent; }
.hh-hero .hh-lede{ max-width:480px; opacity:.75; line-height:1.7; margin:0 0 28px; }
.hh-hero-stats{ display:flex; gap:34px; margin-top:30px; flex-wrap:wrap; }
.hh-hero-stats b{ font-size:34px; color:#fff; display:block; }
.hh-hero-stats span{ display:block; font-size:12px; opacity:.6; }
.hh-hero-visual{ position:relative; display:grid; place-items:center; }
.hh-hero-photo{ width:min(100%,460px); aspect-ratio:1; object-fit:cover; border-radius:32px;
  box-shadow:0 30px 80px rgba(225,11,31,.33), 0 0 0 1px rgba(255,255,255,.08); }
.hh-hero-ring{ position:absolute; inset:6%; border:2px dashed rgba(225,11,31,.35); border-radius:50%; pointer-events:none; }

/* ============================================================
   5. MARQUEE (widget: hh-marquee)
   ============================================================ */
.hh-marquee{ background:var(--hh-red); color:#fff; overflow:hidden; white-space:nowrap; font-weight:800; font-size:20px; padding:14px 0; }
.hh-marquee .track{ display:inline-block; animation:hh-mq 26s linear infinite; }
.hh-marquee span{ margin:0 22px; }

/* ============================================================
   6. CATEGORY GRID (widget: hh-category-grid)
   ============================================================ */
.hh-cats{ display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:20px; }
.hh-cat-card{
  position:relative; overflow:hidden; border-radius:24px; background:var(--hh-ink); color:#fff;
  min-height:340px; display:flex; flex-direction:column; justify-content:flex-end;
  text-decoration:none; transition:.35s; isolation:isolate;
}
.hh-cat-card:hover{ transform:translateY(-8px); box-shadow:0 24px 50px rgba(225,11,31,.33); }
.hh-cat-card img.bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:contain; transition:.6s; z-index:-2; }
.hh-cat-card:hover img.bg{ transform:scale(1.07); }
.hh-cat-card::after{ content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(to top,rgba(0,0,0,.88) 0%,rgba(0,0,0,.25) 55%,rgba(0,0,0,.05) 100%); }
.hh-cat-body{ padding:26px; }
.hh-cat-body h3{ margin:0; font-size:24px; color:#fff; }
.hh-cat-body p{ margin:6px 0 14px; font-size:13px; opacity:.75; }
.hh-cat-body .go{ color:var(--hh-red-2); font-weight:600; }

/* ============================================================
   7. PRODUCT GRID + CARDS (widget: hh-product-grid)
   ============================================================ */
.hh-products{ display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:20px; }
.hh-products.cols-2{ grid-template-columns:repeat(2,1fr); }
.hh-products.cols-3{ grid-template-columns:repeat(3,1fr); }
.hh-products.cols-4{ grid-template-columns:repeat(4,1fr); }
.hh-products.cols-5{ grid-template-columns:repeat(5,1fr); }
.hh-pcard{ background:var(--hh-card); border:1px solid var(--hh-line); border-radius:var(--hh-card-radius);
  padding:14px; transition:.3s; position:relative; display:flex; flex-direction:column; }
.hh-pcard:hover{ transform:translateY(-6px); border-color:var(--hh-red); box-shadow:0 18px 40px rgba(225,11,31,.2); }
.hh-pcard .stage{ position:relative; aspect-ratio:6/5; border-radius:14px; overflow:hidden;
  background:#ffffff; display:grid; place-items:center; }
.hh-pcard .stage img{ width:100%; height:100%; object-fit:contain; transform:none; transition:.5s; }
.hh-pcard:hover .stage img{ transform:scale(1.05); }
.hh-badge{ position:absolute; top:10px; left:10px; background:var(--hh-red); color:#fff;
  font-size:11px; font-weight:700; padding:4px 10px; border-radius:99px; z-index:2; }
.hh-badge.bestseller{ background:#0b0b0d; }
.hh-pcard small{ display:block; margin:12px 0 2px; color:var(--hh-muted); font-size:12px; }
.hh-pcard h3, .hh-pcard .hh-pname{ margin:0 0 10px; font-size:16px; }
.hh-pcard h3 a{ text-decoration:none; }
.hh-pcard .row{ display:flex; justify-content:space-between; align-items:center; margin-top:auto; }
.hh-price{ font-weight:700; }
.hh-price del{ color:var(--hh-muted); font-weight:400; margin-right:6px; }
.hh-price ins{ text-decoration:none; }
.hh-add{ background:var(--hh-fg); color:var(--hh-bg); border:0; border-radius:99px; padding:8px 14px;
  cursor:pointer; font:inherit; font-size:13px; transition:.2s; text-decoration:none; display:inline-block; }
.hh-add:hover{ background:var(--hh-red); color:#fff; }
.hh-qv-btn{ position:absolute; top:10px; right:10px; z-index:2; background:rgba(0,0,0,.55); color:#fff;
  border:0; border-radius:50%; width:36px; height:36px; cursor:pointer; font-size:15px;
  opacity:0; transform:translateY(-6px); transition:.25s; }
.hh-pcard:hover .hh-qv-btn{ opacity:1; transform:none; }
/* carousel mode */
.hh-carousel{ display:grid; grid-auto-flow:column; grid-auto-columns:minmax(240px,300px); gap:20px;
  overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:10px; scrollbar-width:thin; }
.hh-carousel .hh-pcard{ scroll-snap-align:start; }
/* filter chips */
.hh-chips{ display:flex; gap:10px; flex-wrap:wrap; margin:28px 0; }
.hh-chips button,.hh-chips a{ padding:10px 18px; border-radius:99px; border:1.5px solid var(--hh-line);
  background:var(--hh-card); color:var(--hh-fg); cursor:pointer; font:inherit; font-size:14px;
  text-decoration:none; transition:.2s; }
.hh-chips .on,.hh-chips button:hover,.hh-chips a:hover{ background:var(--hh-red); border-color:var(--hh-red); color:#fff; }

/* ============================================================
   8. CATEGORY ARCHIVE HERO
   ============================================================ */
.hh-cat-hero{ position:relative; overflow:hidden; color:#fff; padding:60px 0 90px; background:var(--hh-cat-bg,#080808); }
.hh-cat-hero h1{ margin:10px 0; color:#fff; font-size:clamp(36px,6vw,64px); letter-spacing:-1px; }
.hh-cat-hero p{ max-width:440px; opacity:.85; font-size:18px; }
.hh-cat-photo{ position:absolute; right:5%; top:50%; width:min(36vw,360px); aspect-ratio:1; object-fit:cover;
  transform:translateY(-50%); border-radius:28px; box-shadow:0 30px 60px rgba(0,0,0,.5); }
.hh-cat-hero .wm{ position:absolute; left:0; bottom:-30px; font-size:clamp(80px,18vw,220px); font-weight:800;
  opacity:.08; white-space:nowrap; line-height:1; pointer-events:none; }
.hh-cat-desc{ max-width:760px; color:var(--hh-muted); margin:-20px 0 0; }

/* ============================================================
   9. FEATURES / TESTIMONIALS / FAQ / CTA / NEWSLETTER / LOGOS
   ============================================================ */
.hh-features{ display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:20px; }
.hh-feature{ border:1px solid var(--hh-line); border-radius:var(--hh-card-radius); padding:24px;
  background:var(--hh-card); transition:.3s; }
.hh-feature:hover{ border-color:var(--hh-red); transform:translateY(-5px); }
.hh-feature .ico{ font-size:30px; }
.hh-feature h4{ margin:10px 0 4px; }
.hh-feature p{ margin:0; color:var(--hh-muted); font-size:13px; }

.hh-testis{ display:grid; grid-auto-flow:column; grid-auto-columns:minmax(280px,360px); gap:20px;
  overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:10px; }
.hh-testi{ scroll-snap-align:start; border:1px solid var(--hh-line); border-radius:var(--hh-card-radius);
  padding:26px; background:var(--hh-card); }
.hh-testi .stars{ color:#f5a623; letter-spacing:2px; margin-bottom:10px; }
.hh-testi p{ font-size:14px; color:var(--hh-muted); line-height:1.75; }
.hh-testi .who{ display:flex; gap:12px; align-items:center; margin-top:16px; }
.hh-testi .who img{ width:44px; height:44px; border-radius:50%; object-fit:cover; }
.hh-testi .who b{ display:block; font-size:14px; }
.hh-testi .who small{ color:var(--hh-muted); }

.hh-faq{ max-width:860px; display:grid; gap:12px; }
.hh-faq-item{ border:1px solid var(--hh-line); border-radius:16px; background:var(--hh-card); padding:6px 20px; transition:.25s; }
.hh-faq-item[open]{ border-color:var(--hh-red); }
.hh-faq-item summary{ cursor:pointer; font-weight:600; padding:14px 0; list-style:none;
  display:flex; justify-content:space-between; align-items:center; gap:12px; font-family:var(--hh-font-head); }
.hh-faq-item summary::-webkit-details-marker{ display:none; }
.hh-faq-item summary::after{ content:"+"; font-size:22px; color:var(--hh-red); font-weight:700; }
.hh-faq-item[open] summary::after{ content:"–"; }
.hh-faq-item p{ margin:0 0 16px; color:var(--hh-muted); line-height:1.75; font-size:14px; }

.hh-cta{ background:linear-gradient(120deg,var(--hh-ink),#7a0010 60%,var(--hh-red)); color:#fff;
  text-align:center; padding:90px 20px; border-radius:0; position:relative; overflow:hidden; }
.hh-cta.has-bg{ background-size:cover; background-position:center; }
.hh-cta.has-bg::before{ content:""; position:absolute; inset:0; background:rgba(0,0,0,.55); }
.hh-cta > *{ position:relative; }
.hh-cta h2{ font-size:clamp(32px,6vw,64px); margin:0 0 10px; color:#fff; }
.hh-cta p{ opacity:.85; margin:0 0 26px; }

.hh-news{ background:var(--hh-card); border:1px solid var(--hh-line); border-radius:24px; padding:44px;
  text-align:center; max-width:720px; margin:0 auto; }
.hh-news h3{ margin:0 0 8px; font-size:26px; }
.hh-news p{ color:var(--hh-muted); font-size:14px; }
.hh-news form{ display:flex; gap:10px; margin-top:20px; flex-wrap:wrap; justify-content:center; }
.hh-news input[type="email"]{ flex:1; min-width:220px; padding:13px 18px; border-radius:var(--hh-btn-radius);
  border:1.5px solid var(--hh-line); background:var(--hh-bg); color:var(--hh-fg); font:inherit; }
.hh-news input[type="email"]:focus{ outline:none; border-color:var(--hh-red); }
.hh-news .note{ font-size:12px; margin-top:12px; }

.hh-logos{ display:flex; gap:44px; align-items:center; overflow-x:auto; padding:10px 0;
  scrollbar-width:none; justify-content:flex-start; }
.hh-logos::-webkit-scrollbar{ display:none; }
.hh-logos img{ height:44px; width:auto; object-fit:contain; filter:grayscale(1); opacity:.6; transition:.3s; flex-shrink:0; }
.hh-logos img:hover{ filter:none; opacity:1; }

.hh-seo-copy p{ color:var(--hh-muted); line-height:1.85; max-width:860px; }

/* ============================================================
   10. INNER PAGES / BLOG
   ============================================================ */
.hh-page-hero{ background:var(--hh-ink); color:#fff; padding:56px 0; position:relative; overflow:hidden; }
.hh-page-hero h1{ margin:8px 0 0; color:#fff; font-size:clamp(32px,5vw,56px); letter-spacing:-1px; }
.hh-prose{ max-width:860px; }
.hh-prose h2{ font-size:24px; margin:36px 0 12px; }
.hh-prose h3{ font-size:18px; margin:28px 0 10px; }
.hh-prose p,.hh-prose li{ color:var(--hh-muted); line-height:1.85; }
.hh-prose ul,.hh-prose ol{ padding-left:22px; }
.hh-prose table{ width:100%; border-collapse:collapse; margin:20px 0; font-size:14px; display:block; overflow-x:auto; }
.hh-prose th,.hh-prose td{ border:1px solid var(--hh-line); padding:12px 14px; text-align:left; }
.hh-prose th{ background:var(--hh-card); color:var(--hh-fg); }
.hh-prose tr:nth-child(even) td{ background:var(--hh-card); }
.hh-contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; }
.hh-field{ margin-bottom:16px; }
.hh-field label{ display:block; font-size:13px; font-weight:600; margin-bottom:6px; }
.hh-field input,.hh-field textarea,.hh-field select{ width:100%; padding:12px 14px; border-radius:12px;
  border:1.5px solid var(--hh-line); background:var(--hh-card); color:var(--hh-fg); font:inherit; font-size:14px; }
.hh-field input:focus,.hh-field textarea:focus{ outline:none; border-color:var(--hh-red); }
.hh-contact-card{ border:1px solid var(--hh-line); border-radius:var(--hh-card-radius); padding:28px; background:var(--hh-card); }
.hh-contact-card h3{ margin:0 0 6px; }
.hh-contact-card p{ color:var(--hh-muted); font-size:14px; }
.hh-wa{ display:inline-flex; align-items:center; gap:10px; background:#25d366; color:#fff !important;
  font-weight:700; padding:14px 26px; border-radius:99px; text-decoration:none; margin-top:8px; }

.hh-posts{ display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:24px; }
.hh-post{ border:1px solid var(--hh-line); border-radius:var(--hh-card-radius); overflow:hidden; background:var(--hh-card); transition:.3s; }
.hh-post:hover{ transform:translateY(-5px); box-shadow:0 18px 40px rgba(0,0,0,.12); }
.hh-post img{ width:100%; aspect-ratio:16/9; object-fit:cover; }
.hh-post .pad{ padding:22px; }
.hh-post h2{ font-size:20px; margin:0 0 8px; }
.hh-post h2 a{ text-decoration:none; }
.hh-post .meta{ font-size:12px; color:var(--hh-muted); margin-bottom:10px; }
.hh-post p{ font-size:14px; color:var(--hh-muted); }

/* ============================================================
   11. FOOTER
   ============================================================ */
.hh-footer{ background:var(--hh-ink); color:#d0d0d0; padding:60px 0 30px; font-size:14px; }
.hh-foot-grid{ display:grid; grid-template-columns:2fr 1fr 1fr 1fr 1.4fr; gap:30px; }
.hh-footer a{ color:#d0d0d0; text-decoration:none; }
.hh-footer a:hover{ color:var(--hh-red-2); }
.hh-footer h4{ color:#fff; margin:0 0 12px; font-size:15px; }
.hh-foot-brand img{ height:48px; width:auto; margin-bottom:12px; }
.hh-foot-links{ list-style:none; margin:0; padding:0; display:grid; gap:2px; }
.hh-foot-links a{ display:block; padding:4px 0; }
.hh-social{ display:flex; gap:10px; margin-top:14px; }
.hh-social a{ width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.08);
  display:grid; place-items:center; font-size:16px; transition:.2s; }
.hh-social a:hover{ background:var(--hh-red); color:#fff; }
.hh-foot-news input[type="email"]{ width:100%; padding:11px 14px; border-radius:99px; border:1px solid #333;
  background:#161616; color:#fff; font:inherit; font-size:13px; margin-bottom:10px; }
.hh-copy{ border-top:1px solid #2a2a2a; margin-top:34px; padding-top:20px; font-size:12px;
  opacity:.6; display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; }

/* ============================================================
   12. WOOCOMMERCE
   ============================================================ */
.woocommerce .hh-wrap{ max-width:1200px; }
.woocommerce ul.products{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.woocommerce ul.products::before,.woocommerce ul.products::after{ display:none; }
.woocommerce ul.products li.product{ width:auto !important; margin:0 !important; float:none !important; }
.woocommerce span.onsale{ background:var(--hh-red); border-radius:99px; font-family:var(--hh-font-body); }
.woocommerce .price, .woocommerce ul.products li.product .price{ color:var(--hh-fg); font-weight:700; }
.woocommerce .price del{ color:var(--hh-muted); }
.woocommerce .price ins{ text-decoration:none; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit{
  background:var(--hh-fg); color:var(--hh-bg); border-radius:var(--hh-btn-radius);
  padding:12px 22px; font-weight:600; font-family:var(--hh-font-body); transition:.2s;
}
.woocommerce a.button:hover, .woocommerce button.button:hover{ background:var(--hh-red); color:#fff; }
.woocommerce button.button.alt, .woocommerce a.button.alt{
  background:var(--hh-red); color:#fff;
}
.woocommerce button.button.alt:hover{ background:#b30818; color:#fff; }
.woocommerce-message, .woocommerce-info{ border-top-color:var(--hh-red); }
.woocommerce-message::before{ color:var(--hh-red); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,
.woocommerce form .form-row select{
  border:1.5px solid var(--hh-line); border-radius:12px; padding:11px 13px;
  background:var(--hh-card); color:var(--hh-fg); font:inherit;
}
.woocommerce form .form-row input.input-text:focus{ border-color:var(--hh-red); outline:none; }
.woocommerce table.shop_table{ border:1px solid var(--hh-line); border-radius:14px; overflow:hidden; }
.woocommerce table.shop_table th{ background:var(--hh-card); }
.woocommerce #payment{ background:var(--hh-card); border-radius:14px; }
.woocommerce .woocommerce-breadcrumb{ font-size:13px; color:var(--hh-muted); margin-bottom:18px; }
.woocommerce .woocommerce-breadcrumb a{ text-decoration:none; }
.woocommerce div.product .product_title{ font-size:clamp(28px,4vw,42px); letter-spacing:-1px; }
.woocommerce div.product p.price{ font-size:26px; color:var(--hh-fg); }
.woocommerce div.product .stock{ color:#1a9e4b; font-weight:600; }
.woocommerce .quantity .qty{ border:1.5px solid var(--hh-line); border-radius:99px; padding:10px 8px;
  background:var(--hh-card); color:var(--hh-fg); }
.woocommerce-account .woocommerce-MyAccount-navigation ul{ list-style:none; margin:0 0 24px; padding:0;
  display:flex; gap:8px; flex-wrap:wrap; }
.woocommerce-account .woocommerce-MyAccount-navigation a{ padding:9px 16px; border:1.5px solid var(--hh-line);
  border-radius:99px; text-decoration:none; font-size:13px; display:inline-block; }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{ background:var(--hh-red); border-color:var(--hh-red); color:#fff; }

/* ============================================================
   13. QUICK VIEW MODAL
   ============================================================ */
.hh-qv-overlay{ position:fixed; inset:0; background:rgba(0,0,0,.7); z-index:999; display:none;
  align-items:center; justify-content:center; padding:20px; }
.hh-qv-overlay.open{ display:flex; }
.hh-qv-box{ background:var(--hh-bg); color:var(--hh-fg); border-radius:24px; max-width:860px; width:100%;
  max-height:90vh; overflow:auto; padding:34px; position:relative;
  display:grid; grid-template-columns:1fr 1fr; gap:30px; }
.hh-qv-close{ position:absolute; top:14px; right:14px; background:var(--hh-card); border:0; color:var(--hh-fg);
  width:38px; height:38px; border-radius:50%; cursor:pointer; font-size:18px; }
.hh-qv-box img{ width:100%; border-radius:16px; background:radial-gradient(circle at 50% 40%,#fff,#e8e8e8); }
.hh-qv-box h2{ margin:0 0 8px; font-size:28px; }
.hh-qv-box .price{ font-size:22px; font-weight:700; margin:12px 0; }
.hh-qv-box .desc{ color:var(--hh-muted); font-size:14px; line-height:1.75; }
.hh-qv-loading{ text-align:center; padding:60px; color:var(--hh-muted); }

/* ============================================================
   14. REVEAL + RESPONSIVE
   ============================================================ */
.hh-reveal{ opacity:0; }
.hh-reveal.in{ opacity:1; animation:hh-up .7s var(--hh-d,0s) backwards; }
@keyframes hh-up{ from{ opacity:0; transform:translateY(34px); } }

@media (max-width:1024px){
  .hh-foot-grid{ grid-template-columns:1fr 1fr; }
  .hh-mega-panel{ min-width:520px; grid-template-columns:repeat(3,1fr); }
}
@media (max-width:960px){
  .hh-hero-grid{ grid-template-columns:1fr; }
  .hh-hero-visual{ order:-1; }
  .hh-hero-photo{ width:min(100%,380px); }
  .hh-cat-photo{ opacity:.22; }
  .hh-sec{ padding:56px 0; }
  .hh-qv-box{ grid-template-columns:1fr; }
}
@media (max-width:860px){
  .hh-contact-grid{ grid-template-columns:1fr; }
  .hh-products.cols-4,.hh-products.cols-5{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:760px){
  .hh-nav{ display:none; position:absolute; left:0; right:0; top:72px; background:#080808;
    padding:20px; flex-direction:column; align-items:flex-start; max-height:70vh; overflow:auto; }
  .hh-nav ul{ flex-direction:column; align-items:flex-start; gap:6px; width:100%; }
  .hh-nav a{ padding:10px 0; }
  .hh-nav .menu-item-has-children{ width:100%; }
  .hh-mega-panel,.hh-nav .sub-menu:not(.hh-mega-panel .sub-menu){
    position:static; opacity:1; visibility:visible; transform:none; min-width:0;
    background:transparent; border:0; box-shadow:none; padding:0 0 0 14px; display:grid; }
  body.nav-open .hh-nav{ display:flex; }
  .hh-menu-toggle{ display:block; }
  .hh-hd-cta{ display:none; }
  .hh-foot-grid{ grid-template-columns:1fr; }
  .hh-hero-stats{ gap:22px; }
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ animation:none !important; transition:none !important; }
  .hh-reveal{ opacity:1; }
}

.page-slug-shop .hh-prose{ max-width:100%; }

/* ============================================================
   CATEGORY ARCHIVE (taxonomy-product_cat.php)
   ============================================================ */
.hh-cat-hero{ background:radial-gradient(1000px 500px at 85% 20%,rgba(225,11,31,.28),transparent 60%),var(--hh-ink); color:#fff; padding:56px 0; overflow:hidden; }
.hh-cat-hero-in{ display:flex; align-items:center; gap:48px; }
.hh-cat-hero-txt{ flex:1; min-width:0; }
.hh-cat-hero-txt h1{ margin:10px 0 8px; font-size:clamp(34px,5vw,58px); color:#fff; }
.hh-cat-count{ color:var(--hh-red-2); font-weight:600; margin:0; }
.hh-cat-hero-img{ flex:0 0 340px; max-width:38%; }
.hh-cat-hero-img img{ width:100%; height:auto; border-radius:24px; display:block; box-shadow:0 24px 60px rgba(225,11,31,.35); }
.hh-scat-card{ display:flex; align-items:center; gap:16px; background:var(--hh-card); border:1px solid var(--hh-line);
  border-radius:18px; padding:14px 18px 14px 14px; text-decoration:none; transition:.3s; color:var(--hh-fg); }
.hh-scat-card:hover{ transform:translateY(-5px); border-color:var(--hh-red); box-shadow:0 16px 36px rgba(225,11,31,.18); }
.hh-scat-card .stage{ flex:0 0 84px; width:84px; height:84px; border-radius:12px; overflow:hidden; background:#111; }
.hh-scat-card .stage img{ width:100%; height:100%; object-fit:cover; display:block; }
.hh-scat-card .meta strong{ display:block; font-size:17px; }
.hh-scat-card .meta small{ color:var(--hh-muted); }
.hh-cat-prose{ max-width:100%; }
.hh-cat-prose p{ font-size:16px; }
.hh-cat-products .woocommerce-result-count{ color:var(--hh-muted); }
@media(max-width:860px){
  .hh-cat-hero-in{ flex-direction:column; align-items:flex-start; gap:24px; }
  .hh-cat-hero-img{ flex:none; max-width:100%; width:100%; }
}

/* ============================================================
   CATEGORIES HUB (page-categories.php)
   ============================================================ */
.hh-hub-cat:nth-of-type(even){ background:var(--hh-card); }
.hh-hub-head{ display:flex; align-items:center; gap:40px; margin-bottom:32px; }
.hh-hub-img{ flex:0 0 300px; max-width:34%; border-radius:24px; overflow:hidden; box-shadow:0 20px 50px rgba(225,11,31,.22); }
.hh-hub-img img{ width:100%; height:auto; display:block; }
.hh-hub-txt{ flex:1; min-width:0; }
.hh-hub-txt h2{ margin:0 0 12px; font-size:clamp(26px,4vw,40px); }
.hh-hub-txt h2 a{ color:var(--hh-fg); text-decoration:none; }
.hh-hub-txt h2 a:hover{ color:var(--hh-red); }
.hh-hub-txt p{ color:var(--hh-muted); line-height:1.8; margin:0 0 20px; }
.hh-hub-subs{ margin-bottom:36px; }
.hh-hub-ptitle{ font-size:22px; margin:0 0 18px; }
.hh-hub-cat .woocommerce ul.products{ margin-bottom:8px; }
@media(max-width:860px){
  .hh-hub-head{ flex-direction:column; align-items:flex-start; gap:20px; }
  .hh-hub-img{ flex:none; max-width:100%; width:100%; }
}

/* ============================================================
   15. v2.6.1 — FULL-BLEED + CRYSTAL + 3D
   Overrides the boxed 1200px layout. Sections stretch
   edge-to-edge; inner breathing comes from section padding,
   not from a centred container. Brand colours unchanged.
   ============================================================ */

/* --- 15a. Full-bleed layout --- */
html, body{ width:100%; max-width:100%; }
#hh-main, #hh-main > *, .site-main, .entry-content{ width:100%; max-width:none; }
.hh-wrap{
  max-width:none !important; width:100%; margin:0; padding:0;
}
.woocommerce .hh-wrap{ max-width:none !important; }
/* Section breathing: small side padding so text never touches
   the glass edge, but backgrounds run full-bleed. */
.hh-sec{ padding:80px clamp(14px,2.5vw,36px); }
.hh-hero{ padding:70px clamp(14px,2.5vw,36px) 90px; }
.hh-header .hh-wrap, .hh-footer .hh-wrap{ padding:0 clamp(14px,2.5vw,36px); }
.hh-topbar{ padding:8px clamp(14px,2.5vw,36px); }
.hh-page-hero{ padding:56px clamp(14px,2.5vw,36px); }
.hh-cat-hero{ padding:56px clamp(14px,2.5vw,36px); }
.hh-footer{ padding:60px clamp(14px,2.5vw,36px) 30px; }
.hh-cta{ padding:90px clamp(14px,2.5vw,36px); }
/* Full-width grids / blocks (no more 860px squeeze) */
.hh-faq{ max-width:none; width:100%; }
.hh-prose{ max-width:none; }
.hh-prose p, .hh-prose li{ max-width:78ch; }
.hh-news{ max-width:none; }
.hh-cat-desc{ max-width:78ch; }
.hh-sec, .hh-hero, .hh-cta, .hh-footer, .hh-page-hero, .hh-cat-hero{
  max-width:100vw;
}
/* Kill any leftover centred container from WP / Woo / plugins */
.entry-content > *, .woocommerce-page .site-main > *{ max-width:none; }
/* Elementor-built pages (live homepage): override boxed containers */
.elementor-section.elementor-section-boxed > .elementor-container,
.elementor-section.elementor-section-boxed > .elementor-container.elementor-column-gap-default,
.elementor-top-section.elementor-section-boxed > .elementor-container{
  max-width:none !important; width:100% !important; padding-left:clamp(14px,2.5vw,36px) !important; padding-right:clamp(14px,2.5vw,36px) !important;
}
.elementor-section, .elementor-top-section, .elementor-inner-section{ max-width:none !important; width:100% !important; }
.elementor-container{ max-width:none !important; }
.elementor-page .hh-wrap{ max-width:none !important; }

/* --- 15b. Crystal (glassmorphism) --- */
/* Light glass for cards on light backgrounds */
.hh-pcard, .hh-feature, .hh-testi, .hh-news, .hh-contact-card, .hh-post, .hh-scat-card{
  position:relative;
  background:linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,255,255,.45) 45%, rgba(255,255,255,.68));
  -webkit-backdrop-filter:blur(14px) saturate(1.3); backdrop-filter:blur(14px) saturate(1.3);
  border:1px solid rgba(255,255,255,.75);
  box-shadow:0 20px 50px rgba(0,0,0,.10), inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(255,255,255,.35);
  overflow:hidden;
}
.hh-pcard::before, .hh-feature::before, .hh-testi::before, .hh-news::before, .hh-contact-card::before, .hh-post::before, .hh-scat-card::before{
  content:""; position:absolute; top:0; left:8%; right:8%; height:1px;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.95), transparent);
  pointer-events:none; z-index:1;
}
/* FAQ items: glass strip, keep text dark + readable */
.hh-faq-item{
  background:linear-gradient(135deg, rgba(255,255,255,.85), rgba(255,255,255,.5));
  -webkit-backdrop-filter:blur(12px) saturate(1.25); backdrop-filter:blur(12px) saturate(1.25);
  border:1px solid rgba(255,255,255,.7);
  box-shadow:0 12px 30px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.9);
}
/* Dark glass for cards sitting on dark / image backgrounds */
.hh-cat-card{
  border:1px solid rgba(255,255,255,.28);
  box-shadow:0 24px 50px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.35);
}
.hh-cat-card::before{
  content:""; position:absolute; top:0; left:0; right:0; height:38%;
  background:linear-gradient(180deg, rgba(255,255,255,.22), transparent);
  pointer-events:none; z-index:1;
}
.hh-cat-body{ position:relative; z-index:2; }
.hh-cta{
  border-top:1px solid rgba(255,255,255,.25); border-bottom:1px solid rgba(255,255,255,.25);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35);
}

/* --- 15c. 3D + float animation --- */
.hh-hero-visual{ perspective:1100px; animation:hh-float 6s ease-in-out infinite; will-change:transform; }
.hh-hero-photo{
  transform-style:preserve-3d; transition:transform .3s ease, box-shadow .3s ease;
  will-change:transform;
  box-shadow:0 30px 80px rgba(225,11,31,.33), 0 0 0 1px rgba(255,255,255,.08), 0 40px 90px rgba(0,0,0,.45);
}
@keyframes hh-float{
  0%,100%{ transform:translateY(0) rotateX(0) rotateY(0); }
  50%{ transform:translateY(-12px) rotateX(1.5deg) rotateY(-1.5deg); }
}
.hh-hero-glow{ animation:hh-glow-drift 9s ease-in-out infinite alternate; will-change:transform,opacity; }
@keyframes hh-glow-drift{
  from{ transform:translate(0,0) scale(1); opacity:.9; }
  to{ transform:translate(-40px,30px) scale(1.12); opacity:1; }
}
/* 3D tilt targets: small rotation + lift + deeper shadow */
.hh-cat-card, .hh-pcard, .hh-feature, .hh-testi{
  transform-style:preserve-3d; will-change:transform;
  transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.hh-cat-card:hover, .hh-pcard:hover, .hh-feature:hover, .hh-testi:hover{
  box-shadow:0 30px 60px rgba(0,0,0,.22), 0 18px 40px rgba(225,11,31,.22), inset 0 1px 0 rgba(255,255,255,.9);
}
/* JS sets --hh-rx / --hh-ry; CSS applies them so hover lift composes */
.hh-tilt{ transform:perspective(900px) rotateX(var(--hh-rx,0deg)) rotateY(var(--hh-ry,0deg)) translateY(-6px) scale(1.02); }
.hh-hero-photo.hh-tilt{ transform:perspective(1000px) rotateX(var(--hh-rx,0deg)) rotateY(var(--hh-ry,0deg)) scale(1.03); }
/* Respect reduced motion: no float, no glow drift, no tilt */
@media (prefers-reduced-motion:reduce){
  .hh-hero-visual, .hh-hero-glow, .hh-hero-photo{ animation:none !important; }
  .hh-cat-card, .hh-pcard, .hh-feature, .hh-testi, .hh-hero-photo{ transition:none !important; transform:none !important; }
  .hh-tilt{ transform:none !important; }
}
@media (max-width:760px){
  .hh-sec{ padding:56px 14px; }
  .hh-hero{ padding:48px 14px 64px; }
  .hh-header .hh-wrap, .hh-footer .hh-wrap{ padding:0 14px; }
}


/* ============================================================
   16. v2.6.2 — FULL-BLEED FIX (beats Elementor Kit CSS)
   v2.6.1 FAILED live because (a) functions.php still said 2.6.0,
   so style.css?ver=2.6.0 was served from cache and the v2.6.1
   CSS never loaded, and (b) the homepage uses NEW Elementor
   flexbox containers (.e-con / .e-con-inner), which v2.6.1 never
   targeted — only old .elementor-section was overridden.
   This section uses html body prefixes (higher specificity than
   Kit's `.elementor-section.elementor-section-boxed >
   .elementor-container` = 0,3,0) + !important, targets BOTH
   old + new Elementor structures, and adds a 100vw breakout
   for the outer boxed wrappers only (inners stay width:100%).
   ============================================================ */

/* --- 16a. CORRECTED in v2.6.3 — DO NOT turn the whole site black. ---
   v2.6.2 wrongly forced body / #hh-main / .elementor to black.
   User correction: keep WHITE as it is. Only the pointed spots
   (hero sides, CTA sides, above-footer sides) must have no gaps.
   Fix is SECTION-LEVEL: each section's OWN background (black hero,
   white sections, red CTA) must stretch to the edges. So wrappers
   stay transparent and body keeps its original var(--hh-bg) (white
   in light mode). No global black hack. */
html body,
html body.elementor-page,
html body.elementor-kit-14{
  background:var(--hh-bg) !important;
  background-color:var(--hh-bg) !important;
}
html body #hh-main,
html body .site-main,
html body .entry-content,
html body .elementor{
  background:transparent;
  background-color:transparent;
}
html body #hh-main,
html body .site-main{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  overflow-x:clip;
}
html body .hh-wrap,
html body .woocommerce .hh-wrap{
  max-width:none !important;
  width:100% !important;
  margin:0 !important;
  background:transparent;
}

/* --- 16b. OLD Elementor sections — high-specificity override --- */
/* Kit: .elementor-section.elementor-section-boxed > .elementor-container { max-width:1140px; }
   Ours: html body.elementor-page... = 0,4,2+ + !important → wins regardless of load order. */
html body.elementor-page .elementor-section.elementor-section-boxed > .elementor-container,
html body.elementor-page .elementor-section.elementor-section-boxed > .elementor-container.elementor-column-gap-default,
html body.elementor-page .elementor-top-section.elementor-section-boxed > .elementor-container,
html body.elementor-kit-14 .elementor-section.elementor-section-boxed > .elementor-container,
html body.elementor-kit-14 .elementor-top-section.elementor-section-boxed > .elementor-container{
  max-width:none !important;
  width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
  padding-left:clamp(14px,2.5vw,36px) !important;
  padding-right:clamp(14px,2.5vw,36px) !important;
  box-sizing:border-box !important;
}
html body.elementor-page .elementor-section,
html body.elementor-page .elementor-top-section,
html body.elementor-page .elementor-inner-section,
html body.elementor-kit-14 .elementor-section,
html body.elementor-kit-14 .elementor-top-section{
  max-width:none !important;
  width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
  box-sizing:border-box !important;
}
html body.elementor-page .elementor-container,
html body.elementor-kit-14 .elementor-container{
  max-width:none !important;
  width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
  box-sizing:border-box !important;
}
/* Outer boxed SECTION breakout: escape any still-centred parent. */
html body.elementor-page .elementor-section.elementor-section-boxed,
html body.elementor-page .elementor-top-section.elementor-section-boxed,
html body.elementor-kit-14 .elementor-section.elementor-section-boxed{
  width:100vw !important;
  max-width:100vw !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  left:auto !important;
  right:auto !important;
  box-sizing:border-box !important;
}

/* --- 16c. NEW Elementor flexbox containers (.e-con) — the v2.6.1 miss --- */
/* Structure: .elementor-element.e-con-boxed.e-con.e-parent > .e-con-inner.
   The BOX lives in .e-con-inner (max-width:1140px; margin:auto). */
html body.elementor-page .e-con,
html body.elementor-page .e-con-boxed,
html body.elementor-page .elementor-element.e-con,
html body.elementor-page .elementor-element.e-con-boxed,
html body.elementor-page [data-element_type="container"],
html body.elementor-kit-14 .e-con,
html body.elementor-kit-14 .e-con-boxed,
html body.elementor-kit-14 .elementor-element.e-con,
html body.elementor-kit-14 .elementor-element.e-con-boxed,
html body.elementor-kit-14 [data-element_type="container"]{
  max-width:none !important;
  width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
  box-sizing:border-box !important;
}
/* Inner: the actual boxed element — full width, breathing via padding. */
html body.elementor-page .e-con > .e-con-inner,
html body.elementor-page .e-con-boxed > .e-con-inner,
html body.elementor-page .elementor-element.e-con > .e-con-inner,
html body.elementor-page .elementor-element.e-con-boxed > .e-con-inner,
html body.elementor-page [data-element_type="container"] > .e-con-inner,
html body.elementor-kit-14 .e-con > .e-con-inner,
html body.elementor-kit-14 .e-con-boxed > .e-con-inner,
html body.elementor-kit-14 .elementor-element.e-con > .e-con-inner,
html body.elementor-kit-14 [data-element_type="container"] > .e-con-inner{
  max-width:none !important;
  width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
  padding-left:clamp(14px,2.5vw,36px) !important;
  padding-right:clamp(14px,2.5vw,36px) !important;
  box-sizing:border-box !important;
}
/* Outer boxed CONTAINER breakout (only the outer wrapper, not the inner). */
html body.elementor-page .elementor-element.e-con-boxed.e-con.e-parent,
html body.elementor-page .e-con-boxed.e-con,
html body.elementor-kit-14 .elementor-element.e-con-boxed.e-con.e-parent{
  width:100vw !important;
  max-width:100vw !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  box-sizing:border-box !important;
}
/* Elementor root + page wrapper: never boxed. */
html body.elementor-page .elementor,
html body.elementor-page .entry-content > .elementor,
html body.elementor-page #hh-main > .elementor,
html body.elementor-kit-14 .elementor{
  max-width:none !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
}
/* Inner Elementor widgets keep readable measure, sections stay full. */
html body.elementor-page .e-con-inner > .elementor-element,
html body.elementor-page .elementor-container > .elementor-element{
  max-width:100%;
  box-sizing:border-box;
}

/* --- 16d. CRYSTAL — VISIBLE (v2.6.1 was too subtle in screenshots) --- */
/* Stronger glass: brighter border, stronger top highlight, visible
   diagonal shine, deeper shadow. Text stays readable (dark text on
   light glass, white text on dark glass cards unchanged). */
html body .hh-pcard,
html body .hh-feature,
html body .hh-testi,
html body .hh-news,
html body .hh-contact-card,
html body .hh-post,
html body .hh-scat-card{
  background:linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,255,255,.55) 45%, rgba(255,255,255,.78));
  -webkit-backdrop-filter:blur(18px) saturate(1.45);
  backdrop-filter:blur(18px) saturate(1.45);
  border:1.5px solid rgba(255,255,255,.9);
  box-shadow:0 24px 60px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,1), inset 0 -1px 0 rgba(255,255,255,.55), 0 0 0 1px rgba(255,255,255,.25);
}
html body .hh-pcard::before,
html body .hh-feature::before,
html body .hh-testi::before,
html body .hh-news::before,
html body .hh-contact-card::before,
html body .hh-post::before,
html body .hh-scat-card::before{
  height:2px;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,1) 25%, rgba(255,255,255,1) 75%, transparent);
}
/* Visible diagonal crystal shine overlay (static-screenshot visible). */
html body .hh-pcard::after,
html body .hh-feature::after,
html body .hh-testi::after,
html body .hh-news::after,
html body .hh-contact-card::after,
html body .hh-post::after,
html body .hh-scat-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(115deg, transparent 30%, rgba(255,255,255,.32) 42%, rgba(255,255,255,.55) 50%, rgba(255,255,255,.32) 58%, transparent 70%);
  pointer-events:none;
  z-index:1;
}
html body .hh-pcard > *,
html body .hh-feature > *,
html body .hh-testi > *,
html body .hh-news > *,
html body .hh-contact-card > *,
html body .hh-post > *,
html body .hh-scat-card > *{
  position:relative;
  z-index:2;
}
html body .hh-faq-item{
  background:linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,255,255,.62));
  border:1.5px solid rgba(255,255,255,.9);
  box-shadow:0 16px 38px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,1);
}
/* Dark glass image cards: brighter rim + stronger sheen. */
html body .hh-cat-card{
  border:1.5px solid rgba(255,255,255,.55);
  box-shadow:0 28px 60px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.5);
}
html body .hh-cat-card::before{
  height:45%;
  background:linear-gradient(180deg, rgba(255,255,255,.32), rgba(255,255,255,.06) 60%, transparent);
}

/* --- 16e. Guardrails: never create horizontal scroll from 100vw breakout --- */
html body{
  overflow-x:clip;
}
html body .elementor-section.elementor-section-boxed,
html body .elementor-element.e-con-boxed.e-con.e-parent{
  overflow-x:clip;
}
@media (max-width:760px){
  html body.elementor-page .elementor-section.elementor-section-boxed > .elementor-container,
  html body.elementor-page .e-con > .e-con-inner,
  html body.elementor-page .e-con-boxed > .e-con-inner{
    padding-left:14px !important;
    padding-right:14px !important;
  }
}

/* ============================================================
   17. v2.6.3 — URGENT CORRECTION (user: "puri site black nahi krni")
   White stays WHITE. Full-bleed is SECTION-LEVEL, not body-level:
   - Body keeps original var(--hh-bg) (white in light mode).
   - Wrappers (#hh-main, .site-main, .entry-content, .elementor)
     stay transparent so each section's OWN background shows.
   - Each .elementor-section / .e-con / .hh-sec is full width
     (see §15/§16: max-width:none, width 100% / 100vw breakout),
     so black hero → black to edges, white sections → white to
     edges, red CTA → red to edges. No global black hack.
   ============================================================ */

/* ============================================================
   18. v2.6.4 — CARD-LEVEL FULL-BLEED FIX (user-authorized)
   v2.6.3 FAILED live: hero / CTA / newsletter STILL inset with
   ~38px side bars + white strip above hero, even though body was
   white again and Additional CSS was empty. Marquee + footer
   PASSED (touched edges), so the theme container overrides work.
   Root cause of the remaining ~38px: the inset lives in the
   ELEMENTOR ANCESTOR CHAIN + the widgets themselves, not in the
   outer section:
     .elementor-section > .elementor-container (padding clamp
     14–36px from §16 — that IS the ~38px gap) > .elementor-column
     (Elementor default ~10px padding) > .elementor-widget-wrap
     > .elementor-widget-hh-hero / -hh-cta / -hh-newsletter
     > .hh-hero / .hh-cta / .hh-news
   and .hh-news itself is an explicit CARD in base CSS:
   max-width:720px; margin:0 auto; border-radius:24px; border.
   §16 zeroed the outer section but left container/column/
   widget-wrap padding + the .hh-news card box intact, so the
   widget backgrounds stayed inset.
   Fix: for THESE THREE WIDGETS ONLY, zero every ancestor
   padding/margin in the Elementor chain (scoped with :has() so
   Shop by Category / Featured Products / Features / Testimonials
   / FAQ are NOT touched), and un-box the three widgets
   themselves (max-width:none, width:100%, radius:0, no side
   borders). Widget padding keeps clamp() horizontal breathing
   for TEXT — the BACKGROUND still touches the edges because
   padding is INSIDE the background box.
   Body stays var(--hh-bg) WHITE. No background:#000 anywhere.
   ============================================================ */

/* --- 18a. Ancestor chain: zero padding/margin ONLY in sections
   that contain one of the three widgets (scoped via :has()).
   Covers BOTH old Elementor sections and new .e-con containers. --- */
html body.elementor-page .elementor-section:has(.elementor-widget-hh-hero),
html body.elementor-page .elementor-section:has(.elementor-widget-hh-cta),
html body.elementor-page .elementor-section:has(.elementor-widget-hh-newsletter),
html body.elementor-page .elementor-top-section:has(.elementor-widget-hh-hero),
html body.elementor-page .elementor-top-section:has(.elementor-widget-hh-cta),
html body.elementor-page .elementor-top-section:has(.elementor-widget-hh-newsletter),
html body.elementor-page .e-con:has(.elementor-widget-hh-hero),
html body.elementor-page .e-con:has(.elementor-widget-hh-cta),
html body.elementor-page .e-con:has(.elementor-widget-hh-newsletter),
html body.elementor-page [data-element_type="section"]:has(.elementor-widget-hh-hero),
html body.elementor-page [data-element_type="section"]:has(.elementor-widget-hh-cta),
html body.elementor-page [data-element_type="section"]:has(.elementor-widget-hh-newsletter),
html body.elementor-page [data-element_type="container"]:has(.elementor-widget-hh-hero),
html body.elementor-page [data-element_type="container"]:has(.elementor-widget-hh-cta),
html body.elementor-page [data-element_type="container"]:has(.elementor-widget-hh-newsletter),
html body.elementor-kit-14 .elementor-section:has(.elementor-widget-hh-hero),
html body.elementor-kit-14 .elementor-section:has(.elementor-widget-hh-cta),
html body.elementor-kit-14 .elementor-section:has(.elementor-widget-hh-newsletter),
html body.elementor-kit-14 .e-con:has(.elementor-widget-hh-hero),
html body.elementor-kit-14 .e-con:has(.elementor-widget-hh-cta),
html body.elementor-kit-14 .e-con:has(.elementor-widget-hh-newsletter){
  padding:0 !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  width:100vw !important;
  max-width:100vw !important;
  border-radius:0 !important;
  box-sizing:border-box !important;
  overflow-x:clip;
}
/* Container / inner: the ~38px gap source — padding MUST be 0 here
   for these three sections (text breathing comes from the widget
   itself, §18b). */
html body.elementor-page .elementor-section:has(.elementor-widget-hh-hero) > .elementor-container,
html body.elementor-page .elementor-section:has(.elementor-widget-hh-cta) > .elementor-container,
html body.elementor-page .elementor-section:has(.elementor-widget-hh-newsletter) > .elementor-container,
html body.elementor-page .elementor-top-section:has(.elementor-widget-hh-hero) > .elementor-container,
html body.elementor-page .elementor-top-section:has(.elementor-widget-hh-cta) > .elementor-container,
html body.elementor-page .elementor-top-section:has(.elementor-widget-hh-newsletter) > .elementor-container,
html body.elementor-page .elementor-section:has(.elementor-widget-hh-hero) .elementor-container,
html body.elementor-page .elementor-section:has(.elementor-widget-hh-cta) .elementor-container,
html body.elementor-page .elementor-section:has(.elementor-widget-hh-newsletter) .elementor-container,
html body.elementor-page .e-con:has(.elementor-widget-hh-hero) > .e-con-inner,
html body.elementor-page .e-con:has(.elementor-widget-hh-cta) > .e-con-inner,
html body.elementor-page .e-con:has(.elementor-widget-hh-newsletter) > .e-con-inner,
html body.elementor-page [data-element_type="container"]:has(.elementor-widget-hh-hero) > .e-con-inner,
html body.elementor-page [data-element_type="container"]:has(.elementor-widget-hh-cta) > .e-con-inner,
html body.elementor-page [data-element_type="container"]:has(.elementor-widget-hh-newsletter) > .e-con-inner,
html body.elementor-kit-14 .elementor-section:has(.elementor-widget-hh-hero) > .elementor-container,
html body.elementor-kit-14 .elementor-section:has(.elementor-widget-hh-cta) > .elementor-container,
html body.elementor-kit-14 .elementor-section:has(.elementor-widget-hh-newsletter) > .elementor-container,
html body.elementor-kit-14 .e-con:has(.elementor-widget-hh-hero) > .e-con-inner,
html body.elementor-kit-14 .e-con:has(.elementor-widget-hh-cta) > .e-con-inner,
html body.elementor-kit-14 .e-con:has(.elementor-widget-hh-newsletter) > .e-con-inner{
  padding:0 !important;
  margin:0 !important;
  max-width:none !important;
  width:100% !important;
  box-sizing:border-box !important;
}
/* Column / widget-wrap / widget: zero padding/margin in these sections. */
html body.elementor-page .elementor-section:has(.elementor-widget-hh-hero) .elementor-column,
html body.elementor-page .elementor-section:has(.elementor-widget-hh-cta) .elementor-column,
html body.elementor-page .elementor-section:has(.elementor-widget-hh-newsletter) .elementor-column,
html body.elementor-page .elementor-section:has(.elementor-widget-hh-hero) .elementor-widget-wrap,
html body.elementor-page .elementor-section:has(.elementor-widget-hh-cta) .elementor-widget-wrap,
html body.elementor-page .elementor-section:has(.elementor-widget-hh-newsletter) .elementor-widget-wrap,
html body.elementor-page .elementor-section:has(.elementor-widget-hh-hero) .elementor-widget,
html body.elementor-page .elementor-section:has(.elementor-widget-hh-cta) .elementor-widget,
html body.elementor-page .elementor-section:has(.elementor-widget-hh-newsletter) .elementor-widget,
html body.elementor-page .e-con:has(.elementor-widget-hh-hero) .elementor-column,
html body.elementor-page .e-con:has(.elementor-widget-hh-cta) .elementor-column,
html body.elementor-page .e-con:has(.elementor-widget-hh-newsletter) .elementor-column,
html body.elementor-page .e-con:has(.elementor-widget-hh-hero) .elementor-widget-wrap,
html body.elementor-page .e-con:has(.elementor-widget-hh-cta) .elementor-widget-wrap,
html body.elementor-page .e-con:has(.elementor-widget-hh-newsletter) .elementor-widget-wrap,
html body.elementor-page .e-con:has(.elementor-widget-hh-hero) .elementor-widget,
html body.elementor-page .e-con:has(.elementor-widget-hh-cta) .elementor-widget,
html body.elementor-page .e-con:has(.elementor-widget-hh-newsletter) .elementor-widget,
html body.elementor-kit-14 .elementor-section:has(.elementor-widget-hh-hero) .elementor-column,
html body.elementor-kit-14 .elementor-section:has(.elementor-widget-hh-cta) .elementor-column,
html body.elementor-kit-14 .elementor-section:has(.elementor-widget-hh-newsletter) .elementor-column,
html body.elementor-kit-14 .elementor-section:has(.elementor-widget-hh-hero) .elementor-widget-wrap,
html body.elementor-kit-14 .elementor-section:has(.elementor-widget-hh-cta) .elementor-widget-wrap,
html body.elementor-kit-14 .elementor-section:has(.elementor-widget-hh-newsletter) .elementor-widget-wrap,
html body.elementor-kit-14 .elementor-section:has(.elementor-widget-hh-hero) .elementor-widget,
html body.elementor-kit-14 .elementor-section:has(.elementor-widget-hh-cta) .elementor-widget,
html body.elementor-kit-14 .elementor-section:has(.elementor-widget-hh-newsletter) .elementor-widget{
  padding:0 !important;
  margin:0 !important;
  max-width:none !important;
  width:100% !important;
  box-sizing:border-box !important;
}
/* Elementor column gaps: no gutter inside these three sections. */
html body.elementor-page .elementor-section:has(.elementor-widget-hh-hero) .elementor-column-gap-default,
html body.elementor-page .elementor-section:has(.elementor-widget-hh-cta) .elementor-column-gap-default,
html body.elementor-page .elementor-section:has(.elementor-widget-hh-newsletter) .elementor-column-gap-default,
html body.elementor-page .elementor-section:has(.elementor-widget-hh-hero) .elementor-column-gap-narrow,
html body.elementor-page .elementor-section:has(.elementor-widget-hh-cta) .elementor-column-gap-narrow,
html body.elementor-page .elementor-section:has(.elementor-widget-hh-newsletter) .elementor-column-gap-narrow,
html body.elementor-page .elementor-section:has(.elementor-widget-hh-hero) .elementor-column-gap-wide,
html body.elementor-page .elementor-section:has(.elementor-widget-hh-cta) .elementor-column-gap-wide,
html body.elementor-page .elementor-section:has(.elementor-widget-hh-newsletter) .elementor-column-gap-wide,
html body.elementor-page .elementor-section:has(.elementor-widget-hh-hero) .elementor-column-gap-extended,
html body.elementor-page .elementor-section:has(.elementor-widget-hh-cta) .elementor-column-gap-extended,
html body.elementor-page .elementor-section:has(.elementor-widget-hh-newsletter) .elementor-column-gap-extended{
  padding:0 !important;
  margin:0 !important;
}
/* White strip ABOVE hero: first Elementor section on the page
   must not carry a top margin/gap. */
html body.elementor-page #hh-main > .elementor > .elementor-section:has(.elementor-widget-hh-hero):first-child,
html body.elementor-page #hh-main > .elementor > .e-con:has(.elementor-widget-hh-hero):first-child,
html body.elementor-page .elementor > .elementor-section:has(.elementor-widget-hh-hero):first-child{
  margin-top:0 !important;
  padding-top:0 !important;
  border-top:0 !important;
}

/* --- 18b. The three widgets themselves: un-boxed, full-bleed. ---
   Scoped to Elementor widget wrappers so the non-Elementor
   fallback (front-page.php) is NOT affected. Padding here is
   INSIDE the background box: background touches the edges,
   text keeps clamp() breathing room. */
html body .elementor-widget-hh-hero .hh-hero,
html body .elementor-widget-hh-cta .hh-cta,
html body .elementor-widget-hh-newsletter .hh-news{
  max-width:none !important;
  width:100% !important;
  margin:0 !important;
  border-radius:0 !important;
  border-left:0 !important;
  border-right:0 !important;
  box-sizing:border-box !important;
}
html body .elementor-widget-hh-hero .hh-hero{
  /* Hero keeps its OWN black background (var(--hh-ink)) to the edges. */
  padding:70px clamp(14px,2.5vw,36px) 90px !important;
  overflow:hidden;
}
html body .elementor-widget-hh-hero .hh-hero-grid{
  max-width:none !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  box-sizing:border-box !important;
}
html body .elementor-widget-hh-cta .hh-cta{
  /* CTA keeps its OWN red gradient background to the edges. */
  padding:90px clamp(14px,2.5vw,36px) !important;
  overflow:hidden;
}
html body .elementor-widget-hh-newsletter .hh-news{
  /* Newsletter keeps its OWN light card background (var(--hh-card))
     to the edges — un-boxed from the 720px centred card. */
  background:var(--hh-card);
  border-top:1px solid var(--hh-line);
  border-bottom:1px solid var(--hh-line);
  padding:44px clamp(14px,2.5vw,36px) !important;
  box-shadow:none;
  overflow:hidden;
}
html body .elementor-widget-hh-newsletter .hh-news form{
  max-width:720px;
  margin-left:auto;
  margin-right:auto;
}
/* Newsletter inner content keeps a readable measure; the BOX is full-bleed. */
html body .elementor-widget-hh-newsletter .hh-news h3,
html body .elementor-widget-hh-newsletter .hh-news > p{
  max-width:78ch;
  margin-left:auto;
  margin-right:auto;
}
/* Fallback safety for browsers without :has() support: the widget
   rules in §18b still un-box the widgets themselves even if the
   ancestor padding rules above are ignored. Ancestor padding in
   that case leaves at most the Elementor defaults, not a card box. */

/* --- 18c. Guardrails: no horizontal scroll from the 100vw breakout. --- */
html body .elementor-section:has(.elementor-widget-hh-hero),
html body .elementor-section:has(.elementor-widget-hh-cta),
html body .elementor-section:has(.elementor-widget-hh-newsletter),
html body .e-con:has(.elementor-widget-hh-hero),
html body .e-con:has(.elementor-widget-hh-cta),
html body .e-con:has(.elementor-widget-hh-newsletter){
  overflow-x:clip;
}
@media (max-width:760px){
  html body .elementor-widget-hh-hero .hh-hero{
    padding:48px 14px 64px !important;
  }
  html body .elementor-widget-hh-cta .hh-cta{
    padding:64px 14px !important;
  }
  html body .elementor-widget-hh-newsletter .hh-news{
    padding:32px 14px !important;
  }
}


/* ============================================================
   19. v2.6.5 — HERO/MARQUEE GAP FIX + HERO SLIDER + CRYSTAL MENU
   (user-authorized)
   v2.6.4 FAILED live on HERO only: CTA + newsletter went
   full-bleed, but hero kept ~28px white side gaps and the
   marquee kept ~38px. WHY §18 MISSED THEM:
   (1) MARQUEE was never in §18's scope at all (only hero / CTA /
   newsletter) — its gap is §16's container clamp() padding.
   (2) HERO: §18's ancestor rules all depend on
   `:has(.elementor-widget-hh-hero)` + equal-specificity fights
   with §16 (0,4,2 vs 0,4,2), and §18 never zeroed the layers
   Elementor actually renders between container and widget:
   .elementor-element-populated (column content wrapper,
   Elementor default padding), .elementor-widget-container,
   .elementor-section-wrap, .elementor-inner-section,
   .elementor-row — nor a generic .elementor-element ancestor.
   If the hero lives in an old .elementor-section chain (with
   .elementor-element-populated) while CTA/newsletter live in
   .e-con chains, §18 fixed the latter and missed the former.
   FIX: §19 covers EVERY structural layer for hero + marquee,
   uses repeated-class specificity boosters (0,5,2+) so it beats
   §16 outright, matches on the inner .hh-hero / .hh-marquee
   classes too (in case the widget wrapper class differs), and
   adds non-:has() direct widget rules as a fallback.
   Body stays var(--hh-bg) WHITE. CTA + newsletter untouched
   (no regression). No background:#000 anywhere.
   ============================================================ */

/* --- 19a. HERO + MARQUEE: every ancestor layer, zeroed. --- */
/* 19a.1 OUTER wrappers: 100vw breakout (top-level sections /
   containers only — inner wrappers get width:100% below). */
html body.elementor-page .elementor-section.elementor-section:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)),
html body.elementor-page .elementor-top-section.elementor-top-section:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)),
html body.elementor-page .e-con.e-con:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)),
html body.elementor-page .e-con-boxed.e-con-boxed:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)),
html body.elementor-page [data-element_type="section"][data-element_type="section"]:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)),
html body.elementor-page [data-element_type="container"][data-element_type="container"]:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)),
html body.elementor-kit-14 .elementor-section.elementor-section:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)),
html body.elementor-kit-14 .elementor-top-section.elementor-top-section:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)),
html body.elementor-kit-14 .e-con.e-con:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)),
html body.elementor-kit-14 .e-con-boxed.e-con-boxed:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)),
html body.elementor-kit-14 [data-element_type="section"][data-element_type="section"]:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)),
html body.elementor-kit-14 [data-element_type="container"][data-element_type="container"]:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)),
html body .elementor-section.elementor-section:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)),
html body .elementor-top-section.elementor-top-section:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)),
html body .e-con.e-con:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)),
html body .e-con-boxed.e-con-boxed:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)),
html body [data-element_type="section"][data-element_type="section"]:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)),
html body [data-element_type="container"][data-element_type="container"]:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)){
  padding:0 !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  width:100vw !important;
  max-width:100vw !important;
  border-radius:0 !important;
  box-sizing:border-box !important;
  overflow-x:clip;
}
/* 19a.2 INNER wrappers (section-wrap / inner-section / inner):
   full width of their parent, no breakout (they are nested). */
html body.elementor-page .elementor-section-wrap.elementor-section-wrap:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)),
html body.elementor-page .elementor-inner.elementor-inner:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)),
html body.elementor-page .elementor-inner-section.elementor-inner-section:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)),
html body.elementor-kit-14 .elementor-section-wrap.elementor-section-wrap:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)),
html body.elementor-kit-14 .elementor-inner.elementor-inner:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)),
html body.elementor-kit-14 .elementor-inner-section.elementor-inner-section:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)),
html body .elementor-section-wrap.elementor-section-wrap:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)),
html body .elementor-inner.elementor-inner:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)),
html body .elementor-inner-section.elementor-inner-section:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)){
  padding:0 !important;
  margin:0 !important;
  max-width:none !important;
  width:100% !important;
  border-radius:0 !important;
  box-sizing:border-box !important;
  overflow-x:clip;
}
/* 19a.3 CONTAINER / INNER — the actual gap source. Doubled
   classes beat §16b (§16 = 0,4,2; these = 0,5,2+). Covers both
   direct-child and nested (inner-section) containers. */
html body.elementor-page .elementor-section.elementor-section:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)) > .elementor-container.elementor-container,
html body.elementor-page .elementor-section.elementor-section:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)) .elementor-container.elementor-container,
html body.elementor-page .elementor-top-section.elementor-top-section:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)) .elementor-container.elementor-container,
html body.elementor-page .e-con.e-con:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)) > .e-con-inner.e-con-inner,
html body.elementor-page .e-con.e-con:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)) .e-con-inner.e-con-inner,
html body.elementor-page [data-element_type="container"][data-element_type="container"]:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)) > .e-con-inner.e-con-inner,
html body.elementor-kit-14 .elementor-section.elementor-section:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)) > .elementor-container.elementor-container,
html body.elementor-kit-14 .elementor-section.elementor-section:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)) .elementor-container.elementor-container,
html body.elementor-kit-14 .e-con.e-con:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)) > .e-con-inner.e-con-inner,
html body.elementor-kit-14 .e-con.e-con:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)) .e-con-inner.e-con-inner,
html body .elementor-section.elementor-section:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)) > .elementor-container.elementor-container,
html body .elementor-section.elementor-section:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)) .elementor-container.elementor-container,
html body .e-con.e-con:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)) > .e-con-inner.e-con-inner,
html body .e-con.e-con:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)) .e-con-inner.e-con-inner{
  padding:0 !important;
  margin:0 !important;
  max-width:none !important;
  width:100% !important;
  box-sizing:border-box !important;
}
/* 19a.4 COLUMN / ROW / POPULATED / WIDGET CHAIN — the layers
   §18 never zeroed (.elementor-element-populated and
   .elementor-widget-container carry Elementor default padding).
   Scoped to hero/marquee sections only; single-column sections
   so width:100% cannot reflow multi-column content. */
html body.elementor-page .elementor-section.elementor-section:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)) :is(.elementor-row,.elementor-column,.elementor-column-wrap,.elementor-element-populated,.elementor-widget-wrap,.elementor-widget,.elementor-widget-container,.elementor-element),
html body.elementor-page .e-con.e-con:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)) :is(.elementor-row,.elementor-column,.elementor-column-wrap,.elementor-element-populated,.elementor-widget-wrap,.elementor-widget,.elementor-widget-container,.elementor-element),
html body.elementor-page [data-element_type="container"][data-element_type="container"]:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)) :is(.elementor-row,.elementor-column,.elementor-column-wrap,.elementor-element-populated,.elementor-widget-wrap,.elementor-widget,.elementor-widget-container,.elementor-element),
html body.elementor-kit-14 .elementor-section.elementor-section:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)) :is(.elementor-row,.elementor-column,.elementor-column-wrap,.elementor-element-populated,.elementor-widget-wrap,.elementor-widget,.elementor-widget-container,.elementor-element),
html body.elementor-kit-14 .e-con.e-con:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)) :is(.elementor-row,.elementor-column,.elementor-column-wrap,.elementor-element-populated,.elementor-widget-wrap,.elementor-widget,.elementor-widget-container,.elementor-element),
html body .elementor-section.elementor-section:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)) :is(.elementor-row,.elementor-column,.elementor-column-wrap,.elementor-element-populated,.elementor-widget-wrap,.elementor-widget,.elementor-widget-container,.elementor-element),
html body .e-con.e-con:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee,.hh-hero,.hh-marquee)) :is(.elementor-row,.elementor-column,.elementor-column-wrap,.elementor-element-populated,.elementor-widget-wrap,.elementor-widget,.elementor-widget-container,.elementor-element){
  padding:0 !important;
  margin:0 !important;
  max-width:none !important;
  width:100% !important;
  box-sizing:border-box !important;
}
/* 19a.5 DIRECT WIDGET FALLBACK — no :has(), no page class.
   Works even if the ancestor chain above is not matched
   (different nesting, :has() unsupported). */
html body .elementor-widget-hh-hero.elementor-widget-hh-hero,
html body .elementor-widget-hh-marquee.elementor-widget-hh-marquee{
  margin:0 !important;
  padding:0 !important;
  max-width:none !important;
  width:100% !important;
  box-sizing:border-box !important;
}
html body .elementor-widget-hh-hero > .elementor-widget-container,
html body .elementor-widget-hh-marquee > .elementor-widget-container{
  margin:0 !important;
  padding:0 !important;
  max-width:none !important;
  width:100% !important;
  box-sizing:border-box !important;
}
html body .elementor-widget-hh-hero .hh-hero{
  max-width:none !important;
  width:100% !important;
  margin:0 !important;
  border-radius:0 !important;
  /* Padding is INSIDE the black background box: black touches
     the edges, text keeps clamp() breathing room. */
  padding:70px clamp(14px,2.5vw,36px) 90px !important;
  overflow:hidden;
  box-sizing:border-box !important;
}
html body .elementor-widget-hh-marquee .hh-marquee{
  max-width:none !important;
  width:100% !important;
  margin:0 !important;
  border-radius:0 !important;
  padding:14px 0 !important;
  box-sizing:border-box !important;
}
/* Bare widget rules (fallback page + any structure). */
html body .hh-hero{
  max-width:none !important;
  width:100% !important;
  margin:0 !important;
  border-radius:0 !important;
}
html body .hh-marquee{
  max-width:none !important;
  width:100% !important;
  margin:0 !important;
  border-radius:0 !important;
}
/* White strip ABOVE hero: first hero/marquee section, no top gap. */
html body.elementor-page #hh-main > .elementor > :is(.elementor-section,.e-con):has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee)):first-child{
  margin-top:0 !important;
  padding-top:0 !important;
  border-top:0 !important;
}

/* --- 19b. HERO BACKGROUND SLIDER (JS-injected, text untouched) ---
   .hh-hero-slides is injected by theme.js (v2.6.5) with 3 slides
   from EXISTING theme images — no new images, no markup change
   to the widget. Slides are stretched (background-size:cover)
   edge-to-edge: no white shade, user-approved stretch.
   Text, buttons, stats UNCHANGED. If JS is off, hero is exactly
   as before (black + photo) — graceful degradation. */
html body .hh-hero-slides{
  position:absolute;
  inset:0;
  z-index:0;
  overflow:hidden;
  pointer-events:none;
}
html body .hh-hero-slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  opacity:0;
  transform:scale(1.12);
  transition:opacity 1.4s ease, transform 6.5s ease;
  will-change:opacity, transform;
}
html body .hh-hero-slide.is-active{
  opacity:1;
  transform:scale(1);
}
html body .hh-hero-slide-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.62) 100%), linear-gradient(0deg, rgba(0,0,0,.55), transparent 45%);
  pointer-events:none;
}
/* Stacking: slides at the back, grid pattern + watermark + glow
   above slides, content (text + photo) on top. */
html body .hh-hero::before{ z-index:1; }
html body .hh-hero::after{ z-index:1; }
html body .hh-hero-glow{ z-index:1; }
html body .hh-hero-grid{ position:relative; z-index:2; }
html body .hh-hero-visual{ position:relative; z-index:2; }
/* Slider dots: subtle, bottom centre, above everything. */
html body .hh-hero-dots{
  position:absolute;
  left:50%;
  bottom:22px;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
  z-index:3;
  pointer-events:auto;
}
html body .hh-hero-dot{
  width:9px;
  height:9px;
  border-radius:99px;
  border:0;
  background:rgba(255,255,255,.45);
  cursor:pointer;
  padding:0;
  transition:width .3s, background .3s;
}
html body .hh-hero-dot:hover{ background:rgba(255,255,255,.8); }
html body .hh-hero-dot.is-active{
  background:#fff;
  width:26px;
}

/* --- 19c. MENU — CRYSTAL GLASS + ANIMATION ---
   Header becomes stronger crystal glass; top-level links get an
   animated red underline + glow; dropdowns / mega panel get
   crystal glass + smoother open animation. Menu items, order
   and the 4-item Categories dropdown are UNCHANGED. */
html body .hh-header{
  background:linear-gradient(135deg, rgba(24,24,30,.78), rgba(8,8,8,.55) 55%, rgba(20,10,12,.7));
  -webkit-backdrop-filter:blur(18px) saturate(1.5);
  backdrop-filter:blur(18px) saturate(1.5);
  border-bottom:1px solid rgba(255,255,255,.16);
  box-shadow:0 12px 34px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.28);
  transition:background .35s, box-shadow .35s;
  overflow:visible;
}
/* Slow crystal sheen sweeping across the header (subtle). */
html body .hh-header::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(115deg, transparent 30%, rgba(255,255,255,.14) 46%, rgba(255,255,255,.22) 50%, rgba(255,255,255,.14) 54%, transparent 70%);
  background-size:250% 100%;
  animation:hh-header-sheen 9s linear infinite;
  pointer-events:none;
  z-index:0;
}
@keyframes hh-header-sheen{
  from{ background-position:200% 0; }
  to{ background-position:-100% 0; }
}
html body .hh-header .hh-wrap{ position:relative; z-index:1; }
/* Top-level links: animated red underline + soft glow on hover. */
html body .hh-nav > ul > li > a{
  position:relative;
  transition:color .25s, opacity .25s, text-shadow .25s;
}
html body .hh-nav > ul > li > a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:15px;
  height:2px;
  border-radius:2px;
  background:linear-gradient(90deg, var(--hh-red), var(--hh-red-2));
  box-shadow:0 0 10px rgba(255,77,77,.7);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .3s cubic-bezier(.2,.7,.3,1);
  pointer-events:none;
}
html body .hh-nav > ul > li > a:hover::after,
html body .hh-nav > ul > li.current-menu-item > a::after,
html body .hh-nav > ul > li.current-page-ancestor > a::after{
  transform:scaleX(1);
}
html body .hh-nav > ul > li > a:hover{
  color:#fff;
  opacity:1;
  text-shadow:0 0 14px rgba(255,77,77,.65);
}
html body .hh-nav > ul > li.current-menu-item > a,
html body .hh-nav > ul > li.current-page-ancestor > a{
  color:#fff;
  opacity:1;
}
/* Dropdown + mega panel: crystal glass + smoother open. */
html body .hh-nav .sub-menu:not(.hh-mega-panel .sub-menu){
  background:linear-gradient(135deg, rgba(30,30,38,.94), rgba(10,10,12,.9));
  -webkit-backdrop-filter:blur(18px) saturate(1.4);
  backdrop-filter:blur(18px) saturate(1.4);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 24px 50px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.2);
  transition:opacity .3s cubic-bezier(.2,.7,.3,1), transform .3s cubic-bezier(.2,.7,.3,1), visibility .3s;
}
html body .hh-nav .sub-menu:not(.hh-mega-panel .sub-menu) a{
  transition:color .2s, transform .2s, background .2s;
  border-radius:8px;
}
html body .hh-nav .sub-menu:not(.hh-mega-panel .sub-menu) a:hover{
  background:rgba(255,255,255,.08);
  transform:translateX(3px);
  color:#fff;
}
html body .hh-mega-panel{
  background:linear-gradient(135deg, rgba(30,30,38,.94), rgba(10,10,12,.9));
  -webkit-backdrop-filter:blur(18px) saturate(1.4);
  backdrop-filter:blur(18px) saturate(1.4);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 30px 60px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.2);
  transition:opacity .3s cubic-bezier(.2,.7,.3,1), transform .3s cubic-bezier(.2,.7,.3,1), visibility .3s;
}
/* Header CTA button: subtle glow pulse on hover. */
html body .hh-hd-cta{
  transition:box-shadow .3s, transform .3s;
}
html body .hh-hd-cta:hover{
  box-shadow:0 0 22px rgba(225,11,31,.65);
  transform:translateY(-1px);
}

/* --- 19d. Guardrails: no horizontal scroll, mobile, reduced motion. --- */
html body .elementor-section:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee)),
html body .e-con:has(:is(.elementor-widget-hh-hero,.elementor-widget-hh-marquee)){
  overflow-x:clip;
}
@media (max-width:760px){
  html body .elementor-widget-hh-hero .hh-hero{
    padding:48px 14px 64px !important;
  }
  html body .hh-hero-dots{ bottom:14px; }
  html body .hh-header::before{ animation:none; }
}
@media (prefers-reduced-motion:reduce){
  html body .hh-header::before{ animation:none !important; }
  html body .hh-hero-slide{ transition:none !important; }
  html body .hh-nav > ul > li > a::after{ transition:none !important; }
}

/* ============================================================
   §20. v2.6.6 — REMOVE FOREGROUND HERO HELMET PICTURE
   User: picture is already in the backend slider, so it must NOT
   also show as a separate foreground picture (it rendered TWICE:
   crisp foreground photo + same image as the stretched slider
   background behind it = ghost / faded duplicate).
   CSS-only hide (NOT PHP removal): theme.js still reads the
   hidden <img>'s src to derive the slider image base path, and
   the Elementor widget lives in the separate plugin — so the
   markup stays, only its display goes.
   Slider (.hh-hero-slides) is NEVER hidden — it stays.
   ============================================================ */

/* --- 20a. Hide the foreground picture + its ring + wrapper. --- */
/* Covers Elementor widget output AND front-page.php fallback. */
html body .hh-hero-visual,
html body .hh-hero-ring,
html body .hh-hero-photo,
html body .hh-hero-visual img,
html body .elementor-widget-hh-hero .hh-hero-visual,
html body .elementor-widget-hh-hero .hh-hero-photo{
  display:none !important;
  visibility:hidden !important;
  width:0 !important;
  height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  box-shadow:none !important;
  animation:none !important;
}
/* Safety: never hide the slider or its slides/dots. */
html body .hh-hero-slides,
html body .hh-hero-slide,
html body .hh-hero-dots,
html body .hh-hero-dot{
  display:block;
}
html body .hh-hero-dots{ display:flex; }

/* --- 20b. Collapse the hero grid to a single text column. ---
   The grid was 1.1fr text + .9fr picture. With the picture gone,
   one column only — no empty black gap where the picture was.
   Text stays left-aligned and readable over the dark slider
   overlay; copy constrained so lines stay comfortable. */
html body .hh-hero-grid{
  grid-template-columns:1fr !important;
  gap:0 !important;
}
html body .hh-hero-grid > :first-child,
html body .hh-hero-copy{
  max-width:860px;
}

/* --- 20c. Kill the ghost / faded duplicate in the slider. ---
   Only ONE slide fully visible at a time. Inactive slides fade
   out over 1.4s, then visibility:hidden (delayed by the same
   1.4s so the cross-fade still animates) — no double-render,
   no faded second helmet lingering underneath. */
html body .hh-hero-slide:not(.is-active){
  opacity:0 !important;
  visibility:hidden;
  transition:opacity 1.4s ease, transform 6.5s ease, visibility 0s linear 1.4s;
}
html body .hh-hero-slide.is-active{
  opacity:1;
  visibility:visible;
}

/* ============================================================
   §21. v2.6.7 — THREE SMALL FIXES
   1) Mobile hero slider red tint: .hh-hero-glow is a 700x700px
      red radial gradient (rgba(225,11,31,.4)) at top-right. On
      desktop it sits behind the hero quietly; on a ~390px phone
      it washes the WHOLE hero/slider red. On mobile only, kill
      it — desktop hero stays exactly as-is. Overlay remains a
      neutral dark gradient so text stays readable.
   2) Marquee thinner: strip was ~52px tall (14px padding +
      20px font). Now ~35px (~33% thinner), still readable,
      scroll animation unchanged, full-bleed untouched.
   3) Footer: slightly more prominent logo + SEO lines with the
      keyword "Best helmets in Pakistan" (English, footer.php).
   ============================================================ */

/* --- 21a. Mobile red tint OFF (≤760px only). Desktop untouched. --- */
@media (max-width:760px){
  html body .hh-hero-glow{
    display:none !important;
    animation:none !important;
    opacity:0 !important;
  }
}

/* --- 21b. Marquee thinner, desktop + mobile. --- */
html body .hh-marquee{
  padding:8px 0 !important;
  font-size:16px !important;
}
html body .hh-marquee span{ margin:0 18px; }

/* --- 22. Marquee even thinner (v2.6.8, user: "is se bhi ziada thin krdo"). --- */
html body .hh-marquee{
  padding:4px 0 !important;
  font-size:13px !important;
  line-height:1.35 !important;
}
html body .hh-marquee span{ margin:0 14px !important; }

/* --- 21c. Footer logo + SEO lines. --- */
html body .hh-footer .hh-brand img{ height:54px; }
html body .hh-foot-seo{
  color:rgba(255,255,255,.75);
  font-size:14px;
  line-height:1.7;
  margin:14px 0 0;
  max-width:38ch;
}
html body .hh-foot-seo strong{ color:#fff; font-weight:800; }

/* --- 23. Floating WhatsApp button (v2.6.9). --- */
.hh-wa-float{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:9990;
  width:58px;
  height:58px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#25D366;
  color:#fff;
  border-radius:50%;
  box-shadow:0 8px 24px rgba(0,0,0,.35), 0 2px 6px rgba(0,0,0,.25);
  text-decoration:none;
  transition:transform .25s ease, box-shadow .25s ease;
}
.hh-wa-float:hover{
  transform:scale(1.08);
  box-shadow:0 12px 30px rgba(0,0,0,.4), 0 2px 8px rgba(0,0,0,.3);
  color:#fff;
}
.hh-wa-float svg{ display:block; }
/* Gentle attention pulse — only when motion is OK. */
@media (prefers-reduced-motion: no-preference){
  .hh-wa-float::after{
    content:"";
    position:absolute;
    inset:0;
    border-radius:50%;
    border:2px solid rgba(37,211,102,.7);
    animation:hh-wa-ping 2.4s ease-out infinite;
    pointer-events:none;
  }
  @keyframes hh-wa-ping{
    0%{ transform:scale(1); opacity:.8; }
    70%{ transform:scale(1.45); opacity:0; }
    100%{ transform:scale(1.45); opacity:0; }
  }
}
@media (max-width:760px){
  .hh-wa-float{
    right:16px;
    bottom:20px;
    width:52px;
    height:52px;
  }
}

/* --- 23. Marquee thinnest yet (v2.7.0, user: "size me thori or choti karni ha").
   Mirrors the 2026-10-21 Customizer Additional CSS so the thin bar
   survives even if that CSS is ever removed. --- */
html body .elementor-widget-hh-marquee .hh-marquee,
html body .hh-marquee{
  padding:3px 0 !important;
  font-size:12px !important;
  line-height:1.2 !important;
}

/* ============================================================
   §24. v2.7.2 — LOGO BIGGER + MARQUEE OVER HERO + MOBILE
   SLIDER SIZE + ARCHIVE GRID SYMMETRY
   User: (1) "logo thora bhara krdo" — header logo bigger.
   (2) "red patti jaha pe ha yeh pictures k uper krdo" — the
   red marquee must OVERLAY the bottom edge of the hero slider
   pictures instead of sitting below the hero as its own strip.
   (3) Mobile slider picture "buhut zida bhara lg rha ha" —
   hero fills the whole phone screen, helmet hugely zoomed:
   tighten mobile hero padding, cap the Ken Burns zoom, frame
   the subject higher. Desktop hero/slider UNCHANGED.
   (4) Category archive with 1 product showed ONE GIANT
   full-width card ("1 hi picture lgi wo bhi itni bhari"):
   root cause = §12's `repeat(auto-fit,minmax(230px,1fr))` —
   auto-fit collapses empty tracks, so a lone card takes the
   whole row (and its 1:1 stage becomes a giant picture).
   Fix: FIXED symmetric columns on shop/category archives.
   Counts stay 4 everywhere (no shortcode/importer changes).
   Schema guard, WhatsApp, favicon, footer, CTA/newsletter
   untouched. Body stays WHITE.
   ============================================================ */

/* --- 24a. HEADER LOGO BIGGER (header only — the footer logo
   keeps its own §21c size; .hh-brand is scoped to .hh-header). --- */
html body .hh-header .hh-brand img{ height:58px; }

/* --- 24b. MARQUEE OVERLAYS THE HERO'S BOTTOM EDGE ---
   Pull the marquee's Elementor section up by the marquee's
   own height (§23: 3px+3px padding + 12px x 1.2 line = ~21px)
   so the red line sits ON the hero pictures. Same outer-
   wrapper targeting as §19a.1, marquee-only :has(); equal
   specificity + later in file beats §19a.1's margin-top:0.
   position + z-index keep it painted above the hero slides. */
html body.elementor-page .elementor-section.elementor-section:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body.elementor-page .elementor-top-section.elementor-top-section:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body.elementor-page .e-con.e-con:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body.elementor-page .e-con-boxed.e-con-boxed:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body.elementor-page [data-element_type="section"][data-element_type="section"]:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body.elementor-page [data-element_type="container"][data-element_type="container"]:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body.elementor-kit-14 .elementor-section.elementor-section:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body.elementor-kit-14 .elementor-top-section.elementor-top-section:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body.elementor-kit-14 .e-con.e-con:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body.elementor-kit-14 .e-con-boxed.e-con-boxed:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body.elementor-kit-14 [data-element_type="section"][data-element_type="section"]:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body.elementor-kit-14 [data-element_type="container"][data-element_type="container"]:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body .elementor-section.elementor-section:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body .elementor-top-section.elementor-top-section:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body .e-con.e-con:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body .e-con-boxed.e-con-boxed:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body [data-element_type="section"][data-element_type="section"]:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body [data-element_type="container"][data-element_type="container"]:has(:is(.elementor-widget-hh-marquee,.hh-marquee)){
  margin-top:-21px !important;
  position:relative;
  z-index:6;
}
/* PHP-fallback path (front-page.php): the bare .hh-marquee div
   pulls itself up. On the Elementor path the widget-level
   margin stays 0 (next rule, higher specificity) so the pull
   never happens twice — the section above does it. */
html body .hh-marquee{
  margin-top:-21px !important;
  position:relative;
  z-index:6;
}
html body .elementor-widget-hh-marquee .hh-marquee{
  margin-top:0 !important;
}
/* Hero slider dots: raise clear of the overlaying marquee
   (was bottom:22px desktop / 14px mobile — under the strip). */
html body .hh-hero-dots{ bottom:32px !important; }

/* --- 24c. SHOP / CATEGORY ARCHIVE GRID — FIXED SYMMETRIC
   COLUMNS. A card NEVER stretches past its column, however
   few products the archive has: 1 product = one normal card,
   empty columns stay empty. Same ul.products markup is used
   by taxonomy-product_cat.php, /shop/ and the hub shortcode,
   so all three stay consistent. Homepage .hh-products grids
   are a different class and are NOT touched. --- */
@media (min-width:1024px){
  html body .woocommerce ul.products{
    grid-template-columns:repeat(4, minmax(0,1fr)) !important;
  }
}
@media (min-width:761px) and (max-width:1023px){
  html body .woocommerce ul.products{
    grid-template-columns:repeat(3, minmax(0,1fr)) !important;
  }
}
@media (max-width:760px){
  html body .woocommerce ul.products{
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
  }
}
html body .woocommerce ul.products li.product{
  width:auto !important;
  max-width:100% !important;
  margin:0 !important;
  float:none !important;
  flex:none !important;
}
/* Card fills its column only — equal heights per row, titles
   and price row aligned via .hh-pcard's existing flex column
   (.row has margin-top:auto). Image stage keeps its 1:1 card
   proportions at normal card size. */
html body .woocommerce ul.products li.product .hh-pcard{
  width:100%;
  height:100%;
  box-sizing:border-box;
}

/* --- 24d. MOBILE (<=760px): logo, hero size, slider zoom ---
   Desktop values all stay as they were. --- */
@media (max-width:760px){
  /* Header logo a touch smaller than desktop 58px. */
  html body .hh-header .hh-brand img{ height:48px; }
  /* Hero less tall: 48px/64px -> 36px/48px, both the
     Elementor widget path (doubled class beats §19d's 0,2,2)
     and the front-page.php fallback path. */
  html body .elementor-widget-hh-hero.elementor-widget-hh-hero .hh-hero{
    padding:36px 14px 48px !important;
  }
  html body .hh-hero{ padding:36px 14px 48px !important; }
  /* Ken Burns capped: inactive slides sit at scale(1.05)
     instead of 1.12, so the zoom range is a gentle 1.05 -> 1.
     No !important on transform on purpose: .is-active
     (0,2,2) must still win with scale(1). Subject framed
     higher so the helmet stays in view on tall phones. */
  html body .hh-hero-slide{
    transform:scale(1.05);
    background-position:center 35%;
  }
}

/* --- 25. v2.7.3 — ARCHIVE/SHOP GRID ROOT FIX.
   Live diagnosis: WooCommerce puts the `woocommerce` class on
   the BODY element itself, so the grid rule that actually
   matches is §12's `.woocommerce ul.products` — while §24c's
   `html body .woocommerce ...` selectors match NOTHING (they
   require a .woocommerce DESCENDANT of body) and never
   applied. §12 has been corrected at the root above; the
   rules below use the SAME selector §12 uses (no `html body`
   prefix), so they match, and they pin the column count per
   breakpoint. A card never stretches past its column, however
   few products the archive has. Homepage .hh-products grids
   are a different class and are NOT touched. --- */
@media (min-width:1024px){
  .woocommerce ul.products{
    grid-template-columns:repeat(4, minmax(0,1fr)) !important;
  }
}
@media (min-width:761px) and (max-width:1023px){
  .woocommerce ul.products{
    grid-template-columns:repeat(3, minmax(0,1fr)) !important;
  }
}
@media (max-width:760px){
  .woocommerce ul.products{
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
  }
}
.woocommerce ul.products li.product{
  width:auto !important;
  max-width:100% !important;
  margin:0 !important;
  float:none !important;
  flex:none !important;
}

/* --- 26. v2.7.4 — CATEGORY CARDS: TWO BALANCED LINES.
   User: "5 category 2 lines me krdo". The homepage "Shop by
   Category" grid showed its 5 cards as 4 + 1 (a lone card
   hugging the left of row 2) because §6's .hh-cats rule is
   auto-fit and the Elementor hh-category-grid widget's own
   Columns control defaults to 4.
   Fix, scoped ONLY to grids whose cards are .hh-cat-card:
     - Elementor path: .elementor-widget-hh-category-grid
     - Theme fallback path: body.home .hh-cats (front-page.php)
   The other .hh-cats grids (sub-category .hh-scat-card grids
   in taxonomy-product_cat.php and page-categories.php) do NOT
   match either scope and keep their current layout.
   Desktop: a 6-track grid, each card spanning 2 tracks =
   3 cards per row; a short last row is centred by nudging
   its first card (2-card row starts at track 2, a lone card
   sits at track 3). grid-template-columns carries !important
   to beat the widget's generated Columns CSS; nothing here
   touches .hh-products or ul.products. --- */
@media (min-width:1024px){
  .elementor-widget-hh-category-grid .hh-cats,
  body.home .hh-cats{
    grid-template-columns:repeat(6, minmax(0,1fr)) !important;
  }
  .elementor-widget-hh-category-grid .hh-cats > .hh-cat-card,
  body.home .hh-cats > .hh-cat-card{
    grid-column:span 2;
  }
  /* Last row holds exactly 2 cards (5, 8, 11... total):
     its first card starts at track 2, so the pair (tracks
     2-3 + 4-5) sits centred. */
  .elementor-widget-hh-category-grid .hh-cats > .hh-cat-card:nth-child(3n+4):nth-last-child(2),
  body.home .hh-cats > .hh-cat-card:nth-child(3n+4):nth-last-child(2){
    grid-column:2 / span 2;
  }
  /* Last row holds exactly 1 card (4, 7, 10... total):
     centre it on tracks 3-4. */
  .elementor-widget-hh-category-grid .hh-cats > .hh-cat-card:nth-child(3n+4):last-child,
  body.home .hh-cats > .hh-cat-card:nth-child(3n+4):last-child{
    grid-column:3 / span 2;
  }
  /* Exactly 2 cards overall: centre the pair the same way. */
  .elementor-widget-hh-category-grid .hh-cats > .hh-cat-card:nth-child(1):nth-last-child(2),
  body.home .hh-cats > .hh-cat-card:nth-child(1):nth-last-child(2){
    grid-column:2 / span 2;
  }
  /* A single card overall: centre it. */
  .elementor-widget-hh-category-grid .hh-cats > .hh-cat-card:only-child,
  body.home .hh-cats > .hh-cat-card:only-child{
    grid-column:3 / span 2;
  }
}
@media (min-width:761px) and (max-width:1023px){
  /* Tablet: 2 per row (matches the widget's tablet default). */
  .elementor-widget-hh-category-grid .hh-cats,
  body.home .hh-cats{
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
  }
}
/* Mobile (<=760px): intentionally untouched — the existing
   rules already give 1 card per row; do not regress. */

/* ============================================================
   §27. v2.7.5 — HERO SLIDES NORMAL SIZE + MARQUEE TO THE TOP
   User: (1) "slider me images buhut zoom ha, images badal
   do or normal size ki krdo" — the old slides were extreme
   close-ups, and §19b's cover + scale(1.12) Ken Burns blew
   them up further. theme.js now loads hero-slide-1/2/3.webp:
   product-style shots with the WHOLE helmet in frame. The
   Ken Burns scale is REMOVED (pure cross-fade, §19b opacity
   kept). On >=761px the slides render background-size:
   contain pinned right, so the helmet is never cropped; a
   studio backdrop gradient on .hh-hero-slides fills the
   rest of the hero so the contained photo blends in. On
   mobile the slides keep cover but are framed on the
   helmet (85% 30%) at natural scale.
   (2) "yeh wali patti uper ani chaye hero section k jo
   slider hai us k uper" — the red marquee moves from the
   hero's BOTTOM edge (§24b, undone in §27b) to the TOP
   edge of the hero, overlaying the top of the slider
   pictures. theme.js moves the .hh-marquee node inside
   .hh-hero (both render paths place it right after the
   hero); §27c anchors it absolute at the hero's top, and
   the dots return to their normal bottom spot (18px).
   Marquee thickness, content and speed untouched (§23).
   ============================================================ */

/* --- 27a. Slides: no zoom, whole helmet visible. --- */
/* Studio backdrop behind the contained photos: approximates
   the slides' own charcoal backdrop so the letterbox area
   blends instead of ending at a hard rectangle edge. */
html body .hh-hero-slides{
  background:radial-gradient(115% 95% at 70% 38%, #26272d 0%, #17181c 52%, #0a0a0c 100%);
}
/* Ken Burns OFF everywhere: slides sit at natural scale in
   both states (§19b's .is-active already resolves to
   scale(1); this base rule — equal specificity, later in
   file — replaces the 1.12 rest scale, and beats §24d's
   mobile 1.05 cap the same way). */
html body .hh-hero-slide{
  transform:none;
}
@media (min-width:761px){
  /* Whole helmet in frame, product-shot size, pinned to
     the right half; hero text keeps the dark left side. */
  html body .hh-hero-slide{
    background-size:contain;
    background-position:right center;
  }
}
@media (max-width:760px){
  /* Phones: fill the hero (cover) but frame on the helmet
     instead of §24d's centre crop; no scale. */
  html body .hh-hero-slide{
    background-size:cover;
    background-position:85% 30%;
  }
}

/* --- 27b. Undo §24b's bottom pull. --- */
/* The marquee's Elementor section keeps its §24b :has()
   match even after theme.js lifts the strip out of it —
   cancel the -21px pull so the (now empty) section cannot
   drag the following sections up over the hero. */
html body.elementor-page .elementor-section.elementor-section:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body.elementor-page .elementor-top-section.elementor-top-section:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body.elementor-page .e-con.e-con:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body.elementor-page .e-con-boxed.e-con-boxed:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body.elementor-page [data-element_type="section"][data-element_type="section"]:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body.elementor-page [data-element_type="container"][data-element_type="container"]:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body.elementor-kit-14 .elementor-section.elementor-section:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body.elementor-kit-14 .elementor-top-section.elementor-top-section:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body.elementor-kit-14 .e-con.e-con:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body.elementor-kit-14 .e-con-boxed.e-con-boxed:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body.elementor-kit-14 [data-element_type="section"][data-element_type="section"]:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body.elementor-kit-14 [data-element_type="container"][data-element_type="container"]:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body .elementor-section.elementor-section:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body .elementor-top-section.elementor-top-section:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body .e-con.e-con:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body .e-con-boxed.e-con-boxed:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body [data-element_type="section"][data-element_type="section"]:has(:is(.elementor-widget-hh-marquee,.hh-marquee)),
html body [data-element_type="container"][data-element_type="container"]:has(:is(.elementor-widget-hh-marquee,.hh-marquee)){
  margin-top:0 !important;
}
/* The strip itself no longer pulls up over the hero's
   bottom edge. Pre-JS / no-JS it simply sits below the
   hero as a plain strip (the pre-v2.7.2 behaviour) until
   theme.js lifts it into the hero top. */
html body .hh-marquee{
  margin-top:0 !important;
}

/* --- 27c. Marquee anchored to the TOP edge of the hero
   (applies once theme.js has moved .hh-marquee inside
   .hh-hero). Full-bleed across the hero's top, over the
   slider pictures. z-index 5: above the slides (0), the
   slide overlay (1), the hero content (2) and the dots
   (3) — while the sticky header (z-index 200) stays
   above it. The strip is ~21px tall (§23) and the hero's
   own top padding (70px desktop / 36px mobile) keeps it
   clear of the badge and headline. --- */
html body .hh-hero .hh-marquee{
  position:absolute;
  top:0;
  left:0;
  right:0;
  width:100%;
  margin:0 !important;
  z-index:5;
}
/* Dots back to the normal bottom position now that the
   strip no longer sits at the bottom (undoes §24b's 32px). */
html body .hh-hero-dots{ bottom:18px !important; }

/* ============================================================
   §28/§29. THE SEAM AT THE SLIDE PHOTO'S LEFT EDGE
   User: "wo side pe white line bhi khatam kro" (remove that
   white line on the side too). v2.7.5 left a faint vertical
   tonal seam where the contained photo rectangle's LEFT
   edge met the §27a backdrop gradient — the photo started
   abruptly instead of blending. v2.7.6 tried to feather it
   with CSS masks (the old §28b below) — live verification
   FAILED: the edge stayed clearly visible on every slide
   (mask-composite rendering), so those mask rules are
   REMOVED in v2.7.7.
   v2.7.7: THE FADE IS BAKED INTO THE IMAGES. The slide
   files hero-slide-1/2/3.webp now carry a real alpha
   channel — transparent at the left edge, cosine-rising
   to fully opaque by 30% of the photo width, plus gentle
   6% top and bottom fades (and a hairline right-edge
   fade) — so each photo melts into the backdrop with no
   CSS trickery. Every helmet sits right of ~44% of its
   photo, well past the ramp, so helmets stay fully
   opaque. §28a's darker backdrop gradient is KEPT: it
   shows through the alpha fade and matches the photos'
   charcoal tones. §27a positioning (contain, right
   center) is unchanged, and theme.js needed no change
   (same filenames).
   ============================================================ */

/* --- 28a. Backdrop tones closer to the photos' charcoal. --- */
html body .hh-hero-slides{
  background:radial-gradient(115% 95% at 72% 36%, #222329 0%, #131418 55%, #09090b 100%);
}

/* --- 29. (v2.7.7) No slide mask rules live here anymore:
   the old §28b -webkit-mask/mask feather is deleted on
   purpose — the edge fade is in the slide images' own
   alpha channel now (see the §28/§29 note above). --- */

/* ============================================================
   §30. v2.7.10 — CATEGORY SEO DESCRIPTION TO PAGE END
   User: SEO text must sit at the END of the page, products
   first at the top. taxonomy-product_cat.php now prints the
   term description AFTER the product loop and AFTER the CTA,
   as the last block before the footer, with the same
   .hh-cat-desc / .hh-prose styling (normal readable text,
   never hidden). The old .hh-cat-desc rule carries a
   -20px top margin that tightened it under the hero; at
   the page end that would pull it over the CTA, so this
   later equal-specificity rule neutralises it.
   ============================================================ */
.hh-cat-desc-last{ margin-top:0; }

/* ============================================================
   §31. v2.7.11 — SHIPPING INFORMATION ACCORDION (single product)
   Vector style block under the buy box, inside the summary
   column: a bold heading row with a red plus/minus mark and a
   plain bullet list. Starts expanded; the .is-collapsed class
   (toggled by theme.js) hides the body. Uses the theme's own
   red variable and ink colours so it matches the black/red
   design on desktop and mobile.
   ============================================================ */
.hh-ship-acc{ margin:22px 0 4px; border-top:1px solid #e5e5e5; border-bottom:1px solid #e5e5e5; }
.hh-ship-acc-head{ display:flex; justify-content:space-between; align-items:center; width:100%; padding:14px 2px; background:none; border:0; cursor:pointer; font-size:17px; font-weight:700; color:#111; text-align:left; }
.hh-ship-acc-mark{ font-size:22px; line-height:1; color:var(--hh-red); }
.hh-ship-acc-body ul{ margin:0 0 14px; padding-left:20px; list-style:disc; }
.hh-ship-acc-body li{ margin:0 0 8px; line-height:1.55; color:#333; }
.hh-ship-acc-body.is-collapsed{ display:none; }

/* ============================================================
   §32. v2.7.12 — CTA BOTTOM SPACE TIGHTENED (homepage red box)
   User: the red "Your next ride starts here." box takes too
   much space at its bottom. Diagnosis: on the live Elementor
   homepage the CTA section's own ancestors are already zeroed
   (§18a: padding/margin 0), so there is no white gap BELOW the
   box — the excess is INSIDE it, at the bottom: §18b forces
   90px bottom padding AND the base rule .hh-cta p gives the
   last (button) paragraph a 26px bottom margin, i.e. 116px of
   red below the button versus 90px above the heading.
   Fix touches ONLY the bottom: last-paragraph margin killed,
   bottom padding cut to 44px (the newsletter section's own
   padding directly below the CTA, so the rhythm matches).
   Top padding, side padding, colour, text and size untouched;
   the §18b selector is repeated exactly so the !important
   override wins for the Elementor widget, and the plain rule
   covers the front-page.php fallback. §30/§31 untouched.
   ============================================================ */
.hh-cta p:last-child{ margin-bottom:0; }
.hh-cta{ padding-bottom:44px; }
html body .elementor-widget-hh-cta .hh-cta{ padding-bottom:44px !important; }

/* ============================================================
   §33. v2.7.13 — FORCE LIGHT MODE (user: site must always show
   its default white/light design, even on devices with dark
   mode ON). All dark-mode media-query rules and dark-theme attribute
   overrides were REMOVED (from §1, §15 and §16), so no device
   setting can flip the palette.
   color-scheme:light additionally tells the browser to render
   form controls, scrollbars and automatic styling in light
   mode. The light design itself is untouched and
   pixel-identical; only the dark-mode takeover is gone.
   ============================================================ */
:root{ color-scheme:light; }

/* ============================================================
   §34. v2.7.15 — SEO SECTION TO "QUICK ANSWERS" GAP TIGHTENED
   (homepage, user screenshot with yellow marking)
   Diagnosis: on the live Elementor homepage the SEO section
   (plugin marker class hhhome_seo) carries 60px bottom padding
   from its own settings, and the theme rule p { margin:0 0 1em; }
   adds ~1em under its last paragraph — about 76px of white
   below the last paragraph before the next heading. The
   neighbouring importer sections carry NO section padding at
   all (hh_el_section settings are empty), so their gaps come
   only from content margins — the SEO section's 60px bottom
   padding is the outlier. Fix touches ONLY the bottom of the
   SEO section: bottom padding cut to 20px (the site's normal
   20px widget/grid rhythm), the last paragraph's bottom margin
   killed, the text-editor widget's own bottom margin killed,
   and any top padding on the section immediately following the
   SEO section zeroed (defensive: that section has no padding
   setting of its own). Top padding, text, colours and every
   other section untouched. NOTE: the SEO section is currently
   absent from the live homepage data (it will be restored by
   a later step), so the live gap check must happen after that
   restore — this CSS only takes effect once the section exists
   again. §30/§31/§32/§33 untouched.
   ============================================================ */
html body.elementor-page .elementor-section.hhhome_seo,
html body.elementor-page .e-con.hhhome_seo{
  padding-bottom:20px !important;
}
html body.elementor-page .elementor-section.hhhome_seo + .elementor-section,
html body.elementor-page .e-con.hhhome_seo + .e-con{
  padding-top:0 !important;
}
html body.elementor-page .elementor-section.hhhome_seo .elementor-widget-text-editor,
html body.elementor-page .e-con.hhhome_seo .elementor-widget-text-editor{
  margin-bottom:0;
}
html body.elementor-page .elementor-section.hhhome_seo .elementor-widget-text-editor p:last-child,
html body.elementor-page .e-con.hhhome_seo .elementor-widget-text-editor p:last-child{
  margin-bottom:0;
}

/* ============================================================
   §35. v2.7.17 — MOBILE ADD TO CART BUTTONS NORMAL SIZED
   (user phone screenshot 2026-10-28: 'Select options' buttons
   on category cards render as giant ovals overlapping the
   price — the .row flex row is too narrow for the pill button
   at 14px 26px padding). Phones only (<=760px): compact
   single-line buttons, row wraps instead of overlapping.
   Single product: quantity + Add to cart + Buy Now stay in
   one wrapping row. Desktop untouched. §30–§34 untouched.
   ============================================================ */
@media (max-width:760px){
  html body .hh-pcard .row{
    flex-wrap:wrap !important;
    gap:6px !important;
  }
  html body .hh-pcard .row .button,
  html body .hh-pcard .row .hh-btn,
  html body.woocommerce ul.products li.product .button{
    padding:8px 14px !important;
    font-size:13px !important;
    line-height:1.3 !important;
    white-space:nowrap !important;
    width:auto !important;
    max-width:100%;
    margin:0 !important;
    flex:0 1 auto !important;
  }
  html body.woocommerce div.product form.cart .button{
    padding:10px 18px !important;
    font-size:14px !important;
    line-height:1.35 !important;
    width:auto !important;
    max-width:100%;
  }
  html body.woocommerce div.product form.cart{
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    gap:8px !important;
  }
  html body.woocommerce div.product form.cart div.quantity{
    margin:0 !important;
  }
  html body.woocommerce div.product form.cart .hh-buy-now{
    margin-left:0 !important;
    margin-top:0 !important;
  }
}

/* ============================================================
   §36. v2.7.18 — HERO SLIDES 1-2 REPLACED WITH OWNER PHOTOS
   (user-supplied photos 2026-10-28: white/red gold-visor
   flip-up, red demon-graphic flip-up). Composed 1600x1067
   from the full photos: no crop, no zoom-out, whole helmet
   in frame, spotlight falloff feathered into the charcoal
   studio backdrop so the slides sit with the dark hero.
   Slide 3 unchanged. No CSS/JS change: desktop still shows
   slides contain/right (§27a), phones cover (§27a).
   ============================================================ */

/* ============================================================
   §37. v2.7.19 — HERO MAIN PHOTO FOLLOWS THE SLIDE
   (owner request 2026-10-28: his 2 photos as the big hero
   photo). New 1600x1067 hero-main-1/2.webp, helmet CENTERED
   (same spotlight treatment as the 2.7.18 slides, no crop,
   whole helmet in frame) so the square hero-photo card's
   centre crop keeps the whole helmet. theme.js swaps .hh-hero-photo src in
   sync with the slider (slides 1-2: owner photos; slide 3:
   widget's original photo). No other CSS/JS change.
   ============================================================ */

/* ============================================================
   §38. v2.7.20 — OWNER'S OWN FIXED SLIDE PHOTOS
   User fixed slides 1-2 himself (landscape, helmet large in
   frame) and asked for them to replace the previous two.
   hero-slide-1/2.webp + hero-main-1/2.webp rebuilt from his
   files (1600x1067, same spotlight treatment, no crop, whole
   helmet). Slide 3 unchanged. No other change.
   ============================================================ */

/* ============================================================
   §39. v2.7.21 — CACHE-BUSTING SLIDE FILENAMES (mobile stale pics)
   Phones/proxies kept serving old bytes for the unchanged
   hero-slide-1/2.webp URLs (images carry a 1-year browser
   cache). Slides 1-2 renamed to hero-slide-1/2-2720.webp
   (same 2.7.20 images, new URLs) + hero-main files renamed
   the same way; theme.js references updated. Old-named
   files removed. No visual/content change.
   ============================================================ */

/* ============================================================
   §40. v2.7.22 — CENTER HH WIDGET SECTION HEADINGS
   Free Elementor exposes no alignment control for the five
   HH widgets' headings (only Typography/Color); Custom CSS
   is Pro-only. .hh-sec-title/.hh-sec-sub are used ONLY by
   these five widgets (HH Category Grid, Product Grid,
   Features, Testimonials, FAQ) plus HH Logo Carousel, which
   already centers inline — so this rule touches nothing
   else: no cards, prices, buttons or body text. The SEO
   heading stays centered via its own Elementor control.
   ============================================================ */
.hh-sec-title,
.hh-sec-sub{ text-align:center !important; }

/* ============================================================
   §41. v2.7.23 — AUTO-SETUP GUARD (companion to the code fix in
   inc/demo-importer.php: hh_setup_elementor_layouts() now skips
   any page that already has _elementor_data, so theme updates
   can no longer wipe the edited homepage back to demo content.
   No visual change in this version.
   ============================================================ */

/* ============================================================
   §42. v2.7.24 — SLIDE 3 REPLACED (user-picked matte black)
   hero-slide-3.webp replaced by hero-slide-3-matte-2724.webp
   (same versioned-filename rule as v2.7.21: new URL, so no
   phone/proxy can serve the old black modular slide). Old
   file removed (backup kept in hero-slides/). theme.js
   slideFiles updated. No other change.
   ============================================================ */

/* ============================================================
   §43 REMOVED in v2.7.29 — HOMEPAGE H2s BACK TO BLACK
   (owner order 2026-11-05). The red rule from v2.7.26 is
   deleted below; headings use their original colours again.
   ============================================================ */

/* ============================================================
   §44. v2.7.27 — CARD PICTURES CENTERED + FULLY VISIBLE
   (owner report 2026-11-01: phone grid pictures shifted /
   half cut). Root cause in code: .stage is display:grid and
   the <a> wrapping the <img> had NO definite size, so the
   img's width/height resolved against an indefinite
   box and fell back to the file's intrinsic size — on phones
   the picture overflowed the square stage and overflow:hidden
   cut it (half/shifted, different per picture). Fix: the <a>
   now fills the whole stage and centers its content, so the
   img box is definite and centered. (v2.7.30 changed the img
   itself to edge-to-edge fill — see §46; the <a> fix below
   still stands.) Hover zoom updated in §46.
   ============================================================ */
.hh-pcard .stage a{ display:flex; align-items:center; justify-content:center; width:100%; height:100%; min-width:0; min-height:0; }

/* ============================================================
   §45. v2.7.28 — CATEGORY CARDS: WHOLE PICTURE, NOTHING CUT
   (owner order 2026-11-01: wide crop, helmet big, nothing cut;
   Shop by Category cards showed dome/chin/D-ring cropped).
   The card changes shape with the screen (4 cols desktop,
   2 tablet, 1 phone), so NO fixed file crop can stay uncut
   on every screen — cover always cuts one dimension. The
   five category photos all sit on near-black backgrounds
   that match the card's dark background, so object-fit:
   contain shows each whole picture at maximum size on
   every screen with the leftover space blending invisibly
   into the card. Hover zoom untouched. .hh-scat-card keeps
   cover (small square thumbs, by design).
   ============================================================ */

/* ============================================================
   §46. v2.7.30 — PRODUCT PICTURES FILL THE FRAME EDGE TO EDGE
   (owner order 2026-11-09, phone screenshot: pictures sat
   small inside the card with white margins all round).
   The 88% contain rule from v2.7.27 showed every picture
   whole but small, and the product photos themselves carry
   white space baked into the file — so even at 100% the
   helmet never reached the card edges. New rule (lines
   ~192-193): the img fills the whole square stage (cover)
   and is zoomed 1.2x, which crops the file's own white
   border and brings the product out to the frame edges.
   Trade-off, told to the owner: filling the frame means a
   little of the outer edge of some photos is cut — that is
   inherent to edge-to-edge fill. Hover zoom raised 1.08
   to 1.3 so it still zooms in from the new base size.
   Category cards (.hh-cat-card) UNTOUCHED — they stay
   contain/whole per the 2026-11-01 order. Single-product
   gallery untouched.
   ============================================================ */

/* ============================================================
   §47. v2.7.31 — PRODUCT PICTURES BACK TO NORMAL, NO ZOOM
   (owner order 2026-11-09, after seeing v2.7.30 live on his
   phone: the 1.2x zoom cropped too much — helmet ears and
   visor edges cut off. Reverts §46: img is back to
   object-fit:contain at natural scale, so the WHOLE product
   is visible, nothing cut. The square stage keeps its light
   background, so any leftover space reads as a clean frame,
   not a white gap. Hover zoom is a gentle 1.05 only.
   Category cards (.hh-cat-card) untouched — still contain.
   Single-product gallery untouched.
   ============================================================ */


/* ============================================================
   §48. v2.7.32 — PRODUCT CARD THUMBS CROPPED FROM THE TOP
   (owner order 2026-11-09: picture must be whole — no cut at
   the top, no space below.) The 600x600 card thumbs are now
   hard-cropped from the TOP of the portrait originals (see
   helmethub_top_crop_600() in functions.php) instead of the
   centre, so the helmet's top margin survives and the white
   space below the helmet is cropped out. No CSS change needed
   here: the square file still fills the square stage (contain,
   no zoom, per v2.7.31). NOTE: the new crop only applies to
   thumbs generated AFTER this version — existing images need
   a one-time thumbnail regeneration (Tools > Regenerate
   Thumbnails) to pick it up.
   ============================================================ */

/* ============================================================
   §49. v2.7.33 — SINGLE PRODUCT BUTTONS STACKED + ALIGNED
   ON PHONES (owner phone screenshot 2026-11-09, MY FF909:
   quantity + Add to cart + Buy Now + Size Guide were squeezed
   into one row — quantity circle clipped, buttons overlapping
   and cramped). Phones only (<=760px): the buttons row wraps
   into three clean rows — [quantity + Add to cart] then
   [Buy Now, full width] then [Size Guide, full width] — all
   the same 48px height and the same left/right edges.
   `order` is set explicitly: the Size Guide button is hooked
   before Add to cart in the DOM but must sit last visually.
   Simple products (no variations) get the same rows. The Size
   dropdown gets a proper 48px height so the selected size
   text ("Large") is not clipped at the top. Desktop untouched.
   ============================================================ */
@media (max-width:760px){
  html body.woocommerce div.product form.cart,
  html body.woocommerce div.product form.cart .variations_button{
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:stretch !important;
    gap:10px !important;
    max-width:100% !important;
  }
  html body.woocommerce div.product form.cart div.quantity{
    order:1 !important;
    flex:0 0 auto !important;
    margin:0 !important;
  }
  html body.woocommerce div.product form.cart div.quantity .qty{
    width:64px !important;
    height:48px !important;
    min-height:48px !important;
    text-align:center !important;
    padding:0 6px !important;
  }
  html body.woocommerce div.product form.cart .single_add_to_cart_button:not(.hh-buy-now){
    order:2 !important;
    flex:1 1 0 !important;
    min-width:0 !important;
    margin:0 !important;
    min-height:48px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:12px 16px !important;
    font-size:15px !important;
    white-space:nowrap !important;
  }
  html body.woocommerce div.product form.cart .hh-buy-now{
    order:3 !important;
    flex:1 1 100% !important;
    margin:0 !important;
    min-height:48px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:12px 16px !important;
    font-size:15px !important;
  }
  html body.woocommerce div.product form.cart .hh-size-guide-btn{
    order:4 !important;
    flex:1 1 100% !important;
    margin:0 !important;
    min-height:48px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:12px 16px !important;
    font-size:15px !important;
  }
  html body.woocommerce div.product form.cart table.variations td.value select{
    min-height:48px !important;
    height:auto !important;
    line-height:1.3 !important;
    padding:11px 34px 11px 12px !important;
    font-size:15px !important;
    max-width:100% !important;
  }
}

/* ============================================================
   §50. v2.7.34 — GRID CARDS: UNIFORM 6:5 FRAMING
   (owner phone screenshots 2026-11-09, category pages: one
   card looked over-zoomed, the next had space below — the
   photos had different shapes, so a square stage framed each
   differently.) The trim pass (plugin v1.1) now cuts every
   product photo to its helmet + a small margin, and helmets
   are wider than tall, so the trimmed photos converge on
   ~6:5. The card size follows: helmethub-card is now 600x500
   soft (no crop — nothing can be cut any more) and the stage
   is 6:5 with a plain white background, so the photo's own
   white blends in and every helmet sits at the same scale
   with the same small margins. img stays object-fit:contain,
   no zoom (v2.7.31). NOTE: the new size only exists for
   images generated after this version — run Regenerate
   Thumbnails once so every existing image gets its 600x500.
   Single-product gallery untouched.
   ============================================================ */

/* ============================================================
   §51. v2.7.35 — PRODUCT PHOTO FLUSH TO THE CARD EDGES
   (owner order 2026-11-12: "edges ke braber, na crop, na zoom,
   aur kuch nahi chherna".)
   Live check found the 6:5 stage was cropping the tops of
   tall photos in the shop grid (balaclava crown, glove
   fingertips, cat-ears spare ears) even though the files
   themselves hold the whole subject. Now the stage takes the
   photo's own height: the whole photo shows at full card
   width, touching all four edges — no crop, no zoom, no side
   bars. Hover zoom removed too ("na zoom"). Trade-off, forced
   by the order itself: cards are no longer the same height,
   so price rows no longer line up across a row. Everything
   else in the card (badge, name, price, Add button) untouched.
   Single-product gallery untouched.
   ============================================================ */
html body .hh-pcard .stage{ display:block; aspect-ratio:auto; height:auto; }
html body .hh-pcard .stage a{ display:block; width:100%; height:auto; }
html body .hh-pcard .stage img{ display:block; width:100%; height:auto; object-fit:contain; transform:none; }
html body .hh-pcard:hover .stage img{ transform:none; }
