/*
Theme Name: Chouchou Candles
Description: Warm candle-shop e-commerce theme for WooCommerce built on Bootstrap 5: collection page with filters, quick view, setup wizard, CSV product importer and Elementor home page builder.
Author: moustahsane.me
Author URI: https://moustahsane.me
Version: 3.27.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: horizons
Domain Path: /languages
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Chouchou Candles (based on the Horizons theme), Copyright (c) 2026 moustahsane.me (https://moustahsane.me)
Horizons is distributed under the terms of the GNU General Public License v2 or later.
See LICENSE.txt for the full license text and readme.txt for third-party credits.
*/
/* ---------- Theme tokens ----------
   Warm cream surfaces, one caramel accent. Surfaces never carry the brand colour;
   the product photos and the accent do.
   Ink       #2A1F18  – text (cocoa)
   Accent    #9A5B32  – primary action and selection only (caramel)
   Page      #FBF6EE  – page background (cream)
   Raised    #F1E7D8  – photo ground, active rows
   Card      #FFFFFF  – fields, cards, floating bars
   ------------------------------------------------------- */
:root, :root[data-bs-theme="light"] {
  --c-primary:#2A1F18;
  --c-accent:#9A5B32;
  --c-secondary:#E0B27A;
  --c-surface:#F1E7D8;
  --c-bg:#FBF6EE;
  --font:'Manrope','Noto Sans Arabic',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --font-display:'Cormorant Garamond','Noto Naskh Arabic',Georgia,'Times New Roman',serif;
  --font-mono:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --bg:var(--c-bg);
  --surface:var(--c-surface);
  --surface-2:#FFFCF7;
  --line:#E8DCC8;
  --line-2:#D4C3A8;
  --muted:#76665A;
  --soft:#54443A;
  --fg:var(--c-primary);
  --fg-rgb:42,31,24;
  --bar:#FFFCF7;
  --hover-text:var(--c-accent);
  --accent:var(--c-accent);
  --accent-rgb:154,91,50;
  --accent-hover:color-mix(in srgb,var(--accent),#000 12%);
  --accent-active:color-mix(in srgb,var(--accent),#000 20%);
  --bs-body-bg:var(--bg);
  --bs-body-color:var(--fg);
  --bs-secondary-color:var(--muted);
  --bs-border-color:var(--line);
  --bs-link-color-rgb:var(--fg-rgb);
  --bs-link-hover-color-rgb:var(--accent-rgb);
  --bs-link-decoration:none;
  --bs-border-radius:var(--r-sm);
}
:root[data-bs-theme="light"] { --bs-body-font-family:var(--font); --bs-font-sans-serif:var(--font); }
:root[data-bs-theme="dark"] {
  --bg:#1A1411;
  --surface:#251D18;
  --surface-2:#30261F;
  --line:#4A3C32;
  --line-2:#5F4E41;
  --muted:#A8978A;
  --soft:#D6C8B8;
  --fg:#F4ECE0;
  --fg-rgb:244,236,224;
  --bar:#30261F;
  --hover-text:#E0B27A;
  --accent:#9A5B32;
  --accent-rgb:154,91,50;
  --bs-link-hover-color-rgb:224,178,122;
}
/* ---------- Heading scale (h1 to h6, every page) ----------
   One scale for the whole theme: change a size here and every heading follows.
   h1 xl, h2 l, h3 m, h4 s, h5 xs, h6 xs. Compact interface headings (cards, filter groups,
   drawers, checkout summaries) pick a smaller step from the same scale, never their own size. */
:root {
  --h-xl:clamp(21px,1.1vw + 16px,29px);
  --h-l:clamp(18px,.5vw + 15px,22px);
  --h-m:clamp(16px,.25vw + 13.5px,18px);
  --h-s:clamp(14px,.1vw + 13px,15px);
  --h-xs:12px;
  --bs-body-font-size:.8125rem;
  --lh-xl:1.15;
  --lh-l:1.15;
  --lh-m:1.2;
  --lh-s:1.3;
  --lh-xs:1.3;
}
body {
  display:flex;
  flex-direction:column;
  min-height:100vh;
  font-optical-sizing:auto;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 { font-family:var(--font-display); }
h1, .h1 { font-size:var(--h-xl); line-height:var(--lh-xl); }
h2, .h2 { font-size:var(--h-l); line-height:var(--lh-l); }
h3, .h3 { font-size:var(--h-m); line-height:var(--lh-m); }
h4, .h4 { font-size:var(--h-s); line-height:var(--lh-s); }
h5, .h5, h6, .h6 { font-size:var(--h-xs); line-height:var(--lh-xs); }
.sc-page-head h1, .product_title, .woocommerce-loop-product__title { font-family:var(--font-display); }
button, input, select, textarea { font-family:inherit; }
a { text-decoration:none; }
.form-control, .form-select, .woocommerce-ordering select, .woocommerce input.input-text, .woocommerce select {
  min-height:44px;
  background-color:var(--surface-2);
  border:1px solid var(--line-2);
  color:var(--fg);
  padding:.375rem .75rem;
}
.form-control, .form-select, .woocommerce-ordering select, .woocommerce select { border-radius:var(--r-sm); }
.form-control:focus, .form-select:focus {
  background-color:var(--surface-2);
  color:var(--fg);
}
.form-control::placeholder { color:var(--muted); }
/* ---------- Generic helpers ---------- */
.screen-reader-text {
  border:0;
  clip:rect(1px,1px,1px,1px);
  clip-path:inset(50%);
  height:1px;
  margin:-1px;
  overflow:hidden;
  padding:0;
  position:absolute;
  width:1px;
  word-wrap:normal !important;
}
/* ---------- Buttons used by the shop (cards, bottom bar, WooCommerce loop button) ---------- */
.sc-btn {
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 20px;
  border:0;
  font:600 15px/normal var(--font);
  cursor:pointer;
  color:#fff;
  background:var(--accent);
  text-decoration:none;
  white-space:nowrap;
}
.sc-btn.sec, .sc-collection .sc-btn.sec:hover, .sc-btn.sec:hover { color:var(--fg); }
.sc-btn:hover { filter:brightness(1.15); color:#fff; }
.sc-btn.loading { opacity:.6; pointer-events:none; }
/* ======================================================================
   Collection page – shop layout
   Everything below is scoped to .sc-collection so Bootstrap's reboot
   (line-height 1.5, heading margins, input margins…) can't leak in.
   ====================================================================== */
.sc-collection {
  display:flex;
  flex-direction:column;
  background:var(--bg);
  color:var(--fg);
  line-height:normal;
}
.sc-collection h1, .sc-collection h2, .sc-collection h3 { margin:0; line-height:normal; }
.sc-collection a { text-decoration:none; }
.sc-collection .sc-btn:hover { color:#fff; }
/* Title block: icon + title/breadcrumb on the left, product count on the right */
.sc-page-head {
  display:flex;
  gap:20px;
  align-items:center;
  flex-wrap:wrap;
  padding:24px 32px;
}
.sc-page-icon {
  width:64px;
  height:64px;
  background:#E0B27A;
  display:flex;
  align-items:center;
  justify-content:center;
}
.sc-page-icon svg { width:36px; height:36px; }
.sc-page-title {
  display:flex;
  flex-direction:column;
  gap:6px;
}
.sc-page-head h1 { letter-spacing:-.03em; }
.sc-page-head .woocommerce-breadcrumb {
  margin:0;
  font-size:12px;
  color:var(--muted);
}
.sc-page-head .woocommerce-breadcrumb a { color:var(--muted); font-weight:400; }
/* Content area of non-shop pages (same side padding as the shop page) */
.sc-content { flex:1 0 auto; padding:24px 32px 48px; }
@media(max-width:575.98px) {
  .sc-content { padding-left:16px; padding-right:16px; }
}
/* Tab strip with full-width underline */
.sc-tabs { display:flex; padding:0 32px; }
.sc-tabs a {
  padding:12px 0;
  border-bottom:3px solid var(--accent);
  color:var(--fg);
}
/* Horizontal menu strip (non-shop pages): active item gets the underline */
.sc-menu {
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.sc-menu::-webkit-scrollbar { display:none; }
.sc-menu-list {
  display:flex;
  gap:28px;
  list-style:none;
  margin:0;
  padding:0;
  flex-wrap:nowrap;
}
.sc-menu .sc-menu-list li { flex:none; }
.sc-menu .sc-menu-list a { white-space:nowrap; }
.sc-menu .sc-menu-list li { margin:0; }
.sc-menu .sc-menu-list a {
  display:block;
  padding:12px 0;
  border-bottom:3px solid transparent;
}
.sc-menu .sc-menu-list .current-menu-item>a, .sc-menu .sc-menu-list .current_page_item>a, .sc-menu .sc-menu-list .current-menu-ancestor>a { border-bottom-color:var(--accent); }
.sc-page-icon .custom-logo-link {
  display:flex;
  width:100%;
  height:100%;
  align-items:center;
  justify-content:center;
}
.sc-page-icon img.custom-logo {
  width:100%;
  height:100%;
}
/* Body: sidebar + results */
.sc-main {
  display:flex;
  flex-wrap:wrap;
  padding:24px 32px 120px;
  align-items:flex-start;
}
.sc-sidebar { flex:0 0 240px; max-width:100%; }
.sc-results {
  flex:1 1 560px;
  display:flex;
  flex-direction:column;
  gap:20px;
}
/* Filters */
.sc-filters-head {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  margin:0 0 12px;
}
.sc-filters-title { letter-spacing:0; }
.sc-filters-clear {
  font-size:12px;
  font-weight:400;
  color:var(--muted);
}
.sc-filter-group { border-top:1px solid var(--line); }
.sc-filter-group summary {
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:28px;
}
.sc-filter-group summary::-webkit-details-marker { display:none; }
.sc-filter-group summary::after {
  content:"";
  border-right:2px solid var(--muted);
  border-bottom:2px solid var(--muted);
  transform:rotate(45deg);
  margin-inline-end:4px;
  transition:transform .2s;
}
.sc-filter-group[open] summary::after { transform:rotate(-135deg); }
.sc-filter-group.is-closing summary::after { transform:rotate(45deg); }
.sc-filter-group summary h2 { transition:color .15s; }
.sc-filter-group summary:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:4px;
  border-radius:4px;
}
.sc-filter-group h2 {
  margin:0;
}
.sc-filter-body {
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-top:12px;
}
.sc-check {
  transition:color .15s,transform .15s;
  display:flex;
  align-items:center;
  margin:0;
  color:var(--soft);
  cursor:pointer;
}
.sc-check input {
  flex:none;
  width:16px;
  height:16px;
  margin:3px 3px 3px 4px;
  accent-color:var(--accent);
  color-scheme:light;
  cursor:pointer;
}
.sc-price { display:flex; gap:8px; }
.sc-sidebar .widget {
  border-top:1px solid var(--line);
  padding:18px 0;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.sc-sidebar .widget-title {
  margin:0 0 6px;
  font-size:var(--h-s);
  font-weight:600;
}
.sc-sidebar .widget ul {
  list-style:none;
  margin:0;
  padding:0;
}
.sc-sidebar .widget li {
  font-size:12px;
  color:var(--soft);
  min-height:32px;
  display:flex;
  align-items:center;
  gap:8px;
}
/* Inputs (search, price, sort) */
.sc-in, .sc-collection .woocommerce-ordering select {
  box-sizing:border-box;
  padding:0 14px;
  border:1px solid var(--line-2);
  background:var(--surface-2);
  color:var(--fg);
  font:15px/normal var(--font);
  margin:0;
}
.sc-in::placeholder { color:var(--muted); opacity:1; }
.sc-price .sc-in { width:100%; min-width:0; }
.sc-price input[type=number] { -moz-appearance:textfield; appearance:textfield; }
.sc-price input[type=number]::-webkit-inner-spin-button, .sc-price input[type=number]::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
/* Toolbar */
.sc-toolbar {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
}
.sc-search {
  flex:1 1 220px;
  display:flex;
  margin:0;
  position:relative;
}
.sc-search .sc-in {
  flex:1 1 auto;
  min-width:0;
  padding-left:40px;
  padding-right:40px;
}
.sc-search-ico {
  position:absolute;
  inset-inline-start:13px;
  color:var(--muted);
  pointer-events:none;
}
.sc-search-clear {
  position:absolute;
  inset-inline-end:8px;
  width:28px;
  height:28px;
  border:0;
  border-radius:50%;
  background:none;
  color:var(--muted);
  font-size:16px;
  line-height:1;
  cursor:pointer;
}
.sc-search-clear:hover { background:var(--line); color:var(--fg); }
 .sc-search-clear[hidden] { display:none; }
@keyframes scSpin{to{transform:rotate(360deg)}}
.sc-views { display:flex; gap:6px; }
.sc-sort-label { color:var(--muted); }
.sc-collection .woocommerce-ordering { margin:0; display:flex; }
.vr {
  position:absolute;
  opacity:0;
  width:1px;
  height:1px;
}
.vt {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  box-sizing:border-box;
  margin:0;
  font:600 14px/normal var(--font);
  cursor:pointer;
}
/* Product grid */
ul.products.grid {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  list-style:none;
  margin:0;
  padding:0;
}
ul.products.grid::before, ul.products.grid::after { display:none; }
.product-card {
  position:relative;
  border:1px solid var(--line);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  list-style:none;
  margin:0;
}
.product-card .img {
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}
.product-card .img img {
  width:100%;
  height:100%;
  object-fit:cover;
}
.product-card .img svg { height:auto; }
.product-card .body {
  display:flex;
  flex-direction:column;
}
.product-card .prow {
  display:flex;
  align-items:center;
  gap:8px;
}
.product-card .price {
  display:inline-flex;
  justify-content:flex-end;
  align-items:center;
  gap:8px;
  white-space:nowrap;
}
.product-card .price ins { text-decoration:none; }
.product-card .price del {
  color:var(--muted);
}
/* Hover actions (View Item / Add to cart) */
.product-card .acts {
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:12px;
  border-top:1px solid var(--line);
  opacity:0;
  pointer-events:none;
}
.product-card .acts .sc-btn { width:100%; padding:0 12px; }
.product-card:hover .acts, .product-card:focus-within .acts {
  opacity:1;
  transform:none;
  pointer-events:auto;
}
@media(hover:none) {
  .product-card .acts {
    opacity:1;
    transform:none;
    pointer-events:auto;
  }
}
.product-card .added_to_cart {
  display:block;
  text-align:center;
  font-size:12px;
}
/* Quick actions on the image: add to cart + quick view (revealed on hover) */
.sc-quick {
  position:absolute;
  z-index:2;
  top:10px;
  inset-inline-end:10px;
  display:flex;
  flex-direction:column;
  gap:6px;
  opacity:0;
  transition:opacity .15s;
}
.product-card:hover .sc-quick, .product-card:focus-within .sc-quick { opacity:1; }
@media(hover:none) {
  .sc-quick { opacity:1; }
}
.sc-quick .sc-ico { order:3; }
.sc-quick .sc-view { order:2; }
.sc-quick .sc-wish { order:1; }
.sc-ico {
  padding:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.sc-ico.is-loading { opacity:.6; }
/* Quick view modal */
.sc-modal { color:var(--fg); }
.sc-modal-img {
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--line);
}
.sc-modal-img img {
  width:100%;
  height:100%;
  object-fit:cover;
}
.sc-modal-img svg { height:auto; }
.sc-modal-info { display:flex; flex-direction:column; }
.sc-modal-info h2 { margin:0; }
.sc-modal-info .price {
  display:flex;
  justify-content:flex-end;
  gap:8px;
}
.sc-modal-info .price ins { text-decoration:none; }
.sc-modal-info .price del {
  color:var(--muted);
  font-size:12px;
  font-weight:400;
}
.sc-modal-info p { margin:0; color:var(--soft); }
.sc-modal-acts { flex-wrap:wrap; margin-top:8px; }
/* 10 per row */
.shop:has(#v10:checked) ul.products.grid { grid-template-columns:repeat(10,minmax(0,1fr)); gap:10px; }
.shop:has(#v10:checked) .cat, .shop:has(#v10:checked) .acts, .shop:has(#v10:checked) .price del { display:none; }
.shop:has(#v10:checked) .body { padding:8px; gap:2px; }
.shop:has(#v10:checked) .product-card h3 { display:none; }
.shop:has(#v10:checked) .product-card .price { font-size:12px; }
.shop:has(#v10:checked) .sc-badge {
  inset-inline-start:4px;
}
.shop:has(#v10:checked) .sc-quick {
  top:4px;
  inset-inline-end:4px;
  gap:3px;
}
.shop:has(#v10:checked) .sc-ico { width:24px; height:24px; }
.shop:has(#v10:checked) .sc-ico svg { width:13px; height:13px; }
@media(max-width:900px) {
  ul.products.grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .shop:has(#v10:checked) ul.products.grid { grid-template-columns:repeat(5,minmax(0,1fr)); }
}
@media(max-width:575.98px) {
  .sc-page-head, .sc-tabs, .sc-main { padding-left:16px; padding-right:16px; }
}
/* Pagination */
.woocommerce-pagination ul {
  display:flex;
  gap:8px;
  list-style:none;
  padding:0;
  margin:0;
  border:0 !important;
}
.woocommerce-pagination li { border:0 !important; }
.woocommerce-pagination a, .woocommerce-pagination span {
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  min-height:44px;
  border-radius:var(--r-sm);
  background:var(--line);
  color:var(--fg);
  padding:0 12px;
}
.woocommerce-pagination .current { background:var(--accent); color:#fff; }
/* Bottom bar: items added + Cart */
.sc-bar {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  border-top:1px solid var(--line);
}
/* ---------- WooCommerce generic buttons (cart, checkout, account) ---------- */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 20px;
  border-radius:var(--r-sm);
  border:0;
  font:600 15px var(--font);
  cursor:pointer;
  color:#fff;
  background:var(--accent);
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .button:hover { background:var(--accent-hover); color:#fff; }
.woocommerce-message, .woocommerce-info { border-top-color:var(--accent); }
.sc-settings-btn {
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  padding:0;
}
.sc-cart-count {
  position:absolute;
  top:-4px;
  inset-inline-end:-4px;
  min-width:20px;
  height:20px;
  padding:0 5px;
  border-radius:999px;
  background:var(--accent);
  color:#fff;
  font-size:11px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.sc-settings-btn:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.sc-panel {
  --bs-offcanvas-bg:var(--surface);
  --bs-offcanvas-color:var(--fg);
  --bs-offcanvas-border-color:var(--line);
  width:340px;
}
.sc-panel h3 {
  font-size:var(--h-xs);
  font-weight:600;
  color:var(--muted);
  margin:0 0 10px;
}
.sc-set { padding:18px 0; border-top:1px solid var(--line); }
.sc-set:first-child { border-top:0; padding-top:0; }
.sc-lang {
  width:100%;
  min-height:44px;
  border-radius:var(--r-sm);
  border:1px solid var(--line-2);
  background:var(--surface-2);
  color:var(--fg);
  padding:0 12px;
  font:15px var(--font);
}
.sc-reset {
  background:none;
  border:0;
  color:var(--muted);
  text-decoration:underline;
  cursor:pointer;
  padding:0;
  font-size:12px;
}
[data-bs-theme="light"] .btn-close-white { filter:none; }
/* ---------- Cart drawer (WooCommerce mini-cart) ---------- */
.sc-drawer .widget_shopping_cart_content {
  display:flex;
  flex-direction:column;
  height:100%;
}
.sc-drawer .woocommerce-mini-cart {
  list-style:none;
  margin:0;
  padding:0 16px;
  flex:1 1 auto;
  overflow-y:auto;
}
.sc-drawer .woocommerce-mini-cart-item {
  position:relative;
  min-height:72px;
  padding-block:14px;
  padding-inline:72px 28px;
  border-top:1px solid var(--line);
  font-size:12px;
  line-height:1.35;
}
.sc-drawer .woocommerce-mini-cart-item:first-child { border-top:0; }
.sc-drawer .woocommerce-mini-cart-item a:not(.remove) {
  display:block;
  color:var(--fg);
  font-weight:600;
}
.sc-drawer .woocommerce-mini-cart-item img {
  position:absolute;
  inset-inline-start:0;
  top:14px;
  object-fit:cover;
  border-radius:var(--r-sm);
  margin:0;
}
.sc-drawer .woocommerce-mini-cart-item a.remove {
  position:absolute;
  top:12px;
  inset-inline-end:0;
  width:24px;
  height:24px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--muted);
  font-size:14px;
  line-height:1;
}
.sc-drawer .woocommerce-mini-cart-item a.remove:hover { background:var(--accent); color:#fff; }
.sc-drawer .quantity {
  display:block;
  margin-top:4px;
  color:var(--muted);
}
.sc-drawer .woocommerce-mini-cart__total {
  display:flex;
  justify-content:space-between;
  margin:0;
  border-top:1px solid var(--line);
}
.sc-drawer .woocommerce-mini-cart__buttons {
  display:flex;
  flex-direction:column;
  gap:8px;
  margin:0;
}
.sc-drawer .woocommerce-mini-cart__buttons a { width:100%; text-decoration:none; }
.sc-drawer .woocommerce-mini-cart__buttons a:not(.checkout) { background:var(--line); color:var(--fg); }
.sc-drawer .woocommerce-mini-cart__empty-message {
  padding:32px 16px;
  color:var(--muted);
  text-align:center;
  margin:0;
}
.sc-wish.is-active svg { fill:currentColor; }
.sc-wish-list {
  list-style:none;
  margin:0;
  padding:0 16px;
}
.sc-wish-item {
  position:relative;
  display:flex;
  gap:12px;
  padding-inline:0 28px;
  border-top:1px solid var(--line);
}
.sc-wish-item:first-child { border-top:0; }
.sc-wish-thumb {
  flex:none;
  overflow:hidden;
  background:var(--line);
  display:block;
}
.sc-wish-thumb img {
  width:100%;
  height:100%;
  object-fit:cover;
}
.sc-wish-name {
  color:var(--fg);
  font-weight:600;
  font-size:12px;
}
.sc-wish-item .price {
  font-size:12px;
  margin:2px 0 8px;
  display:flex;
  flex-direction:row-reverse;
  justify-content:flex-end;
  gap:6px;
}
.sc-wish-item .price ins { text-decoration:none; }
.sc-wish-item .price del { color:var(--muted); font-weight:400; }
.sc-wish-add {
  min-height:36px;
  padding:0 14px;
  font-size:12px;
}
.sc-wish-remove {
  position:absolute;
  inset-inline-end:0;
  border:0;
  border-radius:50%;
  background:none;
  color:var(--muted);
  font-size:14px;
  line-height:1;
  cursor:pointer;
}
.sc-wish-empty { color:var(--muted); text-align:center; }
.sc-wish-empty[hidden] { display:none; }
.sc-bar .sc-btn svg { flex:none; }
.sc-bar .sc-cart-count {
  position:static;
}
@media(max-width:575.98px) {
  .sc-bar { padding-left:16px; padding-right:16px; }
}
/* ---------- Motion ---------- */
@keyframes scIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.product-card { animation:scIn .45s cubic-bezier(.2,.8,.2,1) both; }
.product-card:nth-child(1) { animation-delay:0ms; }
.product-card:nth-child(2) { animation-delay:35ms; }
.product-card:nth-child(3) { animation-delay:70ms; }
.product-card:nth-child(4) { animation-delay:105ms; }
.product-card:nth-child(5) { animation-delay:140ms; }
.product-card:nth-child(6) { animation-delay:175ms; }
.product-card:nth-child(n+7) { animation-delay:210ms; }
.sc-results { transition:opacity .2s; }
.sc-results.is-loading { pointer-events:none; }
.sc-check:hover { color:var(--fg); transform:translateX(2px); }
.sc-check input { transition:transform .15s; }
.sc-check input:checked { transform:scale(1.12); }
@media(prefers-reduced-motion:reduce) {
  .product-card { animation:none; }
  .sc-filter-group summary::after, .sc-check, .sc-results { transition:none; }
}
/* ---------- Categories drawer (home) ---------- */
.sc-cat-list {
  list-style:none;
  margin:0;
  padding:0 16px;
}
.sc-cat-list li+li { border-top:1px solid var(--line); }
.sc-cat-list a {
  display:flex;
  justify-content:space-between;
  align-items:center;
  min-height:52px;
  color:var(--fg);
  font-weight:600;
  font-size:13px;
}
.sc-cat-list a:hover { color:var(--accent); }
.sc-cat-list em {
  font-style:normal;
  font-size:11px;
  color:var(--muted);
  background:var(--line);
  border-radius:999px;
  padding:2px 10px;
}
/* ---------- Mobile filters + toolbar ---------- */
.sc-filters-toggle { display:none; }
@media(max-width:767.98px) {
  .sc-main { padding-top:16px; }
  .sc-filters-toggle {
    display:flex;
    align-items:center;
    gap:10px;
    width:100%;
    min-height:48px;
    padding:0 16px;
    border-radius:var(--r-sm);
    border:1px solid var(--line-2);
    background:var(--surface);
    color:var(--fg);
    font:600 15px var(--font);
    cursor:pointer;
  }
  .sc-filters-toggle .sc-cart-count { position:static; }
  .sc-filters-chevron {
    margin-inline-start:auto;
    width:8px;
    height:8px;
    border-right:2px solid var(--muted);
    border-bottom:2px solid var(--muted);
    transform:rotate(45deg);
    transition:transform .25s;
  }
  .sc-filters-toggle[aria-expanded=true] .sc-filters-chevron { transform:rotate(-135deg); }
  .sc-sidebar {
    flex:1 1 100%;
    display:grid;
    grid-template-rows:0fr;
    transition:grid-template-rows .3s cubic-bezier(.2,.8,.2,1);
    margin:0;
  }
  .sc-sidebar.is-open { grid-template-rows:1fr; }
  .sc-sidebar-inner {
    min-height:0;
    overflow:hidden;
    opacity:0;
    transition:opacity .25s;
  }
  .sc-sidebar.is-open .sc-sidebar-inner {
    opacity:1;
    padding:4px 16px 8px;
    border:1px solid var(--line);
    border-radius:var(--r-lg);
    background:var(--surface);
  }
  .sc-filters-title { display:none; }
  .sc-filters-head { justify-content:flex-end; margin:0; }
  .sc-filter-group:first-of-type { border-top:0; }
  .sc-results { flex:1 1 100%; }
  .sc-toolbar { gap:10px; }
  .sc-search { flex:1 1 100%; }
  .sc-views { order:2; }
  .sc-sort-label { display:none; }
  .sc-toolbar .woocommerce-ordering {
    order:3;
    flex:1 1 0;
    min-width:0;
  }
  .sc-toolbar .woocommerce-ordering select { width:100%; }
}
@media(max-width:575.98px) {
  ul.products.grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .shop:has(#v10:checked) ul.products.grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(prefers-reduced-motion:reduce) {
  .sc-sidebar, .sc-sidebar-inner, .sc-filters-chevron { transition:none; }
}
/* ======================================================================
   Mobile polish: compact header + readable product cards
   ====================================================================== */
/* Touch devices (any width): the action buttons used to overlay the card body
   and hide the product name and price. Put them back in the normal flow. */
@media(hover:none),(max-width:575.98px) {
  .product-card .acts {
    position:static;
    left:auto;
    right:auto;
    bottom:auto;
    padding:0;
    margin-top:8px;
    background:none;
    border-top:0;
    opacity:1;
    transform:none;
    pointer-events:auto;
  }
}
@media(max-width:575.98px) {
  /* ---- Header: icon | title + breadcrumb | settings, count chip underneath ---- */
  .sc-page-head {
    display:grid;
    grid-template-columns:48px minmax(0,1fr) auto;
    column-gap:14px;
    row-gap:0;
    align-items:center;
    padding:16px 16px 14px;
  }
  .sc-page-icon {
    grid-column:1;
    grid-row:1;
    width:48px;
    height:48px;
    box-shadow:0 0 0 3px var(--bg),0 0 0 4px var(--line-2);
  }
  .sc-page-icon svg { width:26px; height:26px; }
  .sc-page-title {
    grid-column:2;
    grid-row:1;
    min-width:0;
    gap:3px;
  }
  .sc-page-head h1 {
    font-size:var(--h-xl);
    line-height:var(--lh-xl);
    font-weight:600;
    letter-spacing:-.025em;
    overflow-wrap:anywhere;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .sc-page-head .woocommerce-breadcrumb {
    font-size:11px;
    line-height:1.3;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .sc-page-head .sc-head-actions {
    grid-column:3;
    grid-row:1;
    margin-inline-start:0;
  }
  .sc-page-head .sc-settings-btn { width:44px; height:44px; }
  /* Tabs: a little more air, comfortable tap height */
  .sc-tabs { gap:24px; }
  .sc-menu .sc-menu-list a, .sc-tabs a { padding:12px 2px; font-size:13px; }
  /* ---- Product cards ---- */
  .product-card .body { gap:4px; }
  .product-card .cat {
    font-size:11px;
    line-height:1.3;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .product-card h3 {
    font-weight:600;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    min-height:2.6em;
  }
  .product-card h3 a { color:var(--fg); }
  .product-card .prow { margin-top:2px; }
  .product-card .price {
    font-size:14px;
    font-weight:600;
    color:var(--fg);
    flex-wrap:wrap;
    row-gap:0;
  }
  .product-card .price del { font-size:11px; }
  .product-card .acts { gap:8px; }
  .product-card .acts .sc-btn, .product-card .acts .button { min-height:42px; font-size:12px; }
  /* Dense 3-up view: keep name + price readable instead of hiding the name */
  .shop:has(#v10:checked) .body { padding:8px 8px 10px; gap:2px; }
  .shop:has(#v10:checked) .product-card h3 {
    display:-webkit-box;
    font-size:11px;
    line-height:1.25;
    min-height:2.5em;
  }
  .shop:has(#v10:checked) .product-card .price { font-size:12px; }
  .shop:has(#v10:checked) .sc-ico { width:28px; height:28px; }
  .shop:has(#v10:checked) .sc-ico svg { width:14px; height:14px; }
}
/* ======================================================================
   Mobile: product count moves to the toolbar, card buttons hidden
   ====================================================================== */
@media(max-width:575.98px) {
    .sc-toolbar-count {
    order:4;
    display:inline-flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:1px;
    flex:none;
    margin-inline-start:auto;
    min-width:48px;
    min-height:44px;
    padding:0 8px;
    border:1px solid var(--line-2);
    border-radius:var(--r-sm);
    background:var(--surface);
    font-size:11px;
    line-height:1;
    color:var(--muted);
  }
  .sc-toolbar-count strong {
    font-size:13px;
    font-weight:600;
    color:var(--fg);
    font-variant-numeric:tabular-nums;
  }
  .sc-toolbar .woocommerce-ordering { flex:1 1 0; min-width:0; }
  .sc-toolbar .woocommerce-ordering select {
    padding:0 10px;
    font-size:12px;
    text-overflow:ellipsis;
  }
  /* Cards: icon buttons + tappable image/title are enough on mobile */
  .product-card .acts { display:none; }
  .product-card .body { padding-bottom:14px; }
}
/* ======================================================================
   Quick view: fullscreen, image fills the left column,
   details + fixed action footer in the right column
   ====================================================================== */
.sc-modal {
  border-radius:0;
  border:0;
  height:100%;
  overflow:hidden;
}
.sc-modal-grid {
  height:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  overflow:hidden;
}
.sc-modal-img {
  aspect-ratio:auto;
  height:100%;
  min-height:0;
  position:relative;
}
.sc-modal-img img { position:absolute; inset:0; }
.sc-modal-img svg { width:min(55%,360px); }
/* Right column: content scrolls, buttons stay pinned at the bottom */
.sc-modal-side {
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:0;
  height:100%;
}
.sc-modal-info {
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  justify-content:safe center;
  max-width:none;
  padding:56px clamp(24px,4vw,64px) 24px;
}
.sc-modal-info p { font-size:13px; line-height:1.55; }
.sc-modal-acts {
  flex:none;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin:0;
  padding:16px clamp(24px,4vw,64px) calc(16px + env(safe-area-inset-bottom));
  border-top:1px solid var(--line);
}
.sc-modal-acts .sc-btn { min-width:0; padding:0 12px; }
.sc-modal-acts #sc-modal-add { grid-column:1 / -1; }
.sc-modal-acts #sc-modal-add[hidden]~.sc-btn { grid-column:auto; }
.sc-modal-acts .sc-btn[hidden] { display:none; }
.sc-modal-close { background-color:rgba(var(--fg-rgb),.72); background-size:14px; }
.sc-modal-close:hover { background-color:var(--accent); opacity:1; }
/* Narrow screens: image on top (fixed), details scroll, footer pinned */
@media(max-width:767.98px) {
  .sc-modal-grid { grid-template-columns:minmax(0,1fr); grid-template-rows:min(38vh,320px) minmax(0,1fr); }
  .sc-modal-img { height:100%; }
  .sc-modal-side { height:auto; }
  /* Image and footer stay put; only the description scrolls */
  .sc-modal-info {
    padding:20px 16px 0;
    gap:8px;
    justify-content:flex-start;
    overflow:hidden;
  }
  .sc-modal-info p {
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    padding-bottom:16px;
  }
  .sc-modal-acts { gap:8px; padding:12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .sc-modal-acts .sc-btn { font-size:12px; padding:0 8px; }
}
/* ======================================================================
   Checkout: dark form styling + "Place order" in the sticky bar
   ====================================================================== */
/* ---- Sticky bar: Place order ---- */
#sc-place-order { gap:10px; }
#sc-place-order .sc-po-total:empty { display:none; }
#sc-place-order:disabled {
  opacity:.55;
  cursor:not-allowed;
  filter:none;
}
@media(max-width:575.98px) {
  .sc-bar:has(#sc-place-order) { flex-wrap:nowrap; }
  .sc-bar:has(#sc-place-order) .sc-btn.sec { flex:0 0 auto; padding:0 16px; }
  .sc-bar #sc-place-order {
    flex:1 1 0;
    min-width:0;
    padding:0 12px;
    gap:8px;
    font-size:13px;
  }
  .sc-bar #sc-place-order svg { display:none; }
  #sc-place-order .sc-po-total { font-size:12px; }
}
/* The form's own button is hidden only once the bar button is wired up (see checkout.js) */
html.sc-bar-order .wc-block-components-checkout-place-order-button, html.sc-bar-order .woocommerce-checkout #place_order { display:none; }
html.sc-bar-order .wc-block-checkout__actions_row { justify-content:flex-start; }
/* ---- Checkout layout ---- */
.woocommerce-checkout .sc-content, .wp-block-woocommerce-checkout { color:var(--fg); }
.wc-block-checkout__main { padding-right:0 !important; }
.wc-block-components-checkout-step__title, .wc-block-components-title {
  font-size:var(--h-s)!important;
  font-weight:600 !important;
  letter-spacing:0;
  color:var(--fg);
}
.wc-block-components-checkout-step__description { font-size:13px; color:var(--muted); }
.wc-block-components-checkout-step__container { padding:0; }
/* ---- Inputs, selects, textareas (Checkout block + classic) ---- */
.wc-block-components-text-input input, .wc-block-components-textarea, .wc-block-components-form .wc-block-components-text-input input, .wc-blocks-components-select .wc-blocks-components-select__select, .wc-block-components-combobox .components-combobox-control__input, .wc-block-components-country-input select, .woocommerce-checkout .form-row input.input-text, .woocommerce-checkout .form-row textarea, .woocommerce-checkout .form-row select {
  background-color:var(--surface-2) !important;
  color:var(--fg) !important;
  border:1px solid var(--line-2) !important;
  border-radius:var(--r-sm) !important;
  min-height:56px;
  font:500 16px/1.2 var(--font) !important;
  box-shadow:none !important;
  transition:border-color .15s,box-shadow .15s,background-color .15s;
}
.wc-block-components-text-input input, .wc-block-components-combobox .components-combobox-control__input { padding:22px 14px 8px !important; }
.wc-blocks-components-select .wc-blocks-components-select__select { padding:22px 40px 8px 14px !important; }
.wc-block-components-text-input input:hover, .wc-blocks-components-select__select:hover { border-color:color-mix(in srgb,var(--line-2),var(--fg) 25%) !important; }
.wc-block-components-text-input input:focus, .wc-blocks-components-select .wc-blocks-components-select__select:focus, .wc-block-components-combobox .components-combobox-control__input:focus, .wc-block-components-textarea:focus, .woocommerce-checkout .form-row input.input-text:focus, .woocommerce-checkout .form-row select:focus {
  outline:0 !important;
  border-color:var(--accent) !important;
  box-shadow:0 0 0 3px rgba(var(--accent-rgb),.28) !important;
}
.wc-block-components-text-input input:-webkit-autofill {
  -webkit-text-fill-color:var(--fg);
  box-shadow:0 0 0 100px var(--surface-2) inset !important;
}
/* Floating labels */
.wc-block-components-text-input label, .wc-blocks-components-select__label, .wc-block-components-combobox .components-base-control__label, .woocommerce-checkout .form-row label { color:var(--muted) !important; font-weight:500; }
.wc-block-components-text-input label { inset-inline-start:14px !important; }
.wc-block-components-text-input.is-active label { transform:translateY(-.55em) scale(.75) !important; }
.wc-blocks-components-select__label { inset-inline-start:14px !important; }
.wc-blocks-components-select__expand { fill:var(--muted) !important; }
/* Validation */
.wc-block-components-text-input.has-error input, .wc-blocks-components-select.has-error select { border-color:#ff6b81 !important; }
.wc-block-components-validation-error { color:#ff8fa0; font-size:13px; }
.wc-block-components-text-input.has-error label { color:#ff8fa0 !important; }
/* Checkboxes + radios */
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox] {
  accent-color:var(--accent);
  background:var(--surface-2) !important;
  border:1.5px solid var(--line-2) !important;
  border-radius:var(--r-xs) !important;
}
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked { background:var(--accent) !important; border-color:var(--accent) !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__mark { fill:#fff !important; }
.wc-block-components-checkbox__label { color:var(--soft); font-size:13px; }
.wc-block-components-radio-control__option { box-shadow:none !important; }
.wc-block-components-radio-control__input { accent-color:var(--accent); }
.wc-block-components-radio-control__label, .wc-block-components-radio-control__description { color:var(--fg); }
.wc-block-components-radio-control__secondary-label { color:var(--soft); }
.wc-block-components-address-card {
  border:1px solid var(--line-2);
  border-radius:var(--r-lg);
  padding:14px;
}
.wc-block-checkout__add-note, .wc-block-checkout__add-note textarea { color:var(--fg); }
.wc-block-components-checkout-return-to-cart-button { color:var(--muted); font-weight:600; }
.wc-block-components-checkout-return-to-cart-button:hover { color:var(--hover-text); }
.wc-block-components-checkout-policies, .wc-block-checkout__terms { color:var(--muted); font-size:13px; }
.wc-block-checkout__terms a { color:var(--hover-text); text-decoration:underline; }
.wc-block-components-button.wc-block-components-button {
  background:var(--accent);
  color:#fff;
  border-radius:var(--r-sm);
  min-height:48px;
}
.wc-block-components-button.wc-block-components-button:hover { background:var(--accent-hover); }
.wc-block-components-button.wc-block-components-button--link { background:none; }
a.wc-block-components-panel__button, .wc-block-components-panel__button { color:var(--fg); }
/* ---- Order summary card ---- */
.wc-block-components-sidebar {
  position:sticky;
  top:calc(var(--adminbar) + var(--header-h,150px) + 16px);
  align-self:flex-start;
}
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block { padding:0; }
.wc-block-components-order-summary__button-text, .wc-block-components-checkout-order-summary__title-text {
  font-size:var(--h-m);
  color:var(--fg);
}
.wc-block-components-order-summary-item { border-bottom:1px solid var(--line); }
.wc-block-components-order-summary-item:last-child { border-bottom:0; }
.wc-block-components-order-summary-item__image>img {
  border-radius:var(--r-sm);
  background:var(--surface-2) !important;
  border:1px solid var(--line) !important;
}
.wc-block-components-order-summary-item__quantity {
  background:var(--accent) !important;
  color:#fff !important;
  border:2px solid var(--surface) !important;
  box-shadow:none !important;
}
.wc-block-components-product-name { color:var(--fg) !important; }
.wc-block-components-product-metadata__description, .wc-block-components-product-metadata { color:var(--muted); font-size:12px; }
.wc-block-components-product-badge, .wc-block-components-sale-badge {
  background:rgba(var(--accent-rgb),.16) !important;
  color:var(--hover-text) !important;
  border:0 !important;
  border-radius:var(--r-xs) !important;
  padding:2px 10px !important;
  font-weight:600;
}
.wc-block-components-product-price__regular { color:var(--muted); }
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper { border-top:1px solid var(--line) !important; }
.wc-block-components-totals-item__label { color:var(--soft); }
.wc-block-components-totals-item__value { color:var(--fg); font-variant-numeric:tabular-nums; }
.wc-block-components-totals-footer-item { font-size:14px; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label { color:var(--fg); }
/* ---- Classic shortcode checkout ---- */
.woocommerce-checkout h3 {
  font-size:var(--h-m);
  letter-spacing:0;
  margin:0 0 14px;
}
.woocommerce-checkout .form-row { margin:0 0 14px; padding:0; }
.woocommerce-checkout #payment { border-radius:var(--r-lg); }
.woocommerce-checkout #payment ul.payment_methods { border-color:var(--line); }
.woocommerce-checkout #payment div.payment_box { color:var(--soft); }
@media(max-width:781px) {
  .wc-block-components-text-input input, .wc-blocks-components-select .wc-blocks-components-select__select { min-height:54px; }
  .wc-block-components-checkout-step { margin-bottom:22px; }
}
/* ======================================================================
   Global UI polish
   1 Foundation   2 Header + tabs   3 Shop   4 Bar + drawers   5 Single product
   6 Cart / tables   7 Notices   8 Account   9 Content + forms   10 RTL
   ====================================================================== */
/* ---------- 1. Foundation ---------- */
:root {
  --shadow-card:0 1px 2px rgba(var(--fg-rgb),.05);
  --adminbar:var(--wp-admin--admin-bar--height,0px);
}
@media(prefers-reduced-motion:no-preference) {
  html { scroll-behavior:smooth; }
}
html { scrollbar-color:var(--line-2) transparent; scrollbar-width:thin; }
img { max-width:100%; height:auto; }
.sc-collection :where(p) { line-height:1.6; }
@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after {
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
}
/* Same custom chevron on every native select */
.sc-collection .woocommerce-ordering select, .sc-lang, .woocommerce select {
  -webkit-appearance:none;
  appearance:none;
  padding-inline-end:38px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%239aa0b4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 14px center;
  background-size:12px;
}
.sc-collection .woocommerce-ordering select:focus, .sc-lang:focus {
  outline:0;
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(var(--accent-rgb),.25);
}
/* Wide screens: content lines up on one centred 1616px column */
/* ---------- 2. Header + tabs ---------- */
@media(min-width:576px) {
  .sc-page-head { padding-block:28px 22px; gap:20px; }
  .sc-page-icon {
    width:60px;
    height:60px;
    box-shadow:0 0 0 4px var(--bg),0 0 0 5px var(--line-2);
  }
  .sc-page-icon svg { width:32px; height:32px; }
  .sc-page-head h1 {
    font-size:var(--h-xl);
    line-height:var(--lh-xl);
    font-weight:600;
  }
}
.sc-page-head .woocommerce-breadcrumb a:hover { color:var(--hover-text); }
/* Tabs stay reachable while scrolling (sits under the WP admin bar when logged in) */
.sc-menu .sc-menu-list a {
  position:relative;
  color:var(--soft);
  transition:color .15s;
}
.sc-menu .sc-menu-list a:hover { color:var(--fg); }
.sc-menu .sc-menu-list .current-menu-item>a, .sc-menu .sc-menu-list .current_page_item>a, .sc-menu .sc-menu-list .current-menu-ancestor>a { color:var(--fg); }
.sc-menu .sc-menu-list a { border-bottom-width:3px; border-radius:0; }
/* ---------- 3. Shop ---------- */
.product-card .img { overflow:hidden; }
@media(hover:hover) {
  .product-card:hover .img img, .product-card:hover .img svg { transform:scale(1.045); }
}
.product-card h3 a { color:var(--fg); }
.sc-in:hover, .sc-collection .woocommerce-ordering select:hover { border-color:color-mix(in srgb,var(--line-2),var(--fg) 22%); }
.vt { transition:background .15s,color .15s; }
.sc-check { border-radius:var(--r-sm); }
.sc-filter-group:first-of-type { border-top:0; padding-top:4px; }
@media(min-width:768px) {
  .sc-sidebar {
    position:sticky;
    top:calc(var(--adminbar) + var(--header-h,150px) + 16px);
    max-height:calc(100vh - var(--adminbar) - var(--header-h,150px) - 32px);
    overflow-y:auto;
    scrollbar-width:thin;
    padding-inline-end:6px;
  }
}
/* Related / upsell / cross-sell lists reuse the product card */
.related ul.products, .up-sells ul.products, .upsells ul.products, .cross-sells ul.products {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  list-style:none;
  margin:0;
  padding:0;
}
@media(max-width:900px) {
  .related ul.products, .up-sells ul.products, .upsells ul.products, .cross-sells ul.products { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:575.98px) {
  .related ul.products, .up-sells ul.products, .upsells ul.products, .cross-sells ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
}
/* Empty results */
.sc-results .woocommerce-info {
  margin:8px 0;
  padding:28px 20px;
  justify-content:center;
  text-align:center;
  border-inline-start-width:1px;
}
/* ---------- 4. Bottom bar + drawers ---------- */
.sc-bar { padding-bottom:calc(14px + env(safe-area-inset-bottom)); }
.sc-bar .sc-btn { transition:filter .15s,transform .15s; }
.sc-btn.sec:hover { filter:none; }
.sc-panel {
  --bs-offcanvas-width:min(100vw,400px);
  border-inline-start:1px solid var(--line);
}
.sc-panel .offcanvas-header { padding:18px 20px; border-bottom:1px solid var(--line); }
.sc-panel .offcanvas-title { letter-spacing:0; }
.sc-panel .btn-close {
  width:36px;
  height:36px;
  padding:0;
  margin:0;
  border-radius:50%;
  background-size:12px;
  opacity:.8;
  transition:background-color .15s,opacity .15s;
}
.sc-panel .btn-close:hover { background-color:var(--line); opacity:1; }
.sc-drawer .woocommerce-mini-cart { padding-inline:20px; }
.sc-drawer .woocommerce-mini-cart-item img { width:60px; height:60px; }
.sc-drawer .woocommerce-mini-cart__total { padding:18px 20px; font-size:13px; }
.sc-drawer .woocommerce-mini-cart__total strong { font-weight:600; color:var(--soft); }
.sc-drawer .woocommerce-mini-cart__total .amount { font-size:14px; }
.sc-drawer .woocommerce-mini-cart__buttons { padding:0 20px 22px; }
.sc-drawer .woocommerce-mini-cart__buttons a { min-height:48px; border-radius:var(--r-sm); }
.sc-wish-list, .sc-cat-list { padding-inline:20px; }
.sc-wish-thumb { width:72px; height:72px; }
/* ---------- 5. Single product ---------- */
.single-product div.product {
  position:relative;
  display:grid;
  align-items:start;
}
.single-product div.product>.woocommerce-product-gallery {
  grid-column:1;
  grid-row:1;
  position:relative;
}
.single-product div.product>.summary {
  grid-column:2;
  grid-row:1;
  display:flex;
  flex-direction:column;
  min-width:0;
}
.single-product div.product>.woocommerce-tabs, .single-product div.product>.related, .single-product div.product>.up-sells, .single-product div.product>.upsells { grid-column:1/-1; }
.single-product span.onsale {
  position:absolute;
  z-index:6;
  top:14px;
  inset-inline-start:14px;
  padding:5px 12px;
  font-size:11px;
  line-height:1.3;
}
.woocommerce-product-gallery {
  margin:0;
  overflow:hidden;
}
.woocommerce-product-gallery__wrapper { margin:0; }
.woocommerce-product-gallery__image img, .woocommerce-product-gallery img.wp-post-image {
  display:block;
  width:100%;
  height:auto;
}
.woocommerce-product-gallery__image--placeholder {
  display:flex;
  align-items:center;
  justify-content:center;
  aspect-ratio:1/1;
}
.woocommerce-product-gallery__trigger {
  position:absolute;
  z-index:9;
  font-size:0;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.woocommerce-product-gallery__trigger::before {
  content:"";
  width:18px;
  height:18px;
  background:var(--fg);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") center/contain no-repeat;
}
.flex-control-thumbs {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
  list-style:none;
  margin:0;
  padding:12px;
}
.flex-control-thumbs li { margin:0; }
.flex-control-thumbs img {
  display:block;
  opacity:.55;
  cursor:pointer;
  transition:opacity .15s,box-shadow .15s;
}
.flex-control-thumbs img:hover { opacity:.9; }
.flex-control-thumbs img.flex-active { opacity:1; }
.summary>* { margin:0; }
.summary .price {
  display:flex;
  flex-direction:row-reverse;
  justify-content:flex-end;
  align-items:baseline;
  gap:12px;
  font-variant-numeric:tabular-nums;
}
.summary .price ins { text-decoration:none; }
.summary .price del { font-size:.58em; }
.woocommerce-product-details__short-description p { margin:0; }
.summary form.cart {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:stretch;
  margin:6px 0 0;
}
.summary form.cart .quantity { display:flex; }
.quantity input.qty, .woocommerce .quantity .qty {
  width:84px;
  min-height:54px;
  padding:0 10px;
  text-align:center;
  border:1px solid var(--line-2);
  color:var(--fg);
  font:700 17px var(--font);
}
.woocommerce .quantity .qty { background:var(--surface-2); -moz-appearance:textfield; }
.quantity input.qty::-webkit-inner-spin-button { opacity:1; }
.single_add_to_cart_button.button, .single_add_to_cart_button {
  flex:1 1 220px;
  font-size:13px;
  color:#fff;
  border:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:background-color .15s,transform .15s;
}
.single_add_to_cart_button.button { border-radius:var(--r-sm); background:var(--accent); }
.single_add_to_cart_button.disabled { opacity:.45; }
.single_add_to_cart_button.disabled, .single_add_to_cart_button:disabled { cursor:not-allowed; }
.single_add_to_cart_button.loading { opacity:.7; }
.single_add_to_cart_button.added::after { content:"✓"; margin-inline-start:8px; }
.summary .added_to_cart {
  align-self:center;
  color:var(--hover-text);
  font-size:12px;
}
table.variations {
  width:100%;
  margin:0 0 6px;
  border:0;
}
table.variations tr { display:block; margin-bottom:14px; }
table.variations th, table.variations td {
  display:block;
  padding:0;
  border:0;
}
table.variations th label {
  font-size:12px;
  margin-bottom:8px;
  display:block;
}
table.variations select { width:100%; }
.reset_variations {
  display:inline-block;
  margin-top:8px;
  font-size:12px;
  color:var(--muted);
  text-decoration:underline;
}
.woocommerce-variation-price { margin:0 0 12px; }
.woocommerce-variation-add-to-cart {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  flex:1 1 100%;
}
.product_meta {
  padding-top:18px;
  border-top:1px solid var(--line);
}
.product_meta a { color:var(--soft); font-weight:500; }
.product_meta a:hover { color:var(--hover-text); }
.woocommerce-tabs { margin-top:8px; }
.woocommerce-tabs ul.tabs {
  display:flex;
  list-style:none;
  margin:0 0 22px;
  padding:0;
  overflow-x:auto;
  scrollbar-width:none;
}
.woocommerce-tabs ul.tabs li {
  margin:0;
  padding:0;
  border:0;
  background:none;
}
.woocommerce-tabs ul.tabs li a {
  display:block;
  border-bottom:3px solid transparent;
  white-space:nowrap;
  margin-bottom:-1px;
}
.woocommerce-tabs ul.tabs li.active a { border-bottom-color:var(--accent); }
.woocommerce-Tabs-panel { color:var(--soft); line-height:1.75; }
.woocommerce-Tabs-panel>h2 {
  margin:0 0 12px;
  color:var(--fg);
}
.woocommerce-Tabs-panel table { width:100%; }
.woocommerce-Tabs-panel table th, .woocommerce-Tabs-panel table td {
  padding:10px 0;
  border-bottom:1px solid var(--line);
  text-align:start;
}
.woocommerce-Tabs-panel table th {
  width:30%;
  color:var(--muted);
  font-weight:600;
}
section.related>h2, section.up-sells>h2, section.upsells>h2, .cross-sells>h2 {
  letter-spacing:0;
  margin:12px 0 16px;
}
@media(max-width:767.98px) {
    .summary form.cart .quantity { flex:0 0 auto; }
}
/* ---------- 6. Cart (classic + block) and tables ---------- */
.woocommerce table.shop_table, .woocommerce-cart-form table.cart {
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  border:1px solid var(--line);
  overflow:hidden;
  color:var(--fg);
}
.woocommerce-cart-form table.cart { border-radius:var(--r-lg); }
.woocommerce table.shop_table th {
  padding:14px 16px;
  font-size:12px;
  font-weight:600;
  color:var(--muted);
  text-align:start;
  background:var(--surface-2);
  border:0;
}
.woocommerce table.shop_table td {
  padding:16px;
  border:0;
  border-top:1px solid var(--line);
  vertical-align:middle;
}
.woocommerce table.shop_table .product-thumbnail img {
  width:64px;
  height:64px;
  object-fit:cover;
  border-radius:var(--r-sm);
}
.woocommerce table.shop_table .product-name a { color:var(--fg); }
.woocommerce a.remove {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border-radius:50%;
  background:var(--line);
  color:var(--muted);
  font-size:14px;
  line-height:1;
}
.woocommerce a.remove:hover { background:var(--accent); color:#fff; }
.woocommerce-cart-form .actions { padding:16px; }
.woocommerce-cart-form .coupon {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  float:none;
}
.woocommerce-cart-form .coupon .input-text {
  flex:1 1 180px;
  width:auto;
  max-width:280px;
}
.cart-collaterals {
  display:flex;
  justify-content:flex-end;
  margin-top:24px;
}
.cart-collaterals .cart_totals { width:min(100%,420px); padding:20px; }
.cart-collaterals .cart_totals>h2 {
  font-size:var(--h-m);
  margin:0 0 12px;
}
.cart-collaterals .cart_totals table.shop_table {
  border:0;
  border-radius:0;
  background:none;
}
.cart-collaterals .cart_totals table.shop_table th, .cart-collaterals .cart_totals table.shop_table td { background:none; padding:12px 0; }
.wc-proceed-to-checkout { padding-top:12px; }
.wc-proceed-to-checkout a.checkout-button {
  display:flex;
  width:100%;
  min-height:52px;
  font-size:13px;
}
/* Cart block */
.wc-block-cart-items { border:0 !important; }
.wc-block-cart-items__row { border-color:var(--line) !important; }
.wc-block-cart-items td, .wc-block-cart-items th { border-color:var(--line) !important; }
.wc-block-components-quantity-selector { background:var(--surface-2) !important; }
.wc-block-components-quantity-selector input {
  color:var(--fg) !important;
  background:none !important;
  border:0 !important;
}
.wc-block-cart-item__remove-link { color:var(--muted) !important; font-size:12px; }
.wc-block-cart__totals-title { color:var(--muted); }
/* ---------- 7. Notices ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  list-style:none;
  margin:0 0 20px;
  padding:14px 18px;
  color:var(--fg);
  border:1px solid var(--line);
  border-inline-start:4px solid var(--accent);
  border-radius:var(--r);
}
.woocommerce-error { line-height:1.5; }
.woocommerce-message { border-inline-start-color:#86efac; }
.woocommerce-error { border-inline-start-color:#ff6b81; }
.woocommerce-message .button, .woocommerce-info .button {
  order:3;
  margin-inline-start:auto;
  min-height:38px;
  padding:0 16px;
  font-size:12px;
}
.woocommerce-error li { margin:0; }
.woocommerce-NoticeGroup { margin-bottom:8px; }
.wc-block-components-notice-banner {
  color:var(--fg) !important;
  border:1px solid var(--line) !important;
  border-radius:var(--r) !important;
}
.wc-block-components-notice-banner>svg { background:var(--accent) !important; fill:#fff !important; }
.wc-block-components-notice-banner.is-error>svg { background:#ff6b81 !important; }
.wc-block-components-notice-banner.is-success>svg { background:#22c55e !important; }
/* ---------- 8. Account ---------- */
.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) {
  display:grid;
  grid-template-columns:240px minmax(0,1fr);
  gap:32px;
  align-items:start;
}
.woocommerce-MyAccount-navigation ul {
  list-style:none;
  margin:0;
  padding:8px;
  border:1px solid var(--line);
  border-radius:var(--r-lg);
}
.woocommerce-MyAccount-navigation li { margin:0; }
.woocommerce-MyAccount-navigation li a {
  display:block;
  padding:12px 14px;
  border-radius:var(--r-sm);
  color:var(--soft);
  font-weight:600;
  transition:background .15s,color .15s;
}
.woocommerce-MyAccount-navigation li a:hover { background:var(--line); color:var(--fg); }
.woocommerce-MyAccount-navigation li.is-active a { background:rgba(var(--accent-rgb),.16); color:var(--fg); }
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a { color:var(--muted); }
.woocommerce-MyAccount-content { min-width:0; color:var(--soft); }
.woocommerce-MyAccount-content a:not(.button) { color:var(--hover-text); text-decoration:underline; }
.u-columns.col2-set, .woocommerce .col2-set {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
}
.u-columns .u-column1, .u-columns .u-column2 { padding:24px; border:1px solid var(--line); }
.woocommerce-form-login, .woocommerce-form-register {
  border:0;
  padding:0;
  margin:0;
}
.woocommerce h2 { letter-spacing:0; }
.woocommerce form .form-row { margin:0 0 14px; padding:0; }
.woocommerce form .form-row label {
  display:block;
  margin:0 0 6px;
  font-size:12px;
  font-weight:600;
  color:var(--soft);
}
.woocommerce form .form-row .required { color:var(--accent); }
.woocommerce input.input-text, .woocommerce textarea { width:100%; border-radius:var(--r-sm); }
.woocommerce input.input-text:focus, .woocommerce textarea:focus, .woocommerce select:focus {
  outline:0;
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(var(--accent-rgb),.25);
}
.woocommerce-LostPassword a { color:var(--muted); font-size:12px; }
@media(max-width:767.98px) {
  .woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) { grid-template-columns:minmax(0,1fr); gap:20px; }
  .woocommerce-MyAccount-navigation ul {
    display:flex;
    overflow-x:auto;
    gap:4px;
    scrollbar-width:none;
  }
  .woocommerce-MyAccount-navigation li a { white-space:nowrap; }
  .u-columns.col2-set, .woocommerce .col2-set { grid-template-columns:minmax(0,1fr); }
}
/* ---------- 9. Content pages, blog, generic forms ---------- */
.sc-content article>*:not(.alignwide):not(.alignfull):not(.woocommerce):not([class*="wp-block-woocommerce"]) { max-width:760px; }
/* Running text stops at a readable measure (about 65 characters); media and wide blocks keep 760px */
.sc-content article>:is(p,ul,ol,blockquote):not(.alignwide):not(.alignfull):not(.woocommerce):not([class*="wp-block-woocommerce"]) { max-width:min(100%,35em); }
.sc-content article h1, .sc-content article h2, .sc-content article h3, .sc-content article h4 {
  letter-spacing:0;
  line-height:1.2;
  margin:1.6em 0 .6em;
}
.sc-content article p, .sc-content article li { color:var(--soft); line-height:1.75; }
.sc-content article :where(p,li,blockquote,figcaption) a:not(.sc-btn):not(.button) {
  color:var(--hover-text);
  text-decoration:underline;
  text-underline-offset:3px;
  text-decoration-thickness:1px;
}
.sc-content article blockquote {
  margin:1.6em 0;
  padding:4px 20px;
  border-inline-start:3px solid var(--accent);
  color:var(--fg);
}
.sc-content article img, .sc-content article figure { border-radius:var(--r-lg); }
.sc-content article pre {
  padding:16px;
  border:1px solid var(--line);
  border-radius:var(--r);
  overflow-x:auto;
}
.sc-content article table { width:100%; }
.sc-content article table th, .sc-content article table td { padding:10px 12px; border-bottom:1px solid var(--line); }
.sc-content article.post, .sc-content article.type-post { padding:20px 0; border-bottom:1px solid var(--line); }
.sc-content article.post h2 a, .sc-content article.type-post h2 a { color:var(--fg); }
.nav-links {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:24px;
}
.nav-links .page-numbers {
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  min-height:44px;
  padding:0 12px;
  border-radius:var(--r-sm);
  background:var(--line);
  color:var(--fg);
}
.nav-links .page-numbers.current { background:var(--accent); color:#fff; }
.search-form { display:flex; gap:8px; }
.search-form .search-field { flex:1; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea {
  width:100%;
  min-height:44px;
  padding:10px 14px;
  border-radius:var(--r-sm);
  border:1px solid var(--line-2);
  background:var(--surface-2);
  color:var(--fg);
}
.comment-form input:focus, .comment-form textarea:focus {
  outline:0;
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(var(--accent-rgb),.25);
}
.comment-form .submit {
  min-height:44px;
  padding:0 20px;
  border:0;
  border-radius:var(--r-sm);
  background:var(--accent);
  color:#fff;
  font-weight:600;
}
/* ---------- 10. RTL (Arabic / Darija from the settings panel) ---------- */
html[dir=rtl] .offcanvas-end {
  right:auto;
  left:0;
  transform:translateX(-100%);
  border-left:0;
}
html[dir=rtl] .offcanvas-end.show, html[dir=rtl] .offcanvas-end.showing { transform:none; }
html[dir=rtl] .sc-panel { border-inline-start:0; border-inline-end:1px solid var(--line); }
html[dir=rtl] .sc-collection .woocommerce-ordering select, html[dir=rtl] .sc-lang, html[dir=rtl] .woocommerce select { background-position:left 14px center; }
html[dir=rtl] .sc-check:hover { transform:translateX(-2px); }
[data-bs-theme=light] .sc-panel, [data-bs-theme=light] .sc-modal { box-shadow:0 18px 44px -20px rgba(var(--fg-rgb),.25); }
.sc-toolbar-count {
  order:4;
  justify-content:center;
  flex:none;
  margin-inline-start:auto;
  min-width:48px;
  min-height:44px;
  line-height:1;
}
.sc-toolbar-count strong {
  font-variant-numeric:tabular-nums;
}
.sc-page-head .sc-head-actions { margin-inline-start:auto; }
/* v2.1 – Live search filters the listed products */
.product-card.is-filtered { display:none !important; }
.sc-search-clear {
  display:flex;
  align-items:center;
  justify-content:center;
}
.sc-search .sc-in { padding-inline-end:40px; }
.sc-search .sc-in::-webkit-search-cancel-button { display:none; }
/* ======================================================================
   Messages: toasts, empty states, notices
   ====================================================================== */
@keyframes sc-rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes sc-toast-in{from{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:none}}
@keyframes sc-toast-out{to{opacity:0;transform:translateY(8px) scale(.97)}}
@keyframes sc-toast-life{from{transform:scaleX(1)}to{transform:scaleX(0)}}
/* ---------- Toasts ---------- */
.sc-toasts {
  position:fixed;
  z-index:1090;
  inset-inline:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  padding-inline:12px;
  pointer-events:none;
}
.sc-toast {
  position:relative;
  pointer-events:auto;
  display:flex;
  align-items:center;
  width:min(100%,460px);
  border:1px solid var(--line-2);
  overflow:hidden;
  animation:sc-toast-in .3s var(--ease);
}
.sc-toast.is-leaving { animation:sc-toast-out .2s ease forwards; }
.sc-toast-ico {
  flex:none;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--accent);
  color:#fff;
}
.sc-toast.is-success .sc-toast-ico { background:#86efac; color:#0d0f16; }
.sc-toast.is-error .sc-toast-ico { background:#ff6b81; color:#fff; }
.sc-toast-body {
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:1px;
}
.sc-toast-title {
  line-height:1.3;
}
.sc-toast-text {
  line-height:1.35;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.sc-toast.is-error .sc-toast-text { white-space:normal; }
.sc-toast-act {
  flex:none;
  display:inline-flex;
  align-items:center;
  border:0;
  font:700 13px var(--font);
  text-decoration:none;
  cursor:pointer;
  transition:background-color .15s,color .15s;
}
.sc-toast-x {
  flex:none;
  width:32px;
  height:32px;
  border:0;
  background:none;
  font-size:16px;
  line-height:1;
  cursor:pointer;
}
.sc-toast-bar {
  position:absolute;
  inset-inline:0;
  bottom:0;
  height:3px;
  background:var(--accent);
  opacity:.85;
  transform-origin:0 50%;
  animation:sc-toast-life linear forwards;
}
.sc-toast.is-success .sc-toast-bar { background:#86efac; }
.sc-toast.is-error .sc-toast-bar { background:#ff6b81; }
html[dir=rtl] .sc-toast-bar { transform-origin:100% 50%; }
@media(max-width:575.98px) {
  .sc-toast { width:100%; padding-inline-end:6px; }
  .sc-toast-act { padding:0 12px; }
}
@media(prefers-reduced-motion:reduce) {
  .sc-toast-bar { display:none; }
}
/* ---------- Empty states ---------- */
.sc-empty {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  margin:24px 0;
  padding:40px 24px;
  text-align:center;
  border:1px dashed var(--line-2);
  border-radius:var(--r-lg);
  animation:sc-rise .35s var(--ease);
}
.sc-empty[hidden] { display:none; }
.sc-empty-ico {
  display:flex;
  align-items:center;
  justify-content:center;
  width:56px;
  height:56px;
  margin-bottom:8px;
  border-radius:50%;
  background:rgba(var(--accent-rgb),.14);
  color:var(--accent);
}
.sc-empty strong {
  font-size:14px;
  letter-spacing:0;
  color:var(--fg);
}
.sc-empty span:not(.sc-empty-ico) {
  max-width:34ch;
  font-size:12px;
  line-height:1.55;
  color:var(--muted);
}
.sc-empty .sc-btn { margin-top:14px; min-width:150px; }
.sc-wish-empty { margin:20px; padding:36px 20px; }
/* ---------- WooCommerce notices: icon + entrance ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error { animation:sc-rise .35s var(--ease); }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before {
  content:"";
  flex:none;
  width:22px;
  height:22px;
  -webkit-mask:var(--sc-ni) center/contain no-repeat;
  mask:var(--sc-ni) center/contain no-repeat;
}
.woocommerce-message::before { background:#86efac; }
.woocommerce-message {
  --sc-ni:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='m8 12.3 2.9 2.9L16.2 9.5'/%3E%3C/svg%3E");
}
.woocommerce-info {
  --sc-ni:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 11v5.5M12 7.8v.1'/%3E%3C/svg%3E");
}
.woocommerce-info::before { background:var(--accent); }
.woocommerce-error {
  --sc-ni:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 7.5v5.5M12 16.4v.1'/%3E%3C/svg%3E");
}
.woocommerce-error::before { background:#ff6b81; }
.woocommerce-error li { flex:1 1 0; min-width:0; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { font-size:13px; font-weight:500; }
.woocommerce-info.cart-empty {
  justify-content:center;
  padding-block:28px;
  text-align:center;
}
.return-to-shop { margin-top:16px; }
.return-to-shop .button {
  display:inline-flex;
  align-items:center;
  min-height:48px;
  padding:0 24px;
}
.woocommerce-error li, .woocommerce-message, .woocommerce-info { line-height:1.5; }
.woocommerce-error { padding-block:14px; }
@media(max-width:575.98px) {
  .woocommerce-message .button, .woocommerce-info .button {
    order:3;
    flex:1 1 100%;
    justify-content:center;
    margin-inline-start:0;
  }
}
/* ======================================================================
   Sticky header · product page
   ====================================================================== */
:root { --header-h:150px; }
html { scroll-padding-top:calc(var(--adminbar) + var(--header-h) + 12px); }
/* Header (title strip + menu) stays fully visible while scrolling */
.sc-header {
  position:sticky;
  top:var(--adminbar);
  z-index:1030;
}
@media(max-width:767.98px) {
  .sc-header .sc-page-icon svg { width:24px; height:24px; }
  .sc-header .sc-page-head h1 { font-size:var(--h-xl); }
}
/* Product cards open the quick-view modal */
.product-card { cursor:pointer; }
.product-card .acts, .product-card .sc-quick { cursor:auto; }
/* ---------- Product page ---------- */
.single-product div.product>.woocommerce-product-gallery {
  border-color:var(--line);
}
.single-product .summary .sc-product-title {
  color:var(--fg);
  margin:0;
}
.summary .price {
  border-bottom:1px solid var(--line);
}
.summary form.cart {
  padding:18px;
  background:var(--bg);
  border:1px solid var(--line);
  border-radius:var(--r);
  margin-top:4px;
}
.single_add_to_cart_button.button, .single_add_to_cart_button { min-height:54px; }
.product_meta { margin-top:4px; }
/* Tabs as pills, description in a card */
.woocommerce-tabs ul.tabs {
  border-bottom:0;
}
.woocommerce-tabs ul.tabs li a {
  margin:0;
}
.woocommerce-tabs ul.tabs li a:hover { border-color:var(--accent); }
.woocommerce-tabs ul.tabs li.active a {
  border-color:var(--accent);
}
.woocommerce-Tabs-panel {
  max-width:none;
  border:1px solid var(--line);
  padding:clamp(18px,2.5vw,32px);
}
/* Related products */
section.related, section.up-sells, section.upsells {
  margin-top:12px;
  padding-top:28px;
  border-top:1px solid var(--line);
}
@media(max-width:767.98px) {
  .single-product div.product>.summary { padding:18px; }
  .summary form.cart { padding:14px; }
}
/* ---------- Product page review fixes ---------- */
.woocommerce-Price-amount { white-space:nowrap; }
.quantity input.qty { -moz-appearance:textfield; appearance:textfield; }
.quantity input.qty::-webkit-inner-spin-button, .quantity input.qty::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
.woocommerce-product-gallery__image--placeholder img { width:38%; opacity:1; }
.single-product div.product>.woocommerce-tabs, .single-product div.product>.related, .single-product div.product>.up-sells, .single-product div.product>.upsells {
  grid-row:auto;
  position:relative;
  z-index:1;
}
.woocommerce-tabs { scroll-margin-top:calc(var(--adminbar) + var(--header-h) + 12px); }
/* No drop shadows on the header, menu and active tab */
.sc-header, .sc-tabs { box-shadow:none; }
/* ======================================================================
   Cart page (WooCommerce Cart block)
   ====================================================================== */
.wp-block-woocommerce-cart { max-width:1320px; margin-inline:auto; }
.sc-continue {
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:600;
  color:var(--soft);
  transition:color .15s,gap .15s;
}
.sc-continue:hover { color:var(--accent); gap:12px; }
.wc-block-components-sidebar-layout.wc-block-cart { gap:28px; align-items:flex-start; }
/* Items card */
.wc-block-cart__main {
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  padding:6px clamp(14px,2.5vw,28px) 10px;
}
table.wc-block-cart-items {
  border-collapse:separate;
  border-spacing:0;
  width:100%;
  margin:0;
}
.wc-block-cart-items__header th {
  padding:18px 8px 14px !important;
  border:0 !important;
  font-size:11px !important;
  font-weight:600 !important;
  color:var(--muted) !important;
}
.wc-block-cart-items__row::after { display:none !important; }
.wc-block-cart-items__row td {
  padding:22px 8px !important;
  border:0 !important;
  border-top:1px solid var(--line) !important;
  vertical-align:top;
}
.wc-block-cart-items__row:first-of-type td { border-top:1px solid var(--line-2) !important; }
/* Product image: fixed square, never collapses when the file is missing */
.wc-block-cart-item__image { width:112px; padding-inline-end:18px !important; }
.wc-block-cart-item__image a { display:block; }
.wc-block-cart-item__image img {
  display:block;
  width:96px;
  height:96px;
  object-fit:cover;
  border-radius:var(--r-sm);
  background:var(--surface-2);
  border:1px solid var(--line);
  color:transparent;
  font-size:0;
}
/* Product details */
.wc-block-cart-item__wrap {
  display:flex;
  flex-direction:column;
  gap:6px;
}
.wc-block-cart-item__wrap .wc-block-components-product-name {
  font-size:14px;
  line-height:1.3;
  text-decoration:none;
}
.wc-block-cart-item__prices, .wc-block-cart-item__prices .wc-block-components-product-price { font-size:12px; color:var(--muted); }
.wc-block-components-product-metadata {
  margin:0;
  line-height:1.5;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.wc-block-cart-item__quantity {
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:8px;
}
.wc-block-components-quantity-selector {
  border:1px solid var(--line-2) !important;
  border-radius:var(--btn-r) !important;
  overflow:hidden;
  box-shadow:none !important;
}
.wc-block-components-quantity-selector::after { display:none !important; }
.wc-block-components-quantity-selector__input {
  color:var(--fg) !important;
  background:transparent !important;
}
.wc-block-components-quantity-selector__button { color:var(--fg) !important; opacity:.7; }
.wc-block-components-quantity-selector__button:hover { opacity:1; color:var(--accent) !important; }
.wc-block-cart-item__remove-link {
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:var(--btn-r);
  text-decoration:none !important;
  transition:background .15s,color .15s;
}
.wc-block-cart-item__remove-link:hover { background:rgba(220,38,38,.1); color:#b91c1c !important; }
.wc-block-cart-item__total { text-align:end; }
.wc-block-cart-item__total .wc-block-components-product-price {
  font-size:14px;
  color:var(--fg);
}
.wc-block-components-formatted-money-amount { white-space:nowrap; }
/* Totals card */
.wp-block-woocommerce-cart .wc-block-cart__sidebar {
  overflow:hidden;
  position:sticky;
  top:calc(var(--adminbar) + var(--header-h,150px) + 16px);
}
.wc-block-cart__totals-title {
  display:block;
  padding:22px 20px 14px !important;
  margin:0 !important;
  font-size:var(--h-m)!important;
  text-align:start !important;
}
.wc-block-cart__sidebar .wc-block-components-totals-wrapper { padding:16px 20px !important; }
.wc-block-cart__sidebar .wc-block-components-panel__button {
  padding:0 !important;
  font-weight:600;
  color:var(--fg);
}
.wc-block-cart__sidebar .wc-block-components-totals-footer-item { padding-block:4px; }
.wc-block-cart__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { color:var(--accent); }
.wc-block-cart__submit-container { padding:18px 20px 22px !important; }
.wc-block-cart__submit-button {
  min-height:54px;
  border-radius:var(--r-sm) !important;
  font-size:13px;
  box-shadow:none;
  transition:background-color .15s;
}
/* Empty cart */
.wp-block-woocommerce-empty-cart-block {
  text-align:center;
  padding:clamp(28px,6vw,64px) 20px;
  border:1px solid var(--line);
  border-radius:var(--r-lg);
}
.wp-block-woocommerce-empty-cart-block h2 { margin:0 0 10px; }
@media(max-width:700px) {
  .wc-block-cart__main { padding-inline:12px; }
  .wc-block-cart-item__image { width:84px; padding-inline-end:12px !important; }
  .wc-block-cart-item__image img { width:72px; height:72px; }
  .wp-block-woocommerce-cart .wc-block-cart__sidebar { position:static; }
}
/* ======================================================================
   Checkout: two columns on desktop (contact + address | payment),
   single column on mobile; no empty gaps
   ====================================================================== */
.wp-block-woocommerce-checkout { max-width:1480px; margin-inline:auto; }
/* Fields: one even grid, no collapsed or oversized gaps */
.wc-block-components-address-form { display:grid !important; margin:0; }
.wc-block-components-address-form>* { width:auto !important; grid-column:span 1; }
.wc-block-components-address-form__country, .wc-block-components-address-form__address_1, .wc-block-components-address-form__address_2, .wc-block-components-address-form__address_2-toggle, .wc-block-components-address-form__company, .wc-block-components-address-form .wc-block-components-address-form__country { grid-column:1/-1; }
.wc-block-components-address-form .wc-block-components-country-input, .wc-block-components-address-form .wc-block-components-state-input { margin:0 !important; }
.wc-block-checkout__contact-fields .wc-block-components-text-input { margin:0 !important; }
@media(max-width:560px) {
  .wc-block-components-address-form { grid-template-columns:minmax(0,1fr); }
  .wc-block-components-address-form>* { grid-column:1/-1; }
}
/* Steps as cards, tighter spacing */
.wc-block-checkout__form>*, .wc-block-checkout__form .wc-block-components-checkout-step { box-sizing:border-box; }
.wc-block-components-checkout-step { border:1px solid var(--line) !important; }
.wc-block-components-checkout-step__container { margin:0; }
.wc-block-checkout__terms, .wc-block-checkout__actions { margin:0 0 20px; }
/* Desktop: contact + address in column 1, payment + notes + terms in column 2 */
@media(min-width:1280px) {
  .wc-block-checkout__form { column-count:2; display:block; }
  .wc-block-checkout__form>* {
    break-inside:avoid;
    -webkit-column-break-inside:avoid;
    display:block;
  }
  .wc-block-checkout__form .wc-block-checkout__payment-method, .wc-block-checkout__form .wp-block-woocommerce-checkout-payment-block { break-before:column; -webkit-column-break-before:always; }
}
/* Payment options as selectable cards */
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option {
  border:1px solid var(--line-2) !important;
  border-radius:var(--r-sm) !important;
  margin:0 0 10px !important;
  padding:14px 16px 14px 48px !important;
  background:var(--surface-2);
  transition:border-color .15s,background-color .15s;
}
.wc-block-components-radio-control__option:hover { border-color:var(--accent) !important; }
.wc-block-components-radio-control__option-checked { border-color:var(--accent) !important; background:rgba(var(--accent-rgb),.08); }
.wc-block-components-radio-control-accordion-content { padding:0 4px 4px; }
/* Order summary: no empty rows, fixed-size images */
.sc-empty-row { display:none !important; }
.wc-block-components-order-summary-item__image { width:64px; flex:none; }
.wc-block-components-order-summary-item__image>img {
  display:block;
  width:56px;
  height:56px;
  object-fit:cover;
  color:transparent;
  font-size:0;
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value { color:var(--accent); }
.wc-block-checkout__sidebar .wc-block-components-totals-wrapper:last-child { padding-bottom:18px !important; }
@media(max-width:781px) {
  .wc-block-components-sidebar { position:static; }
}
/* ======================================================================
   Checkout spacing polish
   ====================================================================== */
.wc-block-checkout { --co-gap:16px; }
.wc-block-components-sidebar-layout { gap:40px; }
.wp-block-woocommerce-checkout-fields-block {
  display:flex;
  flex-direction:column;
  gap:24px;
}
.wc-block-components-checkout-step {
  margin:0 !important;
  padding:24px !important;
  border-radius:var(--r-lg);
}
.wc-block-components-checkout-step__heading { margin:0 0 20px !important; }
.wc-block-components-checkout-step__description { margin:0 0 18px; }
/* Fields: consistent vertical rhythm (no touching inputs) */
.wc-block-components-address-form {
  grid-template-columns:1fr 1fr;
  gap:var(--co-gap);
}
.wc-block-components-address-form>* { margin:0 !important; min-width:0; }
.wc-block-components-address-form .wc-block-components-country-input, .wc-block-components-address-form .wc-block-components-address-form__address_1, .wc-block-components-address-form .wc-block-components-address-form__address_2, .wc-block-components-address-form .wc-block-components-address-form__address_2-toggle { grid-column:1/-1; }
.wc-block-components-address-form .wc-block-components-text-input, .wc-block-components-address-form .wc-blocks-components-select, .wc-block-components-address-form .wc-block-components-combobox { margin:0 !important; }
.wc-block-components-text-input, .wc-blocks-components-select { margin-top:0 !important; }
.wp-block-woocommerce-checkout-contact-information-block .wc-block-components-text-input { margin-bottom:0; }
.wc-block-components-address-form__address_2-toggle {
  display:inline-block;
  margin:-4px 0 0 !important;
  font-size:12px;
  color:var(--hover-text);
}
/* Payment / note / terms */
.wp-block-woocommerce-checkout-payment-block .wc-block-components-notice-banner, .wc-block-checkout__no-payment-method {
  margin:0 !important;
  padding:16px 18px !important;
  line-height:1.5;
}
.wp-block-woocommerce-checkout-order-note-block { padding:20px 24px !important; }
.wp-block-woocommerce-checkout-order-note-block .wc-block-components-checkbox { margin:0; }
.wp-block-woocommerce-checkout-terms-block {
  margin:0 !important;
  padding:4px 4px 0 !important;
  line-height:1.6;
}
.wc-block-checkout__actions { padding:4px 0 0 !important; }
/* Order summary breathing room */
.wc-block-components-checkout-order-summary__title { padding:22px 24px !important; }
.wc-block-components-order-summary { padding:0 24px 12px !important; }
.wc-block-components-order-summary-item { gap:16px; padding:18px 0 !important; }
.wc-block-components-order-summary-item__description { padding-inline-start:4px; line-height:1.5; }
.wc-block-components-totals-wrapper { padding:18px 24px !important; }
.wc-block-components-totals-item { gap:12px; }
/* Keep page content clear of the sticky bar */
@media(max-width:781px) {
  .wc-block-components-address-form { grid-template-columns:1fr; }
  .wc-block-components-checkout-order-summary__title, .wc-block-components-order-summary, .wc-block-components-totals-wrapper { padding-inline:18px !important; }
}
/* ======================================================================
   Transparent cards (background + border) on all pages
   Floating layers (modal, drawers, dropdowns, sticky bar) stay opaque
   so text remains readable over page content.
   ====================================================================== */
.product-card, .woocommerce-product-gallery, .single-product div.product>.summary, .woocommerce-Tabs-panel, .woocommerce table.shop_table, .woocommerce-cart-form table.cart, .wc-block-components-checkout-step, .wp-block-woocommerce-checkout-order-note-block, .wc-block-components-notice-banner, .woocommerce-message, .woocommerce-info, .woocommerce-error, .sc-empty, .sc-sidebar-inner, .sc-toolbar-count, .sc-content article pre { background:transparent !important; }
.product-card, .woocommerce-product-gallery, .single-product div.product>.summary, .woocommerce-Tabs-panel, .woocommerce table.shop_table, .woocommerce-cart-form table.cart, .cart-collaterals .cart_totals, .wp-block-woocommerce-cart .wc-block-cart__sidebar, .wc-block-components-checkout-step, .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block, .wp-block-woocommerce-checkout-order-note-block, .woocommerce-checkout #order_review, .wc-block-components-notice-banner, .woocommerce-message, .woocommerce-info, .woocommerce-error, .sc-empty, .sc-sidebar-inner, .sc-toolbar-count, .sc-content article pre { border-color:transparent !important; }
.product-card, .woocommerce-product-gallery, .single-product div.product>.summary, .woocommerce-Tabs-panel, .woocommerce table.shop_table, .woocommerce-cart-form table.cart, .wc-block-components-checkout-step, .wp-block-woocommerce-checkout-order-note-block, .woocommerce-checkout #order_review, .wc-block-components-notice-banner, .woocommerce-message, .woocommerce-info, .woocommerce-error, .sc-empty, .sc-sidebar-inner, .sc-toolbar-count, .sc-content article pre { box-shadow:none !important; }
.product-card:hover { border-color:transparent !important; box-shadow:none !important; }
.product-card.is-selected { border-color:var(--accent) !important; box-shadow:0 0 0 1px var(--accent) !important; }
/* Surface steps: page (cream) > card (warm white, hairline) > photo ground (sand).
   Containers that hold content on their own are real cards; photo cards, the product
   summary and the checkout steps stay open on the page. */
:root .wc-block-cart__main,
:root .wp-block-woocommerce-empty-cart-block,
:root .woocommerce-checkout #payment,
:root .wc-block-components-address-card,
:root .woocommerce-MyAccount-navigation ul,
:root .u-columns .u-column1,
:root .u-columns .u-column2 { background:var(--surface-2) !important; border-color:var(--line) !important; box-shadow:var(--shadow-card) !important; }
:root .woocommerce-checkout #payment div.payment_box { background:var(--bg) !important; border-color:var(--line) !important; border-radius:var(--r-sm); }
/* internal dividers inside cards stay subtle but visible */
.wc-block-components-order-summary-item, .wc-block-components-totals-wrapper, .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper { border-color:var(--line) !important; }
/* ======================================================================
   Quick-view popup: better close button + full product details
   ====================================================================== */
.sc-modal-close {
  position:absolute;
  top:max(16px,env(safe-area-inset-top));
  inset-inline-end:16px;
  z-index:5;
  padding:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  opacity:1;
}
.sc-modal-close svg { display:block; transition:transform .25s var(--ease,ease); }
/* Media column: main image + thumbnails */
.sc-modal-media {
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:0;
  height:100%;
}
.sc-modal-media .sc-modal-img {
  flex:1 1 auto;
  height:auto;
  min-height:0;
}
.sc-modal-thumbs {
  flex:none;
  display:flex;
  gap:10px;
  padding:12px 16px;
  overflow-x:auto;
  justify-content:center;
  border-top:1px solid var(--line);
}
.sc-modal-thumbs[hidden] { display:none; }
.sc-modal-thumbs button {
  flex:none;
  width:60px;
  height:60px;
  padding:0;
  border:2px solid transparent;
  border-radius:var(--r-sm);
  overflow:hidden;
  cursor:pointer;
  opacity:.7;
  transition:opacity .15s,border-color .15s;
}
.sc-modal-thumbs button:hover { opacity:1; }
.sc-modal-thumbs button.is-on { opacity:1; }
.sc-modal-thumbs img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
/* Info column */
.sc-modal-info { gap:14px; }
.sc-modal-info .rating {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  color:var(--soft);
}
.sc-modal-info .stars { letter-spacing:2px; }
.sc-modal-info .stock {
  align-self:flex-start;
  font-size:12px;
}
.sc-modal-info .desc {
  font-size:13px;
  line-height:1.6;
  color:var(--soft);
}
.sc-modal-info .desc>* { margin:0 0 .6em; }
.sc-modal-info .desc>*:last-child { margin-bottom:0; }
.sc-modal-meta {
  display:grid;
  grid-template-columns:max-content 1fr;
  gap:8px 18px;
  margin:0;
  padding:16px 0;
  border-block:1px solid var(--line);
  font-size:12px;
}
.sc-modal-meta[hidden], .sc-modal-tags[hidden], .sc-modal-more[hidden] { display:none; }
.sc-modal-meta dt { color:var(--muted); font-weight:500; }
.sc-modal-meta dd {
  margin:0;
  color:var(--fg);
  overflow-wrap:anywhere;
}
.sc-modal-tags {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.sc-modal-more summary {
  cursor:pointer;
  padding:14px 0;
  list-style:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.sc-modal-more summary::-webkit-details-marker { display:none; }
.sc-modal-more summary::after {
  content:"+";
  font-size:16px;
  line-height:1;
  color:var(--muted);
}
.sc-modal-more[open] summary::after { content:"−"; }
.sc-modal-more .body>*:first-child { margin-top:0; }
.sc-modal-more .body>*:last-child { margin-bottom:0; }
@media(max-width:781px) {
  .sc-modal-grid { grid-template-rows:min(36vh,300px) minmax(0,1fr); }
  .sc-modal-thumbs { padding:8px 12px; }
  .sc-modal-thumbs button { width:44px; height:44px; }
  .sc-modal-info {
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    gap:12px;
  }
  .sc-modal-info .desc { font-size:13px; }
  .sc-modal-close { width:40px; height:40px; }
}
/* ======================================================================
   Custom filter checkboxes
   ====================================================================== */
.sc-check {
  gap:12px;
  min-height:38px;
  padding:2px 0;
  font-size:13px;
  user-select:none;
}
.sc-check input[type=checkbox] {
  -webkit-appearance:none;
  appearance:none;
  flex:none;
  width:20px;
  height:20px;
  margin:0;
  border:1.5px solid var(--line-2);
  border-radius:var(--r-xs);
  background:transparent;
  cursor:pointer;
  position:relative;
  transition:background-color .15s,border-color .15s,box-shadow .15s,transform .15s;
}
.sc-check input[type=checkbox]::after {
  content:"";
  position:absolute;
  inset:0;
  margin:auto;
  width:11px;
  height:11px;
  background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.2 6.4l2.6 2.6 5-5.6'/%3E%3C/svg%3E");
  transform:scale(0);
  opacity:0;
  transition:transform .18s cubic-bezier(.2,.9,.3,1.4),opacity .12s;
}
.sc-check:hover input[type=checkbox] { border-color:var(--accent); }
.sc-check input[type=checkbox]:checked {
  background:var(--accent);
  border-color:var(--accent);
  transform:none;
  box-shadow:none;
}
.sc-check input[type=checkbox]:checked::after { transform:scale(1); opacity:1; }
.sc-check input[type=checkbox]:focus-visible { outline:3px solid rgba(var(--accent-rgb),.35); outline-offset:2px; }
.sc-check:has(input:checked) { color:var(--fg); font-weight:600; }
.sc-check:active input[type=checkbox] { transform:scale(.9); }
/* ======================================================================
   Checkout: field rhythm, full-width email, separators, summary card
   ====================================================================== */
/* Field rows: spacing on each field so it works whatever the grid does */
.wc-block-checkout .wc-block-components-address-form {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:16px !important;
  row-gap:0 !important;
}
.wc-block-checkout .wc-block-components-address-form>* { margin:0 0 20px !important; }
.wc-block-checkout .wc-block-components-address-form>.wc-block-components-address-form__address_2-toggle { margin:-8px 0 20px !important; }
.wc-block-checkout .wc-block-components-address-form>*:last-child { margin-bottom:0 !important; }
.wc-block-checkout .wc-block-components-text-input, .wc-block-checkout .wc-blocks-components-select, .wc-block-checkout .wc-block-components-country-input, .wc-block-checkout .wc-block-components-state-input { margin-top:0 !important; }
.wc-block-checkout .wc-block-components-text-input input, .wc-block-checkout .wc-blocks-components-select .wc-blocks-components-select__select { min-height:60px; }
.wc-block-checkout .wc-block-components-checkout-step__heading { margin-bottom:24px !important; }
.wc-block-checkout .wc-block-components-checkout-step__container>*+* { margin-top:20px; }
/* Contact: email takes the full row, guest notice sits underneath */
.wc-block-checkout__contact-fields, .wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__container {
  display:flex;
  flex-direction:column;
  flex-wrap:nowrap;
  align-items:stretch;
  gap:12px;
}
.wp-block-woocommerce-checkout-contact-information-block .wc-block-components-text-input { width:100% !important; max-width:none !important; }
.wp-block-woocommerce-checkout-contact-information-block .wc-block-checkout__guest-checkout-notice, .wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__description { margin:0; }
.wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__description { font-size:13px; color:var(--muted); }
/* Section separators */
.wc-block-components-checkout-step+.wc-block-components-checkout-step {
  border-top:1px solid var(--line) !important;
  border-radius:0 !important;
  margin-top:8px !important;
  padding-top:32px !important;
}
@media(min-width:1280px) {
  .wc-block-checkout__form { column-gap:56px !important; column-rule:1px solid var(--line); }
}
@media(min-width:782px) {
  .wc-block-components-sidebar-layout:not(.wc-block-cart) { gap:0 !important; }
  .wc-block-components-sidebar-layout:not(.wc-block-cart) .wc-block-components-main { padding-inline-end:40px !important; }
  .wc-block-components-sidebar-layout:not(.wc-block-cart) .wc-block-components-sidebar { border-inline-start:1px solid var(--line); padding-inline-start:40px !important; }
}
/* Order summary: solid, clearly bordered card */
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block { border:1.5px solid var(--line-2) !important; }
.wc-block-components-sidebar .wc-block-components-checkout-order-summary__title { border-bottom:1px solid var(--line); }
.wc-block-components-sidebar .wc-block-components-order-summary-item { border-color:var(--line) !important; }
.wc-block-components-sidebar .wc-block-components-totals-footer-item { border-radius:0 0 var(--r-lg) var(--r-lg); }
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper:last-child { border-top:1px solid var(--line-2) !important; }
/* ======================================================================
   Out of stock state
   ====================================================================== */
.sc-btn.sc-oos, .sc-btn.sc-oos:hover, .sc-btn.sc-oos:disabled {
  background:var(--surface-2) !important;
  color:var(--muted) !important;
  border:1px dashed var(--line-2);
  cursor:not-allowed;
  filter:none;
  transform:none;
  box-shadow:none;
  opacity:1;
}
.sc-ico.sc-oos-ico { opacity:.5; cursor:not-allowed; }
.sc-ico.sc-oos-ico:hover { transform:none; }
/* ======================================================================
   Header without bottom border; cart summary card border
   ====================================================================== */
.sc-header, .sc-header .sc-tabs, .sc-tabs { border-bottom:0 !important; }
.wp-block-woocommerce-cart .wc-block-cart__sidebar, .cart-collaterals .cart_totals {
  border:1.5px solid var(--line-2) !important;
  border-radius:var(--r-lg) !important;
  box-shadow:var(--shadow-card) !important;
}
.wc-block-cart__sidebar .wc-block-components-totals-wrapper { border-color:var(--line) !important; }
/* ======================================================================
   Single product: add-to-cart pinned above the Wishlist / Cart bar
   ====================================================================== */
.single-product .summary form.cart:not(.variations_form):not(.grouped_form), .single-product .summary .woocommerce-variation-add-to-cart {
  position:fixed;
  z-index:1029;
  bottom:calc(var(--sc-bar-offset,84px) + 10px);
  display:flex;
  flex-wrap:nowrap;
  align-items:stretch;
}
.single-product .summary form.variations_form .woocommerce-variation-add-to-cart { flex:none; }
.single-product .summary form.cart:not(.variations_form) .quantity, .single-product .summary .woocommerce-variation-add-to-cart .quantity { flex:0 0 auto; }
.single-product .summary form.cart:not(.variations_form) .single_add_to_cart_button, .single-product .summary .woocommerce-variation-add-to-cart .single_add_to_cart_button {
  flex:1 1 0;
  min-width:0;
  min-height:50px;
}
/* Variable products: hide the pinned row until a variation is chosen */
.single-product .summary .woocommerce-variation-add-to-cart-disabled { display:none !important; }
/* Leave room so the pinned row never covers page content */
@media(min-width:768px) {
  .single-product .summary form.cart:not(.variations_form):not(.grouped_form), .single-product .summary .woocommerce-variation-add-to-cart {
    inset-inline:auto 32px;
    width:min(460px,calc(100% - 64px));
    margin:0;
  }
}
/* ======================================================================
   Compact checkout order summary
   ====================================================================== */
.wc-block-components-sidebar .wc-block-components-checkout-order-summary__title { padding:14px 18px !important; }
.wc-block-components-sidebar .wc-block-components-checkout-order-summary__title-text { font-size:var(--h-m); }
.wc-block-components-sidebar .wc-block-components-order-summary { padding:0 18px 4px !important; }
.wc-block-components-sidebar .wc-block-components-order-summary-item {
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 0 !important;
}
.wc-block-components-sidebar .wc-block-components-order-summary-item__image { width:48px; flex:none; }
.wc-block-components-sidebar .wc-block-components-order-summary-item__image>img {
  width:44px;
  height:44px;
  border-radius:var(--r-sm);
}
.wc-block-components-sidebar .wc-block-components-order-summary-item__quantity {
  min-width:18px;
  height:18px;
  font-size:11px;
  line-height:14px;
  top:-6px;
  inset-inline-end:-2px;
}
.wc-block-components-sidebar .wc-block-components-order-summary-item__description {
  padding:0 !important;
  line-height:1.35;
  flex:1;
  min-width:0;
}
.wc-block-components-sidebar .wc-block-components-order-summary-item__description .wc-block-components-product-name { font-size:14px; display:block; }
/* unit price repeats the line total, description is on the product page: hide both */
.wc-block-components-sidebar .wc-block-components-order-summary-item__individual-prices, .wc-block-components-sidebar .wc-block-components-order-summary-item__description .wc-block-components-product-metadata__description, .wc-block-components-sidebar .wc-block-components-order-summary-item__description .wc-block-components-product-metadata { display:none !important; }
.wc-block-components-sidebar .wc-block-components-order-summary-item__total-price {
  font-size:14px;
  white-space:nowrap;
  align-self:center;
}
/* totals */
.wc-block-components-sidebar .wc-block-components-totals-wrapper { padding:10px 18px !important; }
.wc-block-components-sidebar .wc-block-components-totals-coupon, .wc-block-components-sidebar .wc-block-components-panel__button { min-height:0; }
.wc-block-components-sidebar .wc-block-components-totals-item { font-size:12px; }
.wc-block-components-sidebar .wc-block-components-totals-footer-item { padding-block:2px; }
.wc-block-components-sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__label, .wc-block-components-sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size:14px; }
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper:last-child { padding-block:12px !important; }
/* ======================================================================
   Responsive review: phones, tablets, laptops, large screens
   ====================================================================== */
/* ---- Base safety (all devices) ---- */
html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
.sc-content img, .sc-main img, .woocommerce img, video, iframe { max-width:100%; height:auto; }
.product-card h3, .product-card .price, .woocommerce-loop-product__title, .wc-block-components-product-name, .woocommerce-message, .woocommerce-error, .woocommerce-info, .sc-modal-info h2 { overflow-wrap:anywhere; }
.sc-content table, .woocommerce table { max-width:100%; }
.sc-content .wp-block-table, .sc-content .table-wrap { overflow-x:auto; }
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
/* ---- Touch devices: comfortable targets, no hover-only UI ---- */
@media(pointer:coarse) {
  .sc-ico { width:44px; height:44px; }
  .button, .single_add_to_cart_button { min-height:48px; }
  .sc-check { min-height:44px; }
  .sc-menu a, .sc-tabs a {
    min-height:44px;
    display:inline-flex;
    align-items:center;
  }
  .quantity input.qty { min-height:50px; }
  .woocommerce-tabs ul.tabs li a {
    min-height:44px;
    display:inline-flex;
    align-items:center;
  }
}
/* ---- Phones (<= 575px) ---- */
@media(max-width:575.98px) {
  /* 16px inputs stop iOS Safari zooming the page on focus */
  input, select, textarea, .wc-block-components-text-input input, .wc-blocks-components-select__select, .sc-in { font-size:16px !important; }
  .product-card .body { padding:10px 12px 12px; }
  .product-card h3 { font-size:var(--h-xs); line-height:var(--lh-xs); }
  .flex-control-thumbs {
    grid-template-columns:repeat(4,minmax(0,1fr));
    padding:8px;
    gap:6px;
  }
  .woocommerce-tabs ul.tabs { gap:8px; }
  .woocommerce-Tabs-panel { padding:16px 4px; }
  .woocommerce-cart-form .shop_table td, .woocommerce-cart-form .shop_table th { padding:12px; }
  .wp-block-woocommerce-cart .wc-block-cart__sidebar { padding:0; }
  .cart-collaterals { justify-content:stretch; }
  .cart-collaterals .cart_totals { width:100%; padding:16px !important; }
  .woocommerce-MyAccount-content, .u-columns .u-column1, .u-columns .u-column2 { padding:16px; }
  .sc-bar { margin-inline:10px; }
  .sc-toast, .sc-toasts { max-width:calc(100vw - 24px); }
}
/* ---- Small tablets / large phones (576-767) ---- */
@media(min-width:576px) and (max-width:767.98px) {
  .sc-page-head, .sc-main, .sc-content { padding-inline:20px; }
  .single-product div.product { grid-template-columns:minmax(0,1fr); }
}
/* ---- Tablets (768-1023) ---- */
@media(min-width:768px) and (max-width:1023.98px) {
  .sc-sidebar { flex-basis:210px; }
  ul.products.grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .shop:has(#v10:checked) ul.products.grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .single-product div.product { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:28px; }
  .sc-modal-grid { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  .wc-block-components-sidebar-layout { flex-wrap:wrap; }
}
/* ---- Laptops / desktops (1024-1439) ---- */
@media(min-width:1024px) and (max-width:1439.98px) {
  ul.products.grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .shop:has(#v10:checked) ul.products.grid { grid-template-columns:repeat(6,minmax(0,1fr)); }
}
/* ---- Large screens: keep line lengths and grids sane ---- */
@media(min-width:1600px) {
  .sc-page-head, .sc-tabs, .sc-main, .sc-content { max-width:1760px; margin-inline:auto; }
}
@media(min-width:2000px) {
  html { font-size:112.5%; }
}
/* ---- Short screens (phones in landscape) ---- */
@media(max-height:480px) and (orientation:landscape) {
  .sc-sidebar, .wc-block-components-sidebar { position:static; max-height:none; }
  /* pinned add-to-cart would cover the page: let it flow instead */
  .single-product .summary form.cart:not(.variations_form):not(.grouped_form), .single-product .summary .woocommerce-variation-add-to-cart {
    position:static;
    max-width:none;
    width:auto;
    margin:6px 0 0;
    inset:auto;
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
  }
  .single-product .sc-main { padding-bottom:96px; }
  .sc-modal-info { padding-top:24px; }
}
/* ---- Print: just the content ---- */
@media print {
  .sc-header, .sc-bar, .sc-sidebar, .sc-quick, .sc-panel, .sc-drawer { display:none !important; }
  body { background:#fff; color:#000; }
}
/* ======================================================================
   One typeface everywhere (the header's), header text stays largest
   ====================================================================== */
:root { --fs-head:var(--h-xl); --fs-max:calc(var(--fs-head) - 2px); }
/* Same family as the header on every element, widget, block and form control */
/* v3.6.3: never touch the WordPress admin bar or icon fonts (Dashicons, Elementor eicons, Font Awesome, WooCommerce stars):
   forcing the theme font on them turned their glyphs into empty boxes. */
body, body *:not(svg):not(svg *):not(code):not(pre):not(kbd):not(samp):not(#wpadminbar):not(#wpadminbar *):not([class*="dashicons"]):not([class*="eicon"]):not([class*="icon-"]):not([class*="fa-"]):not(.fa):not(.fas):not(.far):not(.fab):not(.star-rating):not(.star-rating *):not(.cat):not(.sc-badge):not(.sc-product-cat):not(.elementor):not(.elementor *) { font-family:var(--font) !important; }
/* Elementor content: the theme font is only a DEFAULT (specificity 0,1,0). Any font set in Elementor
   (widget typography, Site Settings > Global fonts) is printed with a higher specificity and wins. */
.elementor :where(h1,h2,h3,h4,h5,h6,p,li,span,a,div,label,input,select,textarea,button,.elementor-heading-title,.elementor-button,.elementor-widget-container){ font-family:var(--font); }
:root { --bs-body-font-family:var(--font); --bs-font-sans-serif:var(--font); }
.wp-block-woocommerce-checkout, .wp-block-woocommerce-cart, .wc-block-components-button, .components-base-control, .components-combobox-control__input { font-family:var(--font) !important; }
/* Header title: biggest text on the page, on every device */
.sc-page-head h1, .sc-header .sc-page-head h1 {
  font-size:var(--fs-head) !important;
  line-height:1.12;
}
.sc-filters-title, .sc-panel .offcanvas-title, .woocommerce-Tabs-panel>h2, .woocommerce h2, .wc-block-components-totals-footer-item .wc-block-components-totals-item__label, .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size:var(--h-m); }
.sc-modal-info h2 { font-size:var(--h-l); }
.sc-modal-info .price { font-size:min(clamp(16px,1.9vw,22px),var(--fs-max)); }
.summary .price { font-size:min(clamp(21px,2.4vw,27px),var(--fs-max)); }
.single-product .summary .sc-product-title { font-size:var(--h-xl); }
section.related>h2, section.up-sells>h2, section.upsells>h2, .cross-sells>h2 { font-size:var(--h-l); }
.wp-block-woocommerce-empty-cart-block h2 { font-size:var(--h-l); }
.sc-content article h1 { font-size:var(--h-xl); line-height:var(--lh-xl); }
.sc-content article h2 { font-size:var(--h-l); line-height:var(--lh-l); }
.sc-content article h3 { font-size:var(--h-m); }
/* ======================================================================
   Cart + checkout summaries: one flat color (no gradient / tints)
   ====================================================================== */
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block, .wp-block-woocommerce-cart .wc-block-cart__sidebar, .cart-collaterals .cart_totals, .woocommerce-checkout #order_review { background:var(--surface-2) !important; background-image:none !important; }
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block *, .wc-block-cart__sidebar *, .cart-collaterals .cart_totals * { background-color:transparent !important; background-image:none !important; }
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper:last-child, .wc-block-cart__sidebar .wc-block-components-totals-footer-item, .wc-block-components-sidebar .wc-block-components-totals-footer-item { background:transparent !important; }
/* keep the quantity badge and buttons readable */
.wc-block-components-sidebar .wc-block-components-order-summary-item__quantity { background-color:var(--accent) !important; }
.wc-block-cart__sidebar .wc-block-components-button, .cart-collaterals .checkout-button { background-color:var(--accent) !important; }
/* ======================================================================
   Contact step: email field and guest note take the full row
   ====================================================================== */
.wp-block-woocommerce-checkout-contact-information-block :is(.wc-block-components-checkout-step__container,.wc-block-components-checkout-step__content,.wc-block-checkout__contact-fields,.wc-block-components-form,.wc-block-components-address-form) {
  display:flex !important;
  flex-direction:column !important;
  flex-wrap:nowrap !important;
  align-items:stretch !important;
  gap:12px !important;
  grid-template-columns:minmax(0,1fr) !important;
}
.wp-block-woocommerce-checkout-contact-information-block :is(.wc-block-components-text-input,.wc-block-components-address-form__email,.wc-block-checkout__guest-checkout-notice) {
  grid-column:1/-1 !important;
  width:100% !important;
  max-width:none !important;
  flex:0 0 auto !important;
  margin:0 !important;
}
.wp-block-woocommerce-checkout-contact-information-block .wc-block-components-text-input input { width:100% !important; max-width:none !important; }
.wp-block-woocommerce-checkout-contact-information-block .wc-block-checkout__guest-checkout-notice { font-size:13px; color:var(--muted); }
/* ======================================================================
   Customization: announcement bar + visitor accent swatches
   ====================================================================== */
.sc-announce {
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:12px;
  font-weight:600;
  text-align:center;
}
.sc-announce a {
  text-decoration:underline;
  text-underline-offset:3px;
}
/* ======================================================================
   Pinned add-to-cart matches the bar; full product meta
   ====================================================================== */
.single-product .summary form.cart:not(.variations_form):not(.grouped_form), .single-product .summary .woocommerce-variation-add-to-cart {
  inset-inline:auto !important;
  inset-inline-end:var(--sc-bar-r,12px) !important;
  width:var(--sc-bar-w,calc(100% - 24px)) !important;
  max-width:none !important;
  margin:0 !important;
  box-sizing:border-box;
}
html[dir=rtl] .single-product .summary form.cart:not(.variations_form):not(.grouped_form), html[dir=rtl] .single-product .summary .woocommerce-variation-add-to-cart { inset-inline-end:var(--sc-bar-l,12px) !important; }
.product_meta {
  display:flex;
  flex-direction:column;
  gap:8px;
}
.product_meta>span { display:block; line-height:1.5; }
.product_meta>span>span, .product_meta>span>a { color:var(--fg); font-weight:600; }
.product_meta>span a { font-weight:600; }
.product_meta .sc-meta-stock>span { color:#1b8a4c; }
/* ======================================================================
   Cart totals card: even padding, total band, coupon row, button
   Scoped to the Cart block sidebar so checkout summary is untouched.
   ====================================================================== */
.wp-block-woocommerce-cart .wc-block-cart__sidebar.wc-block-components-sidebar {
  --ct-pad:24px;
  padding:0 !important;
  border-radius:var(--r-lg) !important;
  box-shadow:var(--shadow-card) !important;
  overflow:hidden;
}
/* Title: a real heading, aligned with everything else */
.wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__totals-title {
  padding:22px var(--ct-pad) 18px !important;
  font-size:var(--h-m)!important;
  letter-spacing:0;
  text-transform:none;
  color:var(--fg);
}
/* One shared left/right edge for every row; hairlines run edge to edge */
.wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-wrapper {
  padding:14px var(--ct-pad) !important;
  border:0 !important;
  border-top:1px solid var(--line) !important;
}
/* Coupon row */
.wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-components-panel__button {
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  min-height:44px;
  font-size:13px;
  font-weight:600;
  color:var(--fg);
  border-radius:var(--r-sm);
  transition:color .15s;
}
.wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-components-panel__button::before {
  content:"";
  flex:none;
  width:20px;
  height:20px;
  background:var(--accent);
  -webkit-mask:var(--ct-ticket) center/contain no-repeat;
  mask:var(--ct-ticket) center/contain no-repeat;
  --ct-ticket:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9a2 2 0 0 0 0 6v2a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-2a2 2 0 0 1 0-6V7a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1z'/%3E%3Cpath d='M13 6v2M13 11v2M13 16v2'/%3E%3C/svg%3E");
}
.wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-components-panel__button-icon {
  margin-inline-start:auto;
  flex:none;
  fill:currentColor;
  color:var(--muted);
  transition:color .15s;
}
.wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-components-panel__button:hover, .wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-components-panel__button:hover .wc-block-components-panel__button-icon { color:var(--accent); }
.wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-components-panel__button:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
.wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-coupon__form { gap:8px; }
.wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-coupon__form input {
  min-height:46px;
  border:1.5px solid var(--line-2);
  border-radius:var(--r-sm);
  color:var(--fg);
}
.wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-coupon__button {
  min-height:46px;
  border-radius:var(--r-sm);
}
/* Estimated total: the one memorable element, set on a tinted band */
.wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-wrapper:has(.wc-block-components-totals-footer-item) { padding-block:20px !important; background-color:rgba(var(--accent-rgb),.07) !important; }
.wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-footer-item {
  align-items:baseline;
  gap:16px;
  padding:0;
}
.wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  font-size:14px;
  color:var(--soft);
}
.wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-size:20px;
  line-height:1.1;
  letter-spacing:0;
  color:var(--price-sale,var(--accent));
}
/* Checkout button */
.wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__submit-container { padding:20px var(--ct-pad) var(--ct-pad) !important; }
.wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__submit-button {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  min-height:56px;
  border-radius:var(--r-sm) !important;
  font-size:13px;
  transition:transform .15s,box-shadow .15s,background-color .15s;
}
.wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__submit-button::before {
  content:"";
  flex:none;
  width:18px;
  height:18px;
  background:currentColor;
  -webkit-mask:var(--ct-lock) center/contain no-repeat;
  mask:var(--ct-lock) center/contain no-repeat;
  --ct-lock:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2.5'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");
}
.wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__submit-button:hover {
  background-color:var(--accent-hover) !important;
}
.wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__submit-button:active {
  background-color:var(--accent-active) !important;
}
.wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__submit-button:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
:root[data-bs-theme="dark"] .wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-wrapper:has(.wc-block-components-totals-footer-item) { background-color:rgba(var(--accent-rgb),.16) !important; }
@media(max-width:700px) {
  .wp-block-woocommerce-cart .wc-block-cart__sidebar.wc-block-components-sidebar { --ct-pad:18px; }
  .wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size:18px; }
}
@media(prefers-reduced-motion:reduce) {
  .wp-block-woocommerce-cart .wc-block-cart__sidebar * { transition:none !important; }
}
/* ======================================================================
   Checkout order summary: same card treatment as the cart totals
   Block checkout sidebar + classic #order_review + native place-order button
   ====================================================================== */
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block {
  --ct-pad:24px;
  border-radius:var(--r-lg) !important;
  box-shadow:var(--shadow-card) !important;
  overflow:hidden;
}
/* Title */
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title { padding:22px var(--ct-pad) 18px !important; border-bottom:0; }
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title-text {
  font-size:var(--h-m);
  letter-spacing:0;
  text-transform:none;
  color:var(--fg);
}
/* Items: one shared edge; the items wrapper carries no padding of its own */
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary { padding:0 var(--ct-pad) 8px !important; }
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item__image>img { border-radius:var(--r-sm); }
/* Totals rows */
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper {
  padding:14px var(--ct-pad) !important;
  border:0 !important;
  border-top:1px solid var(--line) !important;
}
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper:has(.wc-block-components-order-summary) { padding:0 !important; }
/* Coupon row */
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-panel__button {
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  min-height:44px;
  font-size:13px;
  font-weight:600;
  color:var(--fg);
  border-radius:var(--r-sm);
  transition:color .15s;
}
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-panel__button::before {
  content:"";
  flex:none;
  width:20px;
  height:20px;
  background:var(--accent);
  -webkit-mask:var(--ct-ticket,none) center/contain no-repeat;
  mask:var(--ct-ticket,none) center/contain no-repeat;
  --ct-ticket:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9a2 2 0 0 0 0 6v2a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-2a2 2 0 0 1 0-6V7a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1z'/%3E%3Cpath d='M13 6v2M13 11v2M13 16v2'/%3E%3C/svg%3E");
}
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-panel__button-icon {
  margin-inline-start:auto;
  flex:none;
  fill:currentColor;
  color:var(--muted);
  transition:color .15s;
}
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-panel__button:hover, .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-panel__button:hover .wc-block-components-panel__button-icon { color:var(--accent); }
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-panel__button:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-coupon__form input {
  min-height:46px;
  border:1.5px solid var(--line-2);
  border-radius:var(--r-sm);
  color:var(--fg);
}
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-coupon__button {
  min-height:46px;
  border-radius:var(--r-sm);
}
/* Total band */
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper:has(.wc-block-components-totals-footer-item) {
  padding-block:20px !important;
  background-color:rgba(var(--accent-rgb),.07) !important;
  border-top:1px solid var(--line) !important;
}
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-footer-item {
  align-items:baseline;
  gap:16px;
  padding:0;
  border-radius:0;
}
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  font-size:14px;
  color:var(--soft);
}
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-size:20px;
  line-height:1.1;
  letter-spacing:0;
  color:var(--price-sale,var(--accent));
}
/* Classic shortcode checkout */
.woocommerce-checkout #order_review {
  border:1.5px solid var(--line-2);
  border-radius:var(--r-lg);
  padding:8px var(--ct-pad,24px) 24px;
}
.woocommerce-checkout #order_review table.shop_table .order-total th, .woocommerce-checkout #order_review table.shop_table .order-total td {
  padding-block:18px;
  background:rgba(var(--accent-rgb),.07);
}
.woocommerce-checkout #order_review table.shop_table .order-total td {
  font-size:20px;
  color:var(--price-sale,var(--accent));
  letter-spacing:0;
}
.woocommerce-checkout #order_review table.shop_table .order-total th { font-size:14px; color:var(--soft); }
/* Native place-order button (shown when the sticky-bar button is not active) */
.wc-block-components-checkout-place-order-button, .woocommerce-checkout #place_order {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:56px;
  border-radius:var(--r-sm) !important;
  font-size:14px;
}
.wc-block-components-checkout-place-order-button::before, .woocommerce-checkout #place_order::before {
  content:"";
  flex:none;
  width:18px;
  height:18px;
  background:currentColor;
  -webkit-mask:var(--ct-lock,none) center/contain no-repeat;
  mask:var(--ct-lock,none) center/contain no-repeat;
  --ct-lock:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2.5'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");
}
:root[data-bs-theme="dark"] .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper:has(.wc-block-components-totals-footer-item), :root[data-bs-theme="dark"] .woocommerce-checkout #order_review table.shop_table .order-total th, :root[data-bs-theme="dark"] .woocommerce-checkout #order_review table.shop_table .order-total td { background-color:rgba(var(--accent-rgb),.16) !important; }
@media(max-width:700px) {
  .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block { --ct-pad:18px; }
  .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size:18px; }
}
@media(prefers-reduced-motion:reduce) {
  .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block * { transition:none !important; }
}
/* ======================================================================
   Quick-view popup: light surface behind the product image
   ====================================================================== */
.sc-modal-media, .sc-modal-media .sc-modal-img, .sc-modal-grid>.sc-modal-img { background:var(--surface-2); }
.sc-modal-thumbs { background:var(--surface-2); }
.sc-modal-thumbs button { background:var(--surface); }
.sc-modal-media, .sc-modal-grid>.sc-modal-img { border-inline-end:1px solid var(--line); }
@media(max-width:767.98px) {
  .sc-modal-media, .sc-modal-grid>.sc-modal-img { border-inline-end:0; border-bottom:1px solid var(--line); }
}
/* ======================================================================
   Quick-view popup: light surface on the details column too
   ====================================================================== */
.sc-modal, .sc-modal-side, .sc-modal-acts { background:var(--surface-2); }
/* ======================================================================
   Home page only: transparent header
   Fully transparent at the top; the frosted background fades in as you
   scroll so the sticky menu stays readable over content.
   ====================================================================== */
/* v3.5.2: the home header never fades in a frosted background any more */
/* ======================================================================
   Elementor home page (mosaic of image links)
   Layout, images, links, captions and icons are native Elementor elements;
   this block only adds the edge-to-edge page and the hover reveal.
   ====================================================================== */
.sc-content.sc-content--bleed {
  padding:0;
  max-width:none;
  margin-inline:0;
}
.sc-content--bleed .elementor { width:100%; }
.hz-tile, .hz-tile:hover, .hz-tile:focus { color:#fff; text-decoration:none; }
.hz-tile .hz-cap .elementor-heading-title { color:#fff; }
.hz-tile:focus-visible { outline:3px solid var(--accent); outline-offset:-3px; }
/* Hover-capable screens: captions appear on hover/focus. Touch screens keep them visible. */
@media(hover:hover) {
  .hz-tile .hz-cap { opacity:0; transform:translateY(8px); }
  .hz-tile:hover .hz-cap, .hz-tile:focus-visible .hz-cap { opacity:1; transform:none; }
}
/* Keep captions visible inside the Elementor editor */
.elementor-editor-active .hz-tile .hz-cap { opacity:1; transform:none; }
@media(prefers-reduced-motion:reduce) {
  .hz-tile .hz-cap { transition:none; }
}
/* ======================================================================
   Home mosaic (theme-rendered): category photos in a quiet grid, captions always visible
   ====================================================================== */
.hz-mosaic { width:100%; padding:0 28px 64px; }
.hz-mosaic .hz-w { padding:4px; }
.hz-mosaic .hz-tile {
  aspect-ratio:1/1;
  border-radius:var(--r-lg);
  color:#fff;
  text-decoration:none;
  isolation:isolate;
  min-height:0;
}
.hz-mosaic .hz-cap {
  padding:12px 16px;
  font-weight:500;
  font-size:12px;
  line-height:20px;
  letter-spacing:0;
}
.hz-mosaic .hz-cap svg { flex:none; width:16px; height:16px; transition:transform .15s var(--ease); }
.hz-mosaic .hz-tile:hover .hz-cap svg, .hz-mosaic .hz-tile:focus-visible .hz-cap svg { transform:translate(2px,-2px); }
.hz-mosaic .hz-tile:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.hz-mosaic .hz-stack-in { display:grid; gap:8px; }
.hz-mosaic .hz-s3 .hz-tile, .hz-mosaic .hz-s4 .hz-tile { aspect-ratio:16/9; }
@media(min-width:992px) {
  .hz-mosaic .hz-w { width:var(--hz-w); flex:0 0 auto; }
  .hz-mosaic .hz-row-1 { height:calc((100vw - 56px) * .2224); }
  .hz-mosaic .hz-row-2 { height:calc((100vw - 56px) * .2282); }
  .hz-mosaic .hz-tile { aspect-ratio:auto; }
  .hz-mosaic .hz-stack-in { height:100%; grid-template-rows:171fr 252fr; }
  .hz-mosaic .hz-s3 .hz-tile, .hz-mosaic .hz-s4 .hz-tile { aspect-ratio:auto; }
  .hz-mosaic .hz-w>.hz-tile { height:100%; }
}
@media(max-width:575.98px) {
  .hz-mosaic { padding-inline:12px; }
  .hz-mosaic .hz-cap { font-size:12px; padding:8px 12px; }
}
/* Home intro: headline and sub line on the left, one primary and one quiet action on the right */
.sc-hero {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:32px;
  margin:0 32px;
  padding:64px 0 40px;
  border-top:1px solid var(--c-secondary);   /* signature: one thin caramel-gold hairline */
}
.sc-hero h1 {
  margin:0;
  max-width:18ch;
  font-size:var(--h-xl);
  line-height:1.05;
  font-weight:500;
  letter-spacing:-.03em;
  text-wrap:balance;
}
.sc-hero-sub { margin:16px 0 0; font-size:13px; line-height:24px; color:var(--muted); }
.sc-hero-actions { display:flex; align-items:center; gap:24px; flex:none; }
.sc-hero-link {
  color:var(--fg);
  font-weight:500;
  text-decoration:underline;
  text-decoration-color:var(--line-2);
  text-underline-offset:6px;
  transition:color .15s var(--ease),text-decoration-color .15s var(--ease);
}
.sc-hero-link:hover, .sc-hero-link:focus-visible { color:var(--accent); text-decoration-color:var(--accent); }
@media(max-width:575.98px) {
  .sc-hero { flex-direction:column; align-items:flex-start; gap:24px; margin:0 16px; padding:40px 0 24px; }
}
/* ======================================================================
   Shop pages use the full horizontal width
   ====================================================================== */
@media(max-width:575.98px) {
  body.woocommerce-shop, body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag { --gutter:16px; }
}
body.woocommerce-shop .sc-page-head, body.woocommerce-shop .sc-tabs, body.woocommerce-shop .sc-main, body.post-type-archive-product .sc-page-head, body.post-type-archive-product .sc-tabs, body.post-type-archive-product .sc-main, body.tax-product_cat .sc-page-head, body.tax-product_cat .sc-tabs, body.tax-product_cat .sc-main, body.tax-product_tag .sc-page-head, body.tax-product_tag .sc-tabs, body.tax-product_tag .sc-main {
  max-width:none;
  width:100%;
  margin-inline:0;
}
/* ======================================================================
   Page columns never shrink to their content
   .sc-collection is a flex column: a child with margin-inline:auto (set
   on screens ≥1600px) is sized to its content unless it has a width.
   That collapsed the cart, checkout, account and plain pages.
   ====================================================================== */
.sc-collection>.sc-header, .sc-collection>.sc-content, .sc-collection>.sc-main { width:100%; }
.sc-page-head, .sc-tabs, .sc-main, .sc-content { box-sizing:border-box; }
@media(min-width:1600px) {
  .sc-page-head, .sc-tabs, .sc-main, .sc-content { width:100%; }
}
/* Plain pages / blog entries: centred reading column */
.sc-content article>*:not(.alignwide):not(.alignfull):not(.woocommerce):not([class*="wp-block-woocommerce"]) { margin-inline:auto; }
/* ======================================================================
   Responsive pass (all pages)
   Fluid margins, no horizontal overflow, scrollable wide content,
   grids that keep scaling, comfortable touch targets.
   ====================================================================== */
/* 1. Fluid side margin: 16px → 32px, centred column only on very wide screens */
:root { --gutter:max(clamp(16px,3vw,32px),calc((100% - 1616px)/2)); }
body.woocommerce-shop, body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag { --gutter:clamp(16px,2.4vw,40px); }
@media(min-width:576px) {
  .sc-page-head, .sc-tabs, .sc-main, .sc-content, .sc-bar { padding-inline:var(--gutter); }
}
/* 2. Nothing may push the page sideways */
html, body { max-width:100%; }
.sc-collection { min-width:0; }
.sc-collection img, .sc-collection video, .sc-collection iframe, .sc-collection svg { max-width:100%; }
.sc-main>*, .sc-results, .sc-content article, .woocommerce, .wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { min-width:0; }
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout, .wc-block-cart, .wc-block-checkout { width:100%; box-sizing:border-box; }
.sc-content article :where(h1,h2,h3,h4,p,li,a) { overflow-wrap:anywhere; }
/* 3. Wide content scrolls inside itself (classic cart, orders, long tables, code) */
.woocommerce-cart-form, .woocommerce-orders-table, .woocommerce-table--order-details, .shop_table_responsive { max-width:100%; }
@media(max-width:767.98px) {
  .woocommerce-cart-form, .sc-content article table {
    display:block;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }
  .sc-content article pre { max-width:100%; }
}
/* 4. Header menu: one scrollable line on small screens */
@media(max-width:767.98px) {
  .sc-tabs {
    overflow-x:auto;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .sc-tabs::-webkit-scrollbar { display:none; }
  .sc-tabs .sc-menu-list { flex-wrap:nowrap; white-space:nowrap; }
}
/* 5. Product grids keep scaling on very large screens */
@media(min-width:2200px) {
  ul.products.grid { grid-template-columns:repeat(8,minmax(0,1fr)); }
  .shop:has(#v10:checked) ul.products.grid { grid-template-columns:repeat(12,minmax(0,1fr)); }
}
/* very small phones: keep two readable columns */
@media(max-width:359.98px) {
  ul.products.grid { gap:8px; }
}
/* 6. Cart / checkout blocks: stack early, never squeeze */
@media(max-width:781px) {
  .wc-block-components-sidebar-layout { display:block; }
  .wc-block-components-sidebar-layout .wc-block-components-main, .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    width:100%;
    padding-inline:0 !important;
    border-inline-start:0;
  }
  .wc-block-components-sidebar-layout .wc-block-components-sidebar { margin-top:24px; }
}
@media(max-width:1279.98px) {
  .wc-block-checkout__form { column-count:1 !important; }
}
/* 7. Bottom bar + buttons: touch friendly, two buttons always fit */
@media(pointer:coarse) {
  .sc-btn, .sc-bar .sc-btn, .sc-settings-btn { min-height:44px; }
}
@media(max-width:479.98px) {
  .sc-bar { gap:8px; padding-inline:12px; }
  .sc-bar .sc-btn {
    flex:1 1 0;
    min-width:0;
    justify-content:center;
    white-space:nowrap;
    padding-inline:12px;
  }
}
/* 10. Large readable base on 4K, restrained on tiny screens */
@media(max-width:359.98px) {
  html { font-size:93.75%; }
}
/* ======================================================================
   Elementor home sections (hero, benefits, products)
   ====================================================================== */
.hz-hero .elementor-heading-title {
  letter-spacing:-.02em;
  line-height:1.05;
}
.hz-benefits .elementor-icon-box-title { font-size:var(--h-xs); margin:0; }
.hz-benefits .elementor-icon-box-description {
  font-size:12px;
  color:var(--muted,#64748b);
  margin:2px 0 0;
}
.hz-products .elementor-heading-title { letter-spacing:-.02em; }
.hz-products ul.products { margin:0; }
@media(max-width:767.98px) {
  .hz-hero { padding-top:110px !important; }
}
/* ======================================================================
   Elementor home: snappier entrance animations
   Elementor's "Fast" preset is ~0.8s; the home sections use ~0.4s.
   Colours of these sections come from CSS variables (see inc/home-mosaic.json),
   so they follow the Customizer palette and the light/dark mode.
   ====================================================================== */
.hz-hero.animated, .hz-hero .animated, .hz-mosaic .animated, .hz-mosaic.animated, .hz-about.animated, .hz-about .animated, .hz-about-footer.animated, .hz-about-footer .animated { animation-duration:.4s !important; }
.hz-tile { transition:background-color .25s var(--ease,ease); }
@media(prefers-reduced-motion:reduce) {
  .hz-hero.animated, .hz-hero .animated, .hz-mosaic .animated, .hz-mosaic.animated, .hz-about.animated, .hz-about .animated, .hz-about-footer.animated, .hz-about-footer .animated { animation:none !important; }
}
/* ======================================================================
   Quick view: clear title, plain description
   ====================================================================== */
.sc-modal-head {
  display:flex;
  flex-direction:column;
  gap:6px;
}
.sc-modal-info h2 {
  color:var(--fg);
  line-height:1.2;
}
.sc-modal-more {
  border:0;
  border-radius:0;
  padding:0;
  background:transparent;
}
.sc-modal-more .body {
  padding:0;
  font-size:13px;
  line-height:1.6;
  color:var(--soft);
}
@media(max-width:781px) {
  /* Title block: plain, directly under the image, aligned with the details (nothing pinned, no overlap) */
  .sc-modal-info { padding:16px 16px 16px; }
  .sc-modal-head {
    position:static;
    margin:0;
    padding:0;
    background:transparent;
    border:0;
  }
  .sc-modal-info h2 { font-size:var(--h-l); }
  .sc-modal-info .price { font-size:min(14px,var(--fs-max)); }
}
/* An element with [hidden] must stay hidden even when it has its own display rule (e.g. the empty rating row) */
.sc-modal-info [hidden] { display:none !important; }
/* Short screens (phone in landscape): smaller image so title and buttons both fit */
@media(max-width:781px) and (max-height:520px) {
  .sc-modal-grid { grid-template-rows:28vh minmax(0,1fr); }
  .sc-modal-acts { grid-template-columns:1fr 1fr 1fr; padding-top:8px; }
  .sc-modal-acts #sc-modal-add { grid-column:auto; }
}
/* ======================================================================
   Checkout on phones: one aligned edge, tighter rhythm,
   one order summary, comfortable fields, no content under the sticky bar
   ====================================================================== */
@media(max-width:781px) {
  .woocommerce-checkout { --gutter:16px; }
  /* Page: small gap under the tabs, room for the sticky bar, no doubled padding */
  .woocommerce-checkout .sc-tabs { margin-bottom:0; padding-bottom:0; }
  .woocommerce-checkout .sc-main {
    padding-top:8px;
    padding-bottom:calc(var(--sc-bar-offset,84px) + 28px + env(safe-area-inset-bottom));
  }
  .woocommerce-checkout .sc-content { padding-top:0; padding-bottom:0; }
  .wp-block-woocommerce-checkout, .wc-block-checkout { padding:0 !important; }
  .wc-block-components-sidebar-layout { gap:16px !important; margin:0; }
  .wc-block-components-main, .wc-block-components-sidebar { padding:0 !important; }
  /* Steps: no side padding, so headings, fields, notes and terms share the same edge */
  .wp-block-woocommerce-checkout-fields-block { gap:0; }
  .wc-block-components-checkout-step {
    padding:18px 0 !important;
    background:transparent;
    border:0 !important;
    border-radius:0;
  }
  .wc-block-components-checkout-step:first-child { padding-top:6px !important; }
  .wc-block-components-checkout-step+.wc-block-components-checkout-step {
    margin-top:0 !important;
    padding-top:22px !important;
    border-top:1px solid var(--line) !important;
  }
  .wc-block-components-checkout-step__heading { margin:0 0 14px !important; }
  .wc-block-components-checkout-step__title, .wc-block-components-title {
    font-size:var(--h-s);
    font-weight:600;
    letter-spacing:0;
  }
  .wc-block-components-checkout-step__description { margin:0 0 12px; font-size:13px; }
  .wc-block-components-checkout-step__description:empty { display:none; }
  .wc-block-components-checkout-step__container>*+*, .wc-block-checkout .wc-block-components-checkout-step__container>*+* { margin-top:12px; }
  .wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__container { gap:8px; }
  /* Fields: even 12px rhythm, 54px tall, 16px text (no iOS zoom on focus) */
  .wc-block-components-address-form, .wc-block-checkout .wc-block-components-address-form { gap:12px !important; }
  .wc-block-checkout .wc-block-components-address-form>*, .wc-block-checkout .wc-block-components-address-form>.wc-block-components-address-form__address_2-toggle { margin:0 !important; }
  .wc-block-checkout .wc-block-components-text-input input, .wc-block-checkout .wc-blocks-components-select .wc-blocks-components-select__select { min-height:54px; font-size:16px; }
  .wc-block-components-address-form__address_2-toggle {
    margin:0 !important;
    padding:4px 0;
    min-height:36px;
    display:inline-flex;
    align-items:center;
  }
  .wp-block-woocommerce-checkout-contact-information-block .wc-block-checkout__guest-checkout-notice { margin:0; font-size:13px; }
  /* Payment notice: compact, icon aligned with the first line */
  .wp-block-woocommerce-checkout-payment-block .wc-block-components-notice-banner, .wc-block-checkout__no-payment-method {
    padding:14px !important;
    font-size:13px;
    align-items:flex-start;
    border-radius:var(--r-sm);
  }
  /* Note + terms */
  .wp-block-woocommerce-checkout-order-note-block { padding:18px 0 !important; border-top:1px solid var(--line); }
  .wp-block-woocommerce-checkout-terms-block {
    padding:0 !important;
    font-size:13px;
    color:var(--muted);
  }
  .wc-block-checkout__actions { padding:0 !important; }
  .wc-block-components-checkbox {
    min-height:44px;
    display:flex;
    align-items:center;
  }
  .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox] {
    width:22px;
    height:22px;
    min-width:22px;
    border:1.5px solid var(--line-2);
    border-radius:var(--r-xs);
    background:transparent;
  }
  .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked { background:var(--accent); border-color:var(--accent); }
  .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill:#fff; }
  /* One order summary: keep the themed collapsible one at the top, drop the unstyled repeat */
  .wc-block-components-main .wp-block-woocommerce-checkout-order-summary-block, .wp-block-woocommerce-checkout-fields-block .wp-block-woocommerce-checkout-order-summary-block { display:none !important; }
  /* The collapsible summary: a single clean card (no inner double line) */
  .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block {
    margin:0;
    border-radius:var(--r-lg) !important;
    box-shadow:var(--shadow-card) !important;
  }
  .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title {
    padding:14px 16px !important;
    border-bottom:0 !important;
    min-height:52px;
  }
  .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title-text { font-size:var(--h-m); }
  .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title-price { font-weight:600; }
  .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item__description .wc-block-components-product-name { font-size:14px; }
  .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item__total-price { font-size:14px; }
  .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper { font-size:13px; }
}

/* ======================================================================
   Quick view = the product page, in a popup
   Gallery card + summary card (category chip, bold title, accent price,
   stock badge, description, meta) + pinned add-to-cart bar.
   ====================================================================== */
#sc-modal .sc-modal,
#sc-modal.sc-modal,
#sc-modal .modal-content { background:var(--bg); }

/* Gallery: clean surface, no extra panel */
#sc-modal .sc-modal-media {
  border:0;
  border-radius:0;
  box-shadow:none;
  overflow:hidden;
  background:transparent;
}
#sc-modal .sc-modal-media .sc-modal-img { border:0; }

/* Summary: clean surface, no card shell */
#sc-modal .sc-modal-side { background:transparent; min-width:0; min-height:0; }
#sc-modal .sc-modal-info {
  gap:16px;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  justify-content:flex-start;
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}
#sc-modal .sc-modal-head { display:flex; flex-direction:column; gap:10px; margin:0; padding:0; background:transparent; border:0; position:static; }
#sc-modal .sc-modal-info h2 {
  font-size:var(--h-l);
  letter-spacing:-.03em;
  line-height:var(--lh-l);
  color:var(--fg);
  margin:0;
}
#sc-modal .sc-modal-info .price {
  font-size:min(clamp(18px,2.1vw,24px),var(--fs-max));
  color:var(--accent);
  padding-bottom:16px;
  border-bottom:1px solid var(--line);
}
#sc-modal .sc-modal-info .price del { color:var(--muted); font-size:.58em; font-weight:500; }
#sc-modal .sc-modal-info .desc { font-size:13px; line-height:1.7; color:var(--soft); }
#sc-modal .sc-modal-meta { border:0; border-top:1px solid var(--line); padding:16px 0 0; font-size:12px; }
#sc-modal .sc-modal-more .body { font-size:13px; line-height:1.7; }

/* Pinned add-to-cart: clean (no panel background) */
#sc-modal .sc-modal-acts {
  flex:0 0 auto;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  gap:10px;
}
#sc-modal .sc-modal-acts .sc-btn { min-height:48px; border-radius:var(--r-sm); }
#sc-modal .sc-modal-acts #sc-modal-add { min-height:54px; box-shadow:none; }

/* Phones: gallery on top (capped height), summary card scrolls, bar pinned */
@media (max-width:781px) {
  #sc-modal .sc-modal-grid {
    display:flex !important;
    flex-direction:column;
    gap:10px;
    padding:10px;
    height:100% !important;
    overflow:hidden;
  }
  #sc-modal .sc-modal-media {
    flex:0 0 auto !important;
    height:clamp(160px,34dvh,300px) !important;
    min-height:0;
    border-radius:var(--r-sm);
    overflow:hidden;
  }
  #sc-modal .sc-modal-media .sc-modal-img { height:100% !important; }
  #sc-modal .sc-modal-media .sc-modal-img img {
    object-fit:contain;
    width:100%;
    height:100%;
    padding:10px;
  }
  #sc-modal .sc-modal-media .sc-modal-img svg { width:min(40%,160px); }
  #sc-modal .sc-modal-side {
    flex:1 1 0 !important;
    height:auto !important;
    display:flex;
    flex-direction:column;
    gap:8px;
    min-height:0;
  }
  #sc-modal .sc-modal-info {
    flex:1 1 0 !important;
    padding:14px 14px 8px;
    gap:12px;
  }
  #sc-modal .sc-modal-info h2 { font-size:var(--h-l); }
  #sc-modal .sc-modal-info .price { font-size:min(22px,var(--fs-max)); padding-bottom:12px; }
  #sc-modal .sc-modal-acts {
    position:sticky;
    bottom:0;
    z-index:2;
    padding:8px 0 calc(8px + env(safe-area-inset-bottom));
    border-top:1px solid var(--line);
    background:var(--bg);
  }
  #sc-modal .sc-modal-close {
    top:max(16px,env(safe-area-inset-top));
    inset-inline-end:16px;
    width:44px;
    height:44px;
  }
}
@media (max-width:781px) and (max-height:520px) {
  #sc-modal .sc-modal-media { height:clamp(80px,24dvh,120px) !important; }
}

/* Tablet / desktop: gallery card left, summary card right */
@media (min-width:782px) {
  #sc-modal .sc-modal-grid { gap:24px; padding:20px; }
  #sc-modal .sc-modal-media { border-inline-end:0; }
  #sc-modal .sc-modal-side { display:flex; flex-direction:column; gap:12px; height:100%; }
  #sc-modal .sc-modal-info { flex:1 1 0; padding:clamp(22px,3vw,40px); justify-content:safe center; }
  #sc-modal .sc-modal-acts { padding:14px; }
  #sc-modal .sc-modal-close { top:28px; inset-inline-end:28px; }
}

/* ======================================================================
   Quiet UI
   Final layer. One neutral ramp, one accent, weights 400–600, sentence case,
   hairlines instead of shadows, no blur, no glow, no lift on hover.
   Signature: the hang tag (a small mono label with a punched hole) marks
   product badges, categories and the quick-view category.
   ====================================================================== */
:root {
  --r-sm:var(--btn-r,5px);        /* fields, controls: same as the buttons */
  --r:calc(var(--btn-r,5px) + 3px);
  --r-lg:calc(var(--btn-r,5px) + 6px);  /* cards, cart / checkout panels */
  --r-xs:max(4px,calc(var(--r-sm) / 2));
  --r-panel:calc(var(--r-lg) + 8px);
  --ease:cubic-bezier(.22,1,.36,1);
  --shadow-pop:0 8px 24px rgba(0,0,0,.06);
  --price-sale:var(--accent);
}
:root[data-bs-theme=dark] { --shadow-pop:0 8px 24px rgba(0,0,0,.4); --shadow-card:none; --price-sale:#E0B27A; }
@keyframes scIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
.product-card { animation-duration:.3s; }
::selection { background:rgba(var(--accent-rgb),.25); color:inherit; }
h1, h2, h3, .sc-empty strong, .product-card h3 { text-wrap:balance; }
p, .sc-empty span { text-wrap:pretty; }
body { letter-spacing:0; }
h1, h2, h3, h4, h5, h6 { letter-spacing:0; font-weight:500; }
h1, h2, .h1, .h2 { letter-spacing:-.02em; }
a { font-weight:500; }
strong, b { font-weight:600; }
.sc-sep { margin-inline:2px; opacity:.55; }
html[dir=rtl] .sc-sep { display:inline-block; transform:scaleX(-1); }
@media(prefers-reduced-motion:no-preference) {
  @view-transition { navigation:auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration:.2s; }
}
.sc-bar { view-transition-name:sc-bar; }
.sc-header { view-transition-name:sc-header; }

/* ---- Weights: nothing above 600 ---- */

.sc-filters-title,
.product-card .price,
.sc-modal-info .price,
.sc-cart-count,
.sc-wish-item .price,
.sc-page-head h1,
.product-card h3,
.sc-toolbar-count strong,
#sc-place-order .sc-po-total,
.wc-block-components-checkout-step__title,
.wc-block-components-title,
.wc-block-components-button.wc-block-components-button,
.wc-block-components-order-summary__button-text,
.wc-block-components-checkout-order-summary__title-text,
.wc-block-components-order-summary-item__quantity,
.wc-block-components-product-name,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.woocommerce-checkout h3,
.sc-panel .offcanvas-title,
.sc-drawer .woocommerce-mini-cart__total .amount,
.single-product span.onsale,
.summary .price,
.single_add_to_cart_button.button,
.single_add_to_cart_button,
table.variations th label,
.woocommerce-Tabs-panel>h2,
section.related>h2,
section.up-sells>h2,
section.upsells>h2,
.cross-sells>h2,
.woocommerce table.shop_table .product-name a,
.cart-collaterals .cart_totals>h2,
.wc-proceed-to-checkout a.checkout-button,
.wc-block-cart__totals-title,
.woocommerce h2,
.sc-content article h1,
.sc-content article h2,
.sc-content article h3,
.sc-content article h4,
.sc-toast-title,
.sc-empty strong,
.return-to-shop .button,
.sc-product-cat,
.single-product .summary .sc-product-title,
.wc-block-cart-items__header th,
.wc-block-components-quantity-selector__input,
.wc-block-cart-item__total .wc-block-components-product-price,
.wc-block-cart__submit-button,
.wp-block-woocommerce-empty-cart-block h2,
.sc-modal-more summary,
.wc-block-components-sidebar .wc-block-components-order-summary-item__total-price,
.sc-header .sc-page-head h1,
.wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__totals-title,
.wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-coupon__button,
.wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__submit-button,
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title-text,
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item__description .wc-block-components-product-name,
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-coupon__button,
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.woocommerce-checkout #order_review table.shop_table .order-total th,
.woocommerce-checkout #order_review table.shop_table .order-total td,
.wc-block-components-checkout-place-order-button,
.woocommerce-checkout #place_order,
.hz-hero .elementor-button,
.sc-modal-info h2,
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title-price,
#sc-modal .sc-modal-info .cat,
#sc-modal .sc-modal-info h2 { font-weight:600; }

/* ---- Sentence case ---- */
.sc-panel h3,
.sc-product-cat,
.wc-block-cart-items__header th,
.wc-block-cart__totals-title,
.sc-modal-info .cat,
#sc-modal .sc-modal-info .cat { text-transform:none; letter-spacing:0; }

/* ---- One icon stroke ---- */
.sc-collection svg[stroke-width], .sc-panel svg[stroke-width], .sc-modal svg[stroke-width] { stroke-width:1.5; }

/* ---- Header: brand, links, settings in one row ---- */
.sc-header {
  background:var(--bg);
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
  box-shadow:none;
  border-bottom:1px solid var(--line) !important;
}
.sc-header .sc-page-head {
  display:flex;
  flex-wrap:nowrap;
  gap:24px;
  padding:12px 32px;
  background:none;
}
.sc-brand { color:var(--fg); white-space:nowrap; }
.sc-brand:hover { color:var(--fg); }
.sc-brand-name { font-size:14px; font-weight:600; line-height:1; }
.sc-header .sc-page-icon {
  background:var(--fg);
  color:var(--bg);
  box-shadow:none;
}
.sc-header .sc-page-icon:has(.custom-logo-link) { background:none; }
.sc-header .sc-page-icon svg { width:20px; height:20px; }
.sc-page-icon img.custom-logo { border-radius:0; object-fit:contain; }
.sc-header .sc-tabs { padding:0; flex:1 1 auto; min-width:0; border-bottom:0 !important; view-transition-name:none; }
.sc-tabs .sc-menu-list { gap:4px; }
.sc-tabs .sc-menu-list a {
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border:0;
  border-radius:var(--r-sm);
  font-size:13px;
  font-weight:500;
  color:var(--soft);
  transition:background-color .15s var(--ease),color .15s var(--ease);
}
.sc-tabs .sc-menu-list a:hover { background:var(--surface); color:var(--fg); }
.sc-tabs .sc-menu-list .current-menu-item>a, .sc-tabs .sc-menu-list .current_page_item>a, .sc-tabs .sc-menu-list .current-menu-ancestor>a {
  background:var(--surface);
  color:var(--fg);
  box-shadow:inset 0 0 0 1px var(--line) !important;
}
.sc-tabs .sc-menu-list .current-menu-item>a::before, .sc-tabs .sc-menu-list .current_page_item>a::before, .sc-tabs .sc-menu-list .current-menu-ancestor>a::before { content:none; }
.sc-head-actions { margin-inline-start:auto; gap:8px; }
.sc-settings-btn {
  width:36px;
  height:36px;
  border-radius:var(--r-sm);
  border:1px solid var(--line);
  background:var(--surface-2);
  color:var(--soft);
  box-shadow:none;
  transition:background-color .15s var(--ease),color .15s var(--ease);
}
.sc-settings-btn svg { width:18px; height:18px; }
.sc-settings-btn:hover, .sc-settings-btn:not(.sc-cart-toggle):hover { background:var(--surface); color:var(--fg); border-color:var(--line-2); transform:none; }
/* Phones and small tablets: one compact row (logo + name, scrolling menu, actions), no second row for the menu */
@media(max-width:767.98px) {
  .sc-header .sc-page-head { flex-wrap:nowrap; gap:8px; padding:8px 16px; }
  .sc-header .sc-brand { gap:10px; }
  .sc-header .sc-tabs { flex:1 1 auto; min-width:0; }
  .sc-tabs .sc-menu-list a { padding:8px 10px; }
}
/* Very small phones: the logo alone is the brand (the name stays for screen readers) */
@media(max-width:479.98px) {
  .sc-header:not(.sc-header--home) .sc-brand-name { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
}

/* ---- Page title row ---- */
.sc-title-row { display:flex; flex-direction:column; gap:8px; padding:32px 32px 8px; }
.sc-title-row .woocommerce-breadcrumb { order:-1; margin:0; font-size:12px; line-height:16px; color:var(--muted); }
.sc-title-row .woocommerce-breadcrumb a { color:var(--muted); font-weight:400; }
.sc-title-row .woocommerce-breadcrumb a:hover { color:var(--fg); }
.sc-title-row .sc-title { margin:0; font-size:var(--h-xl); line-height:var(--lh-xl); font-weight:500; letter-spacing:0; }
.single-product .sc-title-row { padding-bottom:0; }
@media(max-width:575.98px) { .sc-title-row { padding:24px 16px 4px; } }

/* ---- Buttons: one accent for the primary action ---- */
.sc-btn, .single_add_to_cart_button, .woocommerce a.checkout-button, .wc-proceed-to-checkout a.checkout-button, .return-to-shop .button {
  border-radius:var(--r-sm);
  font-weight:500;
  box-shadow:none;
  filter:none;
  transition:background-color .15s var(--ease),color .15s var(--ease),transform .15s var(--ease);
}
.sc-btn:not(.sec), .single_add_to_cart_button, .woocommerce a.checkout-button, .wc-proceed-to-checkout a.checkout-button, .return-to-shop .button {
  background:var(--accent);
  background-image:none;
  color:#fff;
}
.sc-btn:not(.sec):hover, .single_add_to_cart_button:hover, .woocommerce a.checkout-button:hover, .return-to-shop .button:hover {
  background:var(--accent-hover);
  filter:none;
  transform:none;
  color:#fff;
}
.sc-btn:not(.sec):active, .single_add_to_cart_button:active, .sc-btn:active { transform:scale(.98); box-shadow:none; }
.sc-btn.sec { background:var(--surface-2); box-shadow:inset 0 0 0 1px var(--line-2); color:var(--fg); border-radius:var(--r-sm); }
.sc-btn.sec:hover { background:var(--surface); transform:none; color:var(--fg); }
.sc-btn:disabled, .single_add_to_cart_button:disabled { box-shadow:none; transform:none; opacity:.5; }
.sc-btn:focus-visible, .single_add_to_cart_button:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.single_add_to_cart_button.button, .single_add_to_cart_button { box-shadow:none; font-weight:500; }

/* ---- Fields and toolbar ---- */
.sc-in, .sc-collection .woocommerce-ordering select, .vt { min-height:40px; border-radius:var(--r-sm); }
.sc-in, .sc-collection .woocommerce-ordering select { border-color:var(--line-2); font-size:12px; box-shadow:none; }
.sc-search-ico { top:11px; }
.sc-search-clear { top:6px; }
.sc-in:focus, .sc-search .sc-in:focus, .sc-collection .woocommerce-ordering select:focus, .form-control:focus, .form-select:focus, .quantity input.qty:focus {
  outline:0;
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(var(--accent-rgb),.18);
}
.vt { min-width:40px; padding:0; background:transparent; border:1px solid var(--line); color:var(--muted); font-weight:500; }
.vt:hover { background:var(--surface); color:var(--fg); }
.shop:has(#v6:checked) label[for=v6], .shop:has(#v10:checked) label[for=v10] { background:var(--surface); color:var(--fg); border-color:var(--line-2); }
.shop:has(#v6:focus-visible) label[for=v6], .shop:has(#v10:focus-visible) label[for=v10] { outline:2px solid var(--accent); outline-offset:2px; }
.sc-toolbar { gap:12px; }
.sc-sort-label { font-size:12px; }
.sc-toolbar-count {
  display:inline-flex;
  flex-direction:row;
  align-items:baseline;
  gap:4px;
  padding:0;
  border:0;
  font-size:12px;
  color:var(--muted);
  font-variant-numeric:tabular-nums;
}
.sc-toolbar-count strong { font-size:12px; font-weight:500; color:var(--fg); }
.sc-collection .woocommerce-ordering select { background-color:var(--surface-2); }

/* ---- Filters ---- */
.sc-main { gap:40px; padding-top:16px; }
.sc-filters-title { font-size:var(--h-xs); font-weight:500; }
.sc-filter-group { padding:16px 0; }
.sc-filter-group h2 { font-size:var(--h-xs); font-weight:500; }
.sc-filter-group summary:hover h2 { color:var(--fg); }
.sc-filter-group summary::after { width:7px; height:7px; border-width:0 1.5px 1.5px 0; }

/* ---- Active filter chips ---- */
.sc-chips { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0; }
.sc-chips[hidden] { display:none; }
.sc-chip {
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:32px;
  padding:0 6px 0 12px;
  border:1px solid var(--line-2);
  border-radius:var(--r-sm);
  background:var(--surface-2);
  color:var(--fg);
  font:500 13px var(--font);
  cursor:pointer;
  transition:background-color .15s var(--ease);
  animation:none;
}
.sc-chip i { display:inline-flex; align-items:center; justify-content:center; width:20px; height:20px; border-radius:4px; background:none; color:var(--muted); font-style:normal; font-size:13px; line-height:1; }
.sc-chip:hover { background:var(--surface); }
.sc-chip:hover i { background:var(--line); color:var(--fg); }
.sc-chip-clear { padding:0 8px; font-size:12px; font-weight:500; color:var(--muted); text-decoration:underline; text-underline-offset:3px; }
.sc-chip-clear:hover { color:var(--fg); }

/* ---- Product cards: photo on a quiet ground, details below ---- */
ul.products.grid { gap:16px; }
.product-card { border-radius:var(--r-lg); }
.product-card .img { aspect-ratio:4/5; background:var(--surface); border-radius:var(--r-lg); }
.shop:has(#v10:checked) .product-card .img { aspect-ratio:1/1; }
.product-card .img svg { width:40%; color:var(--muted); }
.product-card .img img, .product-card .img svg { transition:none; }
.product-card:hover .img img, .product-card:hover .img svg { transform:none; }
@media(hover:hover) {
  .product-card:hover { transform:none; box-shadow:none; }
}
.product-card .body { gap:4px; padding:12px 14px 14px; }
.product-card .cat { font-size:11px; line-height:16px; font-weight:400; letter-spacing:0; text-transform:none; color:var(--muted); font-family:var(--font-mono); }
.product-card h3 { font-size:var(--h-xs); line-height:var(--lh-xs); font-weight:500; letter-spacing:0; }
.product-card .price { font-size:12px; font-weight:500; letter-spacing:0; }
.product-card .price ins { color:var(--price-sale); }
.product-card .price del { font-size:12px; font-weight:400; }
.product-card h3 a:hover { color:var(--fg); }
.product-card .acts { background:var(--surface-2); transform:none; transition:opacity .15s var(--ease); }
.product-card .acts .sc-btn { min-height:40px; font-size:12px; }

/* Hang tag: badges, categories */
.sc-badge, .sc-product-cat, .sc-modal-info .cat {
  position:relative;
  display:inline-flex;
  align-items:center;
  padding:3px 8px 3px 22px;
  border:1px solid var(--line-2);
  border-radius:var(--r-xs);
  background:var(--surface-2);
  color:var(--fg);
  font-family:var(--font-mono);
  font-size:11px;
  line-height:16px;
  font-weight:500;
  letter-spacing:0;
  text-transform:none;
  box-shadow:none;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
.sc-badge::before, .sc-product-cat::before, .sc-modal-info .cat::before {
  content:"";
  position:absolute;
  inset-inline-start:7px;
  top:50%;
  width:6px;
  height:6px;
  margin-top:-3px;
  border:1px solid var(--line-2);
  border-radius:50%;
  background:var(--surface);
}
.sc-badge { position:absolute; top:12px; inset-inline-start:12px; z-index:1; }
.sc-product-cat, .sc-modal-info .cat { align-self:flex-start; }
.sc-modal-info .cat { width:max-content; color:var(--fg); }

/* Quick actions on the photo */
.sc-ico {
  width:36px;
  height:36px;
  border-radius:var(--r-sm);
  border:1px solid var(--line);
  background:var(--surface-2);
  color:var(--soft);
  box-shadow:none;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
  transition:background-color .15s var(--ease),color .15s var(--ease),opacity .15s var(--ease);
}
.sc-ico:hover { background:var(--surface); color:var(--fg); }
.sc-ico.is-added { background:var(--accent); border-color:var(--accent); color:#fff; }
.sc-ico:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.sc-wish[aria-pressed=true] { color:var(--accent); }
@media(hover:hover) {
  .sc-quick { opacity:1; }
  .sc-quick .sc-ico:not(.sc-wish) { opacity:0; transform:none; }
  .product-card:hover .sc-quick .sc-ico, .product-card:focus-within .sc-quick .sc-ico { opacity:1; }
}
.hz-mosaic .hz-cap { opacity:1; transform:none; }
@media(hover:hover) { .hz-mosaic .hz-cap { opacity:1; transform:none; } }
.hz-tile .hz-cap { transition:none; }

/* Loading: calm dim, no shimmer */
.sc-results.is-loading { opacity:1; }
.sc-results.is-loading .product-card { pointer-events:none; opacity:.6; }
.sc-results.is-loading .product-card::after { content:none; animation:none; }

/* ---- Floating bar ---- */
.sc-bar {
  bottom:calc(12px + env(safe-area-inset-bottom));
  flex-wrap:nowrap;
}
@media(min-width:576px) {
  .sc-bar {
    margin-inline:max(16px,calc((100% - 1616px)/2 + 16px));
    margin-inline-start:auto;
    margin-inline-end:max(16px,calc((100% - 1616px)/2 + 16px));
  }
}
@media(max-width:575.98px) { .sc-bar .sc-btn { flex:1 1 0; min-width:0; } }
.sc-toasts { bottom:calc(var(--sc-bar-h,0px) + 26px + env(safe-area-inset-bottom)); }
.sc-cart-count { font-family:var(--font-mono); font-weight:500; }

/* ---- Panels, drawers ---- */
.sc-panel { border-radius:var(--r-panel) 0 0 var(--r-panel); box-shadow:var(--shadow-pop); }
html[dir=rtl] .sc-panel { border-radius:0 var(--r-panel) var(--r-panel) 0; }
.offcanvas-backdrop { -webkit-backdrop-filter:none; backdrop-filter:none; }
.offcanvas-backdrop.show { opacity:.4; }
.sc-set h3, .sc-panel h3 { letter-spacing:0; }

/* ---- Single product ---- */
.single-product .sc-content { max-width:1320px; margin-inline:auto; width:100%; padding-top:16px; }
.single-product div.product { gap:32px clamp(32px,5vw,72px); grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); }
.single-product div.product>.woocommerce-product-gallery, .woocommerce-product-gallery {
  border:0;
  border-radius:var(--r-lg);
  background:var(--surface);
  box-shadow:none;
}
.woocommerce-product-gallery__image--placeholder { background:var(--surface); }
.single-product div.product>.summary { border:0; border-radius:0; padding:8px 0 0; gap:16px; }
.single-product .summary .sc-product-title { font-weight:500; letter-spacing:-.02em; line-height:1.1; }
.summary .price { font-weight:500; letter-spacing:0; color:var(--fg); padding-bottom:16px; }
.summary .price ins { color:var(--price-sale); }
.summary .price del { font-weight:400; color:var(--muted); }
.woocommerce-product-details__short-description { font-size:13px; line-height:1.6; color:var(--soft); }
.woocommerce-product-gallery__trigger { background:var(--surface-2); box-shadow:none; border:1px solid var(--line); border-radius:var(--r-sm); }
.woocommerce-product-gallery__trigger:hover { background:var(--surface); }
.flex-control-thumbs img { border-radius:var(--r-sm); }
.flex-control-thumbs img.flex-active { box-shadow:0 0 0 2px var(--fg); }
.single-product span.onsale { background:var(--surface-2); color:var(--fg); border:1px solid var(--line-2); border-radius:var(--r-xs); font-family:var(--font-mono); font-weight:500; }
.quantity input.qty, .woocommerce .quantity .qty { font-weight:500; border-color:var(--line-2); border-radius:var(--r-sm); }
.summary .stock {
  display:inline-flex;
  align-items:center;
  gap:8px;
  align-self:flex-start;
  padding:0;
  border-radius:0;
  background:none;
  color:var(--soft);
  font-size:12px;
  font-weight:400;
}
.summary .stock::before { content:""; width:8px; height:8px; border-radius:50%; background:#16a34a; }
.summary .stock.out-of-stock { background:none; color:var(--soft); }
.summary .stock.out-of-stock::before { background:#dc2626; }
:root[data-bs-theme=dark] .summary .stock, :root[data-bs-theme=dark] .summary .stock.out-of-stock { color:var(--soft); }
.product_meta { font-size:12px; color:var(--muted); }
.woocommerce-tabs ul.tabs { gap:4px; margin-bottom:16px; }
.woocommerce-tabs ul.tabs li a { padding:8px 14px; border:0; border-radius:var(--r-sm); background:none; color:var(--soft); font-weight:500; }
.woocommerce-tabs ul.tabs li a:hover { background:var(--surface); color:var(--fg); }
.woocommerce-tabs ul.tabs li.active a { background:var(--surface); border:0; color:var(--fg); box-shadow:inset 0 0 0 1px var(--line); }
.woocommerce-Tabs-panel { border-radius:var(--r-lg); }
section.related>h2, section.up-sells>h2, section.upsells>h2, .cross-sells>h2 { font-weight:500; }

/* ---- Quick view ---- */
.sc-modal-close {
  width:40px;
  height:40px;
  border:1px solid var(--line);
  border-radius:var(--r-sm);
  color:var(--fg);
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
  transition:background-color .15s var(--ease);
}
.sc-modal-close:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.sc-modal-info h2 { font-weight:500; letter-spacing:0; }
.sc-modal-info .price { font-weight:500; }
.sc-modal-info .stock { padding:0; border-radius:0; background:none; color:var(--soft); font-weight:400; display:inline-flex; align-items:center; gap:8px; }
.sc-modal-info .stock::before { content:""; width:8px; height:8px; border-radius:50%; background:#16a34a; }
.sc-modal-info .stock.out::before { background:#dc2626; }
.sc-modal-info .stock.in, .sc-modal-info .stock.out { background:none; color:var(--soft); }
.sc-modal-info .stars { color:var(--fg); }
.sc-modal-meta dd { font-weight:500; }
.sc-tag { background:var(--surface-2); border:1px solid var(--line-2); border-radius:var(--r-xs); color:var(--soft); font-family:var(--font-mono); font-size:11px; font-weight:400; padding:3px 8px; }
.sc-modal-thumbs button.is-on { border-color:var(--fg); }

/* ---- Specificity fixes (body.woocommerce h2 would otherwise win) ---- */
.sc-collection .sc-filters-title { font-size:var(--h-xs); font-weight:500; }
.sc-collection .sc-filter-group h2 { font-size:var(--h-xs); font-weight:500; }
.sc-collection .woocommerce-Tabs-panel>h2 { font-size:var(--h-m); font-weight:500; }
.sc-toolbar .sc-toolbar-count { align-self:center; margin:0; min-width:0; min-height:0; line-height:1; }
@media(min-width:1100px) {
  .single-product .sc-title-row { max-width:1320px; margin-inline:auto; width:100%; box-sizing:border-box; padding-inline:32px; }
}

/* ======================================================================
   Home page: Horizons header + Elementor home colours (light and dark)
   Header rules are scoped to .home. The Elementor sections (hz-*) take their
   colours from the theme tokens, so they follow the palette preset, the
   Customizer colours and the light / dark switch. !important is needed to
   beat the colours Elementor prints for each element.
   ====================================================================== */

/* ---- Header: floats over the page; each group sits on its own glass chip,
        so it stays readable on the hero photo, the mosaic and in both modes ---- */
.home .sc-header {
  position:fixed;
  left:0; right:0;
  background:transparent !important;
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
  border-bottom:0 !important;
  box-shadow:none !important;
}
.home .sc-header .sc-page-head {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  padding:14px 32px 6px;
  background:none;
}
.home .sc-header .sc-page-icon {
  border-radius:var(--r);
  background:var(--surface);
  color:var(--fg);
  border:1px solid var(--line);
  overflow:hidden;
}
.home .sc-header .sc-page-icon:has(.custom-logo-link) { background:var(--bg); }
.home .sc-header .sc-page-title,
.home .sc-header .sc-tabs {
  background:color-mix(in srgb,var(--bg) 84%,transparent) !important;
  -webkit-backdrop-filter:blur(14px) saturate(1.2) !important;
  backdrop-filter:blur(14px) saturate(1.2) !important;
  border:1px solid var(--line) !important;
}
.home .sc-header .sc-page-title {
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
  padding:8px 16px;
  border-radius:var(--r);
}
.home .sc-header .sc-page-head h1 {
  font-size:clamp(14px,.5vw + 11.5px,18px) !important;
  line-height:1.15;
  font-weight:600;
  color:var(--fg);
}
.home .sc-header .woocommerce-breadcrumb,
.home .sc-header .woocommerce-breadcrumb a { color:var(--muted); font-size:12px; }
.home .sc-header .woocommerce-breadcrumb a:hover { color:var(--fg); }
.home .sc-header .sc-head-actions { margin-inline-start:auto; }
.home .sc-header .sc-tabs {
  display:flex;
  flex:none;
  width:fit-content;
  max-width:calc(100% - 64px);
  margin:6px 32px 0;
  padding:4px;
  border-radius:999px;
}
.home .sc-header .sc-tabs .sc-menu-list { gap:4px; }
.home .sc-header .sc-tabs .sc-menu-list a {
  padding:8px 16px;
  border-radius:999px;
  font-weight:600;
  color:var(--soft);
  box-shadow:none !important;
}
.home .sc-header .sc-tabs .sc-menu-list a:hover { background:var(--surface); color:var(--fg); }
.home .sc-header .sc-tabs .sc-menu-list .current-menu-item>a,
.home .sc-header .sc-tabs .sc-menu-list .current_page_item>a,
.home .sc-header .sc-tabs .sc-menu-list .current-menu-ancestor>a { background:var(--surface); color:var(--fg); }
.home .sc-header .sc-tabs .sc-menu-list .current-menu-item>a::before,
.home .sc-header .sc-tabs .sc-menu-list .current_page_item>a::before,
.home .sc-header .sc-tabs .sc-menu-list .current-menu-ancestor>a::before {
  content:"";
  width:6px; height:6px;
  margin-inline-end:8px;
  border-radius:50%;
  background:var(--accent);
}
.home .sc-header .sc-settings-btn { background:color-mix(in srgb,var(--bg) 84%,transparent); -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); border-color:var(--line); color:var(--soft); }
.home .sc-header .sc-settings-btn:hover { background:var(--surface); color:var(--fg); }
@media(max-width:767.98px) {
  .home .sc-header .sc-page-head { flex-wrap:nowrap; }
  .home .sc-header .sc-tabs { margin:4px 16px 0; max-width:calc(100% - 32px); }
}

/* ---- Hero: no colour, overlay, font or button overrides any more. Everything set on the hero in
        Elementor (background, overlay, title, text, button) is what the visitor sees. ---- */

/* ---- Mosaic: tile ground, caption chip and arrow follow the theme ---- */
.hz-mosaic .hz-tile { background-color:var(--surface); }
.hz-mosaic .hz-cap { background:color-mix(in srgb,var(--bg) 94%,transparent); border:1px solid var(--line); color:var(--fg); }
.hz-mosaic .hz-cap svg { color:var(--muted); }
.hz-mosaic .hz-cap .elementor-heading-title { color:var(--fg); }
/* Tile captions are interface labels: Manrope, even when Elementor Site Settings give h1-h6 a serif. A font set on the widget itself still wins. */
.hz-cap .elementor-heading-title { font-family:var(--font); }
.hz-mosaic .hz-cap .elementor-icon,
.hz-mosaic .hz-cap .elementor-icon i,
.hz-mosaic .hz-cap .elementor-icon svg { color:var(--muted); fill:currentColor; }
.hz-mosaic .hz-tile:hover .hz-cap .elementor-icon,
.hz-mosaic .hz-tile:hover .hz-cap .elementor-icon i,
.hz-mosaic .hz-tile:hover .hz-cap .elementor-icon svg,
.hz-mosaic .hz-tile:focus-visible .hz-cap .elementor-icon { color:var(--hover-text,var(--accent)); }

/* ---- About ---- */
.hz-about { background-color:var(--bg); border-top:1px solid var(--line); }
.hz-about .elementor-heading-title { color:var(--fg); }
.hz-about .elementor-widget-text-editor,
.hz-about .elementor-widget-text-editor p { color:var(--soft); }

/* ---- Footer strip: inverted ink in light mode, a raised dark panel in dark mode ---- */
.hz-about-footer {
  --hz-ft-bg:var(--c-primary);
  --hz-ft-fg:var(--bg);
  --hz-ft-soft:color-mix(in srgb,var(--hz-ft-fg) 76%,var(--hz-ft-bg));
  --hz-ft-line:color-mix(in srgb,var(--hz-ft-fg) 20%,var(--hz-ft-bg));
  background-color:var(--hz-ft-bg);
}
:root[data-bs-theme="dark"] .hz-about-footer {
  --hz-ft-bg:var(--surface);
  --hz-ft-fg:var(--fg);
  --hz-ft-soft:var(--soft);
  --hz-ft-line:var(--line);
  border-top:1px solid var(--line);
}
.hz-about-footer .elementor-widget-text-editor,
.hz-about-footer .elementor-widget-text-editor p,
.hz-about-footer .elementor-icon,
.hz-about-footer .elementor-icon i,
.hz-about-footer .elementor-icon svg { color:var(--hz-ft-fg); fill:currentColor; }
.hz-about-footer .elementor-button { background-color:transparent; color:var(--hz-ft-soft); }
.hz-about-footer .elementor-button:hover,
.hz-about-footer .elementor-button:focus-visible { color:var(--hz-ft-fg); }
.hz-about-footer .elementor-divider-separator { border-top-color:var(--hz-ft-line); }

/* ======================================================================
   3.9.2 fixes
   ====================================================================== */
/* Home (Bootstrap mosaic): the fixed header floats over the page, so the hero starts below it. */
.home .sc-hero { padding-top:calc(var(--adminbar,0px) + 150px); }
/* Home: keep the last mosaic row clear of the sticky bottom bar. */
.home .sc-content--bleed { padding-bottom:calc(96px + env(safe-area-inset-bottom)); }
/* Wishlisted heart stays white on the accent button (it was accent on accent). */
.sc-wish.is-active,
.sc-wish.is-active[aria-pressed=true],
.sc-wish.is-active:hover { background:var(--accent); border-color:var(--accent); color:#fff; }
/* 10-per-row grid: small badge at the bottom-left of the photo, away from the heart. */
.shop:has(#v10:checked) .sc-badge { top:auto; bottom:4px; font-size:9px; padding:1px 5px; }
.shop:has(#v10:checked) .sc-badge::before { display:none; }
/* Toasts on phones: the action sits under the text so the title keeps the full width. */
@media(max-width:575.98px) {
  .sc-toast { flex-wrap:wrap; }
  .sc-toast-body { flex:1 1 calc(100% - 90px); }
  .sc-toast-act { order:5; flex:1 0 100%; margin-top:2px; }
}

/* ======================================================================
   v3.9.4 – bottom whitespace + floating widget colours
   ====================================================================== */

/* 1. Footer whitespace. The floating bar already takes its own row at the end of the page
      (it is sticky, in flow), so the content above it only needs a small gap. */
.hz-mosaic { padding-bottom:16px; }
.sc-bar { margin-top:0; margin-bottom:12px; }
@media(max-width:575.98px) {
  .sc-main { padding-bottom:24px; }
}

/* 2. Floating widgets (bottom bar + toasts) share one set of tokens taken from the palette.
      Light mode: ink-coloured bar so it stands out from the pale page.
      Dark mode: raised panel with a visible edge. */

/* Bottom bar */
.sc-bar {
  border-color:var(--float-line);
}
.sc-bar .sc-btn:not(.sec):hover { filter:brightness(1.12); color:#fff; }
.sc-bar .sc-btn:not(.sec) .sc-cart-count { background:#fff; color:var(--accent); }
.sc-bar .sc-btn[disabled] { opacity:.55; }

/* Toasts */
.sc-toast.is-info .sc-toast-ico { background:var(--accent); color:#fff; }

/* ======================================================================
   v3.9.5 – Home header: logo chip matches the height of the title chip
   ====================================================================== */
.home .sc-header .sc-page-icon {
  /* same height as the "Site - Home" chip */
  /* stays square */
  display:flex;
  align-items:center;
  justify-content:center;
}
.home .sc-header .sc-page-icon svg { width:36px; height:36px; }
@media(max-width:767.98px) {
  .home .sc-header .sc-page-icon { min-width:52px; min-height:52px; }
  .home .sc-header .sc-page-icon svg { width:28px; height:28px; }
}

/* ======================================================================
   v3.9.6 – Floating bar: no reserved row under the page; colours follow the active theme
   ====================================================================== */

/* 1. The bar floats over the page (fixed) instead of adding an empty row after the footer. */
.sc-bar {
  position:fixed;
  inset-block-end:calc(12px + env(safe-area-inset-bottom));
  inset-inline:12px;
  width:auto;
  margin:0;
  z-index:1030;
}
@media(min-width:576px) {
  .sc-bar {
    inset-inline-start:auto;
    inset-inline-end:max(16px,calc((100vw - 1616px)/2 + 16px));
    width:fit-content;
    margin:0;
    padding:8px;
  }
}
/* Pages end with their own padding so the last row never hides behind the bar; the home page
   ends with its footer strip and needs none. */
.sc-main, .sc-content { padding-bottom:88px; }
.sc-home .sc-content--bleed { padding-bottom:0; }
.woocommerce-checkout .sc-main, .woocommerce-checkout .sc-content { padding-bottom:88px; }
.sc-collection { flex:1 0 auto; }

/* 2. Floating widgets use the active theme: panel surface, text colour, borders and accent.
      Works for every preset, custom colours and the light / dark switch. */
:root, :root[data-bs-theme="light"], :root[data-bs-theme="dark"] {
  --float-bg:var(--surface-2);
  --float-fg:var(--fg);
  --float-line:var(--line-2);
  --float-sec-bg:var(--surface);
  --float-sec-hover:color-mix(in srgb, var(--surface), var(--fg) 8%);
  --float-muted:var(--muted);
  --float-shadow:0 0 0 1px rgba(var(--fg-rgb),.04), 0 14px 32px -12px rgba(var(--fg-rgb),.38);
}
.sc-bar, [data-bs-theme=light] .sc-bar {
  background:var(--float-bg);
  color:var(--float-fg);
  border:1px solid var(--float-line);
  box-shadow:var(--float-shadow);
}
.sc-bar .sc-btn.sec:hover, .sc-bar .sc-btn.sec:focus-visible {
  color:var(--float-fg);
  filter:none;
}
.sc-bar .sc-btn:not(.sec) { background:var(--accent); color:#fff; border:1px solid transparent; }
.sc-bar .sc-btn.sec .sc-cart-count { background:var(--accent); color:#fff; }
.sc-toast {
  background:var(--float-bg);
  color:var(--float-fg);
  border-color:var(--float-line);
  box-shadow:var(--float-shadow);
}
.sc-toast-text { color:var(--float-muted); }
.sc-toast-act { background:var(--float-sec-bg); color:var(--float-fg); }
.sc-toast-act:hover, .sc-toast-act:focus-visible { background:var(--accent); color:#fff; }
.sc-toast-x { color:var(--float-muted); }
.sc-toast-x:hover { background:var(--float-sec-bg); color:var(--float-fg); }

/* ======================================================================
   v3.9.10 – Quick view category badge: same hang tag as the product cards
   (the older #sc-modal pill rule was overriding the tag's padding, so the hole sat on the text)
   ====================================================================== */
#sc-modal .sc-modal-info .cat {
  position:relative;
  display:inline-flex;
  align-items:center;
  align-self:flex-start;
  width:max-content;
  max-width:100%;
  box-sizing:border-box;
  padding:3px 10px 3px 24px;
  border:1px solid var(--line-2);
  border-radius:var(--r-xs);
  background:var(--surface-2);
  color:var(--fg);
  font-family:var(--font-mono);
  font-size:11px;
  line-height:16px;
  font-weight:500;
  letter-spacing:0;
  text-transform:none;
  white-space:nowrap;
}
#sc-modal .sc-modal-info .cat::before {
  content:"";
  position:absolute;
  inset-inline-start:8px;
  top:50%;
  width:6px;
  height:6px;
  margin:-3px 0 0;
  border:1px solid var(--line-2);
  border-radius:50%;
  background:var(--surface);
}
#sc-modal .sc-modal-info .cat:empty { display:none; }

/* ======================================================================
   v3.10.1 – Mobile enhancements
   ====================================================================== */

/* 1. Product gallery and summary always use the full column (WooCommerce's float / 48% width
      was shrinking the image to half the screen). */
.single-product div.product>.woocommerce-product-gallery,
.single-product div.product>.summary,
.single-product div.product div.images,
.single-product div.product div.summary {
  float:none !important;
  width:100% !important;
  max-width:none;
  margin-inline:0;
  box-sizing:border-box;
}
.single-product .woocommerce-product-gallery__image img { width:100%; height:auto; object-fit:cover; }

/* 2. Never let the page scroll sideways, and keep tapping comfortable */
html, body { overflow-x:clip; }
a, button, [role=button], label, select, summary { touch-action:manipulation; -webkit-tap-highlight-color:transparent; }
input, select, textarea { font-size:max(16px,1em); }   /* stops iOS zooming into fields */
/* Touch screens: every text field stays at 16px (smaller sizes make iOS zoom the page on focus), whatever the 80% type scale says */
@media(pointer:coarse) {
  :root:root :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=range]) { font-size:16px; }
}

/* 3. Room under single-product pages for BOTH pinned rows (add-to-cart + bar) */

/* 4. Phones */
@media(max-width:575.98px) {
  .sc-main, .sc-content, .sc-page-head { padding-inline:16px; }
  .single-product .sc-content { padding-top:8px; }
  .single-product div.product { gap:18px; }

  /* gallery: square, rounded, edge to edge of the content column */
  .single-product div.product>.woocommerce-product-gallery { border-radius:var(--r-lg); }
  .woocommerce-product-gallery__image--placeholder img { width:46%; }
  .single-product span.onsale { top:10px; inset-inline-start:10px; }

  /* summary */
  .single-product div.product>.summary { padding:0; gap:12px; }
  .single-product .summary .sc-product-title { font-size:var(--h-xl); }
  .single-product .summary .price { font-size:18px; }
  .woocommerce-tabs ul.tabs { overflow-x:auto; flex-wrap:nowrap; scrollbar-width:none; }
  .woocommerce-tabs ul.tabs::-webkit-scrollbar { display:none; }
  .woocommerce-tabs ul.tabs li a { white-space:nowrap; }

  /* the two pinned rows: tighter so they take about 120px instead of 170px */
  .sc-bar { padding:6px; border-radius:var(--dock-r); gap:6px; inset-inline:10px; inset-block-end:calc(8px + env(safe-area-inset-bottom)); }
  .sc-bar .sc-btn { min-height:44px; padding-inline:10px; font-size:13px; }
  .single-product .summary form.cart:not(.variations_form):not(.grouped_form),
  .single-product .summary .woocommerce-variation-add-to-cart {
    padding:6px !important;
    gap:6px;
    border-radius:var(--dock-r);
    bottom:calc(var(--sc-bar-offset,76px) + 6px);
  }
  .single-product .summary .quantity input.qty { width:64px; min-height:46px; }
  .single-product .summary form.cart .single_add_to_cart_button { min-height:46px; }
  .single-product .sc-main { padding-bottom:calc(var(--sc-bar-offset,76px) + 84px); }

  /* related products: two per row, comfortable gaps */
  .single-product .related ul.products, .single-product .up-sells ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }

  /* quick view opens as a sheet: single column, scrolls inside */
  .sc-modal-grid { grid-template-columns:minmax(0,1fr); }
  #sc-modal .modal-dialog { margin:8px; }
  #sc-modal .modal-content { max-height:calc(100dvh - 16px); overflow:auto; }
}

/* 5. Very small phones */
@media(max-width:374.98px) {
  .sc-bar .sc-btn span:not(.sc-cart-count) { font-size:12px; }
}

/* ======================================================================
   Product page on phones / small tablets: one full-width column.
   The two-column grid set in the "Single product" block above is declared
   after the earlier mobile rules, so it was winning and the gallery only
   filled the left half of the screen. Keep this block last.
   ====================================================================== */
@media(max-width:767.98px) {
  .single-product div.product { grid-template-columns:minmax(0,1fr); }
  .single-product div.product>.woocommerce-product-gallery,
  .single-product div.product>.summary { grid-column:1 / -1; position:static; }
  .single-product div.product>.woocommerce-product-gallery { grid-row:1; }
  .single-product div.product>.summary { grid-row:2; }
}

/* ======================================================================
   v3.10.2 – Control polish: one size, one radius, one padding, clear hierarchy
   Applies to the pinned "quantity + Add to cart" row and the floating
   Wishlist / Cart bar so they read as one family. Keep this block last.
   ====================================================================== */
:root {
  --ctl-h:48px;           /* every button / input in those two blocks */
  --ctl-r:var(--r-sm);           /* controls */
  --card-r:var(--r-lg);          /* floating containers */
  --card-pad:12px;        /* container padding */
  --card-gap:8px;
  --ctl-border:color-mix(in srgb, var(--fg) 26%, var(--surface-2)); /* >= 3:1 on white */
}

/* 1. Containers: same radius, padding, border and shadow (no blur on one and solid on the other) */
.sc-bar,
.single-product .summary form.cart:not(.variations_form):not(.grouped_form),
.single-product .summary .woocommerce-variation-add-to-cart {
  padding:var(--card-pad);
  gap:var(--card-gap);
  border-radius:var(--dock-r);
  border:1px solid var(--line-2);
  background:var(--surface-2);
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
  box-shadow:var(--float-shadow);
}

/* 2. Controls: one height, one radius, one weight */
.sc-bar .sc-btn,
.single-product .summary .single_add_to_cart_button,
.single-product .summary .quantity input.qty {
  min-height:var(--ctl-h);
  height:var(--ctl-h);
  border-radius:var(--r-sm);
  font-size:13px;
  line-height:1.2;
}
.sc-bar .sc-btn,
.single-product .summary .single_add_to_cart_button { font-weight:600; letter-spacing:0; }
.single-product .summary .quantity input.qty { width:76px; font-weight:600; text-align:center; font-variant-numeric:tabular-nums; }

/* 3. Quantity field: visible border, clear focus */
.single-product .summary .quantity input.qty,
.quantity input.qty {
  background:var(--surface-2);
  border:1px solid var(--ctl-border);
  box-shadow:none;
}
.single-product .summary .quantity input.qty:hover { border-color:var(--fg); }
.single-product .summary .quantity input.qty:focus {
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(var(--accent-rgb),.22);
  outline:0;
}

/* 4. Hierarchy: Add to cart is the one primary action. "Cart" becomes a tinted secondary;
      the checkout "Place order" button keeps the solid primary look. */
.sc-bar .sc-btn:not(.sec):not(#sc-place-order) {
  background:rgba(var(--accent-rgb),.10);
  color:var(--accent);
  border:1px solid rgba(var(--accent-rgb),.35);
  box-shadow:none;
}
.sc-bar .sc-btn:not(.sec):not(#sc-place-order):hover,
.sc-bar .sc-btn:not(.sec):not(#sc-place-order):focus-visible {
  background:rgba(var(--accent-rgb),.18);
  color:var(--accent);
  filter:none;
}
[data-bs-theme=dark] .sc-bar .sc-btn:not(.sec):not(#sc-place-order) { color:var(--hover-text); border-color:rgba(127,176,255,.45); }
.sc-bar .sc-btn:not(.sec):not(#sc-place-order) .sc-cart-count { background:var(--accent); color:#fff; }
.sc-bar #sc-place-order { background:var(--accent); color:#fff; border:1px solid transparent; }

/* 5. Wishlist: a real secondary button (white fill, visible border), not a disabled-looking beige one */
.sc-bar .sc-btn.sec {
  background:var(--surface-2);
  color:var(--fg);
  border:1px solid var(--ctl-border);
  box-shadow:none;
}
.sc-bar .sc-btn.sec:hover,
.sc-bar .sc-btn.sec:focus-visible {
  background:var(--surface);
  border-color:var(--fg);
}

/* 6. Counter badge: centred, with room between label and badge */
.sc-bar .sc-btn { gap:10px; align-items:center; justify-content:center; }
.sc-bar .sc-cart-count {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:24px;
  height:24px;
  padding:0 7px;
  border-radius:999px;
  font-size:11px;
  font-weight:600;
  line-height:1;
  font-variant-numeric:tabular-nums;
}

/* 7. Feedback and accessibility */
.single-product .summary .single_add_to_cart_button:hover { background:var(--accent-hover); }
.single-product .summary .single_add_to_cart_button:active,
.sc-bar .sc-btn:active { transform:scale(.98); }
.single-product .summary .single_add_to_cart_button:focus-visible,
.sc-bar .sc-btn:focus-visible,
.single-product .summary .quantity input.qty:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
@media (prefers-reduced-motion:reduce) {
  .sc-bar .sc-btn, .single-product .summary .single_add_to_cart_button { transition:none; }
  .single-product .summary .single_add_to_cart_button:active, .sc-bar .sc-btn:active { transform:none; }
}
@media(max-width:374.98px) {
  .single-product .summary .quantity input.qty { width:60px; }
  .sc-bar .sc-btn { gap:6px; padding-inline:10px; }
}

/* ======================================================================
   v3.10.3 – Header account control (Log in / Sign up, or account menu)
   ====================================================================== */
.sc-head-actions { display:flex; align-items:center; }
.sc-account {
  display:inline-flex;
  align-items:center;
  gap:8px;
  height:36px;
  padding:0 12px;
  border:1px solid var(--line-2);
  border-radius:var(--r-sm);
  background:var(--surface-2);
  color:var(--fg);
  font:inherit;
  font-size:12px;
  line-height:1;
  white-space:nowrap;
  cursor:pointer;
  transition:background-color .15s var(--ease),border-color .15s var(--ease),color .15s var(--ease);
}
.sc-account:hover, .sc-account[aria-expanded="true"] { background:var(--surface); color:var(--fg); border-color:var(--fg); }
.sc-account:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.sc-account svg { flex:none; }
/* Guest "Log in": fully transparent, theme-aware (text/border follow light/dark tokens) */
.sc-account--guest { background:transparent; border-color:var(--line-2); color:var(--fg); }
.sc-account--guest:hover { background:transparent; border-color:var(--accent); color:var(--accent); }
.sc-account--guest:active { background:transparent; border-color:var(--accent-hover); color:var(--accent-hover); }
.sc-account--guest:focus-visible { background:transparent; }
.sc-account-label { max-width:14ch; overflow:hidden; text-overflow:ellipsis; }
.sc-account-wrap { position:relative; }
.sc-account-menu {
  min-width:200px;
  margin-top:8px !important;
  padding:6px;
  border:1px solid var(--line-2);
  border-radius:var(--r);
  background:var(--surface-2);
  box-shadow:var(--float-shadow);
  z-index:1040;
}
.sc-account-menu .dropdown-item { padding:10px 12px; border-radius:var(--r-sm); color:var(--fg); font-size:12px; font-weight:500; }
.sc-account-menu .dropdown-item:hover, .sc-account-menu .dropdown-item:focus { background:var(--surface); color:var(--fg); }
.sc-account-menu .dropdown-divider { margin:6px 4px; border-color:var(--line); }
/* Phones: icon-only, 36px square (44px on touch) so the header row never wraps */
@media(max-width:575.98px) {
  .sc-account { width:36px; padding:0; justify-content:center; }
  .sc-account-label { display:none; }
}
@media(pointer:coarse) { .sc-account { height:44px; min-width:44px; } }

/* ======================================================================
   Home floating bar (Categories / Our store): same size and UI colours as the
   Home / Shop header menu pill (translucent blurred surface, 4px padding,
   pill-shaped 8px 16px items, soft text, surface highlight on hover/primary).
   ====================================================================== */
.home .sc-bar {
  gap:4px;
  padding:4px;
  border-radius:999px;
  background:color-mix(in srgb,var(--bg) 84%,transparent);
  -webkit-backdrop-filter:blur(14px) saturate(1.2);
  backdrop-filter:blur(14px) saturate(1.2);
  border:1px solid var(--line);
  box-shadow:none;
}
.home .sc-bar .sc-btn,
.home .sc-bar .sc-btn.sec,
.home .sc-bar .sc-btn:not(.sec) {
  min-height:0;
  padding:8px 16px;
  gap:8px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:var(--soft);
  font-size:13px;
  font-weight:600;
  line-height:normal;
  filter:none;
  box-shadow:none;
}
.home .sc-bar .sc-btn svg { width:18px; height:18px; }
.home .sc-bar .sc-btn:hover,
.home .sc-bar .sc-btn.sec:hover,
.home .sc-bar .sc-btn:not(.sec):hover,
.home .sc-bar .sc-btn.sec:focus-visible { background:var(--surface); color:var(--fg); filter:none; }
/* primary item ("Our store") uses the active-tab look: surface fill, full-strength text */
.home .sc-bar .sc-btn:not(.sec) { background:var(--surface); color:var(--fg); }
.home .sc-bar .sc-btn:not(.sec) svg { color:var(--accent); }
.home .sc-bar .sc-btn:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }

/* ======================================================================
   Unified pill UI: header Log in + Settings, floating bars (all pages) and the
   pinned add-to-cart row now share the Home / Shop menu look: pill radius,
   thin --line border, translucent blurred surface, soft text, surface hover.
   ====================================================================== */

/* --- Header: Log in (stays 100% transparent) + Settings --- */
:root:root .sc-header .sc-account,
:root:root .sc-header .sc-settings-btn {
  box-sizing:border-box;
  border:1px solid var(--line);
  border-radius:999px;
  box-shadow:none;
  transition:background-color .15s var(--ease),border-color .15s var(--ease),color .15s var(--ease),transform .3s;
}
:root:root .sc-header .sc-account--guest { color:var(--fg); }
:root:root .sc-header .sc-account--guest:hover,
:root:root .sc-header .sc-account--guest:active { background:transparent; border-color:var(--fg); color:var(--fg); }
:root:root .sc-header .sc-account--user {
  background:color-mix(in srgb,var(--bg) 84%,transparent);
  -webkit-backdrop-filter:blur(14px) saturate(1.2);
  backdrop-filter:blur(14px) saturate(1.2);
  color:var(--fg);
}
:root:root .sc-header .sc-account--user:hover,
:root:root .sc-header .sc-account--user[aria-expanded="true"] { background:var(--surface); border-color:var(--line-2); color:var(--fg); }
:root:root .sc-header .sc-settings-btn {
  padding:0;
  background:color-mix(in srgb,var(--bg) 84%,transparent);
  -webkit-backdrop-filter:blur(14px) saturate(1.2);
  backdrop-filter:blur(14px) saturate(1.2);
  color:var(--soft);
}
:root:root .sc-header .sc-settings-btn:hover { background:var(--surface); border-color:var(--line-2); color:var(--fg); }
:root:root .sc-header .sc-account:focus-visible,
:root:root .sc-header .sc-settings-btn:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }

/* --- Floating bars on every page (Wishlist / Cart, Categories / Our store) --- */
:root:root .sc-bar {
  gap:4px;
  padding:4px;
  border-radius:999px;
  background:color-mix(in srgb,var(--bg) 84%,transparent);
  -webkit-backdrop-filter:blur(14px) saturate(1.2);
  backdrop-filter:blur(14px) saturate(1.2);
  border:1px solid var(--line);
  box-shadow:var(--shadow-pop);
}
:root:root .sc-bar .sc-btn:not(#sc-place-order) {
  height:auto;
  min-height:0;
  padding:8px 16px;
  gap:8px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:var(--soft);
  font-size:13px;
  font-weight:600;
  line-height:normal;
  filter:none;
  box-shadow:none;
}
:root:root .sc-bar .sc-btn:not(#sc-place-order):hover,
:root:root .sc-bar .sc-btn.sec:focus-visible { background:var(--surface); color:var(--fg); filter:none; }
:root:root .sc-bar .sc-btn:not(.sec):not(#sc-place-order) { background:var(--surface); color:var(--fg); }
:root:root .sc-bar .sc-btn:not(.sec):not(#sc-place-order) svg { color:var(--accent); }
/* Place order stays a real call to action, in pill shape */
:root:root .sc-bar #sc-place-order { height:auto; min-height:0; padding:8px 20px; border-radius:var(--btn-r); font-size:13px; }
:root:root .sc-bar .sc-btn svg { width:18px; height:18px; }
:root:root .sc-bar .sc-btn .sc-cart-count { background:var(--accent); color:#fff; }

/* --- Pinned add-to-cart row --- */
:root:root .single-product .summary form.cart:not(.variations_form):not(.grouped_form),
:root:root .single-product .summary .woocommerce-variation-add-to-cart {
  gap:4px;
  padding:4px;
  border-radius:calc(var(--btn-r) + 4px);
  border:1px solid var(--line);
}
:root:root .single-product .summary .quantity input.qty {
  height:42px;
  min-height:42px;
  width:68px;
  border:1px solid var(--line);
  border-radius:var(--btn-r);
  background:var(--surface);
  color:var(--fg);
  font-size:13px;
  font-weight:600;
}
:root:root .single-product .summary form.cart .single_add_to_cart_button,
:root:root .single-product .summary .woocommerce-variation-add-to-cart .single_add_to_cart_button {
  height:42px;
  min-height:42px;
  border-radius:var(--btn-r);
  font-size:13px;
  font-weight:600;
}

/* ======================================================================
   Phones: icon-only Log in / account button is a clean 44px circle (the
   desktop pill padding was squeezing the icon out), header row stays on one
   line, and the floating bar is a full-width pill with equal halves.
   ====================================================================== */
@media(max-width:575.98px) {
  :root:root .sc-header .sc-account,
  :root:root .sc-header .sc-settings-btn {
    width:44px;
    min-width:44px;
    height:44px;
    min-height:44px;
    padding:0;
    gap:0;
    justify-content:center;
    flex:none;
  }
  :root:root .sc-header .sc-account-label { display:none; }
  :root:root .sc-header .sc-head-actions { gap:8px; flex:none; }

  :root:root .sc-bar {
    inset-inline:12px;
    width:auto;
    padding:4px;
    gap:4px;
    inset-block-end:calc(12px + env(safe-area-inset-bottom));
  }
  :root:root .sc-bar .sc-btn:not(#sc-place-order) {
    flex:1 1 0;
    min-width:0;
    justify-content:center;
    padding:12px 14px;
    min-height:44px;
  }
  :root:root .sc-bar #sc-place-order { flex:1 1 auto; min-height:44px; justify-content:center; }
  :root:root .single-product .summary form.cart:not(.variations_form):not(.grouped_form),
  :root:root .single-product .summary .woocommerce-variation-add-to-cart { padding:4px; gap:4px; }
  :root:root .single-product .summary .quantity input.qty,
  :root:root .single-product .summary form.cart .single_add_to_cart_button { height:44px; min-height:44px; }
}

/* ======================================================================
   Product page – Description / Additional information / Reviews
   Tabs become the same segmented pill as the Home / Shop menu, and the panel
   is a calm card with a readable line length. Colours follow the theme tokens.
   ====================================================================== */
:root:root .woocommerce-tabs { margin-top:32px; }
:root:root .woocommerce-tabs ul.tabs {
  display:inline-flex;
  max-width:100%;
  gap:4px;
  margin:0 0 16px;
  padding:4px;
  border:1px solid var(--line);
  border-radius:calc(var(--btn-r) + 4px);
  background:color-mix(in srgb,var(--bg) 84%,transparent);
  -webkit-backdrop-filter:blur(14px) saturate(1.2);
  backdrop-filter:blur(14px) saturate(1.2);
}
:root:root .woocommerce-tabs ul.tabs::before,
:root:root .woocommerce-tabs ul.tabs::after { content:none; display:none; }
:root:root .woocommerce-tabs ul.tabs li a {
  padding:8px 18px;
  border:0;
  border-radius:var(--btn-r);
  background:transparent;
  color:var(--soft);
  font-size:13px;
  font-weight:600;
  box-shadow:none;
  transition:background-color .15s var(--ease),color .15s var(--ease);
}
:root:root .woocommerce-tabs ul.tabs li a:hover { background:var(--surface); color:var(--fg); }
:root:root .woocommerce-tabs ul.tabs li.active a {
  background:var(--surface);
  color:var(--fg);
  box-shadow:none;
}
:root:root .woocommerce-tabs ul.tabs li.active a::before {
  content:"";
  display:inline-block;
  width:6px;
  height:6px;
  margin-inline-end:8px;
  border-radius:50%;
  background:var(--accent);
  vertical-align:middle;
}
:root:root .woocommerce-tabs ul.tabs li a:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }

/* Panel card */
:root:root .woocommerce-Tabs-panel {
  padding:clamp(20px,3vw,36px);
  border:1px solid var(--line) !important;
  border-radius:var(--r-lg);
  background:var(--surface-2) !important;
  color:var(--soft);
  font-size:13px;
  line-height:1.75;
}
:root:root .woocommerce-Tabs-panel > h2:first-child {
  margin:0 0 14px;
  color:var(--fg);
  font-size:var(--h-m);
  font-weight:600;
  letter-spacing:0;
}
:root:root .woocommerce-Tabs-panel > h2:first-child + p,
:root:root .woocommerce-Tabs-panel > p { max-width:72ch; margin:0 0 1em; }
:root:root .woocommerce-Tabs-panel > p:last-child { margin-bottom:0; }
:root:root .woocommerce-Tabs-panel a:not(.button) { color:var(--fg); text-decoration-color:var(--accent); text-underline-offset:3px; }
:root:root .woocommerce-Tabs-panel a:not(.button):hover { color:var(--accent); }

/* Additional information table */
:root:root .woocommerce-Tabs-panel table { max-width:640px; border-collapse:collapse; }
:root:root .woocommerce-Tabs-panel table th,
:root:root .woocommerce-Tabs-panel table td { padding:12px 0; border-bottom:1px solid var(--line); }
:root:root .woocommerce-Tabs-panel table tr:last-child th,
:root:root .woocommerce-Tabs-panel table tr:last-child td { border-bottom:0; }
:root:root .woocommerce-Tabs-panel table th { color:var(--muted); font-weight:600; }
:root:root .woocommerce-Tabs-panel table td { color:var(--fg); }

/* Related products divider + heading */
:root:root section.related, :root:root section.up-sells, :root:root section.upsells { margin-top:40px; padding-top:32px; }
:root:root section.related > h2, :root:root section.up-sells > h2, :root:root section.upsells > h2 {
  margin:0 0 20px;
  font-size:var(--h-l);
  font-weight:600;
  letter-spacing:0;
  color:var(--fg);
}

@media(max-width:575.98px) {
  :root:root .woocommerce-tabs ul.tabs { display:flex; overflow-x:auto; scrollbar-width:none; }
  :root:root .woocommerce-tabs ul.tabs li a { padding:10px 16px; white-space:nowrap; }
  :root:root .woocommerce-Tabs-panel { padding:20px 18px; border-radius:var(--r-lg); }
}

/* ======================================================================
   Wishlist v2: heart buttons (cards, product page, quick view) + drawer
   ====================================================================== */
:root { --wish:#E11D48; --wish-strong:#BE123C; --wish-rgb:225,29,72; }

/* Heart: neutral at rest, rose when saved, with a small pop */
.sc-wish { position:relative; transition:background .15s,color .15s,transform .15s var(--ease,ease),box-shadow .15s; }
.sc-wish svg { transition:fill .15s,transform .2s var(--ease,ease); }
.sc-wish:active { transform:scale(.92); }
.sc-wish:focus-visible { outline:3px solid rgba(var(--wish-rgb),.5); outline-offset:2px; }
.sc-wish.is-pop svg { animation:sc-heart-pop .42s var(--ease,ease); }
@keyframes sc-heart-pop {
  0% { transform:scale(1); }
  35% { transform:scale(1.45); }
  65% { transform:scale(.9); }
  100% { transform:scale(1); }
}

/* Product page: heart sits to the right of the zoom magnifier (top-right of the gallery) */
.single-product .woocommerce-product-gallery { position:relative; }
.sc-wish-single {
  position:absolute;
  z-index:9;
}
.sc-wish-single svg { width:20px; height:20px; }

/* Magnifier + heart: one shared inset and size so they sit on the same line.
   (On phones the magnifier moved to 10px but the heart stayed at 14px, so the heart sat lower.) */
.woocommerce-product-gallery { --sc-gal-inset:14px; --sc-gal-btn:40px; --sc-gal-gap:8px; }
@media(max-width:575.98px) {
  .woocommerce-product-gallery { --sc-gal-inset:10px; }
}
.woocommerce-product-gallery .sc-wish-single,
.woocommerce-product-gallery .woocommerce-product-gallery__trigger {
  top:var(--sc-gal-inset);
  width:var(--sc-gal-btn);
  height:var(--sc-gal-btn);
  min-width:0;
  min-height:0;
  margin:0;
  padding:0;
  box-sizing:border-box;
}
.woocommerce-product-gallery .sc-wish-single { inset-inline-end:var(--sc-gal-inset); }
.woocommerce-product-gallery .woocommerce-product-gallery__trigger { inset-inline-end:var(--sc-gal-inset); }
.woocommerce-product-gallery:has(.sc-wish-single) .woocommerce-product-gallery__trigger {
  /* magnifier sits left of the heart */
  inset-inline-end:calc(var(--sc-gal-inset) + var(--sc-gal-btn) + var(--sc-gal-gap));
}

/* Quick view: same spot on the image, magnifier-style round button */
.sc-modal-media { position:relative; }
.sc-wish-modal {
  position:absolute;
  z-index:4;
  top:16px;
  inset-inline-end:16px;
  width:44px;
  height:44px;
}
.sc-wish-modal svg { width:20px; height:20px; }
/* On narrow screens the close button covers the image corner, so the heart moves to the other corner */
@media(max-width:767.98px) {
  .sc-wish-modal { inset-inline-end:auto; inset-inline-start:16px; top:max(16px,env(safe-area-inset-top)); }
}
.sc-modal-acts #sc-modal-link { grid-column:1 / -1; }
.sc-modal-acts #sc-modal-add[hidden]~#sc-modal-link { grid-column:1 / -1; }

/* Wishlist drawer */
#sc-wish-drawer .offcanvas-header { gap:10px; }
#sc-wish-drawer .offcanvas-title { flex:1; display:flex; align-items:center; gap:8px; }
.sc-wish-total {
  min-width:24px; height:24px; padding:0 8px;
  border-radius:var(--r-sm);
  color:#fff;
  font-size:11px; font-weight:600; line-height:24px; text-align:center;
}
.sc-wish-total[hidden], .sc-wish-clear[hidden] { display:none; }
.sc-wish-clear {
  border:0; background:none; padding:6px 10px; border-radius:var(--r-sm);
  color:var(--muted); font-size:12px; font-weight:600; cursor:pointer;
  transition:color .15s,background .15s;
}
.sc-wish-clear:hover { color:var(--wish); background:rgba(var(--wish-rgb),.1); }
.sc-wish-clear:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.sc-wish-item { align-items:center; padding-block:16px; transition:background .15s; }
.sc-wish-thumb { border-radius:var(--r-sm); }
.sc-wish-name {
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  line-height:1.3; text-decoration:none;
}
.sc-wish-name:hover { color:var(--hover-text,var(--accent)); }
.sc-wish-add { width:auto; }
.sc-wish-remove {
  top:50%; transform:translateY(-50%);
  width:30px; height:30px;
  display:inline-flex; align-items:center; justify-content:center;
  transition:background .15s,color .15s;
}
.sc-wish-remove:hover { background:rgba(var(--wish-rgb),.14); color:var(--wish); }
.sc-wish-remove:focus-visible { outline:2px solid var(--wish); outline-offset:1px; }
.sc-wish-item { padding-inline-end:38px; }

@media (prefers-reduced-motion:reduce) {
  .sc-wish, .sc-wish svg { transition:none; }
  .sc-wish.is-pop svg { animation:none; }
}

/* ----------------------------------------------------------------------
   Wishlist heart colours: always red, whatever the palette or light/dark mode.
   (:root prefix + attribute selectors out-rank the older accent-coloured rules.)
   ---------------------------------------------------------------------- */
:root .sc-ico.sc-wish:hover,
:root .sc-ico.sc-wish:focus-visible {
  background:color-mix(in srgb,var(--wish) 16%,var(--surface-2));
  border-color:var(--wish);
  color:var(--wish);
  transform:scale(1.08);
}
:root .sc-ico.sc-wish.is-active,
:root .sc-ico.sc-wish[aria-pressed="true"],
:root .sc-ico.sc-wish.is-active[aria-pressed="true"] {
  background:var(--wish);
  border-color:var(--wish);
  color:#fff;
}
:root .sc-ico.sc-wish.is-active:hover,
:root .sc-ico.sc-wish[aria-pressed="true"]:hover {
  background:var(--wish-strong);
  border-color:var(--wish-strong);
  color:#fff;
}
:root .sc-ico.sc-wish.is-active svg,
:root .sc-ico.sc-wish[aria-pressed="true"] svg { fill:currentColor; stroke:currentColor; }
:root .sc-ico.sc-wish:focus-visible { outline:3px solid rgba(var(--wish-rgb),.55); outline-offset:2px; }
/* Drawer: saved-heart cues use the same red */
.sc-wish-empty .sc-empty-ico { color:var(--wish); }
.sc-bar .sc-btn .sc-wish-count { background:var(--wish); color:#fff; }
.sc-wish-total { background:var(--wish); }

/* ======================================================================
   My account: log in / create account
   A quiet card beside an order slip that shows what an account keeps.
   Uses the theme tokens, so every palette and both modes work.
   Spacing on the 4px grid, weights 400-600, accent only on the selection,
   the primary action and the finished steps of the slip.
   ---------------------------------------------------------------------- */
.sc-auth {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,440px);
  gap:clamp(32px,6vw,96px);
  align-items:center;
  max-width:1040px;
  margin:clamp(8px,3vw,48px) auto 0;
}
.sc-auth-intro h2 { margin:0 0 32px; font-size:var(--h-l); font-weight:500; line-height:var(--lh-l); letter-spacing:0; color:var(--fg); max-width:18ch; }

/* Order slip: the hang tag from the product cards, with a three-step track */
.sc-slip { max-width:360px; margin:0 0 24px; padding:20px 24px 24px; background:var(--surface-2); border:1px solid var(--line); border-radius:var(--r-lg); }
.sc-slip-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 24px; }
.sc-slip-tag {
  position:relative;
  display:inline-flex;
  align-items:center;
  box-sizing:border-box;
  padding:4px 12px 4px 24px;
  border:1px solid var(--line-2);
  border-radius:var(--r-xs);
  background:var(--surface-2);
  color:var(--fg);
  font:500 12px/16px var(--font-mono);
  white-space:nowrap;
}
.sc-slip-tag::before {
  content:"";
  position:absolute;
  inset-inline-start:8px;
  top:50%;
  width:6px;
  height:6px;
  margin-top:-3px;
  border:1px solid var(--line-2);
  border-radius:50%;
  background:var(--surface);
}
.sc-slip-state { font:400 12px/16px var(--font-mono); color:var(--muted); }
.sc-slip-steps { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.sc-slip-steps li { margin:0; padding:12px 0 0; border-top:4px solid var(--line); border-radius:2px; font:400 12px/16px var(--font-mono); color:var(--muted); }
.sc-slip-steps li.is-done { border-top-color:var(--accent); color:var(--fg); }

.sc-auth-intro > ul { list-style:none; margin:0; padding:0; max-width:360px; }
.sc-auth-intro > ul > li { padding:12px 0; border-top:1px solid var(--line); color:var(--soft); font-size:13px; line-height:24px; }
.sc-auth-intro > ul > li:last-child { border-bottom:1px solid var(--line); }

.sc-auth-card {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  padding:32px;
}
.sc-auth-tabs {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4px;
  padding:4px;
  margin:0 0 32px;
  background:var(--bg);
  border:1px solid var(--line);
  border-radius:var(--r-sm);
}
.sc-auth-tabs button {
  min-height:40px;
  border:0;
  border-radius:var(--r-sm);
  background:transparent;
  color:var(--muted);
  font:500 14px var(--font);
  cursor:pointer;
  transition:background-color .15s var(--ease),color .15s var(--ease);
}
.sc-auth-tabs button:hover { color:var(--fg); }
.sc-auth-tabs button[aria-selected="true"] { background:var(--surface-2); color:var(--fg); box-shadow:inset 0 0 0 1px var(--line-2); }
.sc-auth-tabs button:focus-visible, .sc-auth-link:focus-visible, .sc-auth-submit:focus-visible, .sc-auth-check input[type=checkbox]:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.sc-auth-pane[hidden] { display:none; }
.sc-auth .sc-auth-title { margin:0 0 4px; font-size:var(--h-l); font-weight:500; line-height:var(--lh-l); letter-spacing:0; color:var(--fg); }
.sc-auth-sub { margin:0 0 24px; color:var(--muted); font-size:13px; line-height:24px; }
.sc-auth-note { margin:0 0 16px; color:var(--muted); font-size:12px; line-height:20px; }
.sc-auth form { margin:0; }
.sc-auth .form-row { margin:0 0 16px; }
.sc-auth .form-row label { margin-bottom:8px; font-size:12px; font-weight:500; line-height:20px; color:var(--soft); }
.sc-auth .form-row .required { color:var(--muted); }
.sc-auth input.input-text {
  box-sizing:border-box;
  width:100%;
  min-height:48px;
  padding:0 16px;
  border-radius:var(--r-sm);
  background:var(--surface-2);
  transition:border-color .15s var(--ease);
}
.sc-auth input.input-text:hover { border-color:var(--muted); }
.sc-auth input.input-text:focus { border-color:var(--accent); box-shadow:none; outline:2px solid var(--accent); outline-offset:0; }
/* Password field + show/hide button (WooCommerce adds the button and toggles .display-password) */
.sc-auth .password-input { position:relative; display:block; }
.sc-auth .password-input input.input-text { padding-inline-end:48px; }
.sc-auth .show-password-input {
  position:absolute;
  inset-block:0;
  inset-inline-end:0;
  width:48px;
  padding:0;
  border:0;
  background:transparent;
  color:var(--muted);
  cursor:pointer;
  font-size:0;
  border-radius:0 var(--r-sm) var(--r-sm) 0;
  transition:color .15s var(--ease);
}
.sc-auth .show-password-input::before {
  content:"";
  display:block;
  width:20px;
  height:20px;
  margin:auto;
  background:currentColor;
  -webkit-mask:var(--eye) center/contain no-repeat;
  mask:var(--eye) center/contain no-repeat;
  --eye:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}
.sc-auth .display-password .show-password-input::before {
  --eye:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.9 17.9A10.3 10.3 0 0 1 12 19C5.6 19 2 12 2 12a18 18 0 0 1 4.1-5.1M9.9 5.2A9.6 9.6 0 0 1 12 5c6.4 0 10 7 10 7a18 18 0 0 1-2.2 3.2M1 1l22 22M9.9 9.9a3 3 0 0 0 4.2 4.2'/%3E%3C/svg%3E");
}
.sc-auth .show-password-input:hover { color:var(--fg); }
.sc-auth .show-password-input:focus-visible { outline:2px solid var(--accent); outline-offset:-2px; }
/* Remember me + lost password */
.sc-auth-row { display:flex; align-items:center; justify-content:space-between; gap:12px 16px; flex-wrap:wrap; margin:0 0 24px; }
.sc-auth-check { display:inline-flex; align-items:center; gap:8px; margin:0 !important; cursor:pointer; font-size:12px; font-weight:400; color:var(--soft); }
.sc-auth-check input[type=checkbox] {
  appearance:none;
  -webkit-appearance:none;
  flex:none;
  width:20px;
  height:20px;
  margin:0;
  border:1px solid var(--line-2);
  border-radius:var(--r-xs);
  background:var(--surface-2);
  display:grid;
  place-content:center;
  cursor:pointer;
  transition:background-color .15s var(--ease),border-color .15s var(--ease);
}
.sc-auth-check input[type=checkbox]::after {
  content:"";
  width:10px;
  height:6px;
  margin-top:-2px;
  border:solid #fff;
  border-width:0 0 2px 2px;
  transform:rotate(-45deg) scale(0);
  transition:transform .12s var(--ease);
}
.sc-auth-check:hover input[type=checkbox] { border-color:var(--muted); }
.sc-auth-check input[type=checkbox]:checked { background:var(--accent); border-color:var(--accent); }
.sc-auth-check input[type=checkbox]:checked::after { transform:rotate(-45deg) scale(1); }
/* Quiet links: ink with a hairline underline, accent on hover (accent text is under 4.5:1 on the card) */
.sc-auth-link {
  padding:0;
  border:0;
  background:none;
  font:500 14px var(--font);
  color:var(--fg);
  text-decoration:underline;
  text-decoration-color:var(--line-2);
  text-underline-offset:4px;
  cursor:pointer;
  transition:text-decoration-color .15s var(--ease);
}
.sc-auth-link:hover { color:var(--fg); text-decoration-color:var(--accent); }
.sc-auth .sc-auth-submit { width:100%; min-height:48px; font-size:13px; font-weight:500; border-radius:var(--r-sm); transition:background-color .15s var(--ease),transform .15s var(--ease); }
.sc-auth .sc-auth-submit:hover { filter:none; background:var(--accent-hover); }
.sc-auth .sc-auth-submit:active { background:var(--accent-active); transform:scale(.98); }
.sc-auth-switch { margin:24px 0 0; padding-top:24px; border-top:1px solid var(--line); text-align:center; font-size:12px; color:var(--muted); }
/* WooCommerce notices (wrong password, etc.) sit above the card, same width */
.woocommerce-account .woocommerce-notices-wrapper { max-width:1040px; margin-inline:auto; }
/* Narrow screens: card only, intro drops away */
@media (max-width:860px) {
  .sc-auth { grid-template-columns:minmax(0,1fr); max-width:480px; gap:24px; }
  .sc-auth-intro { display:none; }
}
@media (max-width:480px) {
  .sc-auth-card { padding:24px; }
}
@media (prefers-reduced-motion:reduce) {
  .sc-auth *, .sc-auth *::before, .sc-auth *::after { transition:none !important; }
}

/* Password reset screens: one centred card, three-step track on top */
.sc-auth--single { grid-template-columns:minmax(0,440px); justify-content:center; max-width:none; }
.sc-auth-steps { margin:0 0 32px; }
.sc-slip-steps li.is-current { border-top-color:var(--fg); color:var(--fg); }
.sc-auth .form-row, .sc-auth .form-row-first, .sc-auth .form-row-last { float:none; width:100%; }
.sc-auth--single form .form-row:last-of-type { margin-bottom:24px; }
.sc-auth a.sc-auth-submit { text-decoration:none; }
.sc-auth a.sc-auth-submit:hover { color:#fff; }
.sc-auth--single .sc-auth-switch { margin-top:24px; }

/* My account (signed in): navigation and forms, same rhythm as the log in page */
.woocommerce-account .woocommerce h2 { font-weight:600; letter-spacing:0; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { padding:8px; border-radius:var(--r-lg); }
.woocommerce-account .woocommerce-MyAccount-navigation li + li { margin-top:2px; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { padding:10px 12px; border-radius:var(--r-sm); font-weight:500; line-height:20px; transition:background-color .15s var(--ease),color .15s var(--ease); }
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background:var(--surface); color:var(--fg); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background:var(--surface-2); color:var(--fg); box-shadow:inset 0 0 0 1px var(--line-2); }
.woocommerce-account .woocommerce-MyAccount-navigation li a:focus-visible { outline:2px solid var(--accent); outline-offset:-2px; }
.woocommerce-account .u-columns .u-column1, .woocommerce-account .u-columns .u-column2 { border-radius:var(--r-lg); }
.woocommerce-account .woocommerce form .form-row { margin:0 0 16px; }
.woocommerce-account .woocommerce form .form-row label { margin-bottom:8px; font-weight:500; line-height:20px; }
.woocommerce-account .woocommerce form .form-row .required { color:var(--muted); }
.woocommerce-account .woocommerce input.input-text:focus, .woocommerce-account .woocommerce textarea:focus, .woocommerce-account .woocommerce select:focus { box-shadow:none; outline:2px solid var(--accent); outline-offset:0; }

/* ======================================================================
   Signed-in My account content, checkout login prompt, header account
   ---------------------------------------------------------------------- */
.sc-acct-title { margin:0 0 8px; font-size:var(--h-l); font-weight:500; line-height:var(--lh-l); letter-spacing:0; color:var(--fg); }
.sc-acct-head { margin:0 0 32px; }
.sc-acct-sub { margin:0; display:flex; flex-wrap:wrap; align-items:center; gap:4px 16px; font-size:13px; line-height:24px; color:var(--muted); }
.sc-acct-mail { color:var(--soft); }
.woocommerce-MyAccount-content a.sc-auth-link:not(.button), .sc-checkout-login .sc-auth-link { font:500 14px var(--font); color:var(--fg); text-decoration:underline; text-decoration-color:var(--line-2); text-underline-offset:4px; transition:text-decoration-color .15s var(--ease); }
.woocommerce-MyAccount-content a.sc-auth-link:not(.button):hover, .sc-checkout-login .sc-auth-link:hover { text-decoration-color:var(--accent); }
.sc-acct-links { list-style:none; margin:0; padding:0; max-width:560px; }
.sc-acct-links li { margin:0; border-top:1px solid var(--line); }
.sc-acct-links li:last-child { border-bottom:1px solid var(--line); }
.woocommerce-MyAccount-content .sc-acct-links a:not(.button) { display:flex; align-items:baseline; justify-content:space-between; gap:16px; padding:16px 0; color:var(--fg); text-decoration:none; }
.sc-acct-link-name { font-size:13px; font-weight:500; line-height:24px; }
.sc-acct-link-desc { font-size:12px; line-height:20px; color:var(--muted); text-align:end; transition:color .15s var(--ease); }
.sc-acct-links a:hover .sc-acct-link-desc { color:var(--fg); }
.sc-acct-links a:focus-visible { outline:2px solid var(--accent); outline-offset:2px; border-radius:4px; }

/* Account details form */
.sc-acct-form { max-width:560px; }
.sc-acct-group { margin:0 0 32px; padding:0; border:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 16px; }
.sc-acct-group > .form-row-wide, .sc-acct-group > .sc-field-hint { grid-column:1 / -1; }
.sc-acct-group legend { grid-column:1 / -1; float:none; width:100%; margin:0 0 4px; padding:0; font-size:13px; font-weight:500; line-height:24px; color:var(--fg); }
.sc-acct-group .form-row { float:none; width:100%; }
.sc-acct-form input.input-text { box-sizing:border-box; width:100%; min-height:48px; padding:0 16px; border-radius:var(--r-sm); background:var(--surface-2); }
.sc-acct-form .password-input { position:relative; display:block; }
.sc-field-hint { display:block; margin:8px 0 0; font-size:12px; line-height:20px; font-weight:400; color:var(--muted); }
.sc-field-hint--lead { margin:0 0 16px; }
.sc-acct-actions { margin:0; }
.sc-acct-actions .sc-btn { min-height:48px; padding:0 24px; font-size:13px; font-weight:500; transition:background-color .15s var(--ease),transform .15s var(--ease); }
.sc-acct-actions .sc-btn:hover { filter:none; background:var(--accent-hover); }
.sc-acct-actions .sc-btn:active { background:var(--accent-active); transform:scale(.98); }
@media (max-width:575.98px) { .sc-acct-group { grid-template-columns:minmax(0,1fr); } }

/* Orders, downloads, addresses */
.woocommerce-account .woocommerce-MyAccount-content table.shop_table { border:0; border-radius:0; border-collapse:collapse; }
.woocommerce-account .woocommerce-MyAccount-content table.shop_table th { padding:12px 16px 12px 0; border:0; border-bottom:1px solid var(--line); font-size:12px; font-weight:400; letter-spacing:0; text-transform:none; color:var(--muted); background:transparent; }
.woocommerce-account .woocommerce-MyAccount-content table.shop_table td { padding:16px 16px 16px 0; border:0; border-bottom:1px solid var(--line); font-size:12px; color:var(--soft); background:transparent; font-variant-numeric:tabular-nums; }
.woocommerce-account .woocommerce-MyAccount-content table.shop_table td a:not(.button) { color:var(--fg); font-weight:500; text-decoration:underline; text-decoration-color:var(--line-2); text-underline-offset:4px; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button.button, .woocommerce-account .woocommerce-MyAccount-content a.button { min-height:36px; padding:0 12px; display:inline-flex; align-items:center; border:1px solid var(--line-2); border-radius:var(--r-sm); background:transparent; color:var(--fg); font-size:12px; font-weight:500; text-decoration:none; transition:border-color .15s var(--ease),background-color .15s var(--ease); }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button.button:hover, .woocommerce-account .woocommerce-MyAccount-content a.button:hover { background:var(--surface); border-color:var(--muted); color:var(--fg); filter:none; }
.woocommerce-account .hz-addresses { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; align-items:start; width:100%; float:none; }
.woocommerce-account .hz-addresses::before, .woocommerce-account .hz-addresses::after { content:none; display:none; }
.woocommerce-account .hz-address { float:none; width:auto; min-width:0; margin:0; padding:24px; border:1px solid var(--line); border-radius:var(--r-lg); background:var(--surface-2); box-shadow:var(--shadow-card); }
.woocommerce-account .hz-address-head { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:8px 16px; margin:0 0 16px; }
.woocommerce-account .hz-address-head h2 { margin:0; font-size:var(--h-s); font-weight:500; line-height:var(--lh-s); float:none; }
.woocommerce-account .hz-address-head a.edit { float:none; white-space:nowrap; font-size:12px; }
.woocommerce-account .hz-address address { font-style:normal; line-height:24px; color:var(--soft); overflow-wrap:anywhere; }
.woocommerce-account .hz-address-intro { margin:0 0 20px; }
@media (max-width:767.98px) { .woocommerce-account .hz-addresses { grid-template-columns:minmax(0,1fr); } }

/* Checkout: returning customer prompt (classic) and sign-in prompt (blocks) */
.sc-checkout-login { display:flex; flex-wrap:wrap; align-items:center; gap:4px 12px; margin:0 0 16px; padding:12px 16px; border:1px solid var(--line); border-radius:var(--r-lg); font-size:12px; line-height:20px; color:var(--muted); }
form.woocommerce-form-login.login[style] , .woocommerce-checkout form.woocommerce-form-login { margin:0 0 24px; padding:24px; border:1px solid var(--line); border-radius:var(--r-lg); background:var(--surface); }
.woocommerce-checkout form.woocommerce-form-login > p:first-of-type:not(.form-row) { margin:0 0 16px; color:var(--muted); font-size:12px; line-height:20px; }
.woocommerce-checkout form.woocommerce-form-login .form-row { float:none; width:100%; margin:0 0 16px; }
.woocommerce-checkout form.woocommerce-form-login input.input-text { box-sizing:border-box; width:100%; min-height:48px; padding:0 16px; border-radius:var(--r-sm); background:var(--surface-2); }
.woocommerce-checkout form.woocommerce-form-login .button { min-height:48px; padding:0 24px; border:0; border-radius:var(--r-sm); background:var(--accent); color:#fff; font-size:13px; font-weight:500; }
.woocommerce-checkout form.woocommerce-form-login .button:hover { filter:none; background:var(--accent-hover); }
.woocommerce-checkout form.woocommerce-form-login .lost_password { margin:16px 0 0; font-size:12px; }
.wc-block-checkout__login-prompt { font-size:13px; font-weight:500; color:var(--fg); text-decoration:underline; text-decoration-color:var(--line-2); text-underline-offset:4px; }
.wc-block-checkout__login-prompt:hover { text-decoration-color:var(--accent); }

/* Header account button: same weight and stroke as the rest of the header */
.sc-account { font-weight:500; }
.sc-account svg { stroke-width:1.5; }

/* Header Log in: same 44px pill and surface as the settings button, so it reads over photos and plain pages alike */
:root:root .sc-header .sc-account, :root:root .sc-header .sc-settings-btn { font-weight:500; }
:root:root .sc-header .sc-account--guest {
  background:color-mix(in srgb,var(--bg) 84%,transparent);
  -webkit-backdrop-filter:blur(14px) saturate(1.2);
  backdrop-filter:blur(14px) saturate(1.2);
  border-color:var(--line-2);
}
:root:root .sc-header .sc-account--guest:hover { background:var(--surface-2); border-color:var(--muted); color:var(--fg); }
:root:root .sc-header .sc-account--guest:active { transform:scale(.98); }
:root:root .sc-header .sc-account svg { width:18px; height:18px; stroke-width:1.5; }
:root:root .sc-header .sc-account-label { line-height:20px; }

/* Phones: the icon-only account button must stay a clean 44px circle. The desktop pill padding
   (0 20px 0 16px) is declared later in the file and was overriding the phone reset, squeezing the icon. */
@media(max-width:575.98px) {
  :root:root .sc-header .sc-account {
    gap:0;
    justify-content:center;
  }
  :root:root .sc-header .sc-account svg { width:20px; height:20px; flex:none; }
}

/* ======================================================================
   Site footer (every page except the Elementor home, which has its own copy):
   Connect + social icons, a divider, policy links. Same inverted-ink strip as .hz-about-footer.
   ====================================================================== */
.sc-footer {
  --hz-ft-bg:var(--c-primary);
  --hz-ft-fg:var(--bg);
  --hz-ft-soft:color-mix(in srgb,var(--hz-ft-fg) 76%,var(--hz-ft-bg));
  --hz-ft-line:color-mix(in srgb,var(--hz-ft-fg) 20%,var(--hz-ft-bg));
  background:var(--hz-ft-bg);
  color:var(--hz-ft-fg);
  /* Same side padding and content width as the Elementor home footer strip (inc/home-mosaic.json):
     32px desktop / 40px tablet / 24px mobile, content up to 1620px, same breakpoints as Elementor. */
  padding:48px 32px calc(80px + env(safe-area-inset-bottom));
}
:root[data-bs-theme="dark"] .sc-footer {
  --hz-ft-bg:var(--surface);
  --hz-ft-fg:var(--fg);
  --hz-ft-soft:var(--soft);
  --hz-ft-line:var(--line);
  border-top:1px solid var(--line);
}
.sc-footer-in { max-width:1620px; margin-inline:auto; }
.sc-footer-connect { display:flex; flex-wrap:wrap; align-items:center; gap:32px; }
.sc-footer-label { color:var(--hz-ft-fg); font-size:13px; font-weight:400; }
.sc-footer-social { display:flex; flex-wrap:wrap; gap:32px; margin:0; padding:0; list-style:none; }
.sc-footer-social a {
  display:inline-flex;
  color:var(--hz-ft-fg);
  transition:opacity .15s var(--ease,ease);
}
.sc-footer-social a:hover, .sc-footer-social a:focus-visible { color:var(--hz-ft-fg); opacity:.7; }
.sc-footer-social svg { display:block; }
.sc-footer-line { height:0; margin:28px 0; border:0; border-top:1px solid var(--hz-ft-line); opacity:1; }
.sc-footer-links { display:flex; flex-wrap:wrap; align-items:center; gap:16px 32px; }
.sc-footer-links a { color:var(--hz-ft-soft); font-size:13px; font-weight:500; text-decoration:none; }
.sc-footer-links a:hover, .sc-footer-links a:focus-visible { color:var(--hz-ft-fg); }
.sc-footer a:focus-visible { outline:2px solid currentColor; outline-offset:4px; border-radius:2px; }
/* Customizer: Footer > Alignment > Centered */
.sc-footer--center .sc-footer-connect, .sc-footer--center .sc-footer-links { justify-content:center; text-align:center; }
@media(max-width:1024px) { .sc-footer { padding:40px 40px calc(88px + env(safe-area-inset-bottom)); } }
@media(max-width:767px) { .sc-footer { padding:32px 24px calc(96px + env(safe-area-inset-bottom)); } }
@media(prefers-reduced-motion:reduce) { .sc-footer-social a { transition:none; } }
@media print { .sc-footer { display:none; } }

/* ---------- A touch of love ---------- */
:root { --love:#D6546F; --love-soft:#F9E1E6; }
:root[data-bs-theme="dark"] { --love:#EE7A92; --love-soft:#3A222A; }
.sc-heart { color:var(--love); display:inline-block; }
.sc-love-note { margin:6px 0 14px; padding:8px 16px; display:inline-block; border-radius:var(--r-sm); background:var(--surface); color:var(--soft); font-size:12px; }
.sc-footer-love { margin:28px 0 0; text-align:center; color:var(--hz-ft-soft); font-family:var(--font-display); font-size:16px; letter-spacing:0; }
.sc-announce { background:var(--surface) !important; border-bottom:1px solid var(--line); color:var(--fg) !important; }
.sc-announce a, .sc-announce span { color:var(--fg) !important; }
.sc-wish:hover, .sc-wish:focus-visible { color:var(--love); }

/* ======================================================================
   v3.13.1 – Logo size: one adjustable size (Customizer > Horizons > Header),
   fixed box on every header so the logo can never stretch or overflow.
   Logo box values are printed by inc/customizer.php (see the v3.15.0 block at the end).
   ====================================================================== */
:root { --home-logo-w:64px; --home-logo-h:64px; --home-logo-fit:contain; --site-logo-w:72px; --site-logo-h:72px; --site-logo-fit:cover; }

/* Inner pages (shop, products, account…) */
.sc-header .sc-page-icon {
  flex:none;
  width:var(--site-logo-w);
  height:var(--site-logo-h);
  min-width:0;
  min-height:0;
  aspect-ratio:auto;
  border-radius:var(--r);
  overflow:hidden;
}
/* Home page logo box: see the Home header block at the end of this file */
.sc-header .sc-page-icon .custom-logo-link,
.home .sc-header .sc-page-icon .custom-logo-link {
  display:block;
  width:100%;
  height:100%;
  padding:0;
  box-sizing:border-box;
}
.sc-header .sc-page-icon img.custom-logo,
.home .sc-header .sc-page-icon img.custom-logo {
  display:block;
  width:100% !important;
  height:100% !important;
  max-width:none;
  object-fit:var(--site-logo-fit);
  border-radius:0;
}
/* Inner pages: keep the brand name next to the logo and give it a little more presence */

@media(max-width:767.98px) {
  .sc-header .sc-page-icon { width:max(40px, calc(var(--site-logo-w) * .55)); height:max(40px, calc(var(--site-logo-h) * .55)); }
}

/* v3.13.2 – Inner-page header: the logo link no longer sits inside another link (invalid HTML that
   made the browser pull the logo out of its box). Logo + name are now siblings in .sc-brand. */
.sc-brand { display:flex; align-items:center; gap:14px; flex:none; }
.sc-header .sc-brand-name { color:var(--fg); text-decoration:none; font-size:14px; font-weight:600; line-height:1; }
.sc-header .sc-brand-name:hover { color:var(--fg); opacity:.8; }
.sc-header .sc-page-head { align-items:center; padding-block:10px; }

/* ======================================================================
   v3.13.4 – Announcement bar: one fixed-height line, shorter text on phones,
   and the floating home header now sits BELOW it instead of on top of it.
   ====================================================================== */
:root { --announce-h:0px; }
.sc-announce {
  height:var(--announce-h);
  box-sizing:border-box;
  padding:0 14px;
  overflow:hidden;
  white-space:nowrap;
  line-height:1;
}
.sc-announce a, .sc-announce .sc-announce-text { display:block; max-width:100%; overflow:hidden; text-overflow:ellipsis; }
.sc-announce .sc-announce-short { display:none; }
/* Home: the bar is pinned at the very top, the glass header starts right under it */
.home .sc-announce { position:fixed; top:var(--adminbar,0px); left:0; right:0; z-index:1040; }
.home .sc-header { top:calc(var(--adminbar,0px) + var(--announce-h)); }
@media(max-width:767.98px) {
  .sc-announce { font-size:11px; font-weight:500; letter-spacing:0; padding:0 10px; }
  .sc-announce.has-short .sc-announce-full { display:none; }
  .sc-announce.has-short .sc-announce-short { display:inline; }
  /* Home on phones: slightly tighter header chips, and the hero starts below the header */
  .home .sc-header .sc-page-head { padding:10px 16px 4px; gap:8px; }
  .home .sc-header .sc-page-title { padding:6px 12px; }
  .home .sc-header .sc-tabs { margin-inline:16px; }
  .home .hz-hero { padding-top:calc(var(--adminbar,0px) + var(--announce-h) + 150px) !important; }
  .home .sc-hero { padding-top:calc(var(--adminbar,0px) + var(--announce-h) + 140px); }
}

/* ======================================================================
   v3.14.0 – Header cog replaced by a light / dark mode toggle (moon in light mode, sun in dark mode)
   ====================================================================== */
.sc-mode-toggle .sc-ico-sun { display:none; }
:root[data-bs-theme="dark"] .sc-mode-toggle .sc-ico-sun { display:block; }
:root[data-bs-theme="dark"] .sc-mode-toggle .sc-ico-moon { display:none; }
.sc-mode-toggle:hover, .sc-mode-toggle:not(.sc-cart-toggle):hover { transform:none !important; }
.sc-mode-toggle svg { transition:transform .25s var(--ease,ease); }
.sc-mode-toggle:active svg { transform:rotate(25deg) scale(.92); }

/* v3.15.0 – Logo boxes: the Home header and the Site header (other pages) each have their own
   Width, Height and Image fit (Customize > Horizons > Home header / Site header). The values are printed
   as --home-logo-* and --site-logo-* by inc/customizer.php. The home title chip beside the logo is exactly
   as tall as the logo, so the two always line up. */
.home .sc-header { --home-chip-h:var(--home-logo-h); }
.home .sc-header .sc-page-title {
  box-sizing:border-box;
  min-height:var(--home-chip-h);
  justify-content:center;
  padding-block:0;
}
.home .sc-header .sc-page-title h1,
.home .sc-header .sc-page-title .woocommerce-breadcrumb { margin:0; }
.home .sc-header .sc-page-icon,
.home .sc-header .sc-page-icon:has(.custom-logo-link) {
  position:relative;
  flex:none;
  align-self:center;
  box-sizing:border-box;
  width:var(--home-logo-w);
  height:var(--home-logo-h);
  min-width:0;
  min-height:0;
  aspect-ratio:auto;
}
.home .sc-header .sc-page-icon .custom-logo-link {
  position:absolute;
  inset:0;
  display:block;
  width:auto;
  height:auto;
}
.home .sc-header .sc-page-icon img.custom-logo {
  display:block;
  width:100% !important;
  height:100% !important;
  max-width:100%;
  max-height:100%;
  object-fit:var(--home-logo-fit);
}
@media(max-width:767.98px) {
  .home .sc-header .sc-page-icon,
  .home .sc-header .sc-page-icon:has(.custom-logo-link) {
    width:calc(var(--home-logo-w) * .875);
    height:calc(var(--home-logo-h) * .875);
  }
}

/* ======================================================================
   Product page: "Buy it now" (secondary to Add to cart; goes to checkout)
   Shown only when Customize → Horizons → Product page → Buy it now is on.
   ====================================================================== */
.single-product .summary form.cart .sc-buy-now,
.single-product .summary .woocommerce-variation-add-to-cart .sc-buy-now {
  flex:1 1 0;
  min-width:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.sc-buy-now:disabled, .sc-buy-now.is-off { opacity:.45; cursor:not-allowed; }

/* ======================================================================
   v3.17.0 – "Buy it now" experience + pinned bar and quick-view polish
   Keep this block last.
   Direction: calm, tactile, warm. Cream paper, one caramel accent, cocoa shadows.
   ====================================================================== */

/* ---- Pinned add-to-cart row ------------------------------------------------
   Solid surface and a cocoa shadow instead of frosted glass and a navy shadow. */
:root:root .single-product .summary form.cart:not(.variations_form):not(.grouped_form),
:root:root .single-product .summary .woocommerce-variation-add-to-cart {
  background:var(--surface-2);
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
  box-shadow:0 0 0 1px rgba(var(--fg-rgb),.04),0 14px 32px -12px rgba(var(--fg-rgb),.32);
}

/* With "Buy it now" the row has three controls and the bar above it is only ~270px wide on
   desktop, so one line cannot hold them. Quantity + Add to cart share the first line,
   Buy it now takes the full second line. Outer radius 20 = inner radius 14 + padding 6. */
:root:root .single-product .summary form.cart:not(.variations_form):not(.grouped_form):has(.sc-buy-now),
:root:root .single-product .summary .woocommerce-variation-add-to-cart:has(.sc-buy-now) {
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:6px;
  padding:6px;
  border-radius:var(--dock-ctl-r);
}
:root:root .single-product .summary form.cart:has(.sc-buy-now) .single_add_to_cart_button,
:root:root .single-product .summary .woocommerce-variation-add-to-cart:has(.sc-buy-now) .single_add_to_cart_button {
  min-width:0;
  padding-inline:12px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  border-radius:var(--dock-ctl-r);
}
:root:root .single-product .summary form.cart:has(.sc-buy-now) .quantity input.qty,
:root:root .single-product .summary .woocommerce-variation-add-to-cart:has(.sc-buy-now) .quantity input.qty {
  border-radius:var(--dock-ctl-r);
  width:64px;
  height:44px;
  min-height:44px;
}

/* ---- The button itself ---- */
:root:root .single-product .summary form.cart .sc-buy-now,
:root:root .single-product .summary .woocommerce-variation-add-to-cart .sc-buy-now {
  flex:1 1 auto;
  position:relative;
  gap:8px;
  white-space:nowrap;
}
:root:root .single-product .summary .sc-buy-now:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }

/* Sending: a small ring appears before the label, the sibling button steps back so a second
   click cannot start a second request. */
.sc-buy-now.is-loading { cursor:progress; pointer-events:none; }
.sc-buy-now.is-loading::before {
  content:"";
  flex:none;
  width:14px;
  height:14px;
  border:2px solid rgba(255,255,255,.35);
  border-top-color:#fff;
  border-radius:50%;
  animation:scSpin .7s linear infinite;
}
form.is-buying .single_add_to_cart_button,
.woocommerce-variation-add-to-cart.is-buying .single_add_to_cart_button { opacity:.5; pointer-events:none; }
@media (prefers-reduced-motion:reduce) {
  .sc-buy-now { transition:none; }
  .sc-buy-now.is-loading::before { animation-duration:1.6s; }
}

/* Page content stays clear of the taller pinned stack (height published by single-sticky.js) */
.single-product .sc-main { padding-bottom:calc(var(--sc-bar-offset,84px) + var(--sc-pin-h,56px) + 40px); }
@media(max-width:575.98px) {
  :root:root .single-product .summary form.cart:not(.variations_form):not(.grouped_form):has(.sc-buy-now),
  :root:root .single-product .summary .woocommerce-variation-add-to-cart:has(.sc-buy-now) { padding:4px; gap:4px; border-radius:var(--dock-ctl-r); }
}

/* ---- Quick view ---------------------------------------------------------- */
/* Bootstrap's fullscreen dialog is 100vw wide; with a classic scrollbar that is wider than the
   visible area, which pushed the close button and the View button under the scrollbar. */
#sc-modal .modal-dialog.modal-fullscreen { width:100%; max-width:none; }
/* Close button: cocoa instead of navy */
.sc-modal-close { background:rgba(var(--fg-rgb),.78); border-color:rgba(255,255,255,.24); box-shadow:0 8px 22px -10px rgba(var(--fg-rgb),.5); }
.sc-modal-close:hover { background:var(--accent); transform:none; }
.sc-modal-close:hover svg { transform:none; }
.sc-modal-close:active { transform:scale(.96); }
/* Price ranges read low to high: the row was reversed to put the sale price first, which also
   flipped "$140 – $210" into "$210 – $140". Keep source order and move the struck price last. */
.sc-modal-info .price, #sc-modal .sc-modal-info .price { flex-direction:row; flex-wrap:wrap; align-items:baseline; }
.sc-modal-info .price del { order:2; }
.product-card .price { flex-direction:row; }
.product-card .price del { order:2; }
.sc-modal-info .price, .product-card .price { font-variant-numeric:tabular-nums; }

/* ======================================================================
   v3.19.2 – Checkout: one rhythm, one title size
   Titles: every section title is 20/28, weight 500 (the page title stays larger).
   Space on the 4px grid: 24 between sections, 16 title to first field (20 on
   desktop), 12 between fields (16 on desktop). No stray bands in the summary card.
   ====================================================================== */
:root:root .wc-block-checkout .wc-block-components-checkout-step__title,
:root:root .wc-block-checkout .wc-block-components-title,
:root:root .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title-text,
:root:root .woocommerce-checkout h3,
:root:root .woocommerce-checkout #order_review_heading {
  margin:0 !important;
  font-family:var(--font) !important;
  font-size:var(--h-m)!important;
  line-height:var(--lh-m)!important;
  font-weight:500 !important;
  letter-spacing:0 !important;
  color:var(--fg);
}
:root:root .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title-price {
  font-size:13px !important;
  line-height:24px !important;
  font-weight:500 !important;
}
:root:root .wc-block-checkout .wc-block-components-checkout-step__heading { margin:0 0 16px !important; padding:0 !important; min-height:0 !important; }
:root:root .wc-block-checkout .wc-block-components-checkout-step__description { margin:0 0 12px !important; padding:0 !important; }
:root:root .wc-block-checkout .wc-block-components-checkout-step__description:empty { display:none !important; margin:0 !important; }
:root:root .wc-block-checkout .wc-block-components-checkout-step__container { margin:0 !important; padding:0 !important; }
:root:root .wc-block-checkout .wc-block-components-checkout-step__container > * + * { margin-top:12px !important; }
:root:root .wc-block-checkout .wc-block-components-address-form { gap:12px !important; row-gap:12px !important; column-gap:12px !important; }
:root:root .wc-block-checkout .wc-block-components-address-form > *,
:root:root .wc-block-checkout .wc-block-components-address-form > .wc-block-components-address-form__address_2-toggle { margin:0 !important; }
:root:root .wc-block-checkout .wc-block-components-text-input,
:root:root .wc-block-checkout .wc-blocks-components-select { margin-top:0 !important; margin-bottom:0 !important; }
/* Summary card: a title row, nothing above it */
:root:root .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block { margin:0 !important; padding:0 !important; overflow:hidden; }
:root:root .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block::before,
:root:root .wc-block-components-sidebar .wc-block-components-checkout-order-summary__title::before { content:none !important; display:none !important; }
:root:root .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block > :first-child { border-top:0 !important; margin-top:0 !important; }
:root:root .wc-block-components-sidebar .wc-block-components-checkout-order-summary__title {
  margin:0 !important;
  padding:16px var(--ct-pad,16px) !important;
  min-height:56px;
  border:0 !important;
  align-items:center;
}
@media(max-width:781px) {
  :root:root .wc-block-components-sidebar-layout { gap:24px !important; }
  :root:root .wc-block-components-main, :root:root .wc-block-components-sidebar { margin:0 !important; padding:0 !important; }
  :root:root .wp-block-woocommerce-checkout-fields-block { gap:0 !important; }
  :root:root .wc-block-components-checkout-step { padding:24px 0 !important; margin:0 !important; }
  :root:root .wc-block-components-checkout-step:first-child { padding-top:0 !important; }
  :root:root .wc-block-components-checkout-step + .wc-block-components-checkout-step { margin-top:0 !important; padding-top:24px !important; }
  :root:root .wp-block-woocommerce-checkout-order-note-block { margin:0 !important; padding:24px 0 !important; }
  :root:root .wp-block-woocommerce-checkout-terms-block, :root:root .wc-block-checkout__terms { margin:0 !important; padding:0 0 16px !important; }
  :root:root .wc-block-checkout__actions { margin:0 !important; padding:0 !important; }
}
@media(min-width:782px) {
  :root:root .wc-block-checkout .wc-block-components-checkout-step__heading { margin-bottom:20px !important; }
  :root:root .wc-block-checkout .wc-block-components-checkout-step__container > * + * { margin-top:16px !important; }
  :root:root .wc-block-checkout .wc-block-components-address-form { gap:16px !important; row-gap:16px !important; column-gap:16px !important; }
  :root:root .wc-block-components-checkout-step + .wc-block-components-checkout-step { margin-top:0 !important; padding-top:24px !important; }
}

/* ======================================================================
   v3.19.3 – Order summary opens by default (fallback) + coupon field
   Coupon: one row, field and button the same 52px height, the field one step
   darker than the card so it reads as a field, secondary button, clear focus ring.
   ====================================================================== */
html.sc-summary-force .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__content,
html.sc-summary-force .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary {
  display:block !important;
  height:auto !important;
  max-height:none !important;
  visibility:visible !important;
  opacity:1 !important;
  overflow:visible !important;
}
:root:root .wc-block-components-totals-coupon__form {
  display:flex !important;
  flex-wrap:nowrap !important;
  align-items:stretch !important;
  gap:8px !important;
  margin:0 !important;
}
:root:root .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input,
:root:root .wc-block-components-totals-coupon__form .wc-block-components-text-input {
  flex:1 1 auto !important;
  min-width:0 !important;
  margin:0 !important;
}
:root:root .wc-block-components-sidebar .wc-block-components-totals-coupon__form input,
:root:root .wc-block-cart__sidebar .wc-block-components-totals-coupon__form input {
  box-sizing:border-box;
  height:52px !important;
  min-height:52px !important;
  padding-top:22px !important;
  padding-bottom:6px !important;
  border:1px solid var(--line-2) !important;
  border-radius:var(--r-sm) !important;
  background-color:var(--bg) !important;
  color:var(--fg) !important;
  font-size:13px !important;
  line-height:24px !important;
  box-shadow:none !important;
}
:root:root .wc-block-components-sidebar .wc-block-components-totals-coupon__form input:focus,
:root:root .wc-block-cart__sidebar .wc-block-components-totals-coupon__form input:focus {
  border-color:var(--accent) !important;
  outline:2px solid var(--accent) !important;
  outline-offset:0 !important;
}
:root:root .wc-block-components-totals-coupon__form .wc-block-components-text-input label { color:var(--muted) !important; }
:root:root .wc-block-components-totals-coupon__form .wc-block-components-validation-error { margin-top:8px !important; }
:root:root .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button,
:root:root .wc-block-components-totals-coupon__form .wc-block-components-button {
  flex:none !important;
  box-sizing:border-box;
  align-self:stretch;
  height:52px !important;
  min-height:52px !important;
  min-width:88px;
  margin:0 !important;
  padding:0 20px !important;
  border:1px solid var(--line-2) !important;
  border-radius:var(--r-sm) !important;
  background-color:var(--surface) !important;
  color:var(--fg) !important;
  font-size:13px !important;
  font-weight:500 !important;
  box-shadow:none !important;
  transition:background-color .15s var(--ease),border-color .15s var(--ease);
}
:root:root .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button:hover:not(:disabled) { background-color:var(--surface-2) !important; border-color:var(--fg) !important; }
:root:root .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
:root:root .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button:disabled { opacity:.5; }

/* Quick view: "Buy it now" sits next to View under Add to cart (full row when it is hidden) */
.sc-modal-acts #sc-modal-buy { grid-column:auto; }
.sc-modal-acts #sc-modal-buy:not([hidden]) ~ #sc-modal-link { grid-column:auto; }
.sc-modal-acts #sc-modal-buy.is-loading { opacity:.6; pointer-events:none; }

/* ======================================================================
   v3.19.5 – Cart page spacing
   Two cards 32 apart (they touched), items card with equal left and right padding,
   rows 24 above and below, totals card on one 24 edge: title 20/28, coupon row,
   total band and button all 24 from the sides, 24 around the button.
   ====================================================================== */
.sc-continue {
  display:flex;
  width:fit-content;
  margin:0 0 20px;
  margin-inline-start:max(0px,calc((100% - 1320px) / 2));
}
@media(min-width:782px) {
  :root:root .wc-block-components-sidebar-layout.wc-block-cart { gap:32px !important; align-items:flex-start; }
}
:root:root .wc-block-cart__main { padding:8px 24px 8px !important; }
:root:root .wc-block-cart-items__header th { padding:16px 8px 12px !important; }
:root:root .wc-block-cart-items__row td { padding:24px 8px !important; }
@media(max-width:700px) { :root:root .wc-block-cart__main { padding:8px 16px !important; } }
:root:root .wp-block-woocommerce-cart .wc-block-cart__sidebar { --ct-pad:24px; padding:0 !important; }
:root:root .wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__totals-title {
  padding:20px var(--ct-pad) !important;
  font-size:var(--h-m)!important;
  line-height:var(--lh-m)!important;
  font-weight:500 !important;
}
:root:root .wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-wrapper { padding:12px var(--ct-pad) !important; margin:0 !important; }
:root:root .wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-coupon,
:root:root .wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-components-panel { margin:0 !important; padding:0 !important; }
:root:root .wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-components-panel__button { min-height:48px; padding:0 !important; line-height:24px; }
:root:root .wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-components-panel__content[hidden],
:root:root .wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-components-panel__content[aria-hidden="true"] { display:none !important; }
:root:root .wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-wrapper:has(.wc-block-components-totals-footer-item) { padding:20px var(--ct-pad) !important; }
:root:root .wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-footer-item { margin:0 !important; padding:0 !important; }
:root:root .wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { line-height:36px; }
:root:root .wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__submit-container { margin:0 !important; padding:24px var(--ct-pad) !important; }

/* ======================================================================
   v3.18.0 – Floating boxes, one system. Keep this block last.
   Covers the pinned quantity / Add to cart / Buy it now box, the Wishlist / Cart bar,
   the checkout Place order bar and the Categories / Our store bar on Home.
   Direction: calm, tactile, warm. The boxes are quiet cream paper; the caramel accent
   appears once per box, on the one action that matters.
   - One container: radius = button radius + padding (5 + 4 = 9), padding 4, gap 4, hairline border, small cocoa shadow.
   - One control: 36px high (40px on touch screens), radius 5 = the default button radius of the Elementor home
     (inc/home-mosaic.json), weight 500, 600 for the primary.
   - Counts and totals are quiet mono figures, not filled caramel pills.
   - Icons are 18px, 1.5 stroke, in the text colour. Motion is colour, border and a 2% press.
   ====================================================================== */
:root {
  --btn-r:5px;                 /* global button radius: Customize > Horizons > Typography and shape (default = Elementor home hero button) */
  --hz-ctl-h:36px;             /* global control height: same place; header buttons are 4px smaller */
  --dock-r:calc(var(--btn-r) + var(--dock-pad));
  --dock-pad:4px;
  --dock-gap:4px;
  --dock-ctl-h:var(--hz-ctl-h);
  --dock-ctl-r:var(--btn-r);
  --dock-fs:12px;
  --dock-shadow:0 1px 2px rgba(var(--fg-rgb),.06),0 8px 18px -10px rgba(var(--fg-rgb),.22);
}
@media(pointer:coarse) { :root { --dock-ctl-h:calc(var(--hz-ctl-h) + 4px); } }

/* Containers ---------------------------------------------------------------- */
:root:root:root .sc-bar,
:root:root:root:root:root .single-product .summary form.cart:not(.variations_form):not(.grouped_form),
:root:root:root:root:root .single-product .summary .woocommerce-variation-add-to-cart {
  gap:var(--dock-gap);
  padding:var(--dock-pad) !important;
  border:1px solid var(--line);
  border-radius:var(--dock-r) !important;
  background:var(--surface-2);
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
  box-shadow:var(--dock-shadow);
}
/* The pinned box sits 8px above the bar, on both breakpoints */
:root:root:root:root:root .single-product .summary form.cart:not(.variations_form):not(.grouped_form),
:root:root:root:root:root .single-product .summary .woocommerce-variation-add-to-cart { bottom:calc(var(--sc-bar-offset,84px) + 8px); }
/* Wide enough that the pinned box above it never has to squeeze its label */
@media(min-width:576px) {
  :root:root:root .sc-bar { min-width:256px; }
}

/* Product page, header turned compact (JS adds .hz-scrolled on <html>): the Wishlist / Cart bar
   slides away and the pinned Add to cart box drops down to take its place. */
:root:root:root .sc-bar {
  transition:transform .25s var(--ease,ease),opacity .25s var(--ease,ease),visibility 0s linear 0s;
}
:root:root:root.hz-scrolled body.single-product .sc-bar {
  transform:translateY(calc(100% + 24px));
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:transform .25s var(--ease,ease),opacity .25s var(--ease,ease),visibility 0s linear .25s;
}
:root:root:root:root:root .single-product .summary form.cart:not(.variations_form):not(.grouped_form),
:root:root:root:root:root .single-product .summary .woocommerce-variation-add-to-cart { transition:bottom .25s var(--ease,ease); }
:root.hz-scrolled:root:root:root:root .single-product .summary form.cart:not(.variations_form):not(.grouped_form),
:root.hz-scrolled:root:root:root:root .single-product .summary .woocommerce-variation-add-to-cart {
  bottom:calc(12px + env(safe-area-inset-bottom));
}
@media (prefers-reduced-motion:reduce) {
  :root:root:root .sc-bar,
  :root:root:root.hz-scrolled body.single-product .sc-bar,
  :root:root:root:root:root .single-product .summary form.cart:not(.variations_form):not(.grouped_form),
  :root:root:root:root:root .single-product .summary .woocommerce-variation-add-to-cart { transition:none; }
}
/* Stacked layout when Buy it now is present */
:root:root:root:root:root .single-product .summary form.cart:not(.variations_form):not(.grouped_form):has(.sc-buy-now),
:root:root:root:root:root .single-product .summary .woocommerce-variation-add-to-cart:has(.sc-buy-now) { gap:var(--dock-gap); }

/* Bar buttons ----------------------------------------------------------------- */
:root:root:root .sc-bar .sc-btn:not(#sc-place-order) {
  flex:1 1 0;
  min-width:0;
  height:var(--dock-ctl-h);
  min-height:var(--dock-ctl-h);
  padding:0 12px;
  gap:6px;
  border:0;
  border-radius:var(--dock-ctl-r);
  background:transparent;
  color:var(--soft);
  font:500 var(--dock-fs)/1 var(--font);
  letter-spacing:0;
  filter:none;
  box-shadow:none;
  transition:background-color .15s var(--ease),color .15s var(--ease),transform .15s var(--ease);
}
:root:root:root .sc-bar .sc-btn:not(#sc-place-order):hover,
:root:root:root .sc-bar .sc-btn:not(#sc-place-order):focus-visible { background:var(--surface); color:var(--fg); filter:none; }
/* The link to the cart is the active step of the bar */
:root:root:root .sc-bar .sc-btn:not(.sec):not(#sc-place-order) { background:var(--surface); color:var(--fg); }
:root:root:root .sc-bar .sc-btn:not(.sec):not(#sc-place-order):hover,
:root:root:root .sc-bar .sc-btn:not(.sec):not(#sc-place-order):focus-visible { background:color-mix(in srgb,var(--surface),var(--fg) 6%); }
:root:root:root .sc-bar .sc-btn:not(#sc-place-order) svg,
:root:root:root .sc-bar .sc-btn:not(.sec):not(#sc-place-order) svg { width:18px; height:18px; flex:none; color:currentColor; }
:root:root:root .sc-bar .sc-btn:not(#sc-place-order):active { transform:scale(.98); }
:root:root:root .sc-bar .sc-btn:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }

/* Counts: quiet mono figures */
.sc-cart-count[hidden] { display:none !important; }
:root:root:root .sc-bar .sc-btn:not(#sc-place-order) .sc-cart-count {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:var(--dock-ctl-r);
  background:var(--surface);
  color:var(--fg);
  font:500 11px/1 var(--font-mono);
  font-variant-numeric:tabular-nums;
}
:root:root:root .sc-bar .sc-btn:not(.sec):not(#sc-place-order) .sc-cart-count { background:var(--surface-2); }

/* Place order: the one caramel action of the checkout bar */
:root:root:root .sc-bar #sc-place-order {
  flex:1 1 auto;
  height:var(--dock-ctl-h);
  min-height:var(--dock-ctl-h);
  padding:0 16px;
  gap:8px;
  border:0;
  border-radius:var(--dock-ctl-r);
  background:var(--accent);
  color:#fff;
  font:600 var(--dock-fs)/1 var(--font);
  letter-spacing:0;
  filter:none;
  transition:background-color .15s var(--ease),transform .15s var(--ease),opacity .15s var(--ease);
}
:root:root:root .sc-bar #sc-place-order:hover:not(:disabled) { background:var(--accent-hover); filter:none; }
:root:root:root .sc-bar #sc-place-order:active:not(:disabled) { transform:scale(.98); }
:root:root:root .sc-bar #sc-place-order:disabled { opacity:.5; }
#sc-place-order svg { width:18px; height:18px; flex:none; }
#sc-place-order .sc-po-total {
  padding-left:12px;
  border-left:1px solid rgba(255,255,255,.3);
  font:500 14px/1 var(--font-mono);
  font-variant-numeric:tabular-nums;
  opacity:1;
}
:root:root:root .sc-bar:has(#sc-place-order) .sc-btn.sec:not(#sc-place-order) { flex:0 0 auto; padding:0 12px; }

/* Pinned box controls ----------------------------------------------------------- */
:root:root:root:root:root .single-product .summary .quantity input.qty {
  width:56px;
  height:var(--dock-ctl-h);
  min-height:var(--dock-ctl-h);
  padding:0 8px;
  border:1px solid var(--line);
  border-radius:var(--dock-ctl-r);
  background:var(--bg);
  color:var(--fg);
  font:500 var(--dock-fs)/1 var(--font);
  font-variant-numeric:tabular-nums;
  text-align:center;
  box-shadow:none;
  transition:border-color .15s var(--ease);
}
:root:root:root:root:root .single-product .summary .quantity input.qty:hover { border-color:var(--line-2); }
:root:root:root:root:root .single-product .summary .quantity input.qty:focus { border-color:var(--accent); box-shadow:none; outline:0; }
:root:root:root:root:root .single-product .summary .quantity input.qty:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
:root:root:root:root:root .single-product .summary form.cart .single_add_to_cart_button,
:root:root:root:root:root .single-product .summary .woocommerce-variation-add-to-cart .single_add_to_cart_button {
  height:var(--dock-ctl-h);
  min-height:var(--dock-ctl-h);
  padding:0 16px;
  border:0;
  border-radius:var(--dock-ctl-r);
  font:600 var(--dock-fs)/1 var(--font);
  letter-spacing:0;
  filter:none;
  transition:background-color .15s var(--ease),transform .15s var(--ease),opacity .15s var(--ease);
}
:root:root:root:root:root .single-product .summary form.cart .single_add_to_cart_button:hover:not(:disabled) { background:var(--accent-hover); filter:none; }
/* Buy it now: the caramel primary (Add to cart becomes the hairline secondary below).
   Its row comes first via the grid cells below: visual only, the DOM order is unchanged, so
   pressing Enter in the quantity field still triggers Add to cart, not Buy it now. */
:root:root:root:root:root .single-product .summary form.cart .sc-buy-now,
:root:root:root:root:root .single-product .summary .woocommerce-variation-add-to-cart .sc-buy-now {
  height:var(--dock-ctl-h);
  min-height:var(--dock-ctl-h);
  padding:0 16px;
  border:0;
  border-radius:var(--dock-ctl-r);
  background:var(--accent);
  color:#fff;
  font:600 var(--dock-fs)/1 var(--font);
  transition:background-color .15s var(--ease),transform .15s var(--ease),opacity .15s var(--ease);
}
:root:root:root:root:root .single-product .summary form.cart .sc-buy-now:hover:not(:disabled),
:root:root:root:root:root .single-product .summary .woocommerce-variation-add-to-cart .sc-buy-now:hover:not(:disabled) { background:var(--accent-hover); }
:root:root:root:root:root .single-product .summary .sc-buy-now:active:not(:disabled) { background:var(--accent-hover); transform:scale(.98); }
/* Pin every control to an explicit cell so the layout cannot depend on auto-placement:
   row 1 = Buy it now, row 2 = quantity (left) + Add to cart (right). */
:root:root:root:root:root .single-product .summary form.cart:has(.sc-buy-now) .sc-buy-now,
:root:root:root:root:root .single-product .summary .woocommerce-variation-add-to-cart:has(.sc-buy-now) .sc-buy-now { grid-area:1 / 1 / 2 / 3; }
:root:root:root:root:root .single-product .summary form.cart:has(.sc-buy-now) .quantity,
:root:root:root:root:root .single-product .summary .woocommerce-variation-add-to-cart:has(.sc-buy-now) .quantity { grid-area:2 / 1 / 3 / 2; }
:root:root:root:root:root .single-product .summary form.cart:has(.sc-buy-now) .single_add_to_cart_button,
:root:root:root:root:root .single-product .summary .woocommerce-variation-add-to-cart:has(.sc-buy-now) .single_add_to_cart_button { grid-area:2 / 2 / 3 / 3; }

/* With Buy it now present, Add to cart is the hairline secondary; without it, it stays caramel. */
:root:root:root:root:root .single-product .summary form.cart:has(.sc-buy-now) .single_add_to_cart_button,
:root:root:root:root:root .single-product .summary .woocommerce-variation-add-to-cart:has(.sc-buy-now) .single_add_to_cart_button {
  border:1px solid var(--line-2);
  background:transparent;
  color:var(--fg);
  font-weight:500;
}
:root:root:root:root:root .single-product .summary form.cart:has(.sc-buy-now) .single_add_to_cart_button:hover:not(:disabled),
:root:root:root:root:root .single-product .summary .woocommerce-variation-add-to-cart:has(.sc-buy-now) .single_add_to_cart_button:hover:not(:disabled) {
  background:var(--surface);
  border-color:var(--line-2);
  color:var(--fg);
}

/* Phones: the box stretches, the radius system stays */
@media(max-width:575.98px) {
  :root:root:root .sc-bar { inset-inline:12px; width:auto; }
  :root:root:root .sc-bar .sc-btn:not(#sc-place-order) { padding:0 10px; }
  :root:root:root .sc-bar:has(#sc-place-order) .sc-btn.sec:not(#sc-place-order) { padding:0 12px; }
  :root:root:root .sc-bar #sc-place-order { padding:0 14px; gap:8px; }
  #sc-place-order svg { display:none; }
  #sc-place-order .sc-po-total { padding-left:10px; }
}
@media (prefers-reduced-motion:reduce) {
  :root:root:root .sc-bar .sc-btn, :root:root:root .sc-bar #sc-place-order,
  :root:root:root:root:root .single-product .summary .single_add_to_cart_button,
  :root:root:root:root:root .single-product .summary .sc-buy-now,
  :root:root:root:root:root .single-product .summary .quantity input.qty { transition:none; }
  :root:root:root .sc-bar .sc-btn:active, :root:root:root .sc-bar #sc-place-order:active,
  :root:root:root:root:root .single-product .summary .sc-buy-now:active { transform:none; }
}

/* Toasts: same radius system and a slimmer body ------------------------------------ */
.sc-toast { padding:8px 8px 9px 10px; gap:10px; border-radius:var(--dock-r); }
.sc-toast-ico { width:28px; height:28px; border-radius:var(--dock-ctl-r); }
.sc-toast-ico svg { width:16px; height:16px; }
.sc-toast-title { font-size:var(--dock-fs); }
.sc-toast-text { font-size:11.5px; }
.sc-toast-act { min-height:30px; padding:0 12px; border-radius:var(--dock-ctl-r); font-size:12px; }
.sc-toast-x { border-radius:var(--dock-ctl-r); }

/* ======================================================================
   v3.20.0 – Compact header on scroll (desktop + phones)
   assets/js/header-scroll.js puts .hz-scrolled on <html> after ~60px of scroll.
   Then: the announcement bar slides away and the header becomes ONE row:
   logo · page name · menu · account · light/dark.
   Keep this block last.
   ====================================================================== */
:root { --hz-c-ease:cubic-bezier(.2,.7,.2,1); }

/* Transitions (only on the properties that change) */
.sc-announce { transition:transform .28s var(--hz-c-ease), opacity .2s ease, visibility 0s linear 0s; }
.sc-header { transition:top .28s var(--hz-c-ease), background-color .2s ease, border-color .2s ease; }

/* 1 · Announcement bar: hidden once scrolled. On the home it is fixed, so it slides up
      and the header takes its place at the very top. */
html.hz-scrolled body:not(.announce-keep) .sc-announce {
  transform:translateY(-100%);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:transform .28s var(--hz-c-ease), opacity .2s ease, visibility 0s linear .28s;
}
html.hz-scrolled:root:root .home:not(.announce-keep) .sc-header { top:var(--adminbar,0px); }

/* 2 · Home header: the three floating groups merge into one glass bar, one row */
html.hz-scrolled:root:root .home .sc-header {
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  padding:8px 24px;
  box-sizing:border-box;
  background:color-mix(in srgb,var(--bg) 90%,transparent) !important;
  -webkit-backdrop-filter:blur(16px) saturate(1.2) !important;
  backdrop-filter:blur(16px) saturate(1.2) !important;
  border-bottom:1px solid var(--line) !important;
}
/* the wrapper disappears so logo, title and buttons sit in the same row as the menu */
html.hz-scrolled:root:root .home .sc-header .sc-page-head { display:contents; }
html.hz-scrolled:root:root .home .sc-header .sc-page-icon,
html.hz-scrolled:root:root .home .sc-header .sc-page-icon:has(.custom-logo-link) {
  order:1;
  width:var(--hz-c-logo);
  height:var(--hz-c-logo);
  border-radius:var(--r-sm);
}
html.hz-scrolled:root:root .home .sc-header .sc-page-title {
  order:2;
  flex:0 1 auto;
  min-width:0;
  min-height:0;
  padding:0 4px;
  background:transparent !important;
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
  border:0 !important;
}
html.hz-scrolled:root:root .home .sc-header .sc-page-head h1 {
  font-size:14px !important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
html.hz-scrolled:root:root .home .sc-header .woocommerce-breadcrumb { display:none; }
html.hz-scrolled:root:root .home .sc-header .sc-tabs {
  order:3;
  flex:0 1 auto;
  width:auto;
  max-width:none;
  min-width:0;
  margin:0;
  padding:3px;
}
html.hz-scrolled:root:root .home .sc-header .sc-tabs .sc-menu-list a { padding:6px 14px; font-size:12px; }
html.hz-scrolled:root:root .home .sc-header .sc-head-actions { order:4; display:flex; align-items:center; margin-inline-start:auto; }

/* 3 · Inner pages (shop, product, cart…): same row, just smaller */
:root:root .sc-header:not(.sc-header--home) .sc-page-head {
  flex-wrap:nowrap;
  gap:16px;
  padding:6px 24px;
}
:root:root .sc-header:not(.sc-header--home) .sc-page-icon {
  width:var(--hz-c-logo);
  height:var(--hz-c-logo);
  border-radius:var(--r-sm);
}
:root:root .sc-header:not(.sc-header--home) .sc-brand { gap:10px; min-width:0; }
:root:root .sc-header:not(.sc-header--home) .sc-brand-name { font-size:13px; }
:root:root .sc-header:not(.sc-header--home) .sc-tabs { flex:1 1 auto; min-width:0; }
:root:root .sc-header:not(.sc-header--home) .sc-tabs .sc-menu-list a { padding:6px 12px; font-size:12px; }

/* 4 · Account + light/dark buttons shrink */
html.hz-scrolled:root:root .sc-header .sc-account,
html.hz-scrolled:root:root .sc-header .sc-settings-btn {
  height:var(--hz-c-btn);
  min-height:var(--hz-c-btn);
}
html.hz-scrolled:root:root .sc-header .sc-settings-btn { width:var(--hz-c-btn); }
html.hz-scrolled:root:root .sc-header .sc-head-actions { gap:8px; flex:none; }

/* 5 · Tablets and phones: everything stays on ONE row.
      Page name takes the leftover space and is cut with "…" when it is too long;
      the menu scrolls sideways if it ever overflows. */
@media(max-width:767.98px) {
  :root { --hz-c-btn:38px; }

  html.hz-scrolled:root:root .home .sc-header { gap:8px; padding:6px 12px; }
  html.hz-scrolled:root:root .home .sc-header .sc-page-title { flex:1 1 0; padding:0 2px; }
  html.hz-scrolled:root:root .home .sc-header .sc-page-head h1 { font-size:13px !important; }
  html.hz-scrolled:root:root .home .sc-header .sc-tabs { flex:0 1 auto; padding:2px; max-width:55%; }
  html.hz-scrolled:root:root .home .sc-header .sc-tabs .sc-menu-list { gap:2px; }
  html.hz-scrolled:root:root .home .sc-header .sc-tabs .sc-menu-list a { padding:6px 10px; font-size:12px; }
  /* the small caramel dot of the active item costs too much room on phones */
  html.hz-scrolled:root:root .home .sc-header .sc-tabs .sc-menu-list a::before { display:none; }
  html.hz-scrolled:root:root .home .sc-header .sc-head-actions { margin-inline-start:0; gap:6px; }

  :root:root .sc-header:not(.sc-header--home) .sc-page-head { flex-wrap:nowrap; gap:8px; padding:6px 12px; }
  :root:root .sc-header:not(.sc-header--home) .sc-brand { flex:1 1 0; gap:8px; }
  :root:root .sc-header:not(.sc-header--home) .sc-brand-name {
    min-width:0;
    font-size:13px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  :root:root .sc-header:not(.sc-header--home) .sc-tabs { order:0; flex:0 1 auto; max-width:55%; padding:0; }
  :root:root .sc-header:not(.sc-header--home) .sc-tabs .sc-menu-list { gap:2px; }
  :root:root .sc-header:not(.sc-header--home) .sc-tabs .sc-menu-list a { padding:6px 8px; font-size:12px; }
}
/* Phones: account button is icon-only and as small as the mode toggle */
@media(max-width:575.98px) {
  html.hz-scrolled:root:root .sc-header .sc-account,
  html.hz-scrolled:root:root .sc-header .sc-settings-btn {
    width:var(--hz-c-btn);
    min-width:var(--hz-c-btn);
    padding:0;
  }
}

@media (prefers-reduced-motion:reduce) {
  .sc-announce, html.hz-scrolled body:not(.announce-keep) .sc-announce, .sc-header { transition:none; }
}

/* ======================================================================
   v3.22.3 – Header: thinner chips + the default button radius (--btn-r, 5px)
   Applies to the glass header on every page, scrolled (one compact row) or not:
   logo box, page title chip, Home / Shop menu, account button, light / dark toggle.
   Logo sizes stay under Customize > Horizons > Home header / Site header.
   ====================================================================== */
:root { --hz-c-logo:calc(var(--hz-ctl-h) - 4px); --hz-c-btn:calc(var(--hz-ctl-h) - 4px); }
@media(max-width:767.98px) { :root { --hz-c-logo:calc(var(--hz-ctl-h) - 6px); } }
@media(pointer:coarse) { :root { --hz-c-btn:var(--hz-ctl-h); } }

/* Rounding: items use the button radius, wrappers add their padding to it (concentric corners) */
:root:root .sc-header .sc-page-icon,
:root:root .sc-header .sc-page-icon:has(.custom-logo-link),
:root:root .sc-header .sc-account,
:root:root .sc-header .sc-settings-btn,
:root:root .sc-header .sc-tabs .sc-menu-list a { border-radius:var(--btn-r) !important; }
:root:root .home .sc-header .sc-page-title { border-radius:calc(var(--btn-r) + 3px) !important; }
:root:root .home .sc-header .sc-tabs,
:root:root .sc-header .sc-tabs { border-radius:calc(var(--btn-r) + 3px) !important; }
html.hz-scrolled:root:root .sc-header .sc-tabs { border-radius:calc(var(--btn-r) + 2px) !important; }

/* Buttons: account + light / dark toggle follow --hz-c-btn (control height - 4px, = control height on touch screens) */
:root:root .sc-header .sc-account,
:root:root .sc-header .sc-settings-btn { height:var(--hz-c-btn); min-height:var(--hz-c-btn); font-size:12px; }
:root:root .sc-header .sc-settings-btn { width:var(--hz-c-btn); min-width:var(--hz-c-btn); }
:root:root .sc-header .sc-account { gap:6px; padding:0 12px 0 10px; }
:root:root .sc-header .sc-settings-btn svg { width:18px; height:18px; }
@media(max-width:575.98px) {
  :root:root .sc-header .sc-account { width:var(--hz-c-btn); min-width:var(--hz-c-btn); padding:0; }
}

/* Menu pill: slimmer container and items */
:root:root .home .sc-header .sc-tabs { padding:3px; margin-top:4px; }
:root:root .home .sc-header .sc-tabs .sc-menu-list a { padding:5px 14px; font-size:12px; }
:root:root .home .sc-header .sc-page-head { padding-block:10px 4px; }

/* Compact row (after scrolling): thinner bar */
html.hz-scrolled:root:root .home .sc-header { padding-block:5px; gap:10px; }
:root:root .sc-header:not(.sc-header--home) .sc-page-head { padding-block:4px; }
html.hz-scrolled:root:root .home .sc-header .sc-tabs,
:root:root .sc-header:not(.sc-header--home) .sc-tabs { padding:2px; }
html.hz-scrolled:root:root .home .sc-header .sc-tabs .sc-menu-list a,
:root:root .sc-header:not(.sc-header--home) .sc-tabs .sc-menu-list a { padding:4px 12px; font-size:12px; }
html.hz-scrolled:root:root .sc-header .sc-account { padding:0 12px 0 10px; }
@media(max-width:767.98px) {
  html.hz-scrolled:root:root .home .sc-header { padding-block:4px; }
  html.hz-scrolled:root:root .home .sc-header .sc-tabs .sc-menu-list a,
  :root:root .sc-header:not(.sc-header--home) .sc-tabs .sc-menu-list a { padding:4px 10px; font-size:12px; }
}
@media(max-width:575.98px) {
  html.hz-scrolled:root:root .sc-header .sc-account { width:var(--hz-c-btn); min-width:var(--hz-c-btn); padding:0; }
}

/* ======================================================================
   v3.23.0 – Global button radius (Customize > Horizons > Typography and shape > Button radius)
   One value, --btn-r, for the theme's own buttons. Elementor widgets are left alone: the radius set
   on each button in Elementor (inc/home-mosaic.json) keeps working.
   ====================================================================== */
:root:root:root .sc-btn,
:root:root:root .sc-btn.sec,
:root:root:root .button,
:root:root:root .woocommerce a.button,
:root:root:root .woocommerce button.button,
:root:root:root .woocommerce input.button,
:root:root:root .woocommerce #respond input#submit,
:root:root:root .single_add_to_cart_button,
:root:root:root .single_add_to_cart_button.button,
:root:root:root .sc-buy-now,
:root:root:root .woocommerce a.checkout-button,
:root:root:root .wc-proceed-to-checkout a.checkout-button,
:root:root:root .return-to-shop .button,
:root:root:root .wc-block-components-button.wc-block-components-button { border-radius:var(--btn-r); }

/* ======================================================================
   v3.27.0 – Checkout type scale
   Page title h1 (var(--h-xl)) > section titles (var(--h-m)) > fields and item names 14px >
   copy, notices, labels 13px > meta 12px. Totals value 20px. Phones keep 16px text in fields
   (iOS zooms the page into anything smaller on focus).
   ====================================================================== */
@media(pointer:fine) {
  :root:root .wc-block-checkout :is(input,select,textarea),
  :root:root .woocommerce-checkout :is(input,select,textarea),
  :root:root .wc-block-checkout .wc-blocks-components-select__select { font-size:14px; }
  :root:root .wc-block-checkout .wc-block-components-text-input label,
  :root:root .wc-block-checkout .wc-blocks-components-select__label { font-size:14px; }
}

/* ======================================================================
   v3.21.0 – Announcement bar customization
   inc/customizer.php prints the --hz-an-* variables (Customize > Horizons > Announcement bar).
   Every variable has a fallback, so the bar looks the same as before until something is changed.
   Keep this block last.
   ====================================================================== */
body.has-announce { --announce-h:var(--hz-an-h,38px); }
.sc-announce.sc-announce {
  justify-content:var(--hz-an-justify,center);
  text-align:var(--hz-an-ta,center);
  background:var(--hz-an-bg,var(--surface)) !important;
  color:var(--hz-an-fg,var(--fg)) !important;
  font-family:var(--hz-an-font,inherit);
  font-size:var(--hz-an-size,12px);
  font-weight:var(--hz-an-weight,600);
  letter-spacing:var(--hz-an-ls,0);
  text-transform:var(--hz-an-tt,none);
  border-bottom:var(--hz-an-bb,1px) solid var(--line);
}
.sc-announce.sc-announce a,
.sc-announce.sc-announce span {
  color:var(--hz-an-fg,var(--fg)) !important;
  font:inherit;
  letter-spacing:inherit;
  text-transform:inherit;
}
.sc-announce.sc-announce a { text-decoration:var(--hz-an-u,underline); text-underline-offset:3px; }
@media(max-width:767.98px) {
  body.has-announce { --announce-h:var(--hz-an-h-m,30px); }
  .sc-announce.sc-announce { font-size:var(--hz-an-size-m,11px); font-weight:var(--hz-an-weight-m,500); letter-spacing:var(--hz-an-ls,0); }
}

/* .sc-main on mobile: no flex gap (the collapsed filter panel is a zero-height flex item, so a gap
   would count twice). Spacing comes from margins instead: toggle -> (open panel) -> results. */
@media(max-width:767.98px) {
  .sc-main { gap:0; }
  .sc-main > .sc-filters-toggle { margin-bottom:12px; }
  .sc-main > .sc-sidebar.is-open { margin-bottom:12px; }
}
