/*
 * hc.css — HiCity Store design system (1:1 port of the Claude Design standalone).
 * Source of truth: _design/rendered.html + _design/design.css + _design/PORT-PLAN.md.
 * ~99% of the design is inline per-element; this file holds the token layer, the
 * global .hc-* class layer, the reveal-intro, and the responsive layer.
 */

/* ----------------------------------------------------------------- tokens -- */
:root{
  --bg:#fff; --alt:#f5f5f7; --card:#fff; --nav:rgba(255,255,255,.72);
  --text:#1d1d1f; --dim:#6e6e73; --navlink:#6e6e73; --logo:rgba(29,29,31,.8);
  --border:rgba(0,0,0,.09); --coral:#e96c62; --coralsoft:rgba(233,108,98,.12);
  --blue:#589dba; --bluesoft:rgba(88,157,186,.13); --stripe:rgba(0,0,0,.025);
  --cardshadow:0 1px 2px rgba(0,0,0,.06);
  --soft:inset 0 1px 0 rgba(255,255,255,.5), 0 1px 2px rgba(17,24,39,.03), 0 10px 22px -14px rgba(17,24,39,.10);
  --soft-in:inset 0 2px 5px rgba(17,24,39,.10);
  --hl:rgba(255,255,255,.6);
  --herobox:radial-gradient(130% 110% at 50% 0%, #ffffff 0%, #fafafb 55%, #f1f1f4 100%);
  --heroborder:rgba(0,0,0,.08);
}
/* dark — explicit choice via the no-FOUC head script (data-theme) ... */
html[data-theme="dark"]{
  --bg:#000; --alt:#0c0c0e; --card:#161618; --nav:rgba(10,10,12,.72);
  --text:#f5f5f7; --dim:#86868b; --navlink:#aeaeb2; --logo:#ececef;
  --border:rgba(255,255,255,.12); --coral:#e96c62; --coralsoft:rgba(244,126,116,.16);
  --blue:#74b6d2; --bluesoft:rgba(116,182,210,.16); --stripe:rgba(255,255,255,.04);
  --cardshadow:0 1px 2px rgba(0,0,0,.5);
  --soft:inset 0 1px 0 rgba(255,255,255,.04), 0 1px 2px rgba(0,0,0,.4), 0 12px 28px -16px rgba(0,0,0,.55);
  --soft-in:inset 0 2px 5px rgba(0,0,0,.5);
  --hl:rgba(255,255,255,.06);
  --herobox:radial-gradient(130% 110% at 50% 0%, #26262b 0%, #1a1a1d 46%, #131315 100%);
  --heroborder:rgba(255,255,255,.14);
}
/* ... and follow the OS when the visitor has made no explicit choice. */
@media (prefers-color-scheme:dark){
  html:not([data-theme="light"]){
    --bg:#000; --alt:#0c0c0e; --card:#161618; --nav:rgba(10,10,12,.72);
    --text:#f5f5f7; --dim:#86868b; --navlink:#aeaeb2; --logo:#ececef;
    --border:rgba(255,255,255,.12); --coral:#e96c62; --coralsoft:rgba(244,126,116,.16);
    --blue:#74b6d2; --bluesoft:rgba(116,182,210,.16); --stripe:rgba(255,255,255,.04);
    --cardshadow:0 1px 2px rgba(0,0,0,.5);
    --soft:inset 0 1px 0 rgba(255,255,255,.04), 0 1px 2px rgba(0,0,0,.4), 0 12px 28px -16px rgba(0,0,0,.55);
    --soft-in:inset 0 2px 5px rgba(0,0,0,.5);
    --hl:rgba(255,255,255,.06);
    --herobox:radial-gradient(130% 110% at 50% 0%, #26262b 0%, #1a1a1d 46%, #131315 100%);
    --heroborder:rgba(255,255,255,.14);
  }
}

/* ------------------------------------------------------------------- base -- */
*{box-sizing:border-box;margin:0;padding:0}
html{ -webkit-text-size-adjust:100%; }
body{
  font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
  background:var(--bg); color:var(--text);
}
html.hc-themed body{transition:background .4s ease, color .4s ease}
a{color:inherit;text-decoration:none}
img{max-width:100%}
input,select,textarea{font-family:inherit}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--coral)!important}
::placeholder{color:var(--dim,#9a9aa0)}
details>summary{list-style:none;cursor:pointer}
summary::-webkit-details-marker{display:none}

/* global scale: makes 100% read like ~85% (matches the design's .hc-shell zoom) */
.hc-shell{zoom:.85;min-height:calc(100vh / 0.85);display:flex;flex-direction:column}
.hc-main{flex:1 0 auto}

/* --------------------------------------------------------------- buttons --- */
.hc-cta{transition:transform .15s ease, opacity .15s ease, background .15s ease;white-space:nowrap;text-decoration:none}
.hc-btn-coral,.hc-btn-ghost,.hc-btn-coral-sm,a.button,.button{text-decoration:none}
.hc-cta:hover{opacity:.88}
.hc-cta:active{transform:scale(.98)}
/* add-to-cart loading spinner */
@keyframes hc-spin{to{transform:rotate(360deg)}}
.hc-cta.loading{position:relative;pointer-events:none;color:transparent!important}
.hc-cta.loading svg{opacity:0}
.hc-cta.loading::after{content:'';position:absolute;top:50%;left:50%;width:16px;height:16px;margin:-8px 0 0 -8px;border:2px solid var(--coral);border-right-color:transparent;border-radius:50%;animation:hc-spin .6s linear infinite}
.hc-added{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;color:var(--coral)!important;border-color:var(--coral)!important;background:var(--coralsoft)!important}
.hc-added svg{flex:0 0 auto}

/* coral pill (primary CTA) — exact gradient/border/shadow from the design */
.hc-btn-coral{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-size:16px;font-weight:500;color:#fff;font-family:inherit;cursor:pointer;
  padding:15px 32px;border-radius:980px;
  background:linear-gradient(180deg,color-mix(in srgb,var(--coral) 90%,#fff),var(--coral) 58%,color-mix(in srgb,var(--coral) 90%,#000));
  border:1px solid color-mix(in srgb,var(--coral) 72%,#000);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.42),inset 0 -2px 2px rgba(0,0,0,.10),0 2px 3px rgba(0,0,0,.12),0 8px 18px -8px color-mix(in srgb,var(--coral) 42%,transparent);
}
/* ghost pill (secondary CTA) */
.hc-btn-ghost{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-size:16px;font-weight:500;color:var(--text);font-family:inherit;cursor:pointer;
  padding:15px 28px;border-radius:980px;background:var(--card);border:1px solid var(--border);
  box-shadow:inset 0 1px 0 var(--hl),0 1px 2px rgba(0,0,0,.05),0 6px 16px -6px rgba(17,24,39,.16);
}
/* small coral pill (nav cart / mini-cart checkout) */
.hc-btn-coral-sm{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  font-size:14px;font-weight:500;color:#fff;font-family:inherit;cursor:pointer;
  padding:8px 14px;border-radius:980px;
  background:linear-gradient(180deg,color-mix(in srgb,var(--coral) 90%,#fff),var(--coral) 58%,color-mix(in srgb,var(--coral) 90%,#000));
  border:1px solid color-mix(in srgb,var(--coral) 72%,#000);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 1px 2px rgba(0,0,0,.14);
}

.hc-chip{background:transparent;color:var(--text);border:1px solid var(--border);font-size:13px;font-weight:500;padding:9px 20px;border-radius:980px;cursor:pointer;font-family:inherit;white-space:nowrap;transition:background .15s ease,color .15s ease,border-color .15s ease}
.hc-chip.is-active{background:var(--coral);color:#fff;border-color:var(--coral)}

/* ----------------------------------------------------------------- cards --- */
.hc-card{transition:transform .25s ease, box-shadow .25s ease, border-color .2s ease}
.hc-prod{cursor:pointer}
.hc-prod:hover{transform:translateY(-4px);box-shadow:0 18px 50px rgba(0,0,0,.1)}
.hc-soft{box-shadow:var(--soft);transition:box-shadow .18s ease, transform .15s ease}
/* press effect only on interactive cards (links/buttons) — static container cards
   like the checkout Order summary must not shift on click */
a.hc-soft:active,button.hc-soft:active{box-shadow:var(--soft-in);transform:translateY(1px)}

/* --------------------------------------------------------------- reveal ---- */
/* Pure-CSS staggered fade/slide-up intro. Visible by default; only animates when
   the head script has added .anim (= JS present AND motion allowed), so no-JS and
   reduced-motion visitors never see hidden content. Stagger via inline animation-delay. */
@keyframes hcRise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.hc-reveal{opacity:1}
html.anim .hc-reveal{opacity:0;animation:hcRise .7s cubic-bezier(.2,.7,.2,1) forwards;will-change:opacity,transform}
@media (prefers-reduced-motion:reduce){
  html.anim .hc-reveal{opacity:1;animation:none}
}

/* faq accordion plus icon */
.faq-plus{transition:transform .25s ease}
details[open] .faq-plus{transform:rotate(45deg)}

/* --------------------------------------------------------- nav + mini-cart - */
.hc-cartwrap{position:relative}
.hc-minicart{position:absolute;top:calc(100% + 14px);right:0;width:330px;background:var(--card);border:1px solid var(--border);border-radius:18px;box-shadow:0 24px 60px -16px rgba(0,0,0,.34),0 4px 12px rgba(0,0,0,.08);padding:18px;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .2s ease,transform .2s ease,visibility .2s;z-index:60}
.hc-cartwrap:hover .hc-minicart,.hc-cartwrap:focus-within .hc-minicart,.hc-cartwrap.hc-open .hc-minicart{opacity:1;visibility:visible;transform:translateY(0)}
.hc-minicart::before{content:'';position:absolute;top:-14px;left:0;right:0;height:14px}

.hc-navmenu-btn{display:none;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;border:1px solid var(--border);background:var(--card);cursor:pointer;color:var(--text);box-shadow:var(--soft)}
.hc-mobile-menu{display:none}

/* theme toggle sun/moon (CSS-driven = no flash; hc.js only flips data-theme) */
.hc-toggle{position:relative;width:40px;height:40px;flex:0 0 auto;border-radius:50%;border:1px solid var(--border);background:var(--card);box-shadow:var(--soft);cursor:pointer;overflow:hidden}
.hc-toggle .hc-ico{position:absolute;top:50%;left:50%;display:flex;transition:opacity .4s ease,transform .5s cubic-bezier(.2,.8,.2,1)}
.hc-sun{transform:translate(-50%,-50%) rotate(0) scale(1);opacity:1}
.hc-moon{transform:translate(-50%,-50%) rotate(90deg) scale(.3);opacity:0}
html[data-theme="dark"] .hc-sun{transform:translate(-50%,-50%) rotate(-90deg) scale(.3);opacity:0}
html[data-theme="dark"] .hc-moon{transform:translate(-50%,-50%) rotate(0) scale(1);opacity:1}
@media (prefers-color-scheme:dark){
  html:not([data-theme="light"]) .hc-sun{transform:translate(-50%,-50%) rotate(-90deg) scale(.3);opacity:0}
  html:not([data-theme="light"]) .hc-moon{transform:translate(-50%,-50%) rotate(0) scale(1);opacity:1}
}

/* cart badge */
.hc-cartbadge{min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:rgba(255,255,255,.25);display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:600}
/* cart button: the count badge sits in-flow, so a scale() press shifts the icon
   sideways — use a straight push-down instead (steady, no sideways jump) */
.hc-cartwrap>.hc-cta:active{transform:translateY(1px)}
.hc-cartbadge[hidden]{display:none}

/* weidian confirm modal */
.hc-modal{position:fixed;inset:0;z-index:200;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(0,0,0,.45);backdrop-filter:blur(3px)}
.hc-modal.open{display:flex}
.hc-modal-card{background:var(--card);border:1px solid var(--border);border-radius:22px;box-shadow:0 32px 80px -20px rgba(0,0,0,.5);padding:30px;max-width:420px;width:100%;text-align:center}

/* native variation swatches (design pills) */
.hc-swatch{display:inline-flex;align-items:center;gap:9px;font-size:13px;font-weight:500;padding:9px 16px;border-radius:980px;cursor:pointer;font-family:inherit;color:var(--text);background:transparent;border:1.5px solid var(--border);transition:border-color .15s ease,background .15s ease}
.hc-swatch:hover{border-color:var(--coral)}
.hc-swatch.is-active{border-color:var(--coral);background:var(--coralsoft)}
.hc-swatch-dot{width:16px;height:16px;border-radius:50%;flex:0 0 auto;box-shadow:inset 0 0 0 1px rgba(0,0,0,.14)}
/* quantity stepper: hide native number spinners so the digits stay centred */
#hc-qty{padding:0!important;text-align:center;-moz-appearance:textfield;appearance:textfield}
#hc-qty::-webkit-outer-spin-button,#hc-qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.hc-shake{animation:hc-shake .4s cubic-bezier(.36,.07,.19,.97)}
@keyframes hc-shake{10%,90%{transform:translateX(-1px)}20%,80%{transform:translateX(2px)}30%,50%,70%{transform:translateX(-4px)}40%,60%{transform:translateX(4px)}}

/* variable-product add-to-cart form, styled to match the design */
.hc-woo-atc .variations{width:100%;border-collapse:collapse;margin-bottom:6px}
.hc-woo-atc .variations th,.hc-woo-atc .variations td{display:block;text-align:left;padding:0}
.hc-woo-atc .variations th label{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--dim);margin-bottom:10px;display:block}
.hc-woo-atc .variations td{margin-bottom:18px}
.hc-woo-atc .variations select{padding:11px 14px;border-radius:12px;border:1px solid var(--border);background:var(--card);color:var(--text);font-size:15px}
.hc-woo-atc .reset_variations{display:inline-block;margin-top:8px;font-size:12px;color:var(--dim)}
.hc-woo-atc .qty{width:64px;height:46px;text-align:center;border:1px solid var(--border);border-radius:980px;background:var(--card);font-size:16px;font-weight:600;color:var(--text);font-family:inherit;box-shadow:var(--soft);-moz-appearance:textfield}
.hc-woo-atc .woocommerce-variation-add-to-cart{display:flex;gap:12px;align-items:center;margin-top:10px;flex-wrap:wrap}
.hc-woo-atc .single_add_to_cart_button{flex:1;min-width:200px;font-size:15px;font-weight:600;color:#fff;font-family:inherit;cursor:pointer;padding:15px 24px;border-radius:980px;border:1px solid color-mix(in srgb,var(--coral) 72%,#000);background:linear-gradient(180deg,color-mix(in srgb,var(--coral) 90%,#fff),var(--coral) 58%,color-mix(in srgb,var(--coral) 90%,#000));box-shadow:var(--soft);transition:opacity .15s}
.hc-woo-atc .single_add_to_cart_button:hover{opacity:.9}
.hc-woo-atc .single_add_to_cart_button.disabled,.hc-woo-atc .single_add_to_cart_button:disabled{opacity:.45;cursor:not-allowed}
.hc-woo-atc .single_variation .price{font-size:22px;font-weight:600;color:var(--coral);margin-bottom:10px}
.hc-woo-atc .woo-variation-swatches .variable-items-wrapper{display:flex;gap:10px;flex-wrap:wrap}
.hc-woo-atc .woo-variation-swatches .variable-item{border-radius:50%!important;box-shadow:0 0 0 1.5px var(--border)!important;margin:0!important}
.hc-woo-atc .woo-variation-swatches .variable-item.selected,.hc-woo-atc .woo-variation-swatches .variable-item:hover{box-shadow:0 0 0 2px var(--coral)!important}

/* product image tiles — robust against Imagify's <picture> wrapping, which
   strips inline img styles. display:contents lets the img be a flex child. */
.hc-hide{display:none!important}
.hc-imgtile{display:flex;align-items:center;justify-content:center;overflow:hidden}
/* keep the card image tile a fixed square — don't let flex-stretch make it tall */
.hc-prodcard>.hc-imgtile{align-self:flex-start;width:150px;height:150px;flex:0 0 150px}
@media(max-width:480px){.hc-prodcard>.hc-imgtile{align-self:center!important;width:100%!important;max-width:230px!important;height:auto!important;flex:0 0 auto!important}}
.hc-imgtile picture{display:contents}
.hc-imgtile img{max-width:86%!important;max-height:86%!important;width:auto!important;height:auto!important;object-fit:contain}
.hc-imgtile-pad img{max-width:66%!important;max-height:66%!important}
.hc-imgtile-lg img{max-width:78%!important;max-height:78%!important}
/* belt-and-braces: never let an Imagify <picture> blow out a sized container */
.hc-shell picture{max-width:100%}
.hc-shell picture img{max-width:100%;height:auto}

/* WooCommerce notices, styled to the design */
.woocommerce-notices-wrapper{width:100%;max-width:none;margin:0;padding:0 24px;box-sizing:border-box}
.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-noreviews{
  max-width:760px;margin:24px auto 18px;padding:14px 18px;border-radius:14px;
  background:var(--card);border:1px solid var(--border);border-left:3px solid var(--coral);
  box-shadow:var(--soft);color:var(--text);font-size:14px;list-style:none;
  display:flex;align-items:center;gap:12px;flex-wrap:wrap}
/* checkout notices: full content width (no side gutters), span both columns */
.woocommerce-checkout .woocommerce-message,.woocommerce-checkout .woocommerce-info,.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-NoticeGroup{max-width:none;width:100%;margin:0 0 22px;box-sizing:border-box}
.woocommerce-checkout .woocommerce-NoticeGroup{grid-column:1 / -1}
.woocommerce-error{border-left-color:#e5484d}
/* success/info notices read better centred (e.g. "added to your cart" / "removed"); errors stay left */
.woocommerce-message,.woocommerce-info{justify-content:center;text-align:center}
.woocommerce-message a,.woocommerce-info a,.woocommerce-error a{color:var(--coral);font-weight:600;text-decoration:none}
.woocommerce-message .button,.woocommerce-info .button{margin-left:14px;font-size:13px;font-weight:600;color:#fff;background:var(--coral);border:none;padding:8px 16px;border-radius:980px;text-decoration:none}
.woocommerce-NoticeGroup,.woocommerce-notices-wrapper{display:block}

/* content-page prose */
.hc-prose h2{font-size:24px;font-weight:600;color:var(--text);margin:30px 0 12px;letter-spacing:-.02em}
.hc-prose h3{font-size:19px;font-weight:600;color:var(--text);margin:24px 0 10px}
.hc-prose p{margin:0 0 16px}
.hc-prose a{color:var(--coral);text-decoration:none}
.hc-prose a:hover{opacity:.8}
.hc-prose ul,.hc-prose ol{margin:0 0 16px 22px}
.hc-prose li{margin:7px 0}
.hc-prose img{border-radius:14px;height:auto}
/* the manual-payment gateway tucks an <hr> inside its details list; on the web
   thank-you page it renders indented/out of place and the card already has an
   "Amount due" divider below, so hide it here (web only — the email styles it
   full-width separately via woocommerce_email_styles, and that stays). */
.woocommerce-ew_wise-bank-details hr,.hc-prose .ew_wise_details hr{display:none}
.hc-prose strong{color:var(--text)}

/* checkout — Woo machinery styled to the design */
.hc-checkout .woocommerce-billing-fields,.hc-checkout .woocommerce-billing-fields__field-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.hc-checkout .form-row{margin:0;padding:0}
.hc-checkout .form-row-wide,.hc-checkout #order_comments_field{grid-column:1 / -1}
.hc-checkout .woocommerce-billing-fields label{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hc-checkout .input-text,.hc-checkout textarea,.hc-checkout select{width:100%;padding:14px 16px;border:1px solid var(--border);border-radius:12px;background:var(--card);color:var(--text);font-size:15px;font-family:inherit;box-shadow:var(--soft)}
.hc-checkout .input-text:focus{border-color:var(--coral)}
/* validation: a clean coral-red border on invalid fields (nicer than a bare error line) */
.hc-checkout .woocommerce-invalid .input-text,.hc-checkout .woocommerce-invalid input,.hc-checkout .woocommerce-invalid textarea,.hc-checkout .woocommerce-invalid select,.hc-checkout .woocommerce-invalid .select2-selection{border-color:#e5484d!important}
.hc-checkout .woocommerce-invalid .input-text:focus{box-shadow:0 0 0 3px rgba(229,72,77,.12)}
/* WC inline field error (the <p class="checkout-inline-error-message"> under a field):
   theme it to the design — error-red, smaller, with breathing room from the input. */
.hc-checkout .checkout-inline-error-message,.hc-checkout p.checkout-inline-error-message{color:#e5484d;font-size:12.5px;font-weight:500;line-height:1.45;margin:7px 2px 0;padding:0}
/* free address autocomplete (Photon/OSM) */
.hc-ac{list-style:none;margin:6px 0 0;padding:6px;position:absolute;z-index:60;left:0;right:0;top:100%;background:var(--card);border:1px solid var(--border);border-radius:14px;box-shadow:0 18px 40px -14px rgba(0,0,0,.28);max-height:286px;overflow:auto}
.hc-ac[hidden]{display:none}
.hc-ac-item{display:flex;flex-direction:column;gap:1px;padding:10px 12px;border-radius:10px;cursor:pointer;line-height:1.35}
.hc-ac-item strong{font-size:14px;font-weight:600;color:var(--text)}
.hc-ac-item span{font-size:12px;color:var(--dim)}
.hc-ac-item:hover,.hc-ac-item.is-active{background:var(--coralsoft)}
.hc-ac-item.is-active strong{color:var(--coral)}
/* kill the white blockUI flash when the order review refreshes (e.g. on payment-method change) */
.woocommerce-checkout .blockUI.blockOverlay{background:transparent!important;opacity:0!important}
.woocommerce-checkout #order_review.processing,.woocommerce-checkout .woocommerce-checkout-review-order.processing{opacity:1!important}
.hc-checkout .select2-container--default .select2-selection--single{height:auto;border:1px solid var(--border);border-radius:12px;background:var(--card);box-shadow:var(--soft)}
.hc-checkout .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:normal;padding:14px 16px;color:var(--text)}
.hc-checkout .select2-container--default .select2-selection--single .select2-selection__arrow{top:50%;transform:translateY(-50%)}
.hc-checkout #payment{background:transparent;border-radius:0}
.hc-checkout #payment ul.payment_methods{list-style:none;margin:0 0 4px;padding:0;border:none;display:flex;flex-direction:column;gap:12px}
.hc-checkout #payment .woocommerce-privacy-policy-text{margin:16px 0 4px}
.hc-checkout #payment .place-order{margin-top:18px!important}
.hc-checkout #payment ul.payment_methods>li{background:var(--alt);border:1.5px solid transparent;border-radius:14px;padding:15px 18px;overflow:visible;display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.hc-checkout #payment ul.payment_methods>li:has(input:checked){border-color:var(--coral);background:var(--coralsoft)}
/* custom radio — perfectly aligns with the label + matches the design */
.hc-checkout #payment ul.payment_methods>li input[type=radio]{appearance:none;-webkit-appearance:none;width:20px;height:20px;border-radius:50%;border:1.5px solid var(--border);background:var(--card);cursor:pointer;flex:0 0 auto;margin:0;padding:0;position:relative;align-self:center}
/* checked dot drawn with the border + an inset shadow (not a sized pseudo-element)
   so it follows border-radius:50% and stays a crisp circle on every row — a
   fractional 10px→8.5px dot sub-pixel-rounds to an oval on some rows under zoom */
.hc-checkout #payment ul.payment_methods>li input[type=radio]:checked{border-color:var(--coral);background:var(--coral);box-shadow:inset 0 0 0 3.5px var(--card)}
.hc-checkout #payment ul.payment_methods>li label{flex:1 1 auto;min-width:0;font-size:15px;font-weight:600;color:var(--text);cursor:pointer;display:inline-flex;align-items:center;gap:10px;margin:0;line-height:1.2}
.hc-checkout #payment ul.payment_methods>li label img,.hc-checkout #payment ul.payment_methods>li img{max-height:22px;width:auto;flex:0 0 auto}
/* the credit-card brand animation reads better a touch larger */
.hc-checkout #payment ul.payment_methods>li.payment_method_paygatedotto-instant-payment-gateway-hostedpaygatedotto label img{max-height:34px}
.hc-checkout #payment ul.payment_methods>li .payment_box{flex:0 0 100%;background:transparent!important;margin:4px 0 0;padding:0;font-size:13px;line-height:1.55;color:var(--dim)}
.hc-checkout #payment ul.payment_methods>li .payment_box::before{display:none}
/* rounded coral add-on checkboxes (match the design) */
.hc-addons input[type=checkbox].hc-check{appearance:none;-webkit-appearance:none;width:22px;height:22px;border-radius:7px;border:1.5px solid var(--border);background:var(--card);box-shadow:var(--soft);cursor:pointer;position:relative;flex:0 0 auto;margin:0;transition:background .15s ease,border-color .15s ease}
.hc-addons input[type=checkbox].hc-check:checked{background:var(--coral);border-color:var(--coral)}
.hc-addons input[type=checkbox].hc-check:checked::after{content:"";position:absolute;left:50%;top:46%;width:6px;height:11px;border:solid #fff;border-width:0 2px 2px 0;transform:translate(-50%,-50%) rotate(45deg)}
.hc-addons input[type=checkbox].hc-check:focus-visible{outline:2px solid var(--coral);outline-offset:2px}
/* VAT ID — hidden unless JS reveals it for the relevant countries */
.hc-checkout .airreps-vat-field{display:none}
/* small info tooltip (e.g. EU tariff explainer) */
.hc-tip{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;background:var(--border);color:var(--text);font-size:10px;font-weight:700;font-style:italic;font-family:Georgia,'Times New Roman',serif;cursor:help;position:relative;line-height:1}
.hc-tip-pop{position:absolute;bottom:calc(100% + 9px);left:50%;transform:translateX(-50%);width:220px;max-width:60vw;background:var(--text);color:var(--bg);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:400;font-style:normal;line-height:1.5;padding:11px 14px;border-radius:11px;box-shadow:0 14px 34px -10px rgba(0,0,0,.4);opacity:0;visibility:hidden;transition:opacity .15s ease;z-index:60;text-align:center;pointer-events:none}
.hc-tip:hover .hc-tip-pop,.hc-tip:focus .hc-tip-pop{opacity:1;visibility:visible}
/* dark mode: only Revolut's dark logo needs help — flip it to white. Others are fine. */
html[data-theme="dark"] .hc-checkout #payment li.payment_method_paygatedotto-instant-payment-gateway-revolut img{filter:brightness(0) invert(1)}
.hc-checkout #payment .woocommerce-terms-and-conditions-wrapper{font-size:12px;color:var(--dim);margin:14px 0 6px}
.hc-checkout #payment .place-order{padding:0;margin-top:14px}
.hc-checkout #place_order{width:100%;font-size:16px;font-weight:600;color:#fff;font-family:inherit;cursor:pointer;padding:16px;border-radius:980px;border:1px solid color-mix(in srgb,var(--coral) 72%,#000);background:linear-gradient(180deg,color-mix(in srgb,var(--coral) 90%,#fff),var(--coral) 58%,color-mix(in srgb,var(--coral) 90%,#000));box-shadow:inset 0 1px 0 rgba(255,255,255,.42),0 8px 18px -8px color-mix(in srgb,var(--coral) 42%,transparent);transition:opacity .15s}
.hc-checkout #place_order:hover{opacity:.92}
.hc-checkout .blockUI.blockOverlay{border-radius:24px}

/* select2 (country) — global, since the dropdown is appended to <body>.
   Uses --tokens which live on :root, so it follows light/dark automatically. */
.hc-checkout .select2-container{width:100%!important;max-width:100%}
.select2-container--default .select2-selection--single{height:auto!important;border:1px solid var(--border)!important;border-radius:12px!important;background:var(--card)!important;box-shadow:var(--soft);box-sizing:border-box}
.select2-dropdown{box-sizing:border-box;max-width:calc(100vw - 32px);width:var(--hc-s2w,100%)!important;min-width:0!important}
@media(max-width:780px){.hc-checkout .woocommerce-billing-fields{grid-template-columns:1fr}}
.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:normal!important;padding:14px 16px!important;color:var(--text)!important}
.select2-container--default .select2-selection--single .select2-selection__arrow{top:50%!important;transform:translateY(-50%)!important;right:8px!important}
.select2-dropdown{border:1px solid var(--border)!important;border-radius:14px!important;background:var(--card)!important;overflow:hidden;box-shadow:0 20px 54px -16px rgba(0,0,0,.34)}
.select2-search--dropdown{padding:10px}
.select2-search--dropdown .select2-search__field{width:100%;border:1.5px solid var(--border)!important;border-radius:10px!important;background:var(--card)!important;color:var(--text)!important;padding:11px 13px;font-size:16px;outline:none;box-sizing:border-box}
.select2-search--dropdown .select2-search__field::placeholder{color:var(--dim);opacity:1}
.select2-search--dropdown .select2-search__field:focus{border-color:var(--coral)!important;box-shadow:0 0 0 3px var(--coralsoft)}
.select2-results,.select2-results__options{background:var(--card)!important;outline:none!important}
.select2-results__option{background:var(--card)!important;color:var(--text)!important;padding:10px 14px!important;font-size:14px;outline:none!important;border:none!important}
.select2-results__option:focus,.select2-results__option:focus-visible{outline:none!important}
/* currently-selected option = subtle grey... */
.select2-container--default .select2-results__option[aria-selected=true],.select2-container--default .select2-results__option--selected{background:var(--alt)!important;color:var(--text)!important}
/* ...but hover/keyboard highlight always wins = coral (even on the selected one) */
.select2-container--default .select2-results__option--highlighted,.select2-container--default .select2-results__option--highlighted[aria-selected],.select2-container--default .select2-results__option--highlighted[aria-selected=true]{background:var(--coral)!important;color:#fff!important}

.hc-gw-icon img{max-height:22px;width:auto;vertical-align:middle}

/* skip link */
.skip-link{position:absolute;left:-9999px;top:0;z-index:300;background:var(--card);color:var(--text);padding:10px 16px;border-radius:0 0 10px 0}
.skip-link:focus{left:0}

/* ------------------------------------------------------------ responsive --- */
@media(max-width:820px){.hc-minicart{display:none}}
@media(max-width:780px){
  .hc-shell{zoom:1;min-height:100vh}
  nav.hc-nav{padding:0 16px!important}
  .hc-desktoponly{display:none!important}
  .hc-navmenu-btn{display:flex}
  .hc-mobile-menu.open{display:flex}
  .hc-navlinks{gap:13px!important}
  .hc-navhide{display:none!important}
  main section{padding-left:20px!important;padding-right:20px!important}
  .hc-grid4{grid-template-columns:repeat(2,1fr)!important}
  .hc-grid3{grid-template-columns:repeat(2,1fr)!important}
  .hc-grid2{grid-template-columns:1fr!important}
  .hc-split{grid-template-columns:1fr!important;gap:30px!important}
  /* grid/flex children default to min-width:auto, so a wide child (variations
     form, cart row) forces the track past the viewport — let them shrink */
  .hc-split>*{min-width:0}
  .hc-woo-atc,.hc-woo-atc *{max-width:100%}
  /* the Add-to-cart / Buy-now pair has min-width:200px each — let them shrink to share the row */
  .hc-woo-atc .single_add_to_cart_button{min-width:0!important}
  .single-product div.product{padding-left:18px!important;padding-right:18px!important}
  .hc-form2{grid-template-columns:1fr!important}
  .hc-hero{padding-top:56px!important}
  .hc-hero h1{font-size:42px!important}
  .hc-hero p{font-size:16px!important}
  .hc-bigh1{font-size:36px!important}
  .hc-footrow{flex-direction:column;align-items:flex-start!important}
}
@media(max-width:600px){
  /* on phones the hero trio spreads to the edges — close the gap and overlap the
     side products inward toward the centre Pro 3 so the composition reads tighter */
  .hc-herostage{gap:0!important}
  .hc-herostage img:first-of-type{margin-right:-7%}
  .hc-herostage img:last-of-type{margin-left:-7%}
}
@media(max-width:480px){
  .hc-grid4{grid-template-columns:1fr!important}
  .hc-grid3{grid-template-columns:1fr!important}
  .hc-prodcard{flex-direction:column!important}
  .hc-prodcard>div:first-child{flex:0 0 auto!important;width:100%!important;max-width:200px;margin:0 auto}
  /* cart row: shrink the thumbnail/gaps/padding and let the middle column shrink
     so the line price isn't pushed off-screen on narrow phones */
  .hc-cartform .hc-card{gap:13px!important;padding:15px!important}
  .hc-cartform .hc-card>a.hc-imgtile{flex:0 0 62px!important;width:62px!important;height:62px!important}
  .hc-cartform .hc-card>div{min-width:0}
  /* widen the cramped checkout column on phones (40px wrapper + 28px card padding
     left the payment box ~250px — labels like "Credit or Debit Card" wrapped) */
  .hc-pagewrap{padding-left:18px!important;padding-right:18px!important}
  .woocommerce-checkout-review-order-table{padding:18px!important}
  /* centre everything in the stacked product cards on phones (front page + store) —
     left-aligned text under a centred image looked unfinished */
  .hc-prodcard{text-align:center}
  .hc-prodcard>div{align-items:center}                    /* content column centres its rows */
  .hc-prodcard>div>div{justify-content:center!important}  /* name + price row */
  .hc-prodcard>div>div>div{justify-content:center}        /* each spec bullet row */
  .hc-prodcard>div>a.hc-cta{align-self:stretch}           /* keep the button full-width */
}
