/* ============================================================
   HEAXABELL — TikTok Shop redesign v5
   Square header (logo + cat scroll + cart) · search below ·
   masonry feed · centered modal desktop · skeleton · proper PDP/cart/checkout.
   ============================================================ */

:root{
  --bg:#f1f1f2;
  --card:#ffffff;
  --ink:#161823;
  --ink-2:#6b6b74;
  --ink-3:#a1a1aa;
  --line:#e6e6ea;
  --accent:#fe2c55;
  --accent-2:#d91c45;
  --accent-soft:#fff0f3;
  --gold:#f7b500;
  --green:#04b462;
  --radius:12px;
  --radius-lg:16px;
  --topbar-h:48px;
  --search-h:44px;
  --tabbar-h:60px;
  --maxw:1120px;
  --shadow:0 1px 3px rgba(22,24,35,.06);
  --shadow-lg:0 12px 32px rgba(22,24,35,.16);
  --sk:#e9e9ee;
  --font-display:'Plus Jakarta Sans',-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --font-body:'Inter',-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --font-price:'Space Grotesk',-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;padding:0}
[hidden]{display:none!important}
body{
  font-family:var(--font-body);
  background:var(--bg);color:var(--ink);
  -webkit-font-smoothing:antialiased;font-size:14px;line-height:1.5;
}
/* Display font (Plus Jakarta Sans) — headings, titles, buttons */
h1,h2,h3,h4,h5,
.topbar__logo,.topbar__cat,.tabbar__item span,
.sheet__title,.sheet__all,
.tcard__title,.tcard__add,
.pdp__title,.pdp__buy,.pdp__cart,
.qv__title,
.hx-ocard__title,.hx-paytitle,.hx-coupon__title,.hx-onotes__title,
.authPage__hello,.authPage__submit,.acctDash__hello,.acctDash__label,
#place_order,.hx-coupon__apply{font-family:var(--font-display)}
/* Price font (Space Grotesk) — tabular numbers */
.tcard__price,.pdp__price,.qv__price,.woocommerce-Price-amount,.price{font-family:var(--font-price);font-variant-numeric:tabular-nums}
h1,h2,h3{letter-spacing:-0.01em}
body.has-tabbar{padding-bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom,0px) + 16px)}
img{display:block;max-width:100%}
button{font-family:inherit;border:0;background:none;color:inherit;cursor:pointer;padding:0}
a{color:inherit;text-decoration:none}
input,select,textarea{font-family:inherit;font-size:14px}
/* iOS/Android: prevent page auto-zoom when an input is focused (needs >=16px on mobile) */
@media(max-width:767px){
  input,select,textarea{font-size:16px!important}
}
.hx-main{display:block;min-height:60vh}

/* Screen-reader-only text (WooCommerce price "Original/Current price was:" etc.) —
   MUST be hidden. The theme dequeues WC's woocommerce-general CSS, so we own this. */
.screen-reader-text{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px}

/* Tiered-pricing plugin pollutes price with <br> + "You save ()" — strip it. */
.tiered-pricing-you-save,
.tcard__price br,.tcard__price small,
.pdp__price br,.pdp__price small,
.qv__price br,.qv__price small,
.cartItem__price br,.cartItem__price small{display:none!important}

/* ============ SQUARE TOP BAR ============ */
.topbar{position:sticky;top:0;z-index:200;background:#fff}
.topbar__inner{display:flex;align-items:center;gap:10px;height:var(--topbar-h);padding:0 12px;max-width:var(--maxw);margin:0 auto}
.topbar__logo{display:grid;place-items:center;flex-shrink:0}
.topbar__logo img{width:40px;height:40px;border-radius:10px;object-fit:cover}
.topbar__cats{flex:1;display:flex;gap:22px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;min-width:0;touch-action:pan-x;overscroll-behavior-x:contain;scroll-behavior:smooth;
  -webkit-mask-image:linear-gradient(to right,transparent 0,#000 18px,#000 calc(100% - 18px),transparent 100%);
  mask-image:linear-gradient(to right,transparent 0,#000 18px,#000 calc(100% - 18px),transparent 100%);
  padding:0 4px}
.topbar__cats::-webkit-scrollbar{display:none}
.topbar__cat{flex:0 0 auto;font-size:14px;font-weight:600;color:var(--ink-2);white-space:nowrap;padding:4px 0;line-height:1.4}
.topbar__cat.is-active{color:var(--accent);font-weight:800}
.topbar__cart{width:40px;height:40px;border-radius:8px;flex-shrink:0;display:grid;place-items:center;color:var(--ink);position:relative}
.topbar__cart:active{background:#f1f1f2}
.topbar__cart svg{width:22px;height:22px}
.topbar__user{width:40px;height:40px;border-radius:8px;flex-shrink:0;display:grid;place-items:center;color:var(--ink)}
.topbar__user:active{background:#f1f1f2}
.topbar__user svg{width:22px;height:22px}
@media(max-width:767px){.topbar__user{display:none}}
.badge{position:absolute;top:0;right:0;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--accent);color:#fff;font-size:9px;font-weight:700;display:grid;place-items:center;line-height:1;transform:translate(2px,-2px)}

/* ============ SEARCH BOX ============ */
.searchbar{position:sticky;top:var(--topbar-h);z-index:199;background:#fff;padding:10px 12px 12px}
.searchbar__box{display:flex;align-items:center;gap:10px;height:var(--search-h);width:100%;max-width:var(--maxw);margin:0 auto;padding:0 16px;border-radius:10px;background:#f1f1f2;color:var(--ink-2);font-size:14px}
.searchbar__box svg{width:18px;height:18px;flex-shrink:0}
.searchbar__icon{color:var(--ink-3)}
.hx-toast{position:fixed;left:50%;bottom:96px;transform:translateX(-50%) translateY(20px);display:flex;align-items:center;gap:9px;padding:12px 18px;border-radius:14px;font-size:14px;font-weight:600;color:#fff;opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;z-index:999;max-width:calc(100% - 40px);box-shadow:0 10px 30px rgba(0,0,0,.2)}
.hx-toast svg{width:20px;height:20px;flex-shrink:0}
.hx-toast span{line-height:1.4}
.hx-toast.is-show{opacity:1;transform:translateX(-50%) translateY(0)}
.hx-toast--success{background:#16a34a}
.hx-toast--warning{background:#d97706}
.hx-toast--error{background:#dc2626}
.hx-toast--info{background:var(--ink)}
/* PWA install page */
.pwaInstall{max-width:var(--maxw);margin:0 auto;padding:24px 16px 48px}
.pwaInstall__card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:28px 20px;box-shadow:var(--shadow);text-align:center}
.pwaInstall__logo{width:72px;height:72px;margin:0 auto 16px;border-radius:16px;overflow:hidden;box-shadow:var(--shadow)}
.pwaInstall__logo img{width:100%;height:100%;object-fit:cover}
.pwaInstall__title{font-size:20px;font-weight:800;color:var(--ink);margin:0 0 6px}
.pwaInstall__sub{font-size:14px;color:var(--ink-2);margin:0 0 24px;line-height:1.5}
.pwaInstall__step{display:flex;gap:14px;text-align:left;margin-bottom:18px}
.pwaInstall__num{flex-shrink:0;width:32px;height:32px;border-radius:50%;background:#ffe9ec;color:var(--accent);font-weight:800;display:grid;place-items:center;font-size:15px}
.pwaInstall__step h3{margin:0 0 4px;font-size:15px;font-weight:700;color:var(--ink)}
.pwaInstall__step p{margin:0;font-size:13px;color:var(--ink-2);line-height:1.5}
.pwaInstall__btn{width:100%;height:50px;border-radius:12px;background:var(--accent);color:#fff;font-size:15px;font-weight:800;border:0;cursor:pointer;margin-top:6px}
.footer__install{display:inline-flex;align-items:center;gap:5px;margin-top:10px;font-size:13px;font-weight:700;color:var(--accent)}
/* Cart out-of-stock item + disabled checkout */
.cartItem.is-oos{opacity:.55;filter:grayscale(1)}
.cartItem.is-oos .cartItem__img{filter:grayscale(1)}
.cartItem__oos{display:inline-flex;align-items:center;font-size:12px;font-weight:700;color:#c0203a;background:#ffe9ec;padding:5px 10px;border-radius:8px}
.cartSummary__cta.is-disabled,.cart__bottombar__btn.is-disabled{opacity:.5;filter:grayscale(1);cursor:not-allowed}
.searchbar__input{flex:1;min-width:0;border:0;outline:0;background:none;font-size:15px;color:var(--ink)}
.searchbar__input::placeholder{color:var(--ink-3)}
.searchbar__clear{border:0;background:none;color:var(--ink-2);font-size:20px;line-height:1;cursor:pointer;padding:0 2px;flex-shrink:0}
.searchbar__submit{display:flex;align-items:center;gap:4px;border:0;background:none;cursor:pointer;flex-shrink:0;padding:0 4px}
.searchbar__submit svg{width:18px;height:18px;color:var(--ink)}
.searchbar__submit span{font-size:14px;font-weight:700;color:var(--accent)}

/* ============ FLASH STRIP ============ */
.flash-slider{max-width:calc(var(--maxw) - 32px);margin:10px 16px 0;border-radius:var(--radius);overflow:hidden;position:relative}
@media(min-width:1152px){.flash-slider{margin:10px auto 0}}
.flash-slider__track{display:flex;transition:transform .45s cubic-bezier(.22,.61,.36,1)}
.flash-slide{flex:0 0 100%;background:linear-gradient(90deg,var(--accent),#ff5f7e);color:#fff;padding:14px 16px 24px;display:flex;align-items:center;gap:12px}
.flash__ico{font-size:22px;flex-shrink:0}
.flash__txt{flex:1;font-size:14px;font-weight:800;min-width:0}
.flash__txt small{display:block;font-weight:500;opacity:.92;font-size:11.5px;margin-top:1px}
.flash__btn{background:#fff;color:var(--accent);font-weight:800;font-size:12.5px;padding:8px 16px;border-radius:8px;flex-shrink:0;white-space:nowrap}
.flash-slider__dots{position:absolute;bottom:8px;left:0;right:0;display:flex;justify-content:center;gap:5px;z-index:2}
.flash-dot{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.45);transition:all .25s;padding:0}
.flash-dot.is-active{width:16px;border-radius:4px;background:#fff}
.flash-slide--img{display:block;padding:0;height:150px;position:relative}
.flash-slide--img>img{display:block;width:100%;height:100%;object-fit:cover}
.flash-slide__ov{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:3px;padding:16px 18px;background:linear-gradient(90deg,rgba(22,24,35,.62),rgba(22,24,35,.12) 70%,rgba(22,24,35,0))}
.flash-slide__title{font-size:17px;font-weight:800;color:#fff;line-height:1.2;letter-spacing:-.01em;text-shadow:0 1px 8px rgba(0,0,0,.25)}
.flash-slide__subtitle{font-size:12px;font-weight:500;color:rgba(255,255,255,.92);line-height:1.3;text-shadow:0 1px 6px rgba(0,0,0,.25)}
.flash-slide__btn{margin-top:7px;background:#fff;color:var(--accent);font-weight:800;font-size:12.5px;line-height:1;padding:9px 16px;border-radius:8px;display:inline-block;align-self:flex-start}
.flash-slide__btn--accent{background:var(--accent);color:#fff}
.flash-slide__btn--outline{background:transparent;color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.92)}
.flash-slide__ov--center{align-items:center;background:linear-gradient(90deg,rgba(22,24,35,.15),rgba(22,24,35,.55) 50%,rgba(22,24,35,.15))}
.flash-slide__ov--center .flash-slide__btn{align-self:center}
.flash-slide__ov--right{align-items:flex-end;background:linear-gradient(90deg,rgba(22,24,35,0),rgba(22,24,35,.12) 30%,rgba(22,24,35,.62))}
.flash-slide__ov--right .flash-slide__btn{align-self:flex-end}

/* ============ FILTER / SORT BAR ============ */
.filterbar{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:var(--maxw);margin:0 auto;padding:14px 16px 6px}
.filterbar__title{font-size:17px;font-weight:800;letter-spacing:-.01em}
.filterbar__sort{display:flex;align-items:center;gap:6px;height:36px;padding:0 4px 0 12px;border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--ink-2)}
.filterbar__sort svg{flex-shrink:0}
.sortselect{border:0;outline:0;background:transparent;font-size:13px;font-weight:600;color:var(--ink);cursor:pointer;appearance:none;-webkit-appearance:none;padding:0 10px 0 0;max-width:170px}

/* ============ MASONRY GRID (natural heights; JS re-orders left→right) ============ */
.grid{columns:2;column-gap:10px;max-width:var(--maxw);margin:0 auto;padding:8px 16px 16px}
@media(min-width:600px){.grid{columns:3;column-gap:12px}}
@media(min-width:900px){.grid{columns:4;column-gap:14px}}
@media(min-width:1160px){.grid{columns:5;column-gap:16px}}
.grid.is-masonry{display:flex;align-items:flex-start;gap:10px}
.grid.is-masonry .mcol{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:10px}
@media(min-width:600px){.grid.is-masonry{gap:12px}.grid.is-masonry .mcol{gap:12px}}
@media(min-width:900px){.grid.is-masonry{gap:14px}.grid.is-masonry .mcol{gap:14px}}
@media(min-width:1160px){.grid.is-masonry{gap:16px}.grid.is-masonry .mcol{gap:16px}}

.tcard{break-inside:avoid;-webkit-column-break-inside:avoid;page-break-inside:avoid;margin-bottom:10px;background:var(--card);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.grid.is-masonry .tcard{margin-bottom:0}
.tcard__media{position:relative;display:block;background:var(--sk);overflow:hidden}
.tcard__img{width:100%;height:auto;display:block;background:var(--sk)}
.tcard:active .tcard__img{transform:scale(1.02)}
.tcard__ph{display:block;width:100%;aspect-ratio:3/4;background:var(--sk)}
.tcard__badge{position:absolute;top:8px;left:8px;padding:3px 8px;border-radius:6px;font-size:10px;font-weight:800;letter-spacing:.02em;color:#fff;line-height:1.2;z-index:2}
.tcard__badge--sale{background:var(--accent)}
.tcard__badge--new{background:var(--ink)}
.tcard__badge--oos{background:#6b7280;left:auto;right:8px}
.tcard__add{position:absolute;right:8px;bottom:8px;width:32px;height:32px;border-radius:50%;background:var(--accent);color:#fff;display:grid;place-items:center;box-shadow:0 4px 12px rgba(254,44,85,.4);transition:transform .12s ease;z-index:2}
.tcard__add:active{transform:scale(.88)}
.tcard__add.is-loading{opacity:.55;pointer-events:none}
.tcard__add.is-added{background:var(--green)}
.tcard--oos .tcard__add{filter:grayscale(1);opacity:.55;pointer-events:none;box-shadow:none}
.tcard--oos .tcard__img{filter:grayscale(1);opacity:.6}
.tcard--oos .tcard__ph{filter:grayscale(1);opacity:.6}
.tcard__body{padding:9px 10px 11px}
.tcard__title{margin:0 0 4px;font-size:13px;font-weight:500;color:var(--ink);line-height:1.35;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.tcard__title a{color:inherit}
.tcard__price{font-size:15px;font-weight:800;color:var(--accent);letter-spacing:-.01em;line-height:1.3}
.tcard__price del{font-size:12px;font-weight:400;color:var(--ink-3);margin-left:3px}
.tcard__price ins{text-decoration:none}
.tcard__rating{height:15px;font-size:11px;color:var(--ink-2);margin-top:3px;line-height:1.2}
.tcard__rating b{color:var(--gold);font-weight:700}

/* ============ SKELETON ============ */
.sk{position:relative;overflow:hidden;background:var(--sk);border-radius:6px}
.sk::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);animation:skShimmer 1.3s infinite}
@keyframes skShimmer{100%{transform:translateX(100%)}}
.tcard__sk{break-inside:avoid;-webkit-column-break-inside:avoid;margin-bottom:10px;background:var(--card);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.grid.is-masonry .tcard__sk{margin-bottom:0}
.tcard__sk__media{width:100%;aspect-ratio:3/4;background:var(--sk)}
.tcard__sk__body{padding:10px}
.tcard__sk__line{height:12px;border-radius:6px;background:var(--sk);margin-bottom:8px}
.tcard__sk__line--w60{width:60%}
.tcard__sk__line--w40{width:40%}
/* ============ LOAD MORE SENTINEL ============ */
.loadmore{height:1px;margin-bottom:80px}

/* ============ SHOP / EMPTY / NOTICES ============ */
.shop{max-width:var(--maxw);margin:0 auto}
.empty-state{text-align:center;padding:70px 20px;color:var(--ink-2)}
.woocommerce-notices-wrapper{max-width:var(--maxw);margin:12px auto 0;padding:0 16px}
.woocommerce-notices-wrapper:empty{display:none}
.woocommerce-message,.woocommerce-info,.woocommerce-error{max-width:var(--maxw);margin:12px auto;padding:13px 42px 13px 16px;border-radius:12px;font-size:13.5px;font-weight:500;list-style:none;position:relative;display:flex;align-items:flex-start;gap:10px;box-shadow:var(--shadow)}
.woocommerce-message li,.woocommerce-info li,.woocommerce-error li{list-style:none;margin:0;padding:0;flex:1;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;flex-shrink:0;position:static;top:auto;left:auto;font-size:12px;font-weight:800;line-height:1;color:#fff;font-family:var(--font-body)}
.woocommerce-message::before{content:'✓';background:#16a34a}
.woocommerce-info::before{content:'i';background:#2b5fd0}
.woocommerce-error::before{content:'!';background:#dc2626}
.woocommerce-message{background:var(--card);color:var(--ink);border:1px solid var(--line);border-left:4px solid #16a34a}
.woocommerce-info{background:var(--card);color:var(--ink);border:1px solid var(--line);border-left:4px solid #2b5fd0}
.woocommerce-error{background:var(--card);color:var(--ink);border:1px solid var(--line);border-left:4px solid #dc2626}
.woocommerce-message a.button,.woocommerce-info a.button{float:none!important;margin:0!important;flex-shrink:0;background:var(--accent)!important;color:#fff!important;padding:8px 16px!important;font-size:12.5px!important;font-weight:700!important;border-radius:8px!important}
.woocommerce-message a,.woocommerce-info a,.woocommerce-error a{font-weight:700;text-decoration:underline}
.woocommerce-error a{color:var(--accent)}
.woocommerce-notice-dismiss{position:absolute;top:9px;right:9px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-size:17px;line-height:1;opacity:.5;color:inherit;border:0;background:transparent;cursor:pointer;padding:0}
.woocommerce-notice-dismiss:hover{opacity:1;background:rgba(0,0,0,.07)}

/* ============ SHEET / SCRIM / SEARCH OVERLAY ============ */
.scrim{position:fixed;inset:0;bottom:var(--tabbar-h);background:rgba(0,0,0,.5);z-index:300;opacity:0;transition:opacity .25s}
.scrim.is-open{opacity:1}
.sheet{position:fixed;left:0;right:0;top:0;bottom:var(--tabbar-h);z-index:301;background:#fff;padding:14px 20px calc(20px + env(safe-area-inset-bottom));overflow:auto;transform:translateY(100%);transition:transform .26s ease;max-width:var(--maxw);margin:0 auto}
@media(min-width:820px){.scrim{bottom:0}.sheet{bottom:0}}
.sheet.is-open{transform:translateY(0)}
.sheet__handle{width:40px;height:4px;border-radius:2px;background:var(--line);margin:0 auto 14px}
.sheet__close{position:absolute;top:12px;right:16px;font-size:28px;color:var(--ink-2);line-height:1}
.sheet__head{display:flex;align-items:baseline;justify-content:space-between;margin:0 0 6px;padding-right:40px}
.sheet__title{font-size:18px;font-weight:800;margin:0}
.sheet__all{font-size:12.5px;font-weight:700;color:var(--accent)}
.sheet__list{list-style:none;margin:0;padding:0}
.sheet__list > li{border-bottom:1px solid var(--line)}
.sheet__list > li:last-child{border-bottom:0}
.sheet__list > li > a{display:flex;align-items:center;gap:8px;padding:15px 2px;font-size:15px;font-weight:700;color:var(--ink)}
.sheet__list > li.menu-item-has-children > a::after{content:'›';margin-left:auto;color:var(--ink-3);font-size:20px;line-height:1}
.sheet__list .sub-menu{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.sheet__list .sub-menu a{display:block;padding:7px 13px;font-size:12.5px;font-weight:600;color:var(--ink-2);background:#f7f7f8;border-radius:999px}
.sheet__list .sub-menu a:active{color:var(--accent);background:var(--accent-soft)}

/* Live search results — inline on the current page (no overlay) */
.searchResults{max-width:var(--maxw);margin:0 auto;padding:8px 16px 24px;overflow:auto}
.searchResults__empty{padding:40px 16px;text-align:center;color:var(--ink-3);font-size:14px}
.searchResults--inline[hidden]{display:none!important}
.searchResults--inline{display:block;padding-bottom:100px}
.searchSentinel{height:1px}
body.is-searching .flash-slider,
body.is-searching .filterbar,
body.is-searching .shop,
body.is-searching .pdp,
body.is-searching .pdp__related,
body.is-searching .pageHead,
body.is-searching .checkoutPage,
body.is-searching .cartPage,
body.is-searching .accountPage{display:none!important}

/* ============ QUICK-VIEW (modal) ============ */
.qv-scrim{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:320;opacity:0;transition:opacity .25s}
.qv-scrim.is-open{opacity:1}
.qv{position:fixed;left:0;right:0;bottom:0;z-index:321;background:#fff;border-radius:20px 20px 0 0;padding:14px 18px calc(20px + env(safe-area-inset-bottom));max-height:88vh;overflow:auto;transform:translateY(100%);transition:transform .26s ease;max-width:640px;margin:0 auto}
.qv.is-open{transform:translateY(0)}
.qv__handle{width:40px;height:4px;border-radius:2px;background:var(--line);margin:0 auto 12px}
.qv__close{position:absolute;top:12px;right:16px;font-size:28px;color:var(--ink-2);line-height:1}
.qv__product{display:flex;gap:14px;align-items:flex-start}
.qv__img{width:92px;height:92px!important;aspect-ratio:1/1;border-radius:10px;object-fit:cover;background:var(--sk);flex-shrink:0}
.qv__img.is-loading{opacity:0}
.qv__meta{flex:1;min-width:0}
.qv__title{font-size:15px;font-weight:700;line-height:1.35;margin-bottom:6px}
.qv__price{font-size:17px;font-weight:800;color:var(--accent)}
.qv__price del{font-size:13px;font-weight:400;color:var(--ink-3)}
.qv__variants{margin-top:16px}
.qv__group{margin-bottom:16px}
.qv__group__label{font-size:13px;font-weight:800;margin-bottom:10px}
.qv__footer{display:flex;gap:12px;align-items:stretch;margin-top:8px}
.qv__qty{flex-shrink:0}
.qv__sk{display:flex;gap:14px;align-items:center}
.qv__sk__img{width:92px;height:92px;border-radius:10px}
.qv__sk__body{flex:1}
.qv__sk__line{height:14px;border-radius:7px;background:var(--sk);margin-bottom:10px}
.qv__sk__line--w80{width:80%}
.qv__sk__line--w50{width:50%}
.qv__sk__chips{display:flex;gap:8px;margin-top:16px}
.qv__sk__chip{width:56px;height:32px;border-radius:999px}
@media(min-width:820px){
  .qv{bottom:auto;top:50%;left:50%;right:auto;transform:translate(-50%,-46%) scale(.96);border-radius:16px;width:480px;max-width:92vw;max-height:86vh;opacity:0;transition:transform .22s ease,opacity .22s ease}
  .qv.is-open{transform:translate(-50%,-50%) scale(1);opacity:1}
  .qv__handle{display:none}
}

/* ============ SWATCH / SIZE / QTY ============ */
.swatches,.sizes{display:flex;gap:8px;flex-wrap:wrap}
.swatch{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;border:1.5px solid var(--line);background:#fff;font-size:13px;font-weight:600;cursor:pointer;position:relative;text-transform:capitalize}
.swatch.is-active{border-color:var(--ink);background:var(--ink);color:#fff}
.swatch__dot{width:18px;height:18px;border-radius:50%;background:#e5e5ea;flex-shrink:0;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
.swatch__img{width:30px!important;height:30px!important;aspect-ratio:1/1;border-radius:50%!important;object-fit:cover;flex-shrink:0;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}
.swatch.is-active .swatch__dot{box-shadow:inset 0 0 0 2px #fff}
.swatch.is-out{color:var(--ink-3);border-color:var(--line);cursor:not-allowed}
.swatch.is-out .swatch__dot,.swatch.is-out .swatch__img{opacity:.35}
.swatch.is-out::after{content:"";position:absolute;inset:0;border-radius:999px;background:linear-gradient(135deg,transparent 45%,#c8c8cf 46%,#c8c8cf 54%,transparent 55%)}
.size{padding:10px 16px;border-radius:10px;border:1.5px solid var(--line);background:#fff;font-size:13px;font-weight:600;cursor:pointer;min-width:52px;text-align:center;position:relative}
.size.is-active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}
.size.is-out{color:var(--ink-3);border-color:var(--line);cursor:not-allowed}
.size.is-out::after{content:"";position:absolute;inset:0;border-radius:10px;background:linear-gradient(135deg,transparent 45%,#c8c8cf 46%,#c8c8cf 54%,transparent 55%)}
.qtyRow{display:inline-flex;align-items:center;border:1.5px solid var(--line);border-radius:10px;overflow:hidden;background:#fff}
.qtyBtn{width:40px;height:40px;font-size:20px;font-weight:700;color:var(--ink);display:grid;place-items:center}
.qtyBtn:active{background:#f1f1f2}
.qtyVal{min-width:40px;text-align:center;font-weight:700}

/* ============ PDP ============ */
.pdp{max-width:var(--maxw);margin:0 auto;padding-bottom:80px}
.pdp__hero{position:relative;background:#fff}
.pdp__hero__nav{position:absolute;top:0;left:0;right:0;z-index:5;display:flex;justify-content:space-between;align-items:center;padding:12px 16px}
.pdp__iconbtn{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.94);display:grid;place-items:center;color:var(--ink);box-shadow:var(--shadow)}
.pdp__gallery{position:relative;aspect-ratio:1/1;background:#f0f0f2;overflow:hidden}
.pdp__slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .25s ease}
.pdp__slide.is-active{opacity:1}
.pdp__dots{position:absolute;bottom:12px;left:0;right:0;display:flex;justify-content:center;gap:6px;z-index:3}
.pdp__dot{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.5)}
.pdp__dot.is-active{background:var(--accent);width:18px;border-radius:4px}
.pdp__thumbs{display:flex;gap:8px;overflow-x:auto;padding:8px 16px 0;scrollbar-width:none}
.pdp__thumbs::-webkit-scrollbar{display:none}
.pdp__thumb{flex:0 0 64px;width:64px;height:64px;border-radius:10px;border:2px solid transparent;padding:0;overflow:hidden;background:var(--sk);cursor:pointer}
.pdp__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.pdp__thumb.is-active{border-color:var(--accent)}
.pdp__info{padding:18px 16px;background:#fff}
@media(min-width:820px){.pdp__info{max-width:820px;margin:0 auto;padding:24px 28px}}
.pdp__cat{font-size:12px;color:var(--ink-2);text-transform:uppercase;letter-spacing:.05em}
.pdp__title{font-size:19px;font-weight:800;margin:6px 0 10px;letter-spacing:-.01em}
.pdp__priceRow{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.pdp__discount{background:var(--accent-soft);color:var(--accent);font-size:12px;font-weight:800;padding:4px 9px;border-radius:6px}
.pdp__oos{display:inline-flex;align-items:center;background:#f1f1f2;color:var(--ink-2);font-size:12px;font-weight:800;padding:5px 10px;border-radius:6px;margin:8px 0 0}
.pdp__price{font-size:24px;font-weight:800;color:var(--accent);letter-spacing:-.01em}
.pdp__price del{font-size:15px;color:var(--ink-3);font-weight:400;margin-left:4px}
.pdp__price ins{text-decoration:none}
.pdp__rating{font-size:13px;color:var(--ink-2);margin-bottom:10px}
.pdp__rating b{color:var(--gold)}
.pdp__rating span{color:var(--ink-3)}
.pdp__stats{display:flex;gap:8px;margin:14px 0;flex-wrap:wrap}
.pdp__stat{display:flex;align-items:center;gap:7px;background:#f7f7f8;border-radius:8px;padding:8px 12px;font-size:12px;font-weight:600;color:var(--ink-2)}
.pdp__buy{display:flex;gap:10px;margin:16px 0 4px}
.pdp__cta__chat{width:52px;height:52px;border-radius:14px;background:#25d366;color:#fff;display:grid;place-items:center;flex-shrink:0}
.pdp__cta__cart{flex:1;height:52px;border-radius:14px;background:var(--accent);color:#fff;font-size:15px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:8px}
.pdp__cta__cart:disabled{background:#d8d8dd;cursor:not-allowed}
.pdp__section{margin:20px 0}
.pdp__section__head{display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:800;margin-bottom:10px}
.pdp__desc{font-size:14px;color:var(--ink);line-height:1.7}
.pdp__desc p{margin:0 0 12px}
.pdp__sticky-cta{position:fixed;left:0;right:0;bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom,0px));z-index:250;background:#fff;padding:10px 16px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--line);transform:translateY(140%);transition:transform .25s ease;display:flex;gap:10px;max-width:var(--maxw);margin:0 auto}
.pdp__sticky-cta.is-visible{transform:translateY(0)}
.pdp__related{max-width:var(--maxw);margin:0 auto;padding:12px 16px 40px}
.pdp__related .pdp__section__head{font-size:16px;font-weight:800;margin-bottom:12px}

/* ============ FULL-SCREEN IMAGE LIGHTBOX ============ */
.glb{position:fixed;inset:0;z-index:400;background:#000;display:flex;flex-direction:column}
.glb[hidden]{display:none!important}
.glb__close{position:absolute;top:12px;right:16px;z-index:2;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.16);color:#fff;font-size:26px;display:grid;place-items:center;border:0;cursor:pointer;line-height:1}
.glb__counter{position:absolute;top:16px;left:50%;transform:translateX(-50%);z-index:2;color:#fff;font-size:13px;font-weight:600;background:rgba(0,0,0,.4);padding:4px 12px;border-radius:999px}
.glb__stage{flex:1;position:relative;overflow:hidden;cursor:zoom-in}
.glb__stage.is-zoomed{cursor:zoom-out}
.glb__slide{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;transition:opacity .2s,transform .25s ease}
.glb__slide.is-active{opacity:1}
.glb__stage.is-zoomed .glb__slide.is-active{transform:scale(2)}
.glb__thumbs{display:flex;gap:8px;overflow-x:auto;padding:12px 16px calc(12px + env(safe-area-inset-bottom));scrollbar-width:none}
.glb__thumbs::-webkit-scrollbar{display:none}
.glb__thumb{flex:0 0 56px;width:56px;height:56px;border-radius:8px;border:2px solid rgba(255,255,255,.25);padding:0;overflow:hidden;background:#222;cursor:pointer;opacity:.65}
.glb__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.glb__thumb.is-active{border-color:#fff;opacity:1}

/* Desktop PDP: two-column (gallery sticky left, info right) */
@media(min-width:820px){
  .pdp{display:flex;gap:40px;align-items:flex-start;padding:28px 20px 60px}
  .pdp__hero{flex:0 0 420px;position:sticky;top:calc(var(--topbar-h) + var(--search-h) + 24px);max-width:420px}
  .pdp__gallery{border-radius:16px}
  .pdp__info{flex:1;max-width:none;margin:0;padding:0;background:transparent}
  .pdp__sticky-cta{display:none}
  .pdp__title{font-size:24px}
  .pdp__price{font-size:28px}
}

/* ============ BOTTOM NAV ============ */
.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:240;background:#fff;border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom);height:calc(var(--tabbar-h) + env(safe-area-inset-bottom))}
.tabbar__inner{display:flex;height:var(--tabbar-h);max-width:var(--maxw);margin:0 auto}
.tabbar__item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10px;font-weight:600;color:var(--ink-3);position:relative;border:0;background:none;cursor:pointer}
.tabbar__ic{position:relative;display:grid;place-items:center}
.tabbar__ic svg{width:24px;height:24px}
.tabbar__item.is-active{color:var(--ink)}
.tabbar__item.is-active svg{color:var(--accent)}
.tabbar__badge{position:absolute;top:-6px;right:-10px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--accent);color:#fff;font-size:9px;font-weight:700;display:grid;place-items:center;line-height:1}
.tabbar__ic .badge{top:-5px;right:-13px;transform:none;min-width:17px;height:17px;padding:0 5px;font-size:10px;border:2px solid #fff}

/* ============ FOOTER ============ */
.footer{max-width:var(--maxw);margin:0 auto;padding:28px 16px 32px;text-align:center}
@media(max-width:767px){.footer{display:none}}
.footer__list{list-style:none;margin:0 0 12px;padding:0;display:flex;gap:18px;justify-content:center;flex-wrap:wrap}
.footer__list a{font-size:12.5px;color:var(--ink-2)}
.footer__copy{font-size:11.5px;color:var(--ink-3);margin:0}

/* ============ CART / CHECKOUT ============ */
/* WC content wrapper (shortcode output), NOT <body> — body has `woocommerce`
   class too, so scope to div.woocommerce or it constrains the whole body. */
div.woocommerce{max-width:var(--maxw);margin:0 auto;padding:16px 16px 40px}
.woocommerce form .form-row{margin:0 0 14px;padding:0}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.woocommerce form .form-row .select2-selection{width:100%;height:48px;border:1.5px solid var(--line)!important;border-radius:10px!important;padding:0 14px!important;font-size:16px!important;background:#fff!important;color:var(--ink)!important;box-shadow:none!important}
.woocommerce form .form-row textarea{height:auto;padding:12px 14px!important;min-height:100px}
.woocommerce form .form-row label{display:none}
.woocommerce form .form-row input::placeholder,.woocommerce form textarea::placeholder{color:var(--ink-3)}
.woocommerce table.shop_table{width:100%;border-collapse:collapse;background:var(--card);border-radius:12px;overflow:hidden;box-shadow:var(--shadow)}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:14px 12px;border-bottom:1px solid var(--line);text-align:left;font-size:13.5px;vertical-align:middle}
.woocommerce table.shop_table th{background:#fafafa;font-weight:700;color:var(--ink-2)}
.woocommerce table.shop_table img{width:64px;height:64px;border-radius:8px;object-fit:cover}
.woocommerce .product-name a{font-weight:600}
.woocommerce .quantity input.qty{width:52px;height:40px;border:1.5px solid var(--line);border-radius:8px;text-align:center;font-weight:700}
.woocommerce a.remove{color:var(--accent)!important;font-size:20px;text-decoration:none!important}
.woocommerce-cart .cart-collaterals{margin-top:20px}
.cart_totals h2,.woocommerce-checkout h3,.woocommerce-billing-fields h3,.woocommerce-additional-fields h3,.woocommerce-account h2,.woocommerce-order h2{font-size:16px;font-weight:800;margin:0 0 14px}
.woocommerce-cart .cart_totals table.shop_table{box-shadow:none;border:1px solid var(--line)}
.woocommerce-cart .coupon,.woocommerce-checkout .woocommerce-form-coupon{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px;margin-bottom:14px}
.woocommerce-cart .coupon{display:flex;gap:10px}
.woocommerce-cart .coupon input.input-text{flex:1;height:46px;border:1.5px solid var(--line)!important;border-radius:10px!important;padding:0 14px!important}
.woocommerce-checkout .woocommerce-form-coupon p{margin:0 0 10px}
.woocommerce-checkout .woocommerce-form-coupon .form-row{display:flex;gap:10px;margin:0}
.woocommerce-checkout .woocommerce-form-coupon .form-row input{flex:1}
.woocommerce-checkout #payment{background:transparent;border:0;border-radius:0;padding:0}
.woocommerce-checkout #payment ul.payment_methods{border:0;padding:0;list-style:none;margin:0}
.woocommerce-checkout #payment ul.payment_methods li{position:relative;background:#fff;border:1.5px solid var(--line);border-radius:12px;padding:15px 16px;margin:0 0 10px;cursor:pointer;transition:border-color .15s,background .15s}
.woocommerce-checkout #payment ul.payment_methods li:has(input:checked){border-color:var(--accent);background:var(--accent-soft)}
.woocommerce-checkout #payment ul.payment_methods li input{margin:0 10px 0 0;accent-color:var(--accent);width:18px;height:18px;vertical-align:middle}
.woocommerce-checkout #payment ul.payment_methods li label{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:14px;color:var(--ink);cursor:pointer}
.woocommerce-checkout #payment ul.payment_methods li img{max-height:26px;vertical-align:middle}
.woocommerce-checkout #payment div.payment_box{background:#fafafa;border-radius:8px;padding:12px 14px;margin:12px 0 0}
.woocommerce-checkout #payment div.payment_box::before{content:none}
.woocommerce-checkout #payment .place-order{margin-top:16px}
.woocommerce-checkout #payment #place_order{width:100%;height:52px;font-size:16px!important;padding:0!important}
.woocommerce-checkout #payment #place_order:disabled{opacity:.5;filter:grayscale(1);cursor:not-allowed}
.woocommerce-shipping-methods{list-style:none;margin:0;padding:0}
.woocommerce-shipping-methods li{display:flex;align-items:center;gap:10px;background:#fff;border:1.5px solid var(--line);border-radius:12px;padding:15px 16px;margin:0 0 10px}
.woocommerce-shipping-methods li:last-child{margin-bottom:0}
.woocommerce-shipping-methods li input{flex:0 0 auto;margin:0;accent-color:var(--accent);width:18px;height:18px}
.woocommerce-shipping-methods li label{flex:1;margin:0;font-size:14px;color:var(--ink);line-height:1.45;cursor:pointer}
.woocommerce-shipping-methods li:has(input:checked){border-color:var(--accent);background:#fff5f7}
.woocommerce-checkout #order_review{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px}
.woocommerce-checkout #order_review_heading{margin-top:20px}
.woocommerce table.shop_table td.product-total,.woocommerce table.shop_table tfoot td{font-weight:700}
.woocommerce table.shop_table tfoot .order-total td{font-size:17px;color:var(--accent)}
.woocommerce button.button,.woocommerce a.button,.woocommerce input.button,.woocommerce #place_order{background:var(--accent)!important;color:#fff!important;border-radius:12px!important;font-weight:800!important;font-size:15px!important;padding:14px 22px!important;border:0!important}
.woocommerce a.button.alt,.woocommerce button.button.alt{background:var(--ink)!important}
.woocommerce a.showcoupon,.woocommerce a.showlogin{color:var(--accent)!important;font-weight:600}
.woocommerce-order ul.order_details{list-style:none;margin:0 0 20px;padding:0;display:flex;gap:10px;flex-wrap:wrap}
.woocommerce-order ul.order_details li{background:#fff;border:1px solid var(--line);border-radius:10px;padding:14px 18px;font-size:13px;flex:1;min-width:140px}
.woocommerce-order ul.order_details li strong{display:block;font-size:15px;margin-top:4px}
.woocommerce-customer-details{margin-top:20px}
.woocommerce-pagination ul{list-style:none;display:flex;gap:6px;justify-content:center;padding:0;margin:0}
.woocommerce-pagination a,.woocommerce-pagination span{display:inline-block;min-width:34px;height:34px;line-height:34px;text-align:center;border-radius:8px;font-size:13px;font-weight:600;color:var(--ink-2)}
.woocommerce-pagination span.current{background:var(--ink);color:#fff}

/* Desktop cart/checkout two-column */
@media(min-width:820px){
  .woocommerce-cart .woocommerce{display:flex;gap:28px;align-items:flex-start}
  .woocommerce-cart .woocommerce-cart-form{flex:1.6;min-width:0}
  .woocommerce-cart .cart-collaterals{flex:1;margin-top:0;position:sticky;top:calc(var(--topbar-h) + var(--search-h) + 20px)}
  .woocommerce-checkout form.checkout{display:grid;grid-template-columns:1.4fr 1fr;gap:28px;align-items:start}
  #customer_details{grid-column:1}
  #order_review_heading,#order_review{grid-column:2}
  #order_review{position:sticky;top:calc(var(--topbar-h) + var(--search-h) + 20px)}
}

/* ============ DESKTOP ============ */
@media(min-width:820px){
  .tabbar{display:none}
  body.has-tabbar{padding-bottom:0}
  .topbar__cat{font-size:15px}
  .pdp__sticky-cta{display:none}
}

/* ============ CART (TikTok style) + CHECKOUT ============ */
.pageHead{display:flex;align-items:baseline;gap:10px;max-width:var(--maxw);margin:0 auto;padding:16px 16px 4px}
.pageHead__title{margin:0;font-size:20px;font-weight:800;letter-spacing:-.01em}
.pageHead__count{font-size:13px;font-weight:600;color:var(--ink-2)}

.cartPage,.checkoutPage{max-width:var(--maxw);margin:0 auto;padding:0 16px 40px}

.btn--primary{display:inline-flex;align-items:center;justify-content:center;height:48px;padding:0 26px;border-radius:12px;background:var(--accent);color:#fff;font-size:15px;font-weight:800}

.cartEmpty{text-align:center;padding:70px 20px;color:var(--ink-2)}
.cartEmpty__ic{margin-bottom:14px}
.cartEmpty__txt{font-size:15px;font-weight:600;margin:0 0 18px}

.cartForm{display:block}
.cartList{display:flex;flex-direction:column;gap:12px;margin:12px 0 14px}
.cartItem{display:flex;gap:12px;background:var(--card);border-radius:var(--radius);padding:12px;box-shadow:var(--shadow)}
.cartItem__img{width:76px;height:76px;border-radius:10px;overflow:hidden;background:var(--sk);flex-shrink:0;display:block}
.cartItem__img img{width:100%;height:100%;object-fit:cover}
.cartItem__ph{display:block;width:100%;height:100%;background:var(--sk)}
.cartItem__body{flex:1;min-width:0;display:flex;flex-direction:column}
.cartItem__title{font-size:14px;font-weight:600;color:var(--ink);line-height:1.35;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:2px}
.cartItem__meta{font-size:11.5px;color:var(--ink-2);margin-bottom:4px}
.cartItem__meta dt,.cartItem__meta dd,.cartItem__meta p{margin:0;display:inline}
.cartItem__meta dt::after{content:":"}
.cartItem__meta dd{margin-left:4px;margin-right:10px}
.cartItem__price{font-size:15px;font-weight:800;color:var(--accent);margin-bottom:8px}
.cartItem__foot{display:flex;align-items:center;justify-content:space-between;margin-top:auto}
.cartItem__remove{font-size:12.5px;font-weight:700;color:var(--ink-2);padding:6px 2px}
.qtyStepper{display:inline-flex;align-items:center;border:1.5px solid var(--line);border-radius:10px;overflow:hidden;background:#fff}
.qtyStepper__btn{width:34px;height:34px;display:grid;place-items:center;font-size:16px;font-weight:700;color:var(--ink)}
.qtyStepper__btn:active{background:#f1f1f2}
.qtyStepper__input{width:38px;height:34px;border:0;text-align:center;font-size:16px;font-weight:700;color:var(--ink);background:none;-moz-appearance:textfield}
.qtyStepper__input::-webkit-outer-spin-button,.qtyStepper__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

.cartCoupon{display:flex;gap:10px;margin-bottom:14px}
.cartCoupon__input{flex:1;min-width:0;height:46px;border:1.5px solid var(--line);border-radius:10px;padding:0 14px;font-size:16px;background:#fff;color:var(--ink)}
.cartCoupon__input::placeholder{color:var(--ink-3)}
.cartCoupon__btn{height:46px;padding:0 18px;border-radius:10px;background:var(--ink);color:#fff;font-size:14px;font-weight:800;flex-shrink:0}

.cartSummary{background:var(--card);border-radius:var(--radius);padding:16px 16px 22px;box-shadow:var(--shadow)}
.cartSummary__row{display:flex;justify-content:space-between;align-items:center;font-size:14px;color:var(--ink-2);padding:6px 0}
.cartSummary__row--discount span:last-child{color:var(--green);font-weight:700}
.cartSummary__row--total{border-top:1px solid var(--line);margin-top:6px;padding-top:14px;font-size:16px;font-weight:800;color:var(--ink)}
.cartSummary__row--total span:last-child{color:var(--accent);font-size:18px}
.cartSummary__cta{display:flex;align-items:center;justify-content:center;height:52px;margin-top:16px;border-radius:12px;background:var(--accent);color:#fff;font-size:16px;font-weight:800}

/* Checkout — remove the WC container padding so our .checkoutPage owns spacing */
.checkoutPage .woocommerce-checkout,
.checkoutPage .woocommerce{max-width:none;margin:0;padding:0}
.checkoutPage .woocommerce-checkout h3{font-size:16px;font-weight:800;margin:18px 0 10px}
.checkoutPage .woocommerce-info{border-radius:12px}
.checkoutPage form.checkout{margin-top:12px}

/* ============ CHECKOUT REDESIGN (cards + 2-col fields) ============ */
.checkoutPage .woocommerce-billing-fields,
.checkoutPage .woocommerce-shipping-fields,
.checkoutPage .woocommerce-additional-fields{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:16px;margin-bottom:14px;box-shadow:var(--shadow)}
.checkoutPage .woocommerce-billing-fields h3,
.checkoutPage .woocommerce-shipping-fields h3,
.checkoutPage .woocommerce-additional-fields h3{font-size:16px;font-weight:800;margin:0 0 14px!important}
.checkoutPage #order_review_heading{font-size:16px;font-weight:800;margin:16px 0 10px}
.checkoutPage #order_review{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:16px;box-shadow:var(--shadow)}
.checkoutPage table.shop_table{border-radius:0;box-shadow:none}
/* 2-column short fields (name, city/state/postcode) */
.checkoutPage .woocommerce form .form-row-first,.checkoutPage .woocommerce form .form-row-last{width:calc(50% - 7px)}
.checkoutPage .woocommerce form .form-row-first{float:left}
.checkoutPage .woocommerce form .form-row-last{float:right}
.checkoutPage .woocommerce form .form-row-wide{clear:both}
/* cleaner checkbox rows */
.checkoutPage .woocommerce form .woocommerce-form__label{display:flex!important;align-items:center;gap:8px;font-size:14px!important;font-weight:600;color:var(--ink);margin:6px 0}
.checkoutPage .woocommerce form .woocommerce-form__label input{width:auto;height:auto;margin:0}
.checkoutPage .woocommerce-terms-and-conditions-wrapper{background:transparent;border:0;border-radius:0;padding:0;margin:0}
.checkoutPage .woocommerce-privacy-policy-text{font-size:12px;color:var(--ink-3);line-height:1.5;margin:0 0 10px}
.checkoutPage .woocommerce-privacy-policy-text p{margin:0}
.checkoutPage .woocommerce-terms-and-conditions-wrapper .woocommerce-form__label{display:flex!important;align-items:flex-start;gap:8px;font-size:13px;font-weight:500;color:var(--ink-2);margin:0!important;line-height:1.5}
.checkoutPage .woocommerce-terms-and-conditions-wrapper .woocommerce-form__label input{width:auto;height:auto;margin:3px 0 0;flex-shrink:0}
.checkoutPage .woocommerce-terms-and-conditions-wrapper .required{display:none}
.checkoutPage .woocommerce form #place_order{margin-top:4px}

/* ============ MY ACCOUNT / AUTH ============ */
.accountPage{max-width:var(--maxw);margin:0 auto;padding:12px 16px 48px}
.accountPage .woocommerce{max-width:none;margin:0;padding:0}
.accountPage .woocommerce-MyAccount-content .woocommerce{max-width:none;margin:0;padding:0}

/* Login / Register */
.authPage{max-width:420px;margin:0 auto}
.authPage__brand{text-align:center;padding:12px 0 22px}
.authPage__hello{font-size:22px;font-weight:800;margin:0 0 4px;letter-spacing:-.01em}
.authPage__sub{font-size:13.5px;color:var(--ink-2);margin:0}
.authPage__tabs{display:flex;gap:4px;background:#f1f1f2;border-radius:12px;padding:4px;margin:0 0 18px}
.authPage__tab{flex:1;height:40px;border-radius:9px;font-size:14px;font-weight:700;color:var(--ink-2)}
.authPage__tab.is-active{background:#fff;color:var(--ink);box-shadow:var(--shadow)}
.authPage__panel form{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:20px;box-shadow:var(--shadow)}
.authPage__panel form .form-row{margin:0 0 14px}
.authPage__row{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px!important}
.authPage__remember{display:flex!important;align-items:center;gap:8px;font-size:13px;color:var(--ink-2)}
.authPage__remember input{width:auto;height:auto;margin:0}
.authPage__row .lost_password a{font-size:13px;color:var(--accent);font-weight:600}
.authPage__submitRow{margin:0!important}
.authPage__submit{width:100%;height:50px;border-radius:12px;background:var(--accent);color:#fff;font-size:15px;font-weight:800;border:0}
.authPage__submit:active{background:var(--accent-2)}
.authPage__hint{font-size:12.5px;color:var(--ink-2);background:#f7f7f8;border-radius:8px;padding:10px 12px;margin:0 0 14px}
.authPage__back{text-align:center;margin:14px 0 0;font-size:13.5px}
.authPage__back a{color:var(--accent);font-weight:700}

/* Password eye toggle */
.show-password-input{display:none!important}
.pw-field{position:relative;display:block}
.pw-field input{padding-right:44px!important}
.pw-eye{position:absolute;top:50%;right:6px;transform:translateY(-50%);width:36px;height:36px;border:0;background:transparent;color:var(--ink-2);display:grid;place-items:center;cursor:pointer;padding:0}
.pw-eye svg{width:20px;height:20px}
.pw-eye.on{color:var(--accent)}
.pw-mismatch{border-color:#c0203a!important}

/* Button loading spinner (inline before text) */
.is-loading{pointer-events:none;opacity:.9}
.is-loading::before{content:'';display:inline-block;width:18px;height:18px;margin-right:8px;border:2.5px solid currentColor;border-top-color:transparent;border-radius:50%;vertical-align:-3px;animation:hxspin .7s linear infinite}
.is-loading > svg{display:none}
@keyframes hxspin{to{transform:rotate(360deg)}}

/* Navigation (with icons) */
.acctNav ul{list-style:none;margin:0 0 14px;padding:0;display:flex;gap:8px;flex-wrap:wrap}
.acctNav li{background:#fff;border:1px solid var(--line);border-radius:999px;padding:0;font-size:13px;font-weight:600;overflow:hidden}
.acctNav li.is-active{background:var(--ink);border-color:var(--ink)}
.acctNav li.is-active a{color:#fff}
.acctNav a{display:flex;align-items:center;gap:7px;padding:9px 14px;color:var(--ink)}
.acctNav__ic{display:grid;place-items:center}
.acctNav__ic svg{width:17px;height:17px}

/* Dashboard */
.acctDash__hero{display:flex;align-items:center;gap:14px;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:18px;box-shadow:var(--shadow);margin-bottom:14px}
.acctDash__avatar{width:52px;height:52px;border-radius:50%;background:linear-gradient(135deg,var(--accent),#ff5f7e);color:#fff;font-size:22px;font-weight:800;display:grid;place-items:center;flex-shrink:0}
.acctDash__hi{font-size:16px;font-weight:800}
.acctDash__email{font-size:12.5px;color:var(--ink-2);margin-top:2px}
.acctDash__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:14px}
.acctDash__card{display:flex;flex-direction:column;align-items:center;gap:8px;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:18px 12px;box-shadow:var(--shadow)}
.acctDash__ic{width:40px;height:40px;border-radius:12px;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center}
.acctDash__ic svg{width:20px;height:20px}
.acctDash__label{font-size:12.5px;font-weight:700;color:var(--ink)}
.acctDash__note{font-size:12.5px;color:var(--ink-2);line-height:1.6;margin:0}

/* Content card + tables */
.accountPage .woocommerce-MyAccount-content{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:20px;box-shadow:var(--shadow)}
.accountPage .woocommerce-MyAccount-content h2,.accountPage .woocommerce-MyAccount-content h3{font-size:16px;font-weight:800;margin:0 0 14px}
.accountPage .woocommerce-MyAccount-content .woocommerce-orders-table,.accountPage .woocommerce-MyAccount-content .woocommerce-table{width:100%;border-collapse:collapse}
.accountPage .woocommerce-MyAccount-content .woocommerce-orders-table th,.accountPage .woocommerce-MyAccount-content .woocommerce-orders-table td{border-bottom:1px solid var(--line);padding:12px 8px;text-align:left;font-size:13.5px}
.accountPage .woocommerce-MyAccount-content .woocommerce-orders-table th{font-weight:800;color:var(--ink-2)}
.accountPage .woocommerce-Address{border:1px solid var(--line);border-radius:12px;padding:14px;margin-bottom:12px}
.accountPage .woocommerce-Address-title h3{margin:0 0 10px}
.accountPage .woocommerce-Button,.accountPage button.woocommerce-button{background:var(--accent)!important;color:#fff!important;border-radius:10px!important;padding:10px 18px!important;font-weight:700!important}

@media(min-width:820px){
  body.logged-in .accountPage .woocommerce{display:flex;gap:28px;align-items:flex-start}
  body.logged-in .accountPage .woocommerce-MyAccount-navigation{flex:0 0 220px;position:sticky;top:calc(var(--topbar-h) + var(--search-h) + 20px)}
  body.logged-in .accountPage .woocommerce-MyAccount-navigation ul{flex-direction:column}
  body.logged-in .accountPage .woocommerce-MyAccount-navigation li{border-radius:12px}
  body.logged-in .accountPage .woocommerce-MyAccount-content{flex:1;min-width:0}
}

/* ============ SIMPLE CHECKOUT — single address (billing auto-follows) ============ */
.checkoutPage #ship-to-different-address,
.checkoutPage .woocommerce-shipping-fields,
.checkoutPage .woocommerce-additional-fields{display:none!important}

/* ============ CHECKOUT LAYOUT v2 — clean 2-col desktop / 1-col mobile ============ */

/* Stack billing + notes full-width inside customer_details (kills broken middle col) */
.checkoutPage #customer_details{display:block!important;width:100%}
.checkoutPage #customer_details .col-1,
.checkoutPage #customer_details .col-2{width:100%!important;max-width:100%!important;float:none!important;margin:0!important;padding:0!important}

/* Coupon — clean card toggle + inline input/button */
.checkoutPage .woocommerce-form-coupon-toggle{background:transparent;padding:0;border:0;margin:0}
.checkoutPage .woocommerce-form-coupon-toggle .woocommerce-info{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  background:#fff;border:1px solid var(--line);border-radius:12px;
  padding:13px 15px;margin:0;color:var(--ink);font-size:13.5px;font-weight:600;
}
.checkoutPage .woocommerce-form-coupon-toggle .woocommerce-info::before{display:none}
.checkoutPage .woocommerce-form-coupon-toggle .showcoupon{color:var(--accent);font-weight:800;text-decoration:none}
.checkoutPage .checkout_coupon{
  background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px;margin:0;
  display:flex;gap:10px;flex-wrap:wrap;
}
.checkoutPage .checkout_coupon p{margin:0;padding:0}
.checkoutPage .checkout_coupon .form-row-first{flex:1;min-width:0;width:auto!important;float:none!important;margin:0!important}
.checkoutPage .checkout_coupon .form-row-last{width:auto!important;float:none!important;margin:0!important}
.checkoutPage .checkout_coupon input#coupon_code{height:46px;border:1.5px solid var(--line);border-radius:10px;padding:0 14px;font-size:15px;width:100%;background:#fff;color:var(--ink)}
.checkoutPage .checkout_coupon button.button{height:46px;padding:0 22px;border-radius:10px;background:var(--ink);color:#fff;font-weight:800;border:0}

/* Summary heading is redundant — the order card is self-explanatory */
.checkoutPage #order_review_heading{display:none}

/* Mobile: single column stack */
.checkoutPage form.checkout{display:flex;flex-direction:column;gap:14px}

/* Desktop: 2-column (form left, sticky summary right) */
@media(min-width:820px){
  .checkoutPage form.checkout{
    display:grid;
    grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);
    gap:16px 24px;
    align-items:start;
  }
  .checkoutPage form.checkout > .woocommerce-form-coupon-toggle,
  .checkoutPage form.checkout > .checkout_coupon,
  .checkoutPage form.checkout > #customer_details,
  .checkoutPage form.checkout > .woocommerce-additional-fields{grid-column:1}
  .checkoutPage form.checkout > #order_review{
    grid-column:2;
    grid-row:1 / span 10;
    position:sticky;
    top:calc(var(--topbar-h) + var(--search-h) + 20px);
  }
}

/* ============ v3: country-hide + coupon + buy-now + search grid ============ */

/* Country fields stay VISIBLE — overseas shipping supported. */
.checkoutPage #billing_country_field,
.checkoutPage #shipping_country_field{display:block!important}

/* Checkout coupon (rendered inside order review, before payment) */
.hx-coupon{margin:4px 0 14px}
.hx-coupon__toggle{display:flex;align-items:center;justify-content:space-between;width:100%;background:none;border:0;padding:0;font-size:13.5px;font-weight:700;color:var(--accent);cursor:pointer}
.hx-coupon__chev{font-size:16px;line-height:1}
.hx-coupon__form{display:flex;gap:8px;margin-top:10px}
.hx-coupon__input{flex:1;min-width:0;height:44px;border:1.5px solid var(--line);border-radius:10px;padding:0 12px;font-size:15px;background:#fff;color:var(--ink)}
.hx-coupon__apply{height:44px;padding:0 18px;border-radius:10px;background:var(--ink);color:#fff;font-size:14px;font-weight:800;border:0;flex-shrink:0}
.hx-coupon__msg{font-size:12.5px;margin-top:8px}
.hx-coupon__msg.is-ok{color:#0c7a4a}
.hx-coupon__msg.is-err{color:#c0203a}

/* PDP buy actions: small cart icon + big Buy Now */
.pdp__cta__carticon{width:52px;height:52px;border-radius:14px;background:#fff;color:var(--accent);border:1.5px solid var(--accent);display:grid;place-items:center;flex-shrink:0}
.pdp__cta__buy{flex:1;height:52px;border-radius:14px;background:var(--accent);color:#fff;font-size:16px;font-weight:800;border:0}
.pdp__cta__carticon:disabled,
.pdp__cta__buy:disabled{filter:grayscale(1);opacity:.6;cursor:not-allowed}

/* Mobile bottom bar (cart icon + Buy Now) — replaces tabbar on PDP */
.pdp__bottombar{display:none}
@media(max-width:767px){
	.single-product .tabbar{display:none}
	.single-product .pdp__buy{display:none}
	.single-product .pdp__bottombar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:240;background:#fff;border-top:1px solid var(--line);padding:10px 12px calc(10px + env(safe-area-inset-bottom));gap:10px;max-width:var(--maxw);margin:0 auto}
	.pdp__bottombar__cart{width:52px;flex:0 0 52px;height:48px;border-radius:12px;background:#fff;color:var(--accent);border:1.5px solid var(--accent);display:flex;align-items:center;justify-content:center}
	.pdp__bottombar__buy{flex:1;height:48px;border-radius:12px;background:var(--accent);color:#fff;font-size:15px;font-weight:800;border:0}
	.pdp__bottombar__cart:disabled,
	.pdp__bottombar__buy:disabled{filter:grayscale(1);opacity:.6;cursor:not-allowed}
}

/* Mobile checkout bottom bar (total + Place order) — replaces tabbar on checkout */
.checkout__bottombar{display:none}
@media(max-width:767px){
	.woocommerce-checkout .tabbar{display:none}
	.woocommerce-checkout .place-order #place_order{display:none}
	.woocommerce-checkout .checkout__bottombar{display:flex;flex-direction:column;position:fixed;left:0;right:0;bottom:0;z-index:240;background:#fff;border-top:1px solid var(--line);padding:10px 12px calc(10px + env(safe-area-inset-bottom));gap:8px;max-width:var(--maxw);margin:0 auto}
	.checkout__bottombar__total{display:flex;justify-content:space-between;align-items:baseline;line-height:1.2}
	.checkout__bottombar__total span{font-size:13px;color:var(--ink-2)}
	.checkout__bottombar__total b{font-size:17px;font-weight:800;color:var(--ink)}
	.checkout__bottombar__order{width:100%;height:48px;border-radius:12px;background:var(--accent);color:#fff;font-size:15px;font-weight:800;border:0}
	.checkout__bottombar__order:disabled{filter:grayscale(1);opacity:.6;cursor:not-allowed}
}

/* Mobile cart bottom bar (total + Checkout) — replaces tabbar on cart */
.cart__bottombar{display:none}
@media(max-width:767px){
	.woocommerce-cart .tabbar{display:none}
	.woocommerce-cart .cartSummary__cta{display:none}
	.woocommerce-cart .cart__bottombar{display:flex;flex-direction:column;position:fixed;left:0;right:0;bottom:0;z-index:240;background:#fff;border-top:1px solid var(--line);padding:10px 12px calc(10px + env(safe-area-inset-bottom));gap:8px;max-width:var(--maxw);margin:0 auto}
	.cart__bottombar__total{display:flex;justify-content:space-between;align-items:baseline;line-height:1.2}
	.cart__bottombar__total span{font-size:13px;color:var(--ink-2)}
	.cart__bottombar__total b{font-size:17px;font-weight:800;color:var(--ink)}
	.cart__bottombar__btn{display:flex;align-items:center;justify-content:center;width:100%;height:48px;border-radius:12px;background:var(--accent);color:#fff;font-size:15px;font-weight:800}
}

/* Quick-view footer: Add to Cart + Buy Now */
.qv__actions{flex:1;display:flex;gap:8px;min-width:0}
.qv__add{flex:0 0 52px;height:50px;border-radius:12px;background:#fff;color:var(--accent);border:1.5px solid var(--accent);display:flex;align-items:center;justify-content:center}
.qv__add:disabled{background:#f1f1f2;color:#a1a1aa;border-color:#e6e6ea;cursor:not-allowed}
.qv__buy{flex:1;height:50px;border-radius:12px;background:var(--accent);color:#fff;font-size:14px;font-weight:800;display:flex;align-items:center;justify-content:center;border:0;min-width:0}
.qv__buy:disabled{background:#d8d8dd;cursor:not-allowed}

/* Search: card grid (same card style as home) */
.searchGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.searchGrid .tcard{margin:0}

/* ============ FINAL POLISH — thank-you cards ============ */

/* Account creation — proper card matching the Shipping Address title; password field hidden until checked */
.checkoutPage .woocommerce-account-fields{display:block!important;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px 16px;margin-bottom:14px;box-shadow:var(--shadow)}
.checkoutPage .woocommerce-account-fields p.form-row{margin:0}
.checkoutPage .woocommerce-account-fields .woocommerce-form__label{display:flex!important;align-items:center;gap:8px;font-size:14px!important;font-weight:600;color:var(--ink);margin:0!important}
.checkoutPage .woocommerce-account-fields > div.create-account{display:none!important;padding-top:14px}
.checkoutPage .woocommerce-account-fields > div.create-account.show-account{display:block!important}
.checkoutPage .woocommerce-account-fields div.create-account .form-row{margin:0 0 14px}
.checkoutPage .woocommerce-account-fields div.create-account .form-row:last-of-type{margin-bottom:0}

/* Better select dropdowns (native + select2) */
.woocommerce form .form-row select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2388898c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right 14px center;background-size:16px;padding-right:40px;cursor:pointer}
.select2-container .select2-selection--single{height:48px}
.checkoutPage form .select2-container .select2-selection--single{padding:0!important}
.select2-container .select2-selection--single .select2-selection__rendered{line-height:46px!important;padding:0 40px 0 14px!important;font-size:16px}
.select2-container .select2-selection--single .select2-selection__arrow{height:46px!important;right:12px!important}
.select2-dropdown{border:1.5px solid var(--line)!important;border-radius:12px!important;box-shadow:var(--shadow)!important;overflow:hidden;margin-top:4px}
.select2-dropdown .select2-results__option{padding:12px 14px!important;font-size:15px}
.select2-dropdown .select2-results__option--highlighted{background:var(--accent-soft)!important;color:var(--ink)!important}

/* Better "Create an account?" checkbox */
.checkoutPage .woocommerce-account-fields .woocommerce-form__label input[type="checkbox"]{appearance:none;-webkit-appearance:none;width:20px;height:20px;border:2px solid var(--line);border-radius:6px;background:#fff;position:relative;cursor:pointer;flex-shrink:0;transition:border-color .15s,background .15s;margin:0!important}
.checkoutPage .woocommerce-account-fields .woocommerce-form__label input[type="checkbox"]:checked{background:var(--accent);border-color:var(--accent)}
.checkoutPage .woocommerce-account-fields .woocommerce-form__label input[type="checkbox"]:checked::after{content:'';position:absolute;left:5px;top:1px;width:6px;height:11px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}

/* Thank-you (order received) — clean cards to match the theme */
.checkoutPage .woocommerce-thankyou-order-received{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 18px;margin-bottom:14px;font-size:14px}
.checkoutPage .woocommerce-customer-details{margin-top:20px}
.checkoutPage .woocommerce-customer-details .col2-set{display:flex;gap:12px;flex-wrap:wrap}
.checkoutPage .woocommerce-customer-details .col-1,
.checkoutPage .woocommerce-customer-details .col-2{flex:1;min-width:240px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px}
.checkoutPage .woocommerce-customer-details h2,
.checkoutPage .woocommerce-customer-details h3{font-size:16px;font-weight:800;margin:0 0 10px}
.checkoutPage .woocommerce-customer-details address{font-style:normal;line-height:1.7;color:var(--ink-2);margin:0}
.checkoutPage .woocommerce-order .woocommerce-table,
.checkoutPage .woocommerce-order table.shop_table{background:#fff;border:1px solid var(--line);border-radius:12px;width:100%;border-collapse:collapse;overflow:hidden}
.checkoutPage .woocommerce-order table.shop_table th,
.checkoutPage .woocommerce-order table.shop_table td{border-bottom:1px solid var(--line);padding:12px 14px;text-align:left;font-size:13.5px}
.checkoutPage .woocommerce-order table.shop_table tfoot th,
.checkoutPage .woocommerce-order table.shop_table tfoot td{font-weight:700}

/* ============ v4: order-review cards + always-open coupon + phone/email ============ */

/* Order review container → transparent (cards inside provide the surfaces) */
.checkoutPage #order_review{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important}

/* Separate cards: shipping method + product */
.checkoutPage .hx-ocard{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px 16px;box-shadow:var(--shadow);margin-bottom:14px}
.checkoutPage .hx-ocard__title{font-size:16px;font-weight:800;color:var(--ink);margin:0 0 10px}
.checkoutPage .hx-ocard__body{margin:0}

/* Shipping card: hide the redundant "Shipment" th, make methods full width */
.checkoutPage .hx-ship-table{display:block;width:100%;border:0;border-radius:0;box-shadow:none;background:transparent;margin:0}
.checkoutPage .hx-ship-table tbody,.checkoutPage .hx-ship-table tr{display:block;width:100%;border:0}
.checkoutPage .hx-ship-table th{display:none}
.checkoutPage .hx-ship-table td{display:block;width:100%;border:0!important;padding:0!important}
.checkoutPage .hx-ship-table td[data-title]::before{content:none}
.checkoutPage .hx-ship-table ul#shipping_method{width:100%;margin:0}

/* Product card: borderless table, subtle row dividers */
.checkoutPage .hx-ocard--product table.shop_table{border:0;border-radius:0;box-shadow:none;margin:0}
.checkoutPage .hx-ocard--product table.shop_table th,
.checkoutPage .hx-ocard--product table.shop_table td{padding:10px 0;border-bottom:1px solid var(--line);text-align:left}
.checkoutPage .hx-ocard--product table.shop_table thead th{background:transparent;color:var(--ink-2);font-size:12px;text-transform:uppercase;letter-spacing:.03em}
.checkoutPage .hx-ocard--product table.shop_table tfoot th{background:transparent}
.checkoutPage .hx-ocard--product table.shop_table tfoot tr:last-child th,
.checkoutPage .hx-ocard--product table.shop_table tfoot tr:last-child td{border-bottom:0}

/* Payment: its own card + title (title sits above the methods, below coupon) */
.checkoutPage #payment{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px 16px;box-shadow:var(--shadow)}
.checkoutPage .hx-paytitle{font-size:16px;font-weight:800;color:var(--ink);margin:0 0 10px}
.checkoutPage #payment ul.payment_methods li{margin:0 0 8px}
.checkoutPage #payment ul.payment_methods li:last-child{margin-bottom:0}

/* Coupon: combined inside the Payment Method card (sub-section, no nested card) */
.checkoutPage .hx-coupon{margin:0 0 14px;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px 16px;box-shadow:var(--shadow)}
.checkoutPage .hx-coupon__head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 10px}
.checkoutPage .hx-coupon__title{font-size:16px;font-weight:800;color:var(--ink);margin:0}
.checkoutPage .hx-coupon__badge{background:var(--accent);color:#fff;font-size:12px;font-weight:800;padding:3px 9px;border-radius:6px;white-space:nowrap}
.checkoutPage .hx-coupon__form{margin-top:0}

/* Hide the redundant "Your order" h3 — the product card carries the title */
.checkoutPage #order_review_heading{display:none}

/* Order notes — card rendered inside the billing column (after create-account) */
.checkoutPage .hx-onotes{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px 16px;box-shadow:var(--shadow);margin:0 0 14px}

/* Cart errors (checkout blocked) — themed card */
.cartErrors{max-width:560px;margin:24px auto;padding:40px 28px;text-align:center;background:var(--card);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}
.cartErrors__ic{width:64px;height:64px;margin:0 auto 18px;display:grid;place-items:center;background:#ffe9ec;border-radius:50%;color:#c0203a}
.cartErrors__title{font-size:18px;font-weight:800;color:var(--ink);margin:0 0 8px}
.cartErrors__txt{font-size:14px;color:var(--ink-2);margin:0 auto 20px;max-width:420px;line-height:1.55}
.cartErrors__btn{display:inline-flex;align-items:center;justify-content:center;height:48px;padding:0 30px;border-radius:12px;background:var(--accent);color:#fff;font-size:15px;font-weight:800}
.cartErrors .woocommerce-error{margin:0 0 18px;text-align:left}
.cartErrors .woocommerce-error::before{content:none}
.checkoutPage .hx-onotes__title{font-size:16px;font-weight:800;color:var(--ink);margin:0 0 10px}
.checkoutPage .hx-onotes__body{margin:0}
.checkoutPage .hx-onotes .form-row{margin-bottom:0}
.checkoutPage .hx-onotes textarea{min-height:90px}

/* Order review product item (photo + variant) */
.hx-oreview__item{display:flex;gap:12px;align-items:center}
.hx-oreview__thumb{position:relative;width:56px;height:56px;flex-shrink:0}
.hx-oreview__thumb img{width:56px;height:56px;border-radius:10px;object-fit:cover}
.hx-oreview__qty{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--accent);color:#fff;font-size:11px;font-weight:700;display:grid;place-items:center;border:2px solid #fff}
.hx-oreview__meta{flex:1;min-width:0}
.hx-oreview__name{font-size:14px;font-weight:600;color:var(--ink);line-height:1.4}
.hx-oreview__variant{font-size:12.5px;color:var(--ink-2);margin-top:3px;line-height:1.4}
.hx-oreview__variant dl{margin:0;display:inline}
.hx-oreview__variant dt{display:inline;font-weight:600}
.hx-oreview__variant dd{display:inline;margin:0 0 0 2px}
.hx-oreview__variant dd::after{content:', '}
.hx-oreview__variant dd:last-of-type::after{content:''}
.hx-oreview__variant p{display:inline;margin:0}

/* Phone + email side-by-side (explicit clearing so floats don't collapse) */
.checkoutPage .woocommerce form .form-row-first{clear:left;float:left;width:calc(50% - 7px)}
.checkoutPage .woocommerce form .form-row-last{float:right;width:calc(50% - 7px)}
.checkoutPage .woocommerce form .form-row-wide{clear:both;float:none;width:100%}

/* ============ MY ACCOUNT — labels, order cards, pagination ============ */

/* Show labels (not placeholders) in auth + account forms */
.authPage form .form-row label:not(.woocommerce-form__label-for-checkbox),
.accountPage .woocommerce-MyAccount-content form .form-row label,
.checkoutPage .woocommerce-account-fields div.create-account .form-row label{display:block!important;font-size:12.5px;font-weight:700;color:var(--ink);margin:0 0 6px;letter-spacing:-.01em}
.authPage form .form-row label .required,
.accountPage .woocommerce-MyAccount-content form .form-row label .required{color:var(--accent)}

/* Edit account — password change fieldset + submit */
.accountPage .woocommerce-MyAccount-content form.edit-account fieldset{border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin:0 0 18px}
.accountPage .woocommerce-MyAccount-content form.edit-account legend{font-size:14px;font-weight:800;padding:0 6px;color:var(--ink)}
.acctEdit__submitRow{margin:0}
.acctEdit__submit{width:100%;height:50px;border-radius:12px;background:var(--accent);color:#fff;font-size:15px;font-weight:800;border:0}
.accountPage .woocommerce-MyAccount-content #account_display_name_description{display:block;font-size:11.5px;color:var(--ink-3);margin:6px 0 0}

/* Order list cards */
.hx-orders{display:flex;flex-direction:column;gap:12px}
.hx-order-card{display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px;box-shadow:var(--shadow)}
.hx-order-card__main{display:flex;gap:12px}
.hx-order-card__thumbs{display:flex;gap:6px;flex-shrink:0}
.hx-order-card__thumb{width:56px;height:56px;border-radius:10px;overflow:hidden;background:var(--bg);border:1px solid var(--line);display:grid;place-items:center}
.hx-order-card__thumb img{width:100%;height:100%;object-fit:cover}
.hx-order-card__more{display:grid;place-items:center;width:56px;height:56px;border-radius:10px;background:var(--bg);color:var(--ink-2);font-size:12px;font-weight:700}
.hx-order-card__body{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.hx-order-card__top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.hx-order-card__num{font-weight:800;font-size:14px}
.hx-order-card__status{font-size:11px;font-weight:700;padding:3px 9px;border-radius:999px;background:var(--bg);color:var(--ink-2);white-space:nowrap}
.hx-order-card__status--completed{background:#e6f7ef;color:#0a8a4e}
.hx-order-card__status--processing,.hx-order-card__status--on-hold{background:#fff4e0;color:#b47600}
.hx-order-card__status--cancelled,.hx-order-card__status--failed,.hx-order-card__status--refunded{background:#fdeaea;color:#c93030}
.hx-order-card__date{font-size:12px;color:var(--ink-2)}
.hx-order-card__track{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;font-size:11.5px;font-weight:700;color:var(--accent);background:var(--accent-soft);border-radius:999px;padding:4px 10px}
.hx-order-card__track svg{width:14px;height:14px}
.hx-order-card__bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}
.hx-order-card__items{font-size:12px;color:var(--ink-2)}
.hx-order-card__total{font-weight:800;font-family:var(--font-price);font-size:14px}
.hx-order-card__actions{display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:12px;margin-top:12px}
.hx-order-card__btn{display:inline-flex;align-items:center;height:36px;padding:0 16px;border-radius:10px;font-weight:800;font-size:13px;background:#fff;border:1px solid var(--line);color:var(--ink)}
.hx-order-card__btn.ast_track,.hx-order-card__btn.ast_multi_track{background:var(--accent);border-color:var(--accent);color:#fff}
.hx-order-card__btn.pay{background:var(--ink);border-color:var(--ink);color:#fff}
.hx-order-card__btn.cancel{color:var(--ink-2)}

/* Order pagination */
.hx-pagination{margin:20px 0 0;display:flex;justify-content:center;flex-wrap:wrap}
.hx-pagination .page-numbers{display:inline-grid;place-items:center;min-width:36px;height:36px;margin:0 3px;padding:0 8px;border-radius:10px;background:var(--card);border:1px solid var(--line);font-size:13px;font-weight:700;color:var(--ink)}
.hx-pagination .page-numbers.current{background:var(--ink);border-color:var(--ink);color:#fff}
.hx-pagination .page-numbers.prev,.hx-pagination .page-numbers.next{font-size:18px;line-height:1}
.hx-pagination .page-numbers.dots{background:transparent;border:0}

/* Order item (view order) thumbnail */
.hx-oi{display:flex;align-items:center;gap:12px}
.hx-oi__thumb{width:56px;height:56px;border-radius:10px;overflow:hidden;background:var(--bg);border:1px solid var(--line);flex-shrink:0;display:grid;place-items:center}
.hx-oi__thumb img{width:100%;height:100%;object-fit:cover}
.hx-oi__info{flex:1;min-width:0}
.hx-oi__name{font-weight:600;color:var(--ink)}
.hx-oi__info .product-quantity{color:var(--ink-2);font-weight:600}
.hx-oi__info ul.variation,.hx-oi__info ul.wc-item-meta{list-style:none;margin:4px 0 0;padding:0;font-size:11.5px;color:var(--ink-2)}

/* Empty orders state */
.hx-empty{text-align:center;padding:34px 16px;background:var(--card);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}
.hx-empty__ico{width:52px;height:52px;border-radius:14px;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;margin:0 auto 12px}
.hx-empty__ico svg{width:26px;height:26px}
.hx-empty p{font-size:14px;color:var(--ink-2);margin:0 0 14px}
.hx-empty__btn{display:inline-block;background:var(--accent);color:#fff;font-weight:800;font-size:14px;padding:11px 22px;border-radius:12px}

/* Address (shipping only) */
.acctAddr__desc{font-size:13px;color:var(--ink-2);margin:0 0 14px}
.accountPage .woocommerce-MyAccount-content .woocommerce-Address{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:16px}
.accountPage .woocommerce-MyAccount-content .woocommerce-Address-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.accountPage .woocommerce-MyAccount-content .woocommerce-Address-title h2{font-size:15px;font-weight:800;margin:0}
.accountPage .woocommerce-MyAccount-content .woocommerce-Address-title a.edit{color:var(--accent);font-weight:700;font-size:13px}
.accountPage .woocommerce-MyAccount-content .woocommerce-Address address{font-style:normal;line-height:1.7;color:var(--ink-2);margin:0;font-size:13.5px}

/* Confirm-email prompt (dashboard + orders) */
.acctVerify{display:flex;align-items:center;gap:12px;background:var(--accent-soft);border:1px solid rgba(254,44,85,.2);border-radius:14px;padding:14px;margin:0 0 14px;box-shadow:var(--shadow)}
.acctVerify__ic{width:40px;height:40px;border-radius:12px;background:var(--accent);color:#fff;display:grid;place-items:center;flex-shrink:0}
.acctVerify__ic svg{width:20px;height:20px}
.acctVerify__text{flex:1;min-width:0;font-size:12.5px;color:var(--ink);line-height:1.5}
.acctVerify__text strong{display:block;font-size:13.5px;font-weight:800;margin-bottom:2px}
.acctVerify__text span{color:var(--ink-2)}
.acctVerify__btn{flex-shrink:0;background:var(--accent);color:#fff;font-weight:800;font-size:13px;padding:10px 16px;border-radius:10px}

/* Order details — hide billing address (billing = shipping) */
.woocommerce-customer-details .woocommerce-column--billing-address{display:none}

/* ============================================================
 * PWA install banner (bottom, above tabbar)
 * ============================================================ */
.pwaBar{position:fixed;left:0;right:0;bottom:0;z-index:9990;padding:0 12px calc(66px + env(safe-area-inset-bottom, 0px) + 10px);pointer-events:none;transform:translateY(110%);transition:transform .35s cubic-bezier(.22,1,.36,1)}
.pwaBar.is-visible{transform:translateY(0)}
.pwaBar__card{pointer-events:auto;background:var(--card,#fff);border:1px solid var(--line,#e8e8e8);border-radius:16px;box-shadow:0 -6px 24px -8px rgba(0,0,0,.18),0 8px 30px -12px rgba(0,0,0,.14);overflow:hidden}
.pwaBar__row{display:flex;align-items:center;gap:12px;padding:12px 14px;cursor:pointer;user-select:none}
.pwaBar__icon{width:40px;height:40px;border-radius:11px;background:var(--accent-soft,#ffe3ea);color:var(--accent,#fe2c55);display:grid;place-items:center;flex-shrink:0}
.pwaBar__icon svg{width:20px;height:20px}
.pwaBar__text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.pwaBar__text strong{font-size:14px;font-weight:800;color:var(--ink,#111);font-family:var(--font-display);line-height:1.2}
.pwaBar__text span{font-size:11.5px;color:var(--ink-2,#666);line-height:1.3}
.pwaBar__btn{display:inline-flex;align-items:center;justify-content:center;height:36px;padding:0 16px;border-radius:10px;background:var(--accent,#fe2c55);color:#fff;font-weight:800;font-size:13px;border:0;flex-shrink:0;cursor:pointer;box-shadow:0 4px 12px -4px rgba(254,44,85,.5)}
.pwaBar__close{background:transparent;border:0;font-size:22px;line-height:1;color:var(--ink-3,#999);padding:4px;cursor:pointer;flex-shrink:0}
.pwaBar__steps{border-top:1px solid var(--line,#eee);padding:4px 14px 14px;animation:hxPwaGrow .25s ease}
.pwaBar__step{display:flex;gap:12px;align-items:flex-start;padding:10px 0}
.pwaBar__stepNum{width:26px;height:26px;border-radius:50%;background:var(--accent-soft,#ffe3ea);color:var(--accent,#fe2c55);font-weight:800;font-size:13px;display:grid;place-items:center;flex-shrink:0;margin-top:1px}
.pwaBar__stepBody{flex:1;min-width:0}
.pwaBar__stepBody strong{font-size:13px;font-weight:700;color:var(--ink,#111);display:block;line-height:1.35}
.pwaBar__stepBody span{font-size:12px;color:var(--ink-2,#666);line-height:1.4;display:block;margin-top:1px}
.pwaBar__never{display:block;width:100%;margin-top:6px;background:transparent;border:0;color:var(--ink-3,#aaa);font-size:12px;font-weight:600;cursor:pointer;text-align:center;padding:6px 0}
@keyframes hxPwaGrow{from{opacity:0;max-height:0}to{opacity:1;max-height:400px}}

/* PWA banner — step icon (matching the actual icon to look for) + alt step */
.pwaBar__stepIcon{width:34px;height:34px;border-radius:10px;background:var(--accent-soft,#ffe3ea);color:var(--accent,#fe2c55);display:grid;place-items:center;flex-shrink:0;margin-top:0}
.pwaBar__stepIcon svg{width:19px;height:19px}
.pwaBar__step--alt{background:var(--accent-soft,#ffe3ea);border-radius:10px;padding:8px 10px;margin-top:4px}
.pwaBar__step--alt .pwaBar__stepNum{background:transparent;color:var(--accent,#fe2c55)}
