/* =========================================================
   WordPress + WooCommerce integration.
   WooCommerce ships no CSS here (woocommerce_enqueue_styles is emptied in
   functions.php), so every store control is styled from the tokens and
   components defined in main.css. One accent, pills for controls,
   24px cards, 12px inputs.
   ========================================================= */

/* ---------- footer CTA ---------- */
/* .foot-cta is a column flex with align-items:flex-start below 768px, which
   sizes children to max-content - the strap line then runs past the screen. */
.foot-cta > p,.foot-cta .muted{max-width:100%;overflow-wrap:anywhere}
.foot-cta .muted a{overflow-wrap:anywhere}

/* ---------- uniform catalog thumbnails ---------- */
/* main.css ends with a rule forcing object-fit:contain on product artwork so
   the whole vial is visible. That letterboxes any upload whose ratio is not
   ~4:5 - a square image leaves bars and the tiles stop matching. In the grid
   we want every tile identical instead, so cover and crop. The product page
   keeps `contain`, because that is where seeing the entire vial matters.
   Loaded after main.css, so these win on equal specificity. */
.p-card__media img,.wl-card__media img,.mega-feature img{object-fit:cover;object-position:center;padding:0}
/* The product page gallery matches, so an odd-sized upload is zoomed rather
   than letterboxed there too. mix-blend-mode:normal from main.css still
   applies - only object-fit is overridden here. */
.stage .slide img.vial,.thumbs button img{object-fit:cover;object-position:center}

/* cover crops to fill, so the frame must never be wider than the art is tall.
   4/5 matches the catalog photography; anything squarer is zoomed, not padded. */
.p-card__media,.wl-card__media{aspect-ratio:4/5}

/* ---------- promo bar ---------- */
/* .site-header is fixed at top:var(--header-top), so the promo bar's height has
   to join that sum rather than simply being prepended to the document. The bar
   does sit in normal flow, so the hero pulls itself up by the bar's height. */
:root{--promo-h:0px}
body.has-promo{--promo-h:38px}
html.promo-off body.has-promo{--promo-h:0px}
html.promo-off .promo-bar{display:none}
.site-header.no-anim{transition:none}

body.has-promo .site-header{top:calc(var(--promo-h) + var(--header-top))}
body.has-promo .site-header.is-scrolled{top:10px}
body.has-promo .hero{margin-top:calc(var(--promo-h) * -1)}
/* On dismissal these restate the offsets from the static --header-top instead of
   relying on --promo-h flipping to 0. Changing a custom property inside an
   already-transitioned calc() does not reliably invalidate `top`, so the
   header would otherwise keep its old offset until the next reflow. */
html.promo-off body.has-promo .site-header{top:var(--header-top)}
html.promo-off body.has-promo .site-header.is-scrolled{top:10px}
html.promo-off body.has-promo .hero{margin-top:0}

.promo-bar{position:relative;z-index:62;min-height:var(--promo-h);display:grid;place-items:center;padding:0 12px;background:linear-gradient(100deg,#2a0309 0%,#7d0a1c 42%,#c4172f 72%,#7d0a1c 100%);color:#fff;font-size:.82rem;line-height:1.3}
.promo-bar__inner{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;width:100%;max-width:var(--wrap);padding-block:5px}
.promo-bar__msg{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:center;color:#fff}
.promo-bar__msg strong{font-weight:700;letter-spacing:-.005em}
.promo-bar__detail::before,.promo-bar__ends::before{content:"";display:inline-block;width:3px;height:3px;border-radius:50%;background:currentColor;opacity:.55;margin-right:10px;vertical-align:middle}
.promo-bar__ends{opacity:.8}
@media (hover:hover){.promo-bar__msg:hover{text-shadow:0 0 10px rgba(255,255,255,.45)}}

.promo-code{display:inline-flex;align-items:center;gap:8px;position:relative;height:28px;padding:0 12px;border-radius:var(--pill);border:1px dashed rgba(255,255,255,.5);background:rgba(0,0,0,.22);color:#fff;font:700 .78rem/1 var(--f-mono);letter-spacing:.08em;cursor:pointer;transition:background-color .2s ease,border-color .2s ease}
.promo-code i{font-size:.95rem;opacity:.85}
@media (hover:hover){.promo-code:hover{background:rgba(0,0,0,.4);border-color:#fff}}
.promo-code:active{transform:scale(.96)}
.promo-code__done{position:absolute;inset:0;display:grid;place-items:center;border-radius:inherit;background:#fff;color:#7d0a1c;opacity:0;pointer-events:none;transition:opacity .18s ease;font-size:.74rem}
.promo-code.is-copied .promo-code__done{opacity:1}
.promo-code.is-manual{border-style:solid;border-color:#fff;background:rgba(0,0,0,.45)}
.promo-code__value{user-select:all}

.promo-close{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:26px;height:26px;display:grid;place-items:center;border-radius:var(--pill);color:#fff;opacity:.65;font-size:.9rem;transition:opacity .2s ease,background-color .2s ease}
@media (hover:hover){.promo-close:hover{opacity:1;background:rgba(0,0,0,.25)}}

@media (max-width:768px){
  body.has-promo{--promo-h:35px}
  .promo-bar{font-size:.74rem;padding-inline:8px}
  .promo-bar__inner{gap:8px;padding-right:26px}
  .promo-bar__ends{display:none}
  .promo-code{height:25px;padding:0 10px;font-size:.7rem}
}
@media (max-width:480px){
  .promo-bar__detail{display:none}
  .promo-bar{font-size:.72rem}
}

/* ---------- promo modal ---------- */
/* z-index sits above the drawer (96) and toast (120) but below the research
   gate (300), so the gate is never covered by a promotion. */
.promo-modal{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:20px}
.promo-modal[hidden]{display:none}
.promo-modal__scrim{position:absolute;inset:0;background:rgba(4,5,6,.72);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);opacity:0;transition:opacity .35s var(--ease-out)}
.promo-modal__card{position:relative;width:min(420px,100%);max-height:calc(100dvh - 40px);overflow:auto;display:grid;gap:14px;justify-items:center;text-align:center;padding:clamp(28px,4vw,40px) clamp(22px,3.4vw,34px);border:1px solid var(--line-2);border-radius:calc(var(--r-card) + 6px);background:linear-gradient(170deg,#1a0409 0%,#121314 48%,#0e0f10 100%);box-shadow:0 40px 120px rgba(0,0,0,.65);opacity:0;transform:translateY(14px) scale(.97);transition:opacity .4s var(--ease-out),transform .45s var(--ease-out)}
.promo-modal.is-open .promo-modal__scrim{opacity:1}
.promo-modal.is-open .promo-modal__card{opacity:1;transform:none}
.promo-modal__card h2{font-size:clamp(1.7rem,3.4vw,2.3rem);line-height:1.05}
.promo-modal__lead{color:var(--muted);font-size:.94rem;margin:0}
.promo-modal__detail{display:inline-flex;align-items:center;gap:8px;margin:0;font-size:.9rem;color:#d6d7d3}
.promo-modal__detail i{color:var(--accent);font-size:1.1rem}
.promo-modal__ends{margin:0;font-family:var(--f-mono);font-stretch:87.5%;font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;color:var(--accent)}
.promo-modal__ruo{margin:4px 0 0;font-size:.72rem;line-height:1.45;color:var(--dim);max-width:34ch}
.promo-modal__card .btn{margin-top:4px}
.promo-modal__close{position:absolute;top:12px;right:12px;width:36px;height:36px;display:grid;place-items:center;border-radius:var(--pill);border:1px solid var(--line-2);color:var(--muted);font-size:1rem;transition:background-color .2s ease,color .2s ease,border-color .2s ease}
@media (hover:hover){.promo-modal__close:hover{background:rgba(255,255,255,.07);color:var(--text);border-color:var(--text)}}

/* The code pill, scaled up for the dialog. */
.promo-code--lg{height:52px;padding:0 22px;font-size:1.05rem;letter-spacing:.14em;border-style:dashed;border-color:rgba(240,68,82,.55);background:rgba(240,68,82,.1);color:var(--text)}
.promo-code--lg i{font-size:1.15rem}
@media (hover:hover){.promo-code--lg:hover{background:rgba(240,68,82,.18);border-color:var(--accent)}}
.promo-code--lg .promo-code__done{background:var(--accent);color:var(--ink);font-size:.9rem;letter-spacing:.06em}

@media (prefers-reduced-motion:reduce){
  .promo-modal__card{transform:none;transition:opacity .15s linear}
  .promo-modal__scrim{transition:opacity .15s linear}
}
@media (max-width:480px){
  .promo-modal{padding:14px}
  .promo-modal__card{gap:12px;border-radius:var(--r-card)}
  .promo-code--lg{height:48px;font-size:.98rem}
}

/* ---------- generic WP pages ---------- */
.wp-page{padding-top:calc(var(--header-h) + 72px);min-height:70vh}
.wp-content{max-width:72ch;color:#c9cbc6}
.wp-content > * + *{margin-top:1.1em}
.wp-content a,.woocommerce a.inline{color:var(--accent)}
.wp-content h2,.wp-content h3{color:var(--text);margin-top:1.6em}
.wp-content ul,.wp-content ol{padding-left:20px;display:grid;gap:8px}
.journal-card{padding-block:28px;border-bottom:1px solid var(--line)}
.journal-card h2{font-size:clamp(1.3rem,2.4vw,1.9rem);margin-bottom:10px}

/* WooCommerce leans on this class the way the theme leans on .sr-only. */
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.woocommerce .clear{clear:both}
.woocommerce,.woocommerce-page .woocommerce{min-width:0}
.woocommerce h2,.woocommerce h3{color:var(--text)}
/* Core marks the order number, date and status with <mark>; the browser default
   is a yellow highlight, so make it emphasis in the theme's own language. */
.woocommerce mark,.woocommerce-MyAccount-content mark,.store mark{background:transparent;color:var(--text);font-weight:600}
.woocommerce-order-details__title,.woocommerce-order-downloads__title{margin-top:26px}

/* ---------- notices ---------- */
.woocommerce-error,.woocommerce-info,.woocommerce-message,.woocommerce-noreviews,p.no-comments{display:flex;align-items:flex-start;gap:12px;margin:0 0 20px;padding:15px 18px;border:1px solid var(--line-2);border-left:2px solid var(--accent);border-radius:var(--r-sm);background:var(--surface);color:#dcddd9;font-size:.94rem;line-height:1.5;list-style:none}
.woocommerce-error{flex-direction:column;gap:10px}
.woocommerce-error li{display:flex;align-items:flex-start;gap:12px;margin:0}
.woocommerce-error > i,.woocommerce-error li > i,.woocommerce-info > i,.woocommerce-message > i{flex:none;font-size:1.15rem;margin-top:1px;color:var(--accent)}
.woocommerce-message{border-left-color:#5ac08a}
.woocommerce-message > i{color:#5ac08a}
.woocommerce-error,.woocommerce-error li > i{border-left-color:#e4604f}
.woocommerce-error li > i{color:#e4604f}
.woocommerce-error a,.woocommerce-info a,.woocommerce-message a{color:var(--text);font-weight:600;border-bottom:1px solid var(--line-2)}
.woocommerce-error a:hover,.woocommerce-info a:hover,.woocommerce-message a:hover{border-color:var(--accent);color:var(--accent)}
.woocommerce-error > span,.woocommerce-error li > span,.woocommerce-info > span,.woocommerce-message > span{min-width:0}
/* Core puts buttons inside the notice text; keep them small so they sit in the
   line. Specificity has to beat the `.woocommerce a.button` pill above. */
.woocommerce .woocommerce-info a.button,.woocommerce .woocommerce-message a.button,.woocommerce .woocommerce-error a.button,
.woocommerce .woocommerce-info button.button,.woocommerce .woocommerce-message button.button,
.woocommerce-info a.button,.woocommerce-message a.button,.woocommerce-error a.button,
.woocommerce-info .btn,.woocommerce-message .btn{height:38px;padding:0 15px;font-size:.84rem;margin:0 10px 2px 0;vertical-align:middle}
.coupon-error-notice,.checkout-inline-error-message,.woocommerce-password-hint{display:block;margin-top:8px;font-size:.82rem;color:#ff9f8f}
.woocommerce-NoticeGroup{display:block}

/* jQuery blockUI overlay used while the cart and checkout refresh. */
.blockUI.blockOverlay{position:relative}
.blockUI.blockOverlay::before{content:"";position:absolute;top:50%;left:50%;width:26px;height:26px;margin:-13px 0 0 -13px;border-radius:50%;border:2px solid var(--text);border-right-color:transparent;animation:euwSpin .7s linear infinite}
.woocommerce .blockUI.blockOverlay{background:rgba(8,9,10,.6)!important;opacity:1!important}
@keyframes euwSpin{to{transform:rotate(360deg)}}

/* ---------- buttons: map WooCommerce's classes onto the theme pill ---------- */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce .woocommerce-Button,.woocommerce #respond input#submit,
.woocommerce-page a.button,.woocommerce-page button.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:52px;padding:0 24px;border:0;border-radius:var(--pill);background:var(--text);color:var(--ink);font:600 .95rem/1 var(--f-body);letter-spacing:-.005em;white-space:nowrap;cursor:pointer;transition:transform .16s var(--ease-out),background-color .25s ease,color .25s ease}
.woocommerce a.button:active,.woocommerce button.button:active,.woocommerce input.button:active{transform:scale(.97)}
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:var(--accent);color:var(--ink)}
@media (hover:hover) and (pointer:fine){
  .woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce .woocommerce-Button:hover{background:var(--accent);color:var(--ink)}
}
.woocommerce a.button.disabled,.woocommerce button.button:disabled,.woocommerce input.button:disabled{opacity:.45;pointer-events:none}
.woocommerce .btn[disabled],.woocommerce .btn:disabled{opacity:.45;pointer-events:none}
.btn--primary .lbl,.woocommerce .btn--primary .lbl{position:relative}
.euphoria-price{font-family:var(--f-display);font-stretch:112%;font-weight:600;font-size:1.1rem;letter-spacing:-.01em;margin-top:10px}
.euphoria-price del{color:var(--dim);font-weight:400;margin-right:8px}
.euphoria-price ins{text-decoration:none}
.price-on-request{display:inline-block;color:var(--muted);font-family:var(--f-body);font-size:.88rem;font-weight:500;letter-spacing:.01em}

/* ---------- form controls ---------- */
.woocommerce .form-row,.woocommerce-page .form-row{display:flex;flex-direction:column;gap:8px;margin:0}
.woocommerce .form-row label,.woocommerce .field label,.woocommerce-page .form-row label{font-size:.86rem;font-weight:600;color:#d6d7d3}
.woocommerce .form-row label small,.woocommerce .field label small{font-weight:400;color:var(--dim)}
.woocommerce .required{color:var(--accent);text-decoration:none;border:0}
.woocommerce .form-row .woocommerce-input-wrapper{display:block;width:100%}
.woocommerce input.input-text,.woocommerce textarea,.woocommerce select,.woocommerce input[type=text],.woocommerce input[type=email],
.woocommerce input[type=tel],.woocommerce input[type=password],.woocommerce input[type=number],.woocommerce input[type=search],
.euw-input,.woocommerce-page input.input-text,.woocommerce-page select{width:100%;height:52px;border-radius:var(--r-sm);border:1px solid var(--line-2);background:var(--surface);padding:0 16px;font-size:1rem;color:var(--text);transition:border-color .2s ease,background-color .2s ease}
.woocommerce textarea{height:auto;min-height:130px;padding:14px 16px;resize:vertical;line-height:1.5}
.woocommerce select,.woocommerce-page select{appearance:none;-webkit-appearance:none;padding-right:40px;background:var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23cfd0cc' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center}
.woocommerce select option{background:#121314;color:var(--text)}
.woocommerce input::placeholder,.woocommerce textarea::placeholder{color:#7f817c}
.woocommerce input.input-text:focus,.woocommerce textarea:focus,.woocommerce select:focus,.euw-input:focus{outline:none;border-color:var(--text);background:var(--surface-2)}
.woocommerce .form-row.woocommerce-invalid input.input-text,.woocommerce .form-row.woocommerce-invalid select,.woocommerce .form-row.woocommerce-invalid .input-checkbox{border-color:#e46b5c}
.woocommerce .form-row.woocommerce-validated input.input-text,.woocommerce .form-row.woocommerce-validated select{border-color:rgba(90,192,138,.5)}
.woocommerce .form-row .description,.woocommerce .field .help,.woocommerce .form-row span em{display:block;font-size:.8rem;font-style:normal;color:var(--dim)}
.woocommerce label.checkbox,.woocommerce .woocommerce-form__label-for-checkbox{display:flex;gap:12px;align-items:flex-start;font-size:.92rem;font-weight:400;color:#d6d7d3;cursor:pointer}
.woocommerce input[type=checkbox],.woocommerce .input-checkbox{appearance:none;-webkit-appearance:none;width:20px;height:20px;border:1px solid #686b68;border-radius:6px;flex:none;margin:1px 0 0;display:grid;place-content:center;background:var(--surface);cursor:pointer}
.woocommerce input[type=checkbox]:checked,.woocommerce .input-checkbox:checked{background:var(--text);border-color:var(--text)}
.woocommerce input[type=checkbox]:checked::after,.woocommerce .input-checkbox:checked::after{content:"";width:10px;height:6px;border-left:2px solid var(--ink);border-bottom:2px solid var(--ink);transform:rotate(-45deg) translate(1px,-1px)}
.woocommerce input[type=radio]{appearance:none;-webkit-appearance:none;width:20px;height:20px;border:1px solid #686b68;border-radius:50%;flex:none;margin:0;display:grid;place-content:center;background:var(--surface);cursor:pointer}
.woocommerce input[type=radio]:checked{border-color:var(--accent)}
.woocommerce input[type=radio]:checked::after{content:"";width:10px;height:10px;border-radius:50%;background:var(--accent)}
.woocommerce fieldset{border:0;border-top:1px solid var(--line);margin:28px 0 0;padding:26px 0 0;min-width:0}
.woocommerce fieldset legend{font-family:var(--f-mono);font-stretch:87.5%;font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;color:var(--dim);padding:0}
.woocommerce form .password-input{position:relative;display:block}
.woocommerce form .show-password-input{position:absolute;right:14px;top:16px;color:var(--muted);cursor:pointer}

/* ---------- store shell ---------- */
.store .page-hero{padding-bottom:clamp(26px,3vw,40px)}
.store-body{padding-top:clamp(26px,3.5vw,44px);padding-bottom:clamp(72px,9vw,130px)}
.store-steps{display:flex;align-items:center;gap:10px;flex-wrap:wrap;list-style:none;margin:30px 0 0;padding:0}
.store-step{display:flex;align-items:center;gap:9px;font-size:.88rem;color:var(--dim)}
.store-step + .store-step::before{content:"";width:22px;height:1px;background:var(--line-2);margin-right:1px}
.store-step__n{display:grid;place-items:center;width:26px;height:26px;border-radius:var(--pill);border:1px solid var(--line-2);font-family:var(--f-mono);font-size:.68rem;flex:none}
.store-step.is-current{color:var(--text);font-weight:600}
.store-step.is-current .store-step__n{background:var(--text);color:var(--ink);border-color:var(--text)}
.store-step.is-done{color:var(--muted)}
.store-step.is-done .store-step__n{border-color:var(--accent);color:var(--accent)}
.store-step.is-done a:hover{color:var(--text)}

/* ---------- quantity stepper ---------- */
.woocommerce .quantity.qty{display:inline-flex;align-items:center;height:48px;border:1px solid var(--line-2);border-radius:var(--pill);background:var(--surface);flex:none;overflow:hidden}
.woocommerce .quantity.qty .qty-step{width:40px;height:100%;display:grid;place-items:center;font-size:.95rem;color:var(--muted);transition:background-color .2s ease,color .2s ease}
.woocommerce .quantity.qty .qty-step:hover{background:rgba(255,255,255,.06);color:var(--text)}
.woocommerce .quantity.qty .qty-step:active{transform:scale(.92)}
.woocommerce .quantity.qty input{width:44px;height:100%;padding:0;border:0;background:transparent;text-align:center;font-weight:600;font-size:.95rem;-moz-appearance:textfield}
.woocommerce .quantity.qty input::-webkit-outer-spin-button,.woocommerce .quantity.qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.woocommerce .quantity.qty input:focus{outline:none;background:rgba(255,255,255,.05)}
.woocommerce .quantity.qty--readonly{background:transparent;border-style:dashed}

/* ---------- shop archive ---------- */
.shop-hero{padding-top:calc(var(--header-h) + 72px);padding-bottom:clamp(30px,4vw,48px)}
.shop-section{padding-top:0}
.shop-toolbar{position:sticky;top:calc(var(--header-h) + 14px);z-index:20;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;padding:12px;margin-bottom:clamp(28px,4vw,40px);border:1px solid var(--line);border-radius:28px;background:rgba(12,13,14,.82);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.filter-chips{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;min-width:0}
.filter-chips::-webkit-scrollbar{display:none}
.filter-chips .chip{display:inline-flex;align-items:center;height:40px;padding:0 16px;border-radius:var(--pill);border:1px solid transparent;font-size:.88rem;font-weight:500;color:#cfd0cc;white-space:nowrap;transition:background-color .2s ease,color .2s ease,border-color .2s ease}
.filter-chips .chip.is-active{background:var(--text);color:var(--ink)}
@media (hover:hover){.filter-chips .chip:not(.is-active):hover{border-color:var(--line-2)}}
.woocommerce-ordering{flex:none;margin-left:auto}
.woocommerce-ordering select{height:40px;width:auto;min-width:190px;padding:0 38px 0 16px;border-radius:var(--pill);background-color:transparent;font-size:.88rem}
.shop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(18px,2vw,28px) clamp(14px,1.6vw,22px)}
.shop-grid .p-card{min-width:0}
.archive-product .empty-state,.store .empty-state{display:flex}
.navigation.pagination,.woocommerce-pagination{margin-top:clamp(40px,5vw,64px)}
.navigation.pagination .nav-links,.woocommerce-pagination ul{display:flex;gap:8px;list-style:none;margin:0;padding:0;justify-content:center;flex-wrap:wrap}
.page-numbers{display:grid;place-items:center;min-width:44px;height:44px;padding:0 12px;border:1px solid var(--line-2);border-radius:var(--pill);font-size:.9rem;color:#cfd0cc;transition:background-color .2s ease,border-color .2s ease,color .2s ease}
.page-numbers.current{background:var(--text);border-color:var(--text);color:var(--ink);font-weight:600}
@media (hover:hover){.page-numbers:not(.current):hover{border-color:var(--text);color:var(--text)}}

/* Product cards keep their wishlist heart above the full-card link. */
.wish-btn{position:absolute;right:12px;top:12px;z-index:3;width:40px;height:40px;display:grid;place-items:center;border-radius:var(--pill);border:1px solid var(--line-2);background:rgba(8,9,10,.62);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#dcddd9;font-size:1.15rem;transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .16s var(--ease-out)}
.wish-btn:active{transform:scale(.9)}
.wish-btn.is-on{color:var(--accent);border-color:rgba(240,68,82,.5)}
@media (hover:hover){.wish-btn:hover{border-color:var(--text);color:var(--text)}.wish-btn.is-on:hover{color:var(--accent)}}
.wish-btn--inline{position:static;width:auto;height:48px;gap:10px;padding:0 20px;font-size:1rem;display:inline-flex;align-items:center;background:rgba(255,255,255,.02)}
.wish-btn__lbl{font-size:.92rem;font-weight:600}
.wish-link .count-badge{background:var(--accent)}

/* ---------- variable product options ---------- */
/* The real <select> stays in the DOM for WooCommerce's JS and as a no-JS
   fallback; the pills above it are what people actually click. */
.variations{margin-bottom:8px}
.variation-row + .variation-row{margin-top:18px}
.variation-row .opt-label{margin-bottom:10px}
.variation-chosen{color:var(--text);font-weight:600}
.variation-select{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
html.no-js .variation-select,.no-js .variation-select{position:static;width:auto;height:auto;clip:auto;margin-bottom:14px}
.variants label.is-unavailable span{opacity:.32;text-decoration:line-through;cursor:not-allowed}
.woocommerce-variation{margin:4px 0 18px}
.woocommerce-variation-price{font-family:var(--f-display);font-stretch:112%;font-weight:600;font-size:1.35rem;letter-spacing:-.02em}
.woocommerce-variation-price .price del{color:var(--dim);font-weight:400;font-size:.8em;margin-right:8px}
.woocommerce-variation-price .price ins{text-decoration:none}
.woocommerce-variation-availability{margin-top:6px}
.woocommerce-variation-availability .stock{font-size:.88rem;color:var(--muted)}
.woocommerce-variation-availability .out-of-stock{color:#e4877a}
.woocommerce-variation-description{color:var(--muted);font-size:.93rem;margin-top:8px}
.buy.has-variation [data-base-price]{display:none}
.variations_form .reset_variations{font-size:.8rem;color:var(--dim);border-bottom-color:transparent;padding-bottom:2px}
.variations_form .reset_variations:hover{color:var(--accent);border-bottom-color:currentColor}
.woocommerce-variation-add-to-cart .buy-row{margin-bottom:0}
.woocommerce-variation-add-to-cart.woocommerce-variation-add-to-cart-disabled .single_add_to_cart_button{opacity:.45;pointer-events:none}
.variations_form .stock.out-of-stock{padding:14px 16px;border:1px solid rgba(228,135,122,.35);border-radius:var(--r-sm);color:#e4877a;font-size:.92rem}

/* ---------- cart ---------- */
.cart-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,370px);gap:clamp(20px,2.6vw,34px);align-items:start}
.cart-panel{border:1px solid var(--line);border-radius:calc(var(--r-card) + 4px);background:var(--surface);overflow:hidden}
.cart-cols{display:grid;grid-template-columns:86px minmax(0,1fr) 110px 150px 110px 44px;gap:16px;align-items:center;padding:16px 22px;border-bottom:1px solid var(--line);font-family:var(--f-mono);font-stretch:87.5%;font-size:.64rem;letter-spacing:.12em;text-transform:uppercase;color:var(--dim)}
.cart-cols span:nth-child(1){grid-column:1/3}
.cart-cols span:nth-child(2),.cart-cols span:nth-child(3){text-align:center}
.cart-cols span:nth-child(4){text-align:right}
.cart-lines{list-style:none;margin:0;padding:0}
.cart-line{display:grid;grid-template-columns:86px minmax(0,1fr) 110px 150px 110px 44px;gap:16px;align-items:center;padding:20px 22px;border-bottom:1px solid var(--line)}
.cart-line:last-child{border-bottom:0}
.cart-line__media{width:86px;aspect-ratio:4/5;border-radius:14px;overflow:hidden;background:radial-gradient(120% 80% at 50% 30%,#141516,#0a0b0c);border:1px solid var(--line)}
.cart-line__media a,.cart-line__media img{display:block;width:100%;height:100%}
.cart-line__media img{object-fit:contain;padding:6%}
.cart-line__info{min-width:0;display:flex;flex-direction:column;gap:5px}
.cart-line__name{font-family:var(--f-display);font-stretch:112%;font-weight:600;font-size:1.05rem;letter-spacing:-.015em;line-height:1.2}
.cart-line__name a{color:var(--text)}
.cart-line__name a:hover{color:var(--accent)}
.cart-line__sku{color:var(--dim);font-size:.66rem}
.cart-line__info dl.variation{display:grid;grid-template-columns:auto 1fr;gap:2px 8px;margin:4px 0 0;font-size:.8rem;color:var(--muted)}
.cart-line__info dl.variation dt,.cart-line__info dl.variation dd{margin:0}
.cart-line__info dl.variation dt{font-weight:600;color:#cfd0cc}
.cart-line__info dl.variation p{margin:0}
.cart-line__info .backorder_notification{margin:4px 0 0;font-size:.8rem;color:var(--accent)}
.cart-line__price,.cart-line__total{font-family:var(--f-display);font-stretch:112%;font-weight:600;font-size:1rem;letter-spacing:-.01em}
.cart-line__price{text-align:center;color:var(--muted);font-size:.95rem}
.cart-line__qty{display:flex;justify-content:center}
.cart-line__total{text-align:right}
.cart-line__remove{display:flex;justify-content:flex-end}
.cart-line__remove a.remove{display:grid;place-items:center;width:36px;height:36px;border-radius:var(--pill);border:1px solid var(--line-2);color:var(--dim);font-size:1rem;transition:background-color .2s ease,border-color .2s ease,color .2s ease}
.cart-line__remove a.remove:hover{background:rgba(240,68,82,.12);border-color:rgba(240,68,82,.5);color:var(--accent)}
.cart-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;padding:20px 22px;border-top:1px solid var(--line);background:rgba(255,255,255,.015)}
.cart-actions .coupon{display:flex;gap:8px;flex-wrap:wrap;align-items:center;min-width:0}
.cart-actions .coupon .input-text{width:auto;min-width:170px;height:42px;flex:1}
.cart-actions__right{display:flex;align-items:center;gap:16px;margin-left:auto;flex-wrap:wrap}
.cart-collaterals{display:grid;gap:14px;position:sticky;top:calc(var(--header-h) + 24px)}
.sum-card h3{font-size:1.15rem;margin-bottom:4px}
.sum-table{width:100%;border-collapse:collapse;margin:0}
.sum-table th,.sum-table td{padding:13px 0;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;font-weight:400}
.sum-table th{font-size:.9rem;color:var(--muted)}
.sum-table td{text-align:right;font-family:var(--f-display);font-stretch:112%;font-weight:600;font-size:.98rem;letter-spacing:-.01em;color:var(--text)}
.sum-table tr.order-total th{color:var(--text);font-weight:600;font-size:.95rem}
.sum-table tr.order-total td{font-stretch:125%;font-size:1.5rem;letter-spacing:-.03em}
.sum-table tr.order-total th,.sum-table tr.order-total td{border-bottom:0;padding-top:16px}
.sum-table tr:last-child th,.sum-table tr:last-child td{border-bottom:0}
.sum-table small{display:block;font-size:.72rem;color:var(--dim);font-weight:400}
.sum-table .woocommerce-remove-coupon{display:inline-block;margin-left:8px;font-family:var(--f-body);font-size:.75rem;font-weight:400;color:var(--dim);border-bottom:1px solid var(--line-2)}
.sum-table .woocommerce-remove-coupon:hover{color:var(--accent);border-color:var(--accent)}
.sum-table .includes_tax{display:block;font-size:.74rem;color:var(--dim);font-weight:400}
.wc-proceed-to-checkout{padding-top:18px;display:grid;gap:10px}
.cart-note h3{font-size:1rem}
.cart-empty-state{max-width:560px;margin-inline:auto}
.cart-empty-state .hero-ctas{margin-top:6px;justify-content:center}
.wc-empty-cart-message .woocommerce-info{justify-content:center}
.cross-sells{margin-top:clamp(56px,7vw,96px)}
.cross-sells .grid{grid-template-columns:repeat(4,minmax(0,1fr))}

/* Shipping rows and the calculator inside the summary card. */
.woocommerce ul#shipping_method{list-style:none;margin:0;padding:0;display:grid;gap:8px;text-align:right}
.woocommerce ul#shipping_method li{display:flex;align-items:center;justify-content:flex-end;gap:8px;font-size:.9rem;font-family:var(--f-body);font-weight:400}
.woocommerce ul#shipping_method label{font-weight:400;color:#cfd0cc}
.woocommerce .shipping-calculator-button{display:inline-flex;align-items:center;gap:6px;font-size:.84rem;font-weight:600;color:var(--text);border-bottom:1px solid var(--line-2);padding-bottom:3px}
.woocommerce .shipping-calculator-button:hover{border-color:var(--accent);color:var(--accent)}
.woocommerce .shipping-calculator-form{display:grid;gap:10px;margin-top:14px;text-align:left}
.woocommerce .shipping-calculator-form .button{height:44px;width:100%}
.woocommerce .woocommerce-shipping-destination,.woocommerce .woocommerce-shipping-methods{font-family:var(--f-body);font-weight:400;font-size:.84rem;color:var(--muted)}

/* ---------- checkout ---------- */
.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,400px);gap:clamp(20px,2.6vw,34px);align-items:start}
/* checkout.js injects its notice group as the form's first child, which is this
   grid; without this it would claim a column and push the layout out of place. */
.checkout-layout > .woocommerce-NoticeGroup,.checkout-layout > .woocommerce-error,
.checkout-layout > .woocommerce-message,.checkout-layout > .woocommerce-info,
.cart-layout > .woocommerce-NoticeGroup,.cart-layout > .woocommerce-error,
.cart-layout > .woocommerce-message,.cart-layout > .woocommerce-info{grid-column:1/-1;margin-bottom:0}
.checkout-main{min-width:0;display:grid;gap:16px}
.checkout-main .col2-set{display:grid;grid-template-columns:1fr;gap:16px;min-width:0}
.checkout-main .col-1,.checkout-main .col-2{min-width:0}
.checkout-main .col-2:empty{display:none}
.woocommerce .form-card h3,.woocommerce .form-card h2{font-size:clamp(1.3rem,2vw,1.6rem);margin-bottom:20px}
.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper,.woocommerce-additional-fields__field-wrapper,.woocommerce-address-fields__field-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:16px;min-width:0}
.woocommerce-billing-fields__field-wrapper > .form-row,.woocommerce-shipping-fields__field-wrapper > .form-row,.woocommerce-address-fields__field-wrapper > .form-row{min-width:0}
.form-row-wide,.form-row.notes,#billing_address_1_field,#billing_address_2_field,#shipping_address_1_field,#shipping_address_2_field,#order_comments_field,#billing_company_field,#shipping_company_field{grid-column:1/-1}
.woocommerce-shipping-fields #ship-to-different-address{margin:0 0 18px;font-size:1rem}
.woocommerce-shipping-fields #ship-to-different-address label{display:flex;gap:12px;align-items:center;font-family:var(--f-display);font-stretch:112%;font-weight:600;font-size:1.1rem;cursor:pointer}
.woocommerce-shipping-fields__field-wrapper{margin-top:4px}
/* Only separate the notes block when something precedes it in the same card. */
.woocommerce-additional-fields:not(:first-child){margin-top:28px;padding-top:26px;border-top:1px solid var(--line)}
.coupon-toggle{margin-bottom:16px}
.coupon-toggle__row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:14px 18px;border:1px dashed var(--line-2);border-radius:var(--r-sm);font-size:.92rem;color:#d6d7d3;margin:0}
.coupon-toggle__row i{color:var(--accent);font-size:1.1rem}
.coupon-form{margin-bottom:16px}
.coupon-form .coupon{display:flex;gap:9px;flex-wrap:wrap}
.coupon-form .coupon .input-text{flex:1;min-width:160px}
.woocommerce-form-login-toggle{margin-bottom:16px}
.woocommerce form.login.woocommerce-form-login{margin-bottom:18px;padding:clamp(20px,2.6vw,32px);border:1px solid var(--line-2);border-radius:var(--r-card);background:var(--surface);display:grid;gap:14px}
.woocommerce form.login.woocommerce-form-login .form-row{display:flex;flex-direction:column}
.checkout-aside{min-width:0;position:sticky;top:calc(var(--header-h) + 24px);display:grid;gap:14px;padding:clamp(22px,2.6vw,30px);border:1px solid var(--line-2);border-radius:calc(var(--r-card) + 4px);background:linear-gradient(180deg,#121314,#0e0f10)}
#order_review_heading{font-size:1.25rem;margin:0}
.woocommerce-checkout-review-order-table{width:100%;border-collapse:collapse}
.woocommerce-checkout-review-order-table td,.woocommerce-checkout-review-order-table th{padding:14px 0;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;font-weight:400}
.woocommerce-checkout-review-order-table tbody tr:first-child td{padding-top:0}
.woocommerce-checkout-review-order-table td.product-total,.woocommerce-checkout-review-order-table tfoot td{text-align:right;font-family:var(--f-display);font-stretch:112%;font-weight:600;letter-spacing:-.01em;white-space:nowrap}
.woocommerce-checkout-review-order-table tfoot th{font-size:.9rem;color:var(--muted)}
.woocommerce-checkout-review-order-table tfoot tr.order-total th{color:var(--text);font-weight:600}
.woocommerce-checkout-review-order-table tfoot tr.order-total th,.woocommerce-checkout-review-order-table tfoot tr.order-total td{border-bottom:0;padding-top:16px}
.woocommerce-checkout-review-order-table tfoot tr.order-total td{font-stretch:125%;font-size:1.5rem;letter-spacing:-.03em}
.review-line{display:grid;grid-template-columns:52px minmax(0,1fr);gap:12px;align-items:center}
.review-line__media{width:52px;aspect-ratio:4/5;border-radius:10px;overflow:hidden;background:#0a0b0c;border:1px solid var(--line)}
.review-line__media img{width:100%;height:100%;object-fit:contain;padding:5%}
.review-line__info{display:flex;flex-direction:column;gap:3px;min-width:0}
.review-line__info strong{font-family:var(--f-display);font-stretch:112%;font-weight:600;font-size:.96rem;line-height:1.25}
.review-line__info .product-quantity{font-size:.8rem;color:var(--muted)}
.review-line__info dl.variation{display:grid;gap:1px;margin:2px 0 0;font-size:.76rem;color:var(--muted)}
.review-line__info dl.variation dt,.review-line__info dl.variation dd,.review-line__info dl.variation p{margin:0}
#payment{display:grid;gap:14px}
#payment .wc_payment_methods{list-style:none;margin:0;padding:0;display:grid;gap:8px}
#payment .wc_payment_method{border:1px solid var(--line-2);border-radius:var(--r-sm);background:rgba(255,255,255,.02);overflow:hidden}
#payment .wc_payment_method > label{display:flex;align-items:center;gap:10px;padding:14px 16px;font-size:.95rem;font-weight:600;cursor:pointer;margin:0}
#payment .wc_payment_method > input[type=radio]{margin-left:16px}
#payment .wc_payment_method > input[type=radio]:checked ~ label{color:var(--text)}
#payment .wc_payment_method label img{max-height:22px;width:auto;margin-left:auto}
#payment .payment_box{padding:0 16px 16px;font-size:.88rem;color:var(--muted);line-height:1.55}
#payment .payment_box p{margin:0}
#payment .payment_box p + p{margin-top:8px}
#payment .woocommerce-notice,#payment .woocommerce-info{margin:0}
.woocommerce-terms-and-conditions-wrapper{display:grid;gap:10px;font-size:.88rem}
.woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text p{margin:0;color:var(--muted);font-size:.84rem;line-height:1.55}
.woocommerce-terms-and-conditions{max-height:200px;overflow:auto;padding:14px;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--surface);font-size:.85rem;color:var(--muted)}
.woocommerce-terms-and-conditions-checkbox-text{font-size:.88rem}
#place_order{margin-top:4px}
.checkout-note{margin-top:0}
.woocommerce-checkout .woocommerce-NoticeGroup{margin-bottom:0}
.woocommerce-checkout-payment{min-width:0}

/* ---------- thank you ---------- */
.thankyou{display:grid;gap:clamp(20px,3vw,34px);max-width:920px;margin-inline:auto}
.thankyou-card{text-align:center;display:grid;justify-items:center;gap:16px}
.thankyou-card .lead{max-width:48ch}
.thankyou-mark{display:grid;place-items:center;width:72px;height:72px;border-radius:var(--pill);background:var(--accent);color:var(--ink);font-size:2rem;animation:euwPop .6s var(--ease-out)}
.thankyou-mark--failed{background:#2a1715;border:1px solid #5a2a24;color:#ffc2b8}
@keyframes euwPop{from{transform:scale(.6);opacity:0}to{transform:none;opacity:1}}
.thankyou-card h2{font-size:clamp(1.5rem,2.8vw,2.1rem)}
.thankyou-specs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%;list-style:none;margin:8px 0 0;padding:0;text-align:left}
.thankyou-specs .spec{min-width:0}
.thankyou-specs .spec b{font-size:1rem;word-break:break-word}
.thankyou-ctas{justify-content:center}
.thankyou-body{display:grid;gap:clamp(20px,3vw,34px)}
.woocommerce-order-details,.woocommerce-customer-details{display:grid;gap:16px}
.woocommerce-order-details__title,.woocommerce-column__title,.woocommerce-customer-details h2{font-size:clamp(1.3rem,2.2vw,1.7rem);margin:0}
/* table-layout:fixed keeps long product names from pushing the table past the
   viewport on a phone; the cells wrap instead. */
.woocommerce table.order_details,.woocommerce table.woocommerce-table--order-details,.woocommerce table.woocommerce-orders-table{width:100%;table-layout:fixed;border-collapse:collapse;border:1px solid var(--line);border-radius:var(--r-card);background:var(--surface);overflow:hidden}
/* break-word, not anywhere: `anywhere` counts the break opportunities toward
   min-content, and an auto-layout table sizes its columns from min-content -
   which collapsed the product-name column to a single character. The
   order_details table is table-layout:fixed so it is unaffected either way,
   but keep both consistent. */
.woocommerce table.order_details th,.woocommerce table.order_details td,
.woocommerce-checkout-review-order-table th,.woocommerce-checkout-review-order-table td{overflow-wrap:break-word}
/* Give the review table explicit column proportions so a long product name can
   never squeeze the total out of the aside. */
.woocommerce-checkout-review-order-table{table-layout:fixed}
.woocommerce-checkout-review-order-table td.product-name,.woocommerce-checkout-review-order-table tfoot th{width:62%}
.woocommerce-checkout-review-order-table td.product-total,.woocommerce-checkout-review-order-table tfoot td{width:38%}
.woocommerce table.order_details th,.woocommerce table.order_details td{padding:16px 20px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;font-weight:400}
.woocommerce table.order_details thead th{font-family:var(--f-mono);font-stretch:87.5%;font-size:.64rem;letter-spacing:.12em;text-transform:uppercase;color:var(--dim)}
.woocommerce table.order_details td.product-total,.woocommerce table.order_details tfoot td{text-align:right;font-family:var(--f-display);font-stretch:112%;font-weight:600;white-space:nowrap}
.woocommerce table.order_details tfoot th{color:var(--muted);font-size:.9rem}
.woocommerce table.order_details tfoot tr:last-child th{color:var(--text);font-weight:600}
.woocommerce table.order_details tfoot tr:last-child td{font-stretch:125%;font-size:1.3rem;letter-spacing:-.02em}
.woocommerce table.order_details a{color:var(--text);font-weight:600}
.woocommerce table.order_details a:hover{color:var(--accent)}
.woocommerce table.order_details .wc-item-meta,.woocommerce table.order_details dl.variation{list-style:none;margin:6px 0 0;padding:0;font-size:.8rem;color:var(--muted);display:grid;gap:2px}
.woocommerce table.order_details .wc-item-meta p,.woocommerce table.order_details dl.variation p,.woocommerce table.order_details dl.variation dd{margin:0}
.woocommerce table.order_details .product-quantity{color:var(--muted)}
.woocommerce-customer-details .woocommerce-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.woocommerce-customer-details .woocommerce-column,.woocommerce-customer-details address{display:block}
.woocommerce-customer-details address,.address-card address{font-style:normal;line-height:1.7;color:#cfd0cc;font-size:.94rem}
.woocommerce-customer-details .woocommerce-column{padding:22px 24px;border:1px solid var(--line);border-radius:var(--r-card);background:var(--surface)}
.woocommerce-customer-details .woocommerce-column__title{font-size:1.05rem;margin-bottom:12px}
.woocommerce-customer-details p{margin:6px 0 0;font-size:.92rem;color:var(--muted)}
/* With shipping off, the billing block has no .woocommerce-column wrapper. */
.woocommerce-customer-details > address{padding:22px 24px;border:1px solid var(--line);border-radius:var(--r-card);background:var(--surface)}
/* Gateway instructions printed straight onto the order-received page. */
.thankyou-body > p{margin:0;padding:16px 20px;border:1px dashed var(--line-2);border-radius:var(--r-sm);color:var(--muted);font-size:.92rem}
.woocommerce-order-downloads,.woocommerce-order-fulfillments{display:grid;gap:12px}

/* ---------- my account ---------- */
.account-layout{display:grid;grid-template-columns:minmax(210px,250px) minmax(0,1fr);gap:clamp(18px,2.4vw,30px);align-items:start}
.account-layout > *{min-width:0}
.account-nav{min-width:0;position:sticky;top:calc(var(--header-h) + 24px);padding:14px;border:1px solid var(--line);border-radius:calc(var(--r-card) + 4px);background:var(--surface)}
.account-nav ul{list-style:none;margin:0;padding:0;display:grid;gap:2px;min-width:0}
.account-nav a{display:flex;align-items:center;gap:11px;padding:12px 14px;border-radius:14px;font-size:.93rem;font-weight:500;color:#cfd0cc;transition:background-color .2s ease,color .2s ease}
.account-nav i{font-size:1.15rem;color:var(--dim);transition:color .2s ease}
.account-nav li.is-active > a,.account-nav a[aria-current=page]{background:rgba(255,255,255,.07);color:var(--text)}
.account-nav li.is-active > a i,.account-nav a[aria-current=page] i{color:var(--accent)}
@media (hover:hover){.account-nav a:hover{background:rgba(255,255,255,.05);color:var(--text)}.account-nav a:hover i{color:var(--text)}}
.woocommerce-MyAccount-content{min-width:0}
.woocommerce-MyAccount-content > p:first-child{margin-top:0}
.acct-welcome{display:grid;gap:6px;padding-bottom:26px;margin-bottom:26px;border-bottom:1px solid var(--line)}
.acct-welcome h2{font-size:clamp(1.6rem,2.8vw,2.3rem)}
.acct-welcome a{color:var(--accent)}
.acct-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.acct-tile{display:grid;gap:4px;padding:20px;border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.025);transition:border-color .25s ease,transform .35s var(--ease-out)}
.acct-tile i{font-size:1.3rem;color:var(--accent);margin-bottom:8px}
.acct-tile b{font-family:var(--f-display);font-stretch:125%;font-weight:600;font-size:1.8rem;line-height:1;letter-spacing:-.03em}
.acct-tile b i{font-size:1.1rem;color:var(--text);margin:0}
.acct-tile span{font-size:.84rem;color:var(--muted)}
@media (hover:hover){.acct-tile:hover{border-color:var(--line-2);transform:translateY(-2px)}}
.acct-last{margin-top:26px;padding-top:26px;border-top:1px solid var(--line);display:grid;gap:14px;justify-items:start}
.acct-last h3{font-size:1.1rem}
.acct-last__row{display:flex;align-items:center;gap:18px;flex-wrap:wrap;width:100%;padding:18px 20px;border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.025)}
.acct-last__row > div:first-child{display:grid;gap:3px}
.acct-last__row .mono{color:var(--dim)}
.acct-last__row b{font-family:var(--f-display);font-stretch:112%;font-weight:600;font-size:1.05rem}
.acct-last__row small{color:var(--muted);font-size:.82rem}
.acct-last__total{margin-left:auto;font-family:var(--f-display);font-stretch:112%;font-weight:600;font-size:1.15rem}
.order-rows{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.order-row{display:grid;grid-template-columns:minmax(90px,.8fr) minmax(110px,1fr) minmax(100px,.9fr) minmax(120px,1.1fr) auto;gap:16px;align-items:center;padding:18px 20px;border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.025);font-size:.93rem}
.order-row > div{display:grid;gap:4px;min-width:0}
.order-row small.mono{color:var(--dim);font-size:.62rem;letter-spacing:.1em;text-transform:uppercase}
.order-row__id a{font-family:var(--f-display);font-stretch:112%;font-weight:600;font-size:1rem}
.order-row__id a:hover{color:var(--accent)}
.order-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 11px;border-radius:var(--pill);border:1px solid var(--line-2);font-size:.78rem;width:max-content}
.order-badge::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.order-badge--completed{color:#7fd3a3;border-color:rgba(127,211,163,.35)}
.order-badge--processing,.order-badge--on-hold{color:#e8c06a;border-color:rgba(232,192,106,.35)}
.order-badge--cancelled,.order-badge--failed,.order-badge--refunded{color:#e4877a;border-color:rgba(228,135,122,.35)}
.order-badge--pending{color:var(--muted)}
.order-row__actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.order-pagination{display:flex;gap:10px;justify-content:space-between;margin-top:20px}
.account-fieldset{margin-top:28px}
.account-submit{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:26px;padding-top:24px;border-top:1px solid var(--line)}
.address-intro{margin:0 0 20px}
.address-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.address-card{padding:22px 24px;border:1px solid var(--line);border-radius:var(--r-card);background:rgba(255,255,255,.025);min-width:0}
.address-card .woocommerce-Address-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:14px}
.address-card h3{font-size:1.05rem}
.address-card .edit{font-size:.84rem}
.address-form h3{font-size:clamp(1.3rem,2vw,1.6rem);margin-bottom:20px}
.login-layout{max-width:1000px}
.login-cols{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(18px,2.4vw,30px);align-items:start}
.login-card{display:grid;gap:14px;align-content:start}
.login-card h2{font-size:clamp(1.5rem,2.6vw,2rem);margin:0}
.login-card form{display:grid;gap:14px}
.login-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;flex-direction:row!important}
.login-actions .check{margin:0}
.woocommerce-LostPassword{margin:0}
.login-aside{position:static;gap:12px}
.woocommerce-ResetPassword{max-width:560px}
.woocommerce-ResetPassword p.muted{margin:0}

/* ---------- wishlist ---------- */
.euw-wishlist{display:grid;gap:20px}
.wl-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap}
.wl-head p{margin:0}
.wl-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(18px,2vw,26px) clamp(14px,1.6vw,20px)}
.wl-card{display:flex;flex-direction:column;gap:14px;min-width:0;transition:opacity .3s ease,transform .3s var(--ease-out)}
.wl-card.is-leaving{opacity:0;transform:scale(.96)}
.wl-card__media{position:relative;aspect-ratio:4/5;border-radius:var(--r-card);overflow:hidden;background:radial-gradient(120% 80% at 50% 30%,#141516 0%,#0a0b0c 70%);border:1px solid var(--line);display:block}
.wl-card__media img{position:absolute;inset:0;width:100%;height:100%;transition:transform .9s var(--ease-out)}
@media (hover:hover){.wl-card:hover .wl-card__media img{transform:scale(1.045) translateY(-1%)}}
.wl-card__body{display:flex;flex-direction:column;gap:6px;padding-inline:2px}
.wl-card__body .p-card__name{font-size:1.15rem}
.wl-card__body .p-card__name a:hover{color:var(--accent)}
.wl-card__actions{display:flex;align-items:center;gap:8px;margin-top:12px}
.wl-card__actions .btn{flex:1;min-width:0}
.wl-remove{width:42px;height:42px;flex:none;font-size:1.1rem;color:var(--dim)}
.wl-remove:hover{color:var(--accent);border-color:rgba(240,68,82,.5)}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width:1180px){
  .shop-grid,.wl-grid,.cross-sells .grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .cart-layout,.checkout-layout{grid-template-columns:minmax(0,1fr) minmax(280px,330px)}
  .acct-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1024px){
  .shop-toolbar{top:calc(var(--header-h) + 10px)}
  .cart-layout,.checkout-layout{grid-template-columns:1fr}
  .cart-collaterals,.checkout-aside,.account-nav{position:static;top:auto}
  .checkout-aside{order:2}
  .checkout-main{order:1}
  .account-layout{grid-template-columns:1fr}
  .account-nav ul{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}
  .login-cols{grid-template-columns:1fr}
  .thankyou-specs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .woocommerce-customer-details .woocommerce-columns{grid-template-columns:1fr}
}
@media (max-width:860px){
  .order-row{grid-template-columns:1fr 1fr;gap:14px}
  .order-row__actions{grid-column:1/-1;justify-content:flex-start}
}
@media (max-width:768px){
  .wp-page{padding-top:calc(var(--header-h) + 54px)}
  .shop-hero{padding-top:calc(var(--header-h) + 54px)}
  /* flex-wrap must be off here: a wrapping column container sizes its line to
     the chip rail's max-content, which would stretch the row past the screen. */
  .shop-toolbar{position:relative;top:0;flex-direction:column;flex-wrap:nowrap;align-items:stretch;border-radius:22px}
  .shop-toolbar > *{width:100%;max-width:100%}
  .woocommerce-ordering{margin-left:0}
  .woocommerce-ordering select{width:100%;min-width:0}
  .shop-grid,.wl-grid,.cross-sells .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px}
  .store-steps{gap:8px;margin-top:24px}
  .store-step{font-size:.8rem}
  .store-step + .store-step::before{width:14px}

  /* the cart turns into stacked cards */
  .cart-panel{border-radius:var(--r-card)}
  .cart-cols{display:none}
  /* The third column must size to the subtotal, not to the remove button. */
  .cart-line{grid-template-columns:72px minmax(0,1fr) auto;grid-template-areas:"media info remove" "price price price" "qty qty total";gap:12px 14px;padding:18px}
  .cart-line__media{grid-area:media;width:72px}
  .cart-line__info{grid-area:info}
  .cart-line__remove{grid-area:remove;align-self:start}
  .cart-line__price{grid-area:price;display:flex;justify-content:flex-start;gap:8px;text-align:left;font-size:.86rem}
  .cart-line__price::before{content:attr(data-label);color:var(--dim)}
  .cart-line__qty{grid-area:qty;justify-content:flex-start}
  .cart-line__total{grid-area:total;justify-self:end;text-align:right;align-self:center;font-size:1.1rem;max-width:46vw}
  .cart-line__total .price-on-request{font-size:.8rem;line-height:1.35}
  .cart-actions{flex-direction:column;align-items:stretch;padding:18px}
  .cart-actions .coupon{width:100%}
  .cart-actions .coupon .input-text{min-width:0}
  .cart-actions .coupon .btn{flex:none}
  .cart-actions__right{margin-left:0;justify-content:space-between;width:100%}

  .woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper,.woocommerce-additional-fields__field-wrapper,.woocommerce-address-fields__field-wrapper,.form-grid{grid-template-columns:1fr}
  .checkout-aside{padding:20px;border-radius:var(--r-card)}
  .woocommerce-checkout-review-order-table tfoot tr.order-total td,.sum-table tr.order-total td{font-size:1.3rem}
  .address-grid{grid-template-columns:1fr}
  /* On a phone the account nav becomes a chip rail, like the shop toolbar. */
  .account-nav{padding:7px;border-radius:var(--pill)}
  .account-nav ul{display:flex;gap:5px;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none}
  .account-nav ul::-webkit-scrollbar{display:none}
  .account-nav li{flex:none}
  .account-nav a{padding:10px 15px;border-radius:var(--pill);font-size:.88rem;white-space:nowrap}
  .account-nav i{font-size:1.05rem}
  .acct-last__row{gap:12px}
  .acct-last__total{margin-left:0}
  .thankyou-mark{width:60px;height:60px;font-size:1.6rem}
  .woocommerce table.order_details th,.woocommerce table.order_details td{padding:14px}
  .woocommerce table.order_details td.product-total,.woocommerce table.order_details tfoot td{white-space:normal}
  .woocommerce table.order_details tfoot tr:last-child td{font-size:1.15rem}
  .woocommerce fieldset{margin-top:22px;padding-top:22px}
}
@media (max-width:520px){
  .thankyou-specs{grid-template-columns:1fr}
  .acct-tiles{grid-template-columns:1fr 1fr}
  .order-row{grid-template-columns:1fr;padding:16px}
  .order-row__actions .btn{flex:1}
  .cart-line{grid-template-columns:64px minmax(0,1fr) auto}
  .cart-line__media{width:64px}
  .cart-line__total{font-size:1rem}
  .login-actions{flex-direction:column;align-items:stretch}
  .login-actions .btn{width:100%}
  .account-submit{flex-direction:column;align-items:stretch}
  .account-submit .btn{width:100%}
  .wl-card__actions{flex-wrap:wrap}
  .store-step + .store-step::before{display:none}
  .woocommerce .quantity.qty input{width:38px}
}
@media (max-width:420px){
  /* The catalog stays two-up like main.css's .grid until it really cannot. */
  .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 10px}
  .wl-grid,.cross-sells .grid{grid-template-columns:1fr;gap:22px}
}

/* Catalog revision: content is visible immediately and the vials read clearly
   without requiring hover, tap, or the entrance-animation observer. */
.post-type-archive-product .shop-hero.section-motion,
.post-type-archive-product .shop-section.section-motion,
.woocommerce-shop .shop-hero.section-motion,
.woocommerce-shop .shop-section.section-motion{opacity:1!important;translate:0 0!important;filter:none!important}
.shop-section{background:linear-gradient(180deg,rgba(255,255,255,.025),transparent 34%)}
.shop-grid .p-card__media{background:radial-gradient(115% 90% at 50% 34%,#2a2c2e 0%,#151719 54%,#0d0e0f 100%);border-color:rgba(255,255,255,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
.shop-grid .p-card__media img{filter:brightness(1.12) saturate(1.08)}
@media(max-width:420px){
  .shop-grid .p-card{gap:10px}
  .shop-grid .p-card__media{border-radius:16px}
  .shop-grid .p-card__media img{padding:2%}
  .shop-grid .p-card__body{gap:4px;padding-inline:2px}
  .shop-grid .p-card__name{font-size:1rem}
  .shop-grid .p-card__cat{font-size:.56rem}
  .shop-grid .p-card__desc{font-size:.76rem;-webkit-line-clamp:2}
  .shop-grid .p-card__amounts span{font-size:.66rem;padding:3px 7px}
  .shop-grid .wish-btn{width:34px;height:34px;right:8px;top:8px}
}
