/* WordPress layer: neutralise Kadence's global button and form look where our design draws its own.
   Kept apart from store.css (which is exported from the prototype) so re-exports never lose it. */
button { background: none; color: inherit; box-shadow: none; border-radius: 0; font-size: inherit; line-height: inherit; text-transform: none; letter-spacing: inherit; padding: 0; border: 0; }
/* Kadence's hover/focus only changes colour, background and shadow: reset just those, so our buttons keep their padding and shape. */
button:hover, button:focus, button:active { background: none; color: inherit; box-shadow: none; }
.fit-card:focus { background: var(--sand); }
.ib:hover { background: rgba(27, 26, 24, .06); }
.reviews .ib:hover { background: rgba(248, 245, 240, .08); }
input[type="email"], input[type="text"], input[type="number"], input[type="search"], textarea, select { box-shadow: none; }
body { background: var(--paper); color: var(--body); }
a:hover, a:focus { color: inherit; }

/* ---------- Cookie banner (spectro-rth inc/consent.php): a small dark card, Reject as easy as Accept ---------- */
.ck { position: fixed; z-index: 9990; left: 20px; bottom: 20px; width: 360px; max-width: calc(100vw - 24px); background: #241D19; color: #F4EEE7; border-radius: 12px; box-shadow: 0 14px 40px rgba(20, 14, 10, .25); font: 400 12.5px/1.5 var(--sans, sans-serif); animation: ck-in .3s ease-out both; }
@keyframes ck-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .ck { animation: none; } }
.ck[hidden], .ck [hidden] { display: none !important; }
.ck-in { display: grid; gap: 10px; padding: 14px 14px 12px 16px; }
.ck-p { margin: 0; color: rgba(244, 238, 231, .8); }
.ck-p a { color: #F4EEE7; text-decoration: underline; text-decoration-color: rgba(244, 238, 231, .4); text-underline-offset: 3px; margin-left: 2px; }
.ck-b { display: flex; align-items: center; gap: 6px; }
.ck-btn, .ck-btn:hover, .ck-btn:focus { padding: 7px 14px; border-radius: 999px; background: #F4EEE7; color: #241D19; font: 500 12.5px/1.2 var(--sans, sans-serif); border: 1px solid #F4EEE7; transition: opacity .15s; }
.ck-btn:hover { opacity: .88; }
.ck-ghost, .ck-ghost:hover, .ck-ghost:focus { background: transparent; color: #F4EEE7; border-color: rgba(244, 238, 231, .35); }
.ck-ghost:hover { border-color: #F4EEE7; opacity: 1; }
.ck-l, .ck-l:hover, .ck-l:focus { margin-right: auto; color: rgba(244, 238, 231, .7); font: 500 12.5px/1.2 var(--sans, sans-serif); padding: 7px 0; text-decoration: underline; text-decoration-color: rgba(244, 238, 231, .3); text-underline-offset: 3px; }
.ck-l:hover { color: #F4EEE7; }
.ck.open .ck-b .ck-ghost[data-ck-none] { margin-right: auto; }
.ck-btn:focus-visible, .ck-l:focus-visible, .ck-p a:focus-visible { outline: 2px solid #D4A574; outline-offset: 2px; }
.ck-opts { order: -1; display: grid; }
.ck-sw { display: flex; align-items: center; gap: 14px; padding: 8px 0; border-bottom: 1px solid rgba(244, 238, 231, .1); cursor: pointer; }
.ck-sw span { flex: 1; color: rgba(244, 238, 231, .6); font-size: 12px; }
.ck-sw b { display: block; color: #F4EEE7; font-weight: 500; font-size: 13px; }
.ck-sw input { position: absolute; opacity: 0; pointer-events: none; }
.ck-sw i { flex: none; position: relative; width: 32px; height: 18px; border-radius: 999px; background: rgba(244, 238, 231, .22); transition: background .2s; }
.ck-sw i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #F4EEE7; transition: transform .2s; }
.ck-sw input:checked + i { background: #D4A574; }
.ck-sw input:checked + i::after { transform: translateX(14px); }
.ck-sw input:disabled + i { opacity: .55; }
.ck-sw input:focus-visible + i { outline: 2px solid #D4A574; outline-offset: 2px; }
@media (max-width: 600px) {
  .ck { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; }
}

/* ---------- Product page: WordPress-only parts (options, errors, real cart drawer) ---------- */
.b-opt { margin-top: 16px; }
.b-opt .lbl { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin: 0 0 8px; }
.b-opt .lbl b { letter-spacing: 0; text-transform: none; font-size: 14px; color: var(--ink); margin-left: 6px; }
.b-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.b-chips .chip { height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid var(--line); background: #fff; font: 500 14px/1 var(--sans); color: var(--body); }
.b-chips .chip:hover { border-color: var(--ink); }
.b-chips .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.b-sel select { width: 100%; height: 52px; padding: 0 40px 0 14px; border: 1px solid var(--ink); border-radius: var(--r); background: #fff; font: 500 15px var(--sans); color: var(--ink); -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A2E28' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.sz-row + .b-opt { margin-top: 18px; }
.b-opt[data-opt="panels"] { margin: 18px 0 0; }
.b-hint { margin: 8px 0 16px; font-size: 13px; line-height: 1.45; color: var(--mute); }
/* header: currency and size unit (spectro-rth inc/currency.php) */
.prefs { position: relative; flex: none; width: auto; }
.prefs summary { list-style: none; cursor: pointer; display: flex; align-items: center; height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 16px; font: 500 12.5px/1 var(--sans); color: var(--ink); white-space: nowrap; }
.prefs summary::-webkit-details-marker { display: none; }
.prefs[open] summary { border-color: var(--ink); }
.prefs-p { position: absolute; right: 0; top: calc(100% + 8px); z-index: 80; width: 220px; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 12px 30px rgba(58, 46, 40, .14); }
.prefs-p p { margin: 0 0 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.prefs-p p + .prefs-seg, .prefs-seg + p { margin-top: 0; }
.prefs-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 18px; margin-bottom: 12px; }
.prefs-seg:last-child { margin-bottom: 0; }
.prefs-seg a { display: flex; align-items: center; justify-content: center; height: 30px; border-radius: 15px; font-size: 13.5px; color: var(--body); text-decoration: none; }
.prefs-seg a[aria-current] { background: var(--ink); color: var(--paper); }
.prefs summary { gap: 6px; }
.prefs summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; flex: none; }
.prefs summary .pchev { width: 14px; height: 14px; stroke-width: 1.8; transition: transform .2s; }
.prefs[open] summary .pchev { transform: rotate(180deg); }
.prefs summary .punit { white-space: pre; }
/* product page and phone menu: the same switch in plain sight */
.b-prefs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 10px 0 2px; font-size: 12.5px; color: var(--mute); }
.b-prefs .bp-l { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.b-prefs .bp-l + .bp-seg { margin-right: 6px; }
.bp-seg { display: inline-flex; padding: 2px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.bp-seg a { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 12px; color: var(--body); text-decoration: none; font-size: 12.5px; }
.bp-seg a[aria-current] { background: var(--ink); color: var(--paper); }
.m2-prefs { margin: 18px 0 4px; }
.m2-prefs p { margin: 0 0 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.m2-prefs .b-prefs { margin: 0; display: grid; grid-template-columns: max-content max-content; gap: 8px 10px; }
.m2-prefs .bp-l + .bp-seg { margin-right: 0; }
.prefs-m { display: none; }
@media (max-width: 1023px) {
  .prefs-d { display: none; }
  .prefs-m { display: block; }
  .prefs summary { height: 28px; padding: 0 8px; font-size: 12px; }
  .prefs summary .punit, .prefs summary .pchev { display: none; }
  .prefs summary { gap: 4px; padding: 0 8px 0 7px; }
  .b-prefs { gap: 6px; } .b-prefs .bp-l + .bp-seg { margin-right: 2px; } .bp-seg a { padding: 0 9px; }
  .prefs-m .prefs-p { right: auto; left: 0; }
}
/* custom size on listed sizes (product.js, spectro-rth inc/vsizes.php) */
.b-custom { margin-top: 10px; }
.b-custom[hidden] { display: none; }
.bc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.bc-row label { min-width: 0; }
.bc-in input { width: 100%; }
.bc-head, .ps-lu { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.bc-units { display: inline-flex; border: 1px solid var(--line); border-radius: 16px; padding: 2px; text-transform: none; letter-spacing: 0; }
.bc-units button { height: 26px; min-width: 38px; padding: 0 10px; border-radius: 13px; font: 500 13px/1 var(--sans); color: var(--body); }
.bc-units button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.bc-row label > span:first-child { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.bc-in { display: flex; align-items: center; height: 44px; border: 1px solid var(--ink); border-radius: var(--r); background: #fff; padding: 0 12px; }
.bc-in input { flex: 1; min-width: 0; border: 0; background: none; font: 600 16px var(--sans); color: var(--ink); outline: none; }
.bc-in em { font-style: normal; font-size: 13px; color: var(--mute); }
.b-custom .b-hint.err { color: #A33B2B; }
/* phones: compact options, so the buy box stays short (the sticky bar keeps Add to cart in reach meanwhile) */
@media (max-width: 1023px) {
  .b-opt { margin-top: 12px; }
  .b-opt .lbl { margin-bottom: 6px; }
  .b-chips { gap: 6px; }
  .b-chips .chip { height: 34px; padding: 0 12px; font-size: 13.5px; }
  .b-hint { margin: 6px 0 10px; font-size: 12.5px; }
}
.b-note { margin: 16px 0 0; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.b-note summary { display: flex; align-items: center; gap: 10px; padding: 13px 14px; cursor: pointer; list-style: none; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.b-note summary::-webkit-details-marker { display: none; }
.b-note summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; flex: 0 0 auto; }
.b-note summary span { flex: 1; }
.b-note summary small { font-weight: 400; color: var(--mute); font-size: 13px; }
.b-note summary i { display: flex; transition: transform .2s; }
.b-note[open] summary i { transform: rotate(45deg); }
.b-note textarea { display: block; width: calc(100% - 28px); margin: 0 14px 14px; min-height: 84px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; font: 15px/1.45 var(--sans); color: var(--ink); resize: vertical; }
.b-note textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.btn.add[disabled], .sbar .btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.b-err { margin: 10px 0 0; font-size: 14px; color: #9A3324; }
.acc-desc { font-size: 14.5px; line-height: 1.65; color: var(--body); }
.acc-desc p { margin: 0 0 10px; }
.acc-desc img { max-width: 100%; height: auto; }
.ct-item + .ct-item { margin-top: 14px; }
.ct-item .amount, .ct-item bdi { font: inherit; }
.ct-view { font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.pr-reviews .rev-head .lead { margin-top: 10px; max-width: 52ch; }

/* WooCommerce notices on our templates */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-error, .woocommerce-message, .woocommerce-info { list-style: none; width: calc(100% - 2 * var(--gut)); max-width: var(--wrap); margin: 16px auto; padding: 14px 18px; border-radius: var(--r); background: var(--sand); color: var(--ink); font-size: 14.5px; }
.woocommerce-error { background: #F6E3DE; color: #7A2A1D; }
.woocommerce-message .button, .woocommerce-message a { font-weight: 600; text-decoration: underline; margin-left: 8px; }
@media (max-width: 767px) {
  .b-opt { margin-top: 12px; }
  .sz-row + .b-opt { margin-top: 12px; }
  .b-opt .lbl { margin-bottom: 6px; }
  .b-chips .chip { height: 36px; padding: 0 14px; font-size: 13.5px; }
  .b-opt + .fit-card { margin-top: 10px; }
}
.ct-item span span, .ct-item span bdi { display: inline; margin: 0; font-weight: inherit; }

/* ---------- Cart, checkout, account (WooCommerce blocks in the v4 look) ---------- */
.wc-flow .wc-wrap { padding-top: 28px; padding-bottom: 72px; }
.wc-flow .wc-title { font-size: clamp(32px, 5vw, 48px); margin: 0 0 20px; }
.wc-flow, .wc-flow .wc-block-components-text-input input, .wc-flow .wc-block-components-select select, .wc-flow textarea { font-family: var(--sans); color: var(--body); }
.wc-flow .wp-block-woocommerce-cart, .wc-flow .wp-block-woocommerce-checkout { max-width: var(--wrap); margin: 0; }
.wc-flow h2, .wc-flow .wc-block-components-title, .wc-flow .wc-block-components-checkout-step__title { font-family: var(--serif); color: var(--ink); font-weight: 400; letter-spacing: 0; text-transform: none; }
.wc-flow .wc-block-components-checkout-step__title { font-size: 22px; }
.wc-flow .wc-block-cart-items__header, .wc-flow .wc-block-components-totals-item__label, .wc-flow .wc-block-components-product-metadata { color: var(--mute); }
.wc-flow .wc-block-components-product-name { font-family: var(--sans); font-weight: 600; color: var(--ink); text-decoration: none; font-size: 16px; }
.wc-flow .wc-block-components-product-details { font-size: 13.5px; color: var(--mute); }
.wc-flow .wc-block-components-product-details__name { font-weight: 600; color: var(--body); }
.wc-flow .wc-block-cart-item__image img, .wc-flow .wc-block-components-order-summary-item__image img { border-radius: var(--r); }
.wc-flow .wc-block-components-sidebar .wc-block-components-panel, .wc-flow .wp-block-woocommerce-cart-totals-block, .wc-flow .wp-block-woocommerce-checkout-order-summary-block { background: var(--sand); border-radius: 10px; }
.wc-flow .wp-block-woocommerce-cart-totals-block, .wc-flow .wp-block-woocommerce-checkout-order-summary-block { padding: 8px 20px 20px; border: 0; }
.wc-flow .wc-block-components-totals-footer-item .wc-block-components-totals-item__value, .wc-flow .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { color: var(--ink); font-weight: 600; font-size: 18px; }
.wc-flow .wc-block-components-button:not(.is-link), .wc-flow .wc-block-cart__submit-button, .wc-flow .wc-block-components-checkout-place-order-button {
  background: var(--ink); color: var(--paper); border: 0; border-radius: var(--r); min-height: 56px; font: 600 14px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; box-shadow: none; }
.wc-flow .wc-block-components-button:not(.is-link):hover { background: #2A211C; color: var(--paper); }
.wc-flow .wc-block-components-text-input input, .wc-flow .wc-block-components-select .wc-block-components-select__container, .wc-flow .wc-blocks-components-select__container, .wc-flow .wc-block-components-textarea {
  border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.wc-flow .wc-block-components-text-input.is-active input, .wc-flow .wc-block-components-text-input input:focus { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.wc-flow .wc-block-components-radio-control__option, .wc-flow .wc-block-components-radio-control-accordion-option { border-radius: var(--r); }
.wc-flow .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option--checked-option-highlighted,
.wc-flow .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted { box-shadow: inset 0 0 0 1.5px var(--ink); }
.wc-flow .wc-block-components-radio-control__input:checked { border-color: var(--ink); background: var(--ink); }
.wc-flow .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked { background: var(--ink); border-color: var(--ink); }
.wc-flow .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: var(--paper); }
.wc-flow a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.wc-flow a.btn { color: var(--paper); text-decoration: none; } /* buttons inside cart/checkout keep their own colours */
.wc-flow a.btn.ghost:not(:hover), .wc-flow a.btn.light { color: var(--ink); }
.wc-flow .wc-block-components-quantity-selector { border-radius: var(--r); }
.wc-flow .wc-block-cart__empty-cart__title { font-family: var(--serif); }
@media (max-width: 767px) { .wc-flow .wc-wrap { padding-top: 16px; } .wc-flow .wc-title { font-size: 34px; } }
.wc-flow .wc-block-components-product-metadata__description { display: none; }

/* Order tracking: server-rendered result */
.trk-issue { padding: 12px 14px; border-radius: var(--r); background: #F6E3DE; color: #7A2A1D; }
.trk-form .f-err { margin: 0; }

/* Footer newsletter states (spectro-rth newsletter) */
.ft-news-msg { color: var(--paper); font-size: 15px; line-height: 1.6; }
.ft-news-msg[hidden] { display: none; }
.ft-code { color: var(--gold); letter-spacing: .06em; font-size: 18px; }
.ft-copy { margin-left: 6px; padding: 4px 10px; border: 1px solid var(--deep-line); border-radius: var(--r); background: none; color: var(--paper); font: inherit; font-size: 13px; cursor: pointer; }
.ft-news-note { margin-top: 10px; font-size: 13px; color: var(--deep-mute); }
.ft-news-note a { color: inherit; text-decoration: underline; }
.ft-news form[hidden] { display: none; }

/* Header search (site.js) */
.srch { border-top: 1px solid var(--line); background: var(--paper); }
.srch[hidden] { display: none; }
.srch-in { display: flex; align-items: center; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
.srch-in > svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--mute); stroke-width: 1.6; }
.srch-in input { flex: 1; min-width: 0; height: 46px; border: 0; background: none; font: 400 16px/1 var(--sans); color: var(--ink); outline: none; }
.srch-in input::-webkit-search-cancel-button { display: none; }
.srch-in .btn { min-height: 42px; padding: 0 18px; }
@media (max-width: 479px) { .srch-in .btn { display: none; } }

/* Shop: customer review tiles link to their product */
.tile-rv { text-decoration: none; }
.tile-rv .tile-cap { display: block; padding: 14px; }
.tile-rv em { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--paper); }
.tile-rv em svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .2s; }
.tile-rv:hover em svg { transform: translateX(3px); }
.tile-rv:hover img { opacity: 1; }

/* Empty cart (inc/cart.php) */
.ec { max-width: 1080px; margin: 0 auto; padding: 24px 0 56px; }
.ec-head { text-align: center; }
.ec-head > svg { width: 40px; height: 40px; fill: none; stroke: var(--accent); stroke-width: 1.4; }
.ec-head .title { margin-top: 12px; font-size: clamp(30px, 7vw, 44px); }
.ec-head p { margin: 10px auto 0; max-width: 34em; color: var(--body); }
.ec-cats { display: flex; gap: 8px; margin: 28px calc(-1 * var(--gut)) 0; padding: 0 var(--gut) 2px; overflow-x: auto; scrollbar-width: none; }
.ec-cats::-webkit-scrollbar { display: none; }
.ec-cats a { flex: none; display: flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border: 1px solid var(--line); border-radius: 40px; background: #fff; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.ec-cats a:hover { border-color: var(--ink); }
.ec-cats img, .ec-cats .m2-ic { border-radius: 50%; object-fit: cover; }
.ec-cats small { display: block; font-size: 12px; font-weight: 400; color: var(--mute); }
.ec-h { margin-top: 44px; font: 400 26px/1.2 var(--serif); }
.ec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; margin-top: 18px; }
.ec-more { margin-top: 32px; text-align: center; }
@media (min-width: 768px) { .ec-cats { flex-wrap: wrap; justify-content: center; margin-inline: 0; padding-inline: 0; } .ec-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; } }
.ec-grid .pc { width: auto; max-width: none; text-decoration: none; }
.ec-grid .pc * { text-decoration: none; }

/* Stars: base and fill stacked in one grid cell (no absolute positioning or zero line-height, which Safari can
   offset), so the fill always sits exactly on the outline stars and the row centres on the text. */
.stars.stars { display: inline-grid; line-height: 1; vertical-align: middle; }
.stars .s-base, .stars .s-fill { grid-area: 1 / 1; }
.stars .s-fill { position: static; inset: auto; }

/* ---------- My Account and the thank-you page (WooCommerce's classic templates, in the store's style) ---------- */
/* buttons: every WooCommerce button on these pages looks like the store's buttons (Kadence painted them blue) */
.wc-flow .woocommerce .button, .wc-flow .woocommerce-button, .wc-flow .woocommerce button[type="submit"], .wc-flow .woocommerce input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: var(--r);
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink); font: 600 12.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s; }
.wc-flow .woocommerce .button:hover, .wc-flow .woocommerce-button:hover, .wc-flow .woocommerce button[type="submit"]:hover { background: var(--hover); border-color: var(--hover); color: var(--paper); }
.wc-flow .woocommerce-orders-table .button, .wc-flow .order-actions-button { min-height: 36px; padding: 0 14px; font-size: 11.5px; background: transparent; color: var(--ink); border-color: var(--line); margin: 2px 4px 2px 0; }
.wc-flow .woocommerce-orders-table .button:hover, .wc-flow .order-actions-button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.wc-flow .rth-track { border-color: var(--ink) !important; }
/* forms */
.wc-flow .woocommerce form .form-row { margin: 0 0 14px; padding: 0; }
.wc-flow .woocommerce form .form-row label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.wc-flow .woocommerce form .form-row .required { color: var(--hover); text-decoration: none; }
.wc-flow .woocommerce input.input-text, .wc-flow .woocommerce select, .wc-flow .woocommerce textarea, .wc-flow .woocommerce .select2-selection {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font: 16px/1.3 var(--sans); color: var(--ink); box-shadow: none; }
.wc-flow .woocommerce input.input-text:focus, .wc-flow .woocommerce select:focus, .wc-flow .woocommerce textarea:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.wc-flow .woocommerce .password-input { display: block; position: relative; }
.wc-flow .woocommerce form .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 0 14px; font-size: 14px; font-weight: 400; }
.wc-flow .woocommerce .lost_password a, .wc-flow .woocommerce-privacy-policy-text a { color: var(--ink); }
.wc-flow .woocommerce-privacy-policy-text, .wc-flow .woocommerce form.register > p:not(.form-row) { font-size: 13.5px; color: var(--mute); }
/* logged out: log in and create an account side by side */
.wc-flow .rth-acct-intro { max-width: 60ch; color: var(--body); margin: -8px 0 22px; }
.wc-flow #customer_login { display: grid; gap: 18px; }
.wc-flow #customer_login > div { width: auto; float: none; padding: 0; }
.wc-flow #customer_login h2 { font-size: 24px; margin: 0 0 12px; }
.wc-flow .woocommerce form.login, .wc-flow .woocommerce form.register { margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
@media (min-width: 900px) { .wc-flow #customer_login { grid-template-columns: 1fr 1fr; gap: 28px; } }
/* logged in: the account menu (pills on phones, a list beside the content on wide screens) */
.wc-flow .woocommerce-account .woocommerce, .wc-flow .woocommerce:has(.woocommerce-MyAccount-navigation) { display: grid; gap: 22px; }
.wc-flow .woocommerce-MyAccount-navigation { float: none; width: auto; }
.wc-flow .woocommerce-MyAccount-navigation ul { display: flex; gap: 6px; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 4px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.wc-flow .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
.wc-flow .woocommerce-MyAccount-navigation li { flex: none; margin: 0; }
.wc-flow .woocommerce-MyAccount-navigation a { display: flex; align-items: center; height: 38px; padding: 0 16px; border: 1px solid var(--line); border-radius: 19px; background: #fff; color: var(--body); font-size: 14px; text-decoration: none; white-space: nowrap; }
.wc-flow .woocommerce-MyAccount-navigation .is-active a { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.wc-flow .woocommerce-MyAccount-content { float: none; width: auto; min-width: 0; }
.wc-flow .woocommerce-MyAccount-content > p:first-child { font-size: 17px; color: var(--ink); }
.wc-flow .woocommerce-MyAccount-content p { color: var(--body); line-height: 1.6; }
.wc-flow .woocommerce-MyAccount-content a:not(.button) { color: var(--ink); }
@media (min-width: 900px) {
  .wc-flow .woocommerce:has(.woocommerce-MyAccount-navigation) { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
  .wc-flow .woocommerce-MyAccount-navigation ul { flex-direction: column; margin: 0; padding: 0; overflow: visible; }
  .wc-flow .woocommerce-MyAccount-navigation a { border: 0; background: none; border-radius: var(--r); height: 42px; }
  .wc-flow .woocommerce-MyAccount-navigation .is-active a { background: var(--sand); color: var(--ink); font-weight: 600; }
}
/* tables: orders, order details; on phones each order becomes a small card */
.wc-flow .woocommerce table.shop_table { width: 100%; border: 1px solid var(--line); border-radius: 10px; border-collapse: separate; border-spacing: 0; background: #fff; overflow: hidden; margin: 0 0 24px; }
.wc-flow .woocommerce table.shop_table th, .wc-flow .woocommerce table.shop_table td { padding: 12px 14px; border-top: 1px solid var(--line); text-align: left; font-size: 14.5px; color: var(--body); vertical-align: top; }
.wc-flow .woocommerce table.shop_table thead th { border-top: 0; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); background: var(--paper); }
.wc-flow .woocommerce table.shop_table tfoot th, .wc-flow .woocommerce table.shop_table tfoot td { font-weight: 600; color: var(--ink); }
.wc-flow .woocommerce table.shop_table a { color: var(--ink); }
.wc-flow .woocommerce table.shop_table .wc-item-meta { margin: 6px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--mute); }
.wc-flow .woocommerce table.shop_table .wc-item-meta li { margin: 0; }
.wc-flow .woocommerce table.shop_table .wc-item-meta p { display: inline; margin: 0; }
.wc-flow .woocommerce table.shop_table .wc-item-meta strong { color: var(--body); font-weight: 600; }
@media (max-width: 767px) {
  .wc-flow .woocommerce table.shop_table_responsive thead { display: none; }
  .wc-flow .woocommerce table.shop_table_responsive tr { display: block; border-top: 1px solid var(--line); padding: 8px 0; }
  .wc-flow .woocommerce table.shop_table_responsive tbody tr:first-child { border-top: 0; }
  .wc-flow .woocommerce table.shop_table_responsive td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 6px 14px; text-align: right !important; }
  .wc-flow .woocommerce table.shop_table_responsive td::before { content: attr(data-title); font-weight: 600; color: var(--ink); text-align: left; }
  .wc-flow .woocommerce table.shop_table_responsive td.woocommerce-orders-table__cell-order-actions { justify-content: flex-start; flex-wrap: wrap; }
  .wc-flow .woocommerce table.shop_table_responsive td.woocommerce-orders-table__cell-order-actions::before { display: none; }
}
/* addresses */
.wc-flow .woocommerce .addresses, .wc-flow .woocommerce .woocommerce-columns--addresses { display: grid; gap: 16px; margin: 0; }
.wc-flow .woocommerce .addresses::before, .wc-flow .woocommerce .addresses::after { display: none; }
.wc-flow .woocommerce .addresses .col-1, .wc-flow .woocommerce .addresses .col-2, .wc-flow .woocommerce .woocommerce-column { float: none; width: auto; max-width: none; padding: 0; }
.wc-flow .woocommerce address { font-style: normal; line-height: 1.6; color: var(--body); padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.wc-flow .woocommerce .woocommerce-Address-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.wc-flow .woocommerce .woocommerce-Address-title h2, .wc-flow .woocommerce .woocommerce-column__title, .wc-flow .woocommerce .woocommerce-order-details__title { font-size: 24px; margin: 0 0 12px; }
@media (min-width: 768px) { .wc-flow .woocommerce .addresses, .wc-flow .woocommerce .woocommerce-columns--addresses { grid-template-columns: 1fr 1fr; } }
/* notices */
.wc-flow .woocommerce-message, .wc-flow .woocommerce-info, .wc-flow .woocommerce-error { list-style: none; margin: 0 0 20px; padding: 14px 16px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r); background: #fff; color: var(--ink); font-size: 14.5px; }
.wc-flow .woocommerce-error { border-left-color: #A33B2B; }
.wc-flow .woocommerce-message::before, .wc-flow .woocommerce-info::before, .wc-flow .woocommerce-error::before { display: none; }
.wc-flow .woocommerce-message .button, .wc-flow .woocommerce-info .button { float: right; min-height: 34px; margin-left: 12px; }
/* thank-you page */
.wc-flow .rth-ty { display: grid; gap: 18px; margin: 0 0 28px; }
.wc-flow .rth-ty h1 { font: 400 clamp(30px, 6vw, 44px)/1.1 var(--serif); color: var(--ink); margin: 0; }
.wc-flow .rth-ty > p { color: var(--body); max-width: 60ch; margin: 0; }
.wc-flow .rth-steps { display: grid; gap: 10px; margin: 4px 0 0; padding: 0; list-style: none; counter-reset: s; }
.wc-flow .rth-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; counter-increment: s; }
.wc-flow .rth-steps li::before { content: counter(s); display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sand); color: var(--ink); font-weight: 600; font-size: 14px; }
.wc-flow .rth-steps b { display: block; color: var(--ink); font-weight: 600; }
.wc-flow .rth-steps span { font-size: 14px; color: var(--mute); }
@media (min-width: 900px) { .wc-flow .rth-steps { grid-template-columns: repeat(3, 1fr); } }
.wc-flow .woocommerce-order > .woocommerce-notice--success { display: none; } /* replaced by .rth-ty */
.wc-flow ul.woocommerce-order-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0 0 28px; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.wc-flow ul.woocommerce-order-overview::before, .wc-flow ul.woocommerce-order-overview::after { display: none; }
.wc-flow ul.woocommerce-order-overview li { float: none; margin: 0; padding: 12px 16px; border: 0; border-top: 1px solid var(--line); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); min-width: 0; overflow-wrap: anywhere; }
.wc-flow ul.woocommerce-order-overview li:nth-child(-n+2) { border-top: 0; }
.wc-flow ul.woocommerce-order-overview li:nth-child(even) { border-left: 1px solid var(--line); }
.wc-flow ul.woocommerce-order-overview li strong { display: block; margin-top: 4px; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--ink); }
@media (min-width: 900px) { .wc-flow ul.woocommerce-order-overview { grid-template-columns: repeat(5, minmax(0, 1fr)); } .wc-flow ul.woocommerce-order-overview li { border-top: 0 !important; border-left: 1px solid var(--line); } .wc-flow ul.woocommerce-order-overview li:first-child { border-left: 0; } }
.wc-flow .woocommerce-order-details, .wc-flow .woocommerce-customer-details { margin-top: 8px; }
.wc-flow .woocommerce-order-details .order-again { margin-top: 12px; }

/* ---------- Sale (spectro-rth inc/sale.php) ---------- */
.sale-bar { position: relative; z-index: 60; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 10px; padding: 9px max(16px, env(safe-area-inset-left, 0px)); background: var(--hover); color: #fff; font: 500 13.5px/1.3 var(--sans); text-align: center; }
.sale-bar b { font-weight: 700; letter-spacing: .02em; }
.sale-bar time { font-variant-numeric: tabular-nums; font-weight: 600; }
.b-line .b-was { margin-left: 10px; color: var(--mute); font-size: 18px; }
.b-line .b-off { margin-left: 8px; padding: 3px 8px; border-radius: 12px; background: var(--hover); color: #fff; font-size: 12.5px; font-weight: 700; }
.b-sale { margin: 6px 0 0; font-size: 13px; color: var(--mute); }
.b-sale time { color: var(--hover); font-weight: 600; font-variant-numeric: tabular-nums; }
