/* ================================================================
   Care & Cure — Responsive CSS
   Extends style.css — corrects breakpoints, adds mobile drawer,
   bottom nav, form styles.  Never duplicates base styles.
   ================================================================ */

/* ── Global safety ─────────────────────────────────────────────── */
img,video{max-width:100%;height:auto;}
input,select,textarea{max-width:100%;}
table{width:100%;}

/* Prevent iOS zoom on focus */
@media(max-width:768px){
  input[type=text],input[type=email],input[type=tel],
  input[type=number],input[type=search],input[type=password],
  textarea,select{font-size:16px!important;}
}

/* ── Skip link ─────────────────────────────────────────────────── */
.skip-to-content{position:absolute;top:-100%;left:0;z-index:99999;padding:10px 20px;
  background:var(--color-primary,#1a4731);color:#fff;font-weight:700;transition:top .2s;}
.skip-to-content:focus{top:0;}

/* ================================================================
   HIDE MOBILE-ONLY ELEMENTS ON DESKTOP
   These must be display:none BEFORE any breakpoint kicks in
   ================================================================ */
.mobile-menu-toggle{display:none!important;}   /* shown at ≤900px */
.cc-bottom-nav    {display:none!important;}    /* shown at ≤640px */
.cc-back-top      {display:none!important;}    /* use .back-to-top from style.css */

/* ── Scroll-reveal: guard with body class so non-JS never hides ── */
.js-reveal-ready li.product,
.js-reveal-ready .cc-grid-card,
.js-reveal-ready .trust-card,
.js-reveal-ready .category-card{opacity:0;transform:translateY(14px);transition:opacity .38s ease,transform .38s ease;}
.js-reveal-ready li.product.is-visible,
.js-reveal-ready .cc-grid-card.is-visible,
.js-reveal-ready .trust-card.is-visible,
.js-reveal-ready .category-card.is-visible{opacity:1;transform:none;}

/* ================================================================
   HEADER
   ================================================================ */
.site-header{position:sticky;top:0;z-index:9000;background:#fff;
  box-shadow:0 1px 0 rgba(0,0,0,.07);transition:box-shadow .2s;}
.site-header.scrolled{box-shadow:0 4px 20px rgba(0,0,0,.1);}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;}
.header-actions{display:flex;align-items:center;gap:4px;flex-shrink:0;}
.cart-count-badge{position:absolute;top:4px;right:4px;background:var(--color-primary,#1a4731);
  color:#fff;font-size:9px;font-weight:900;min-width:16px;height:16px;border-radius:9999px;
  display:flex;align-items:center;justify-content:center;border:2px solid #fff;}

/* ================================================================
   MINI CART PANEL
   ================================================================ */
.mini-cart-overlay,.js-cart-overlay{
  position:fixed;inset:0;z-index:9001;background:rgba(0,0,0,.55);
  opacity:0;pointer-events:none;transition:opacity .3s;}
.mini-cart-panel,.js-cart-panel{
  position:fixed;top:0;right:0;bottom:0;z-index:9002;width:min(400px,100vw);
  background:#fff;box-shadow:-2px 0 32px rgba(0,0,0,.14);
  transform:translateX(110%);transition:transform .35s cubic-bezier(.25,.46,.45,.94);
  display:flex;flex-direction:column;}
.mini-cart-overlay.is-open,.js-cart-overlay.is-open{opacity:1;pointer-events:all;}
.mini-cart-panel.is-open,.js-cart-panel.is-open{transform:translateX(0);}

/* ================================================================
   MOBILE DRAWER
   ================================================================ */
.mobile-nav-panel{position:fixed;inset:0;z-index:10000;display:flex;pointer-events:none;}
.mobile-nav-overlay{position:absolute;inset:0;background:rgba(0,0,0,.55);opacity:0;
  transition:opacity .3s;cursor:pointer;}
.mobile-nav-drawer{
  position:relative;z-index:1;width:min(320px,90vw);
  background:var(--color-primary,#1a4731);height:100%;overflow-y:auto;
  overscroll-behavior:contain;transform:translateX(-110%);
  transition:transform .35s cubic-bezier(.25,.46,.45,.94);display:flex;flex-direction:column;}
.mobile-nav-panel.is-open{pointer-events:all;}
.mobile-nav-panel.is-open .mobile-nav-overlay{opacity:1;}
.mobile-nav-panel.is-open .mobile-nav-drawer{transform:translateX(0);}

.mobile-nav-header{display:flex;align-items:center;justify-content:space-between;
  padding:16px 20px;border-bottom:1px solid rgba(255,255,255,.08);}
.mobile-nav-header .logo-name{color:#fff;font-size:17px;font-weight:900;}
.mobile-nav-header .logo-tagline{color:var(--color-accent,#e8a020);}
.mobile-nav-header img,.mobile-nav-header .custom-logo-link img{height:34px;width:auto;filter:brightness(0) invert(1);}
.mobile-menu-close{width:34px;height:34px;border-radius:6px;background:rgba(255,255,255,.1);
  border:none;color:#fff;display:flex;align-items:center;justify-content:center;
  transition:background .15s;flex-shrink:0;cursor:pointer;}
.mobile-menu-close:hover{background:rgba(255,255,255,.2);}
.mobile-menu-close svg{width:17px;height:17px;}

/* Inline search */
.mobile-nav-search{padding:12px 20px;border-bottom:1px solid rgba(255,255,255,.06);}
.mobile-nav-search form{display:flex;background:rgba(255,255,255,.08);border-radius:8px;
  border:1px solid rgba(255,255,255,.1);overflow:hidden;}
.mobile-nav-search input{flex:1;background:none;border:none;color:#fff;padding:10px 14px;font-size:14px;}
.mobile-nav-search input::placeholder{color:rgba(255,255,255,.4);}
.mobile-nav-search input:focus{outline:none;}
.mobile-nav-search button{background:none;border:none;color:rgba(255,255,255,.5);
  padding:0 14px;display:flex;align-items:center;cursor:pointer;}
.mobile-nav-search button svg{width:15px;height:15px;}

/* Quick pills */
.mobile-nav-pills{display:flex;gap:7px;padding:12px 20px;border-bottom:1px solid rgba(255,255,255,.05);flex-wrap:wrap;}
.mobile-nav-pill{display:flex;align-items:center;gap:5px;padding:6px 12px;
  background:rgba(255,255,255,.08);border-radius:9999px;font-size:11px;font-weight:700;
  color:rgba(255,255,255,.8);text-decoration:none;transition:all .15s;border:1px solid rgba(255,255,255,.06);}
.mobile-nav-pill:hover{background:var(--color-accent,#e8a020);color:#fff;border-color:var(--color-accent,#e8a020);}
.mobile-nav-pill svg{width:12px;height:12px;}

/* Nav links */
.mobile-nav-links{flex:1;padding:6px 0;list-style:none;margin:0;}
.mobile-nav-links li a{display:flex;align-items:center;justify-content:space-between;
  padding:13px 22px;color:rgba(255,255,255,.85);font-size:15px;font-weight:700;
  border-bottom:1px solid rgba(255,255,255,.04);transition:all .15s;text-decoration:none;}
.mobile-nav-links li a:hover,.mobile-nav-links li.current-menu-item>a{
  background:rgba(255,255,255,.06);color:var(--color-accent,#e8a020);}
.cc-nav-arrow{color:rgba(255,255,255,.25);font-size:16px;transition:transform .2s;}
.mobile-nav-links li.is-open>a .cc-nav-arrow{transform:rotate(45deg);}
.mobile-nav-links ul{display:none;background:rgba(0,0,0,.15);list-style:none;padding:0;margin:0;}
.mobile-nav-links li.is-open>ul{display:block;}
.mobile-nav-links ul li a{padding:10px 22px 10px 36px;font-size:13px;font-weight:600;}

/* Trust strip */
.mobile-nav-trust{padding:12px 20px;display:flex;gap:10px;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.05);}
.mobile-nav-trust-item{display:flex;align-items:center;gap:5px;font-size:10px;font-weight:700;color:rgba(255,255,255,.5);}

/* CTA footer */
.mobile-nav-footer{padding:14px 20px 24px;border-top:1px solid rgba(255,255,255,.07);display:flex;gap:10px;}
.mobile-nav-footer a{flex:1;display:flex;align-items:center;justify-content:center;
  padding:12px;border-radius:10px;font-size:13px;font-weight:800;text-align:center;
  transition:all .15s;text-decoration:none;}
.mobile-nav-cta-primary{background:var(--color-accent,#e8a020);color:#fff;}
.mobile-nav-cta-primary:hover{background:#d4911a;}
.mobile-nav-cta-secondary{background:rgba(255,255,255,.09);color:rgba(255,255,255,.9);border:1px solid rgba(255,255,255,.12);}
.mobile-nav-cta-secondary:hover{background:rgba(255,255,255,.16);}

/* ================================================================
   BOTTOM NAV — defined here, display:none by default (overridden at 640px)
   ================================================================ */
.cc-bottom-nav{
  position:fixed;bottom:0;left:0;right:0;z-index:8998;
  background:rgba(255,255,255,.97);border-top:1px solid rgba(0,0,0,.09);
  box-shadow:0 -4px 20px rgba(0,0,0,.09);padding-bottom:env(safe-area-inset-bottom,0);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);}
.cc-bnav-inner{display:grid;grid-template-columns:repeat(5,1fr);height:58px;}
.cc-bn-item{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  padding:6px 4px;color:#9ca3af;border:none;background:none;font-family:inherit;
  -webkit-tap-highlight-color:transparent;transition:color .15s;position:relative;
  text-decoration:none;cursor:pointer;}
.cc-bn-item.active,.cc-bn-item:hover{color:var(--color-primary,#1a4731);}
.cc-bn-item.active::after{content:'';position:absolute;bottom:0;left:25%;right:25%;
  height:2px;background:var(--color-primary,#1a4731);border-radius:2px 2px 0 0;}
.cc-bn-item svg{width:22px;height:22px;flex-shrink:0;stroke-width:1.75;}
.cc-bn-label{font-size:9px;font-weight:700;line-height:1;}
.cc-bn-cart-dot{position:absolute;top:8px;right:calc(50% - 14px);
  width:7px;height:7px;background:#e53935;border-radius:50%;border:2px solid #fff;display:none;}
.cc-bn-cart-dot.has-items{display:block;}

/* ================================================================
   FOOTER — ORIGINAL DESIGN PRESERVED
   Gold hover, dot bullets, circular social icons
   ================================================================ */

/* Footer grid */
.footer-grid,.cc-footer-grid{
  display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1fr;
  gap:var(--spacing-2xl,48px);}

/* Social — circular with gold hover (original design) */
.social-link{
  width:40px;height:40px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.08);color:rgba(255,255,255,.6);
  transition:all var(--transition-base,.25s);
  border:1px solid rgba(255,255,255,.1);text-decoration:none;}
.social-link:hover{
  background:var(--color-accent,#e8a020);color:#fff;
  border-color:var(--color-accent,#e8a020);transform:translateY(-3px);
  box-shadow:0 8px 20px rgba(232,160,32,.35);}
.social-link svg{width:16px;height:16px;}

/* Footer widget title with gold underline */
.footer-widget-title{
  font-size:var(--font-size-xl,18px);font-weight:700;color:#fff;
  margin-bottom:var(--spacing-xl,24px);position:relative;
  padding-bottom:var(--spacing-md,12px);}
.footer-widget-title::after{
  content:'';position:absolute;bottom:0;left:0;
  width:32px;height:2px;background:var(--color-accent,#e8a020);}

/* Footer links — dot bullet slides in on hover */
.footer-links{display:flex;flex-direction:column;gap:10px;list-style:none;padding:0;margin:0;}
.footer-links a,.footer-links li a{
  color:rgba(255,255,255,.55);font-size:var(--font-size-sm,14px);
  transition:all var(--transition-fast,.15s);display:flex;align-items:center;gap:8px;
  text-decoration:none;}
.footer-links a::before,.footer-links li a::before{
  content:'';display:block;width:4px;height:4px;border-radius:50%;
  background:var(--color-accent,#e8a020);flex-shrink:0;
  opacity:0;transition:opacity var(--transition-fast,.15s);}
.footer-links a:hover,.footer-links li a:hover{color:#fff;padding-left:8px;}
.footer-links a:hover::before,.footer-links li a:hover::before{opacity:1;}

/* Footer logo & about */
.footer-logo{display:flex;align-items:center;gap:10px;text-decoration:none;margin-bottom:16px;}
.footer-logo-img,.footer-logo img{max-height:48px;width:auto;}
.footer-logo-text{font-size:20px;font-weight:900;color:var(--color-accent,#e8a020);}
.footer-logo .logo-name{color:#fff;font-size:18px;font-weight:900;}
.footer-logo .logo-tagline{color:rgba(255,255,255,.4);font-size:10px;letter-spacing:.1em;text-transform:uppercase;}
.footer-about{font-size:14px;color:rgba(255,255,255,.5);line-height:1.7;
  margin-bottom:var(--spacing-xl,24px);max-width:280px;}
.footer-social{display:flex;gap:10px;flex-wrap:wrap;}

/* ================================================================
   DOCTOR / APPOINTMENT FORMS
   ================================================================ */
.cc-form-wrap{max-width:680px;margin:0 auto;padding:clamp(32px,5vw,56px) clamp(16px,4vw,32px);}
.cc-form-hero{background:var(--color-primary,#1a4731);padding:clamp(48px,7vw,80px) 0;
  text-align:center;color:#fff;}
.cc-form-eyebrow{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:var(--color-accent,#e8a020);margin-bottom:8px;}
.cc-form-title{font-size:clamp(26px,5vw,48px);font-weight:900;color:#fff;margin:0 0 10px;}
.cc-form-subtitle{font-size:15px;color:rgba(255,255,255,.7);max-width:500px;margin:0 auto;}

.cc-consult-form{background:#fff;border-radius:16px;padding:clamp(24px,4vw,40px);
  box-shadow:0 4px 24px rgba(0,0,0,.08);border:1px solid #eee;}
.cc-consult-form h2{font-size:20px;font-weight:800;color:var(--color-primary,#1a4731);margin:0 0 6px;}
.cc-consult-form .cc-form-note{font-size:13px;color:#888;margin-bottom:24px;
  padding-bottom:20px;border-bottom:1px solid #f0f0f0;}
.cc-form-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.cc-field{display:flex;flex-direction:column;gap:6px;margin-bottom:16px;}
.cc-field label{font-size:13px;font-weight:700;color:var(--color-primary,#1a4731);}
.cc-field label .req{color:#e53935;}
.cc-field input,.cc-field select,.cc-field textarea{
  width:100%;padding:11px 14px;border:2px solid #e5e5e5;border-radius:8px;
  font-size:14px;color:#333;background:#fff;transition:border-color .15s;font-family:inherit;}
.cc-field input:focus,.cc-field select:focus,.cc-field textarea:focus{
  border-color:var(--color-primary,#1a4731);outline:none;background:#fafff8;}
.cc-field textarea{min-height:110px;resize:vertical;}
.cc-field-hint{font-size:11px;color:#aaa;margin-top:2px;}
.cc-form-section-title{font-size:12px;font-weight:800;text-transform:uppercase;
  letter-spacing:.08em;color:var(--color-accent,#e8a020);
  margin:20px 0 12px;padding-bottom:6px;border-bottom:1px solid #f0f0f0;}
.cc-form-submit-btn{
  width:100%;padding:14px 24px;background:var(--color-primary,#1a4731);color:#fff;
  border:none;border-radius:10px;font-size:15px;font-weight:800;cursor:pointer;
  transition:all .18s;margin-top:8px;display:flex;align-items:center;justify-content:center;gap:8px;}
.cc-form-submit-btn:hover{background:var(--color-accent,#e8a020);transform:translateY(-1px);
  box-shadow:0 6px 20px rgba(0,0,0,.15);}
.cc-trust-badges-row{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:20px;}
.cc-trust-badge-chip{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;
  color:#555;padding:6px 12px;background:#f9f9f9;border:1px solid #e5e5e5;border-radius:9999px;}

/* ================================================================
   MY ACCOUNT — HEALTH DASHBOARD
   ================================================================ */
.cc-health-dashboard{margin-top:32px;border-top:2px solid #f0f0f0;padding-top:28px;}
.cc-health-dashboard-title{font-size:18px;font-weight:800;color:var(--color-primary,#1a4731);margin-bottom:6px;}
.cc-health-dashboard-desc{font-size:13px;color:#888;margin-bottom:20px;}
.cc-consultation-card{border:2px solid #e5e5e5;border-radius:12px;padding:20px;margin-bottom:16px;transition:border-color .15s;}
.cc-consultation-card:hover{border-color:var(--color-primary,#1a4731);}
.cc-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px;flex-wrap:wrap;}
.cc-card-meta{font-size:12px;color:#aaa;}
.cc-status-badge{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:800;padding:3px 10px;border-radius:9999px;}
.cc-status-pending{background:#fef9c3;color:#854d0e;}
.cc-status-answered{background:#dcfce7;color:#14532d;}
.cc-question-box{background:#f8f9fa;border-radius:8px;padding:14px;margin-bottom:10px;}
.cc-question-label{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#aaa;margin-bottom:5px;}
.cc-question-text{font-size:14px;color:#333;line-height:1.6;}
.cc-answer-box{background:#f0fdf4;border:1px solid #86efac;border-radius:8px;padding:14px;}
.cc-answer-label{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#15803d;margin-bottom:5px;display:flex;align-items:center;gap:5px;}
.cc-answer-text{font-size:14px;color:#166534;line-height:1.6;}
.cc-no-consultations{text-align:center;padding:32px 20px;border:2px dashed #e5e5e5;border-radius:12px;color:#aaa;}
.cc-no-consultations p{font-size:14px;margin-bottom:12px;}
.cc-ask-new-btn{display:inline-flex;align-items:center;gap:7px;padding:10px 20px;
  background:var(--color-primary,#1a4731);color:#fff;border-radius:8px;font-size:13px;
  font-weight:800;text-decoration:none;transition:all .15s;margin-top:16px;}
.cc-ask-new-btn:hover{background:var(--color-accent,#e8a020);}

/* Appointment info box */
.cc-appt-info-box{background:var(--color-primary,#1a4731);color:#fff;border-radius:12px;padding:24px;margin-bottom:24px;}
.cc-appt-info-box h3{font-size:16px;font-weight:800;margin-bottom:10px;}
.cc-appt-steps{display:flex;flex-direction:column;gap:8px;}
.cc-appt-step{display:flex;align-items:flex-start;gap:10px;font-size:13px;color:rgba(255,255,255,.8);}
.cc-appt-step-num{width:22px;height:22px;border-radius:50%;background:var(--color-accent,#e8a020);
  color:#fff;font-size:11px;font-weight:900;display:flex;align-items:center;justify-content:center;
  flex-shrink:0;margin-top:1px;}

/* ================================================================
   BREAKPOINT — 1200px
   ================================================================ */
@media(max-width:1200px){
  .footer-grid,.cc-footer-grid{grid-template-columns:1fr 1fr 1fr;gap:32px;}
  .footer-brand-col{grid-column:1/-1;}
  .footer-about{max-width:100%;}
}

/* ================================================================
   BREAKPOINT — 1024px
   ================================================================ */
@media(max-width:1024px){
  .footer-grid,.cc-footer-grid{grid-template-columns:1fr 1fr;gap:32px;}
  .footer-brand-col{grid-column:1/-1;}
}

/* ================================================================
   BREAKPOINT — 900px  →  MOBILE MENU ACTIVATES
   ================================================================ */
@media(max-width:900px){
  .main-navigation{display:none!important;}
  .mobile-menu-toggle{display:flex!important;}   /* reveal toggle */
  .header-search-wrap input{display:none!important;}
}

/* ================================================================
   BREAKPOINT — 768px
   ================================================================ */
@media(max-width:768px){
  .site-topbar{display:none;}
  .header-inner{min-height:58px;}

  /* Products 2-col */
  ul.products{grid-template-columns:repeat(2,1fr)!important;gap:12px!important;}
  li.product .woocommerce-loop-product__title{font-size:13px;padding:10px 12px 4px;}
  li.product .price{font-size:13px;padding:0 12px 7px;}
  li.product .button{font-size:12px;padding:9px 10px;margin:auto 10px 10px;width:calc(100% - 20px);}

  /* Single product */
  .cc-product-top,.s1-product-grid,.s2-product-grid,.s3-product-grid{grid-template-columns:1fr!important;gap:20px!important;}
  .cc-gallery-col,.s1-gallery,.s2-gallery,.s3-gallery{order:-1;}
  .cc-thumbnails-col,.s1-thumbs-col{display:flex!important;flex-direction:row!important;gap:8px!important;overflow-x:auto;}
  .cc-thumb-img,.s1-thumb-img{width:60px!important;height:60px!important;min-width:60px!important;}

  /* Hero */
  .hero-inner,.carecure-hero-inner{flex-direction:column!important;}
  .hero-content,.hero-visual,.carecure-hero-content,.carecure-hero-img-wrap{width:100%!important;}

  /* Banners */
  .promo-grid,.carecure-banners-row,.cc-banners-row{grid-template-columns:1fr!important;}

  /* Footer */
  .footer-grid,.cc-footer-grid{grid-template-columns:1fr 1fr!important;gap:28px 20px;}
  .footer-brand-col{grid-column:1/-1;}
  .footer-top-bar .container{flex-direction:column;align-items:flex-start;gap:16px;}
  .newsletter-form{min-width:auto;width:100%;}

  /* WC checkout */
  .woocommerce form .form-row-first,.woocommerce form .form-row-last{float:none!important;width:100%!important;}

  /* Doctor form */
  .cc-form-grid-2{grid-template-columns:1fr;}
}

/* ================================================================
   BREAKPOINT — 640px  →  BOTTOM NAV ACTIVATES
   ================================================================ */
@media(max-width:640px){
  .cc-bottom-nav{display:block!important;}        /* reveal bottom nav */
  body.has-bottom-nav{padding-bottom:calc(58px + env(safe-area-inset-bottom,0));}

  /* Hide wishlist from header (save space) */
  .header-action-btn[aria-label="Wishlist"]{display:none;}

  /* Footer — full width then accordion */
  .footer-grid,.cc-footer-grid{grid-template-columns:1fr!important;}
  .footer-brand-col{grid-column:auto;}
  .footer-col-head{cursor:pointer;display:flex;align-items:center;justify-content:space-between;user-select:none;}
  .footer-col-toggle{font-size:16px;color:rgba(255,255,255,.4);flex-shrink:0;line-height:1;transition:transform .25s;}
  .footer-col.is-open .footer-col-toggle{transform:rotate(45deg);}
  .footer-col .footer-links{max-height:0;overflow:hidden;transition:max-height .35s ease;}
  .footer-col.is-open .footer-links{max-height:300px;}
  .footer-col .footer-widget-title{margin-bottom:0;padding-bottom:10px;}
  .footer-col.is-open .footer-widget-title{margin-bottom:12px;}

  /* WC */
  .woocommerce-checkout #customer_details{width:100%;float:none;margin:0;}
  .woocommerce-checkout #order_review,.woocommerce-checkout #order_review_heading{width:100%;float:none;}
  .woocommerce-cart table.cart{display:block;overflow-x:auto;}
}

/* ================================================================
   BREAKPOINT — 480px
   ================================================================ */
@media(max-width:480px){
  .container{padding:0 14px;}
  .logo-tagline{display:none;}
  ul.products{gap:8px!important;}
  li.product .woocommerce-loop-product__title{font-size:12px;}
  li.product .price{font-size:12px;}
  li.product .button{font-size:11px;}
  .cc-form-grid-2{grid-template-columns:1fr;}
  .cc-consultation-card{padding:14px;}
  /* Bottom nav icons only */
  .cc-bn-label{display:none;}
  .cc-bnav-inner{height:52px;}
}

/* ================================================================
   TOUCH & ACCESSIBILITY
   ================================================================ */
@media(hover:none) and (pointer:coarse){
  a,button,[role=button]{min-height:44px;}
  .mobile-nav-links li a{min-height:48px;}
  li.product .button{min-height:42px;}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;}}
:focus-visible{outline:2px solid var(--color-primary,#1a4731);outline-offset:3px;border-radius:2px;}

/* Landscape phone */
@media(max-height:480px) and (orientation:landscape){
  .cc-bottom-nav{display:none!important;}
  body.has-bottom-nav{padding-bottom:0;}
}

/* ================================================================
   PRINT
   ================================================================ */
@media print{
  .site-topbar,.site-header,.site-footer,.mobile-nav-panel,
  .cc-bottom-nav,.mobile-menu-toggle{display:none!important;}
}

/* ============================================================
   HERO SECTION — REDESIGNED (v11)
   Fixes text overflow, improves visual impact and layout
============================================================ */

/* Taller, richer background */
.hero-section {
  min-height: 620px !important;
  padding: 0 !important;
  background: #0a1f14 !important;
}

.hero-bg {
  background:
    radial-gradient(ellipse at 10% 60%, rgba(141,198,63,0.13) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(232,160,32,0.18) 0%, transparent 50%),
    linear-gradient(150deg, #0a1f14 0%, #122a1a 40%, #0d1f28 100%) !important;
}

/* Subtle diagonal bottom cut */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--color-off-white, #f8f9f4);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
  z-index: 2;
}

/* Container padding inside hero */
.hero-section > .container,
.hero-section > .container > div {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Two-column grid — give content side more room */
.hero-inner-grid {
  grid-template-columns: 1fr 420px !important;
  gap: var(--spacing-3xl) !important;
  align-items: center;
}

/* Eyebrow pill — shrinks to content, never wraps */
.hero-eyebrow {
  font-size: 11px !important;
  padding: 5px 16px !important;
  white-space: nowrap;
  background: rgba(141,198,63,0.15) !important;
  border-color: rgba(141,198,63,0.35) !important;
  color: #8dc63f !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
}

/* Headline — bigger, tighter leading */
.hero-title {
  font-size: clamp(38px, 4.5vw, 64px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 20px !important;
}

/* Second line of headline in gold accent */
.hero-title em {
  display: block;
  font-style: normal !important;
  color: var(--color-accent, #e8a020) !important;
}

/* Subtitle — one or two lines max */
.hero-subtitle {
  font-size: 16px !important;
  line-height: 1.65 !important;
  color: rgba(255,255,255,0.7) !important;
  margin-bottom: 28px !important;
  max-width: 500px;
}

/* CTA buttons row */
.hero-cta-group {
  gap: 12px !important;
  margin-bottom: 4px;
}

/* Stats row — tighter, cleaner */
.hero-stats {
  margin: 28px 0 24px !important;
  padding: 16px 20px !important;
  gap: 0 !important;
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(255,255,255,0.1) !important;
  border-radius: 12px !important;
}

.hero-stat {
  flex: 1;
  padding: 0 12px;
}

.hero-stat strong {
  font-size: 22px !important;
  color: #8dc63f !important;
}

.hero-stat span {
  font-size: 10px !important;
  letter-spacing: 0.08em !important;
  line-height: 1.3;
  margin-top: 3px !important;
  white-space: nowrap;
}

.hero-stat-sep {
  width: 1px !important;
  height: 30px !important;
  align-self: center;
  background: rgba(255,255,255,0.12) !important;
  flex-shrink: 0;
}

/* Cert badges row */
.hero-certifications {
  gap: 6px !important;
  margin-top: 18px !important;
}

.cert-badge {
  font-size: 10px !important;
  padding: 4px 10px !important;
  white-space: nowrap;
  background: rgba(141,198,63,0.08) !important;
  border-color: rgba(141,198,63,0.2) !important;
  color: rgba(255,255,255,0.75) !important;
}

.cert-badge:hover {
  background: rgba(141,198,63,0.2) !important;
  border-color: #8dc63f !important;
  color: #fff !important;
}

/* Right side visual — larger circle with glow */
.hero-product-circle {
  width: 360px !important;
  height: 360px !important;
  background: radial-gradient(circle at 40% 40%, rgba(141,198,63,0.18), rgba(26,71,49,0.85)) !important;
  box-shadow:
    0 0 60px rgba(141,198,63,0.2),
    0 0 120px rgba(141,198,63,0.08),
    inset 0 1px 0 rgba(255,255,255,0.1) !important;
  border: 1px solid rgba(141,198,63,0.2) !important;
}

.hero-product-glow {
  width: 420px !important;
  height: 420px !important;
  background: radial-gradient(circle, rgba(141,198,63,0.15) 0%, transparent 70%) !important;
}

/* Remove sale badge if empty */
.hero-sale-badge:empty { display: none !important; }

/* ── MOBILE hero adjustments ──────────────────────────── */
@media (max-width: 768px) {
  .hero-section { min-height: auto !important; }
  .hero-section::after { height: 40px; }
  .hero-inner-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
  .hero-eyebrow { margin-left: auto; margin-right: auto; }
  .hero-subtitle { max-width: 100%; }
  .hero-cta-group { justify-content: center; }
  .hero-certifications { justify-content: center; }
  .hero-stat span { white-space: normal; }
}
