/* ==========================================================================
   Vitbix — WooCommerce recreation of the Shopify "Horizon" theme as configured
   for Vitbix (config/settings_data.json) plus the custom vitbix-* sections.
   ========================================================================== */

/* ---------- Tokens (settings_data.json → color_palette etc.) ---------- */
:root {
  --color-background: #ffffff;
  --color-foreground: #174e43;
  --color-foreground-rgb: 23, 78, 67;
  --color-1: #486158;
  --color-2: #dfe6d9;
  --color-muted: #4d655c;
  --color-soft: #f1f5e9;
  --color-soft-2: #f7f8f2;
  --color-sold-out: #eef1ea;
  --color-accent: #71902c;
  --color-focus: #91b830;
  --color-error: #b3261e;

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: var(--font-body);

  --font-size-body: 16px;
  --line-height-body: 1.6;          /* body-loose */
  --line-height-display-tight: 1;
  --line-height-display-normal: 1.2;
  --line-height-display-loose: 1.4;

  --radius-button: 40px;
  --radius-input: 4px;
  --radius-card: 12px;
  --radius-popover: 14px;
  --radius-badge: 100px;

  --page-width: 1200px;
  --page-margin: 40px;
  --header-height: 72px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 749px) {
  :root { --page-margin: 20px; --header-height: 60px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-height) + 16px); }
body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.vb-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: inherit; margin: 0 0 .5em; }
h1 { font-size: 56px; font-weight: 700; line-height: var(--line-height-display-tight); }
h2 { font-size: 48px; font-weight: 700; line-height: var(--line-height-display-tight); }
h3 { font-size: 32px; font-weight: 700; line-height: var(--line-height-display-normal); }
h4 { font-size: 24px; font-weight: 700; line-height: var(--line-height-display-tight); }
h5 { font-size: 14px; font-weight: 500; line-height: var(--line-height-display-loose); }
h6 { font-size: 12px; font-weight: 500; line-height: var(--line-height-display-loose); }
@media (max-width: 749px) {
  h1 { font-size: 40px; } h2 { font-size: 34px; } h3 { font-size: 26px; } h4 { font-size: 21px; }
}
hr, .vb-divider { border: 0; border-top: 1px solid var(--color-2); margin: 0; }
:focus-visible { outline: 2px solid var(--color-foreground); outline-offset: 3px; }
[hidden] { display: none !important; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.vb-skip-link:focus {
  clip: auto; width: auto; height: auto; margin: 0; z-index: 1000; top: 8px; left: 8px;
  padding: 12px 20px; background: var(--color-background); border-radius: var(--radius-input);
}

.page-width { width: 100%; max-width: calc(var(--page-width) + var(--page-margin) * 2); margin-inline: auto; padding-inline: var(--page-margin); }

.vb-icon { display: inline-flex; width: 20px; height: 20px; flex: none; }
.vb-icon svg { width: 100%; height: 100%; }

.vb-rte { line-height: var(--line-height-body); }
.vb-rte h2 { font-size: 32px; line-height: 1.2; margin: 1.2em 0 .5em; }
.vb-rte h3 { font-size: 20px; line-height: 1.3; margin: 1.6em 0 .5em; }
.vb-rte h4 { font-size: 17px; line-height: 1.3; margin: 1.4em 0 .4em; }
.vb-rte > :first-child { margin-top: 0; }
.vb-rte ul, .vb-rte ol { padding-left: 1.2em; margin: 0 0 1em; }
.vb-rte li { margin-bottom: .25em; }
.vb-rte li > p { margin: 0; }
.vb-rte a { text-underline-offset: 3px; }
.vb-rte table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 15px; }
.vb-rte th, .vb-rte td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--color-2); }
.vb-rte thead th { font-weight: 600; background: var(--color-soft); }

/* ---------- Buttons & links ---------- */
.vb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 28px; border-radius: var(--radius-button);
  font-size: 15px; font-weight: 500; line-height: 1.2; text-decoration: none; text-align: center;
  border: 1px solid transparent; transition: background-color .2s, color .2s, border-color .2s, opacity .2s;
}
.vb-btn--primary { background: var(--color-foreground); color: var(--color-background); border-width: 0; }
.vb-btn--primary:hover { background: #286855; }
.vb-btn--secondary { background: transparent; color: var(--color-foreground); border-color: var(--color-foreground); }
.vb-btn--secondary:hover { background: var(--color-soft); }
.vb-btn--full { width: 100%; }
.vb-btn--small { min-height: 38px; padding: 8px 18px; font-size: 13px; }
.vb-btn:disabled, .vb-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.vb-btn.is-loading { pointer-events: none; opacity: .7; }

.vb-link { font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.vb-link:hover { text-decoration-thickness: 2px; }

/* ---------- Announcement bar (header-announcements) ---------- */
.vb-announcement {
  background: #174e43; color: #ffffff; text-align: center;
  padding: 15px var(--page-margin);
  font-size: .75rem; font-weight: 500; line-height: 1.4;
}
.vb-announcement p { margin: 0; }

/* Sale banner: moving autumn gradient, pulsing code chip, live countdown */
.vb-announcement--sale {
  padding: 0;
  background: linear-gradient(90deg, #7c2d12, #c2410c, #d97706, #c2410c, #7c2d12);
  background-size: 300% 100%;
  animation: vb-sale-bg 10s linear infinite;
  font-size: .875rem; font-weight: 600; letter-spacing: .01em;
}
.vb-announcement__link {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px;
  padding: 11px var(--page-margin); color: #fff; text-decoration: none;
}
.vb-announcement__link:hover .vb-announcement__text { text-decoration: underline; text-underline-offset: 3px; }
.vb-announcement__link:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.vb-announcement--sale strong {
  display: inline-block; margin: 0 3px; padding: 2px 10px; border-radius: var(--radius-badge);
  background: #fff; color: #9a3412; font-weight: 700; letter-spacing: .08em;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, .7);
  animation: vb-chip-pulse 2s ease-in-out infinite;
}
.vb-countdown {
  display: inline-block; padding: 3px 10px; border-radius: var(--radius-badge);
  background: rgba(0, 0, 0, .22); font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap;
}
@keyframes vb-sale-bg { from { background-position: 0% 50%; } to { background-position: 300% 50%; } }
@keyframes vb-chip-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); }
  50% { transform: scale(1.06); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
}
@media (max-width: 749px) {
  .vb-announcement--sale { font-size: .8125rem; }
  .vb-announcement__link { padding-top: 9px; padding-bottom: 9px; }
}

/* ---------- Header (sticky: always; logo left, menu centre, search right) ---------- */
.vb-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--color-background);
  transition: box-shadow .2s;
  overflow-x: clip; /* the measured-but-hidden inline menu must not widen the page */
}
.vb-header.is-scrolled { box-shadow: 0 1px 0 var(--color-2); }
.vb-header__inner {
  max-width: calc(1440px + var(--page-margin) * 2); margin: 0 auto;
  padding: 0 var(--page-margin); min-height: var(--header-height);
  display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); align-items: center; gap: 24px;
}
.vb-logo { display: inline-flex; text-decoration: none; }
.vb-header__logo { justify-self: start; }
.vb-header__logo img { height: 40px; width: auto; max-width: none; aspect-ratio: 1352 / 324; }
.vb-header__nav { justify-self: center; min-width: 0; }
.vb-menu { list-style: none; display: flex; flex-wrap: nowrap; justify-content: center; gap: 4px 26px; margin: 0; padding: 0; }
.vb-menu a {
  display: block; padding: 10px 0; font-size: .875rem; font-weight: 400; text-decoration: none; white-space: nowrap;
  position: relative;
}
.vb-menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.vb-menu a:hover::after, .vb-menu .current-menu-item > a::after { transform: scaleX(1); }
.vb-header__actions { justify-self: end; display: flex; align-items: center; gap: 4px; }
.vb-header__icon {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 0; background: none; padding: 0; border-radius: 50%;
  color: var(--color-foreground); text-decoration: none;
}
.vb-header__icon:hover { background: var(--color-soft); }
.vb-header__icon .vb-icon { width: 22px; height: 22px; }
.vb-header__menu-toggle { display: none; }
.vb-cart-count {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--color-foreground); color: var(--color-background);
  font-size: 10px; font-weight: 600; line-height: 18px; text-align: center;
}

/* Drawer menu: below 990px, or whenever the inline menu doesn't fit (set by vitbix.js, like Horizon's overflow-list). */
.vb-header.is-compact .vb-header__inner { grid-template-columns: 1fr auto 1fr; gap: 8px; }
.vb-header.is-compact .vb-header__nav { position: absolute; visibility: hidden; pointer-events: none; }
.vb-header.is-compact .vb-header__menu-toggle { display: inline-flex; justify-self: start; }
.vb-header.is-compact .vb-header__logo { justify-self: center; }
@media (max-width: 989px) {
  .vb-header__inner { grid-template-columns: 1fr auto 1fr; gap: 8px; }
  .vb-header__nav { position: absolute; visibility: hidden; pointer-events: none; }
  .vb-header__menu-toggle { display: inline-flex; justify-self: start; }
  .vb-header__logo { justify-self: center; }
  .vb-header__account { display: none; }
}
@media (max-width: 749px) {
  .vb-header__logo img { height: 32px; }
}

/* ---------- Drawers & modals ---------- */
.vb-drawer, .vb-modal { position: fixed; inset: 0; z-index: 100; }
.vb-drawer__backdrop, .vb-modal__backdrop {
  position: absolute; inset: 0; background: rgba(var(--color-foreground-rgb), .25);
  opacity: 0; transition: opacity .25s;
}
.vb-drawer.is-open .vb-drawer__backdrop, .vb-modal.is-open .vb-modal__backdrop { opacity: 1; }
.vb-drawer__panel {
  position: absolute; top: 0; bottom: 0; width: min(440px, 100vw);
  background: var(--color-background); color: var(--color-foreground);
  display: flex; flex-direction: column; transition: transform .3s var(--ease);
}
.vb-drawer--right .vb-drawer__panel { right: 0; transform: translateX(100%); border-left: 1px solid var(--color-2); }
.vb-drawer--left .vb-drawer__panel { left: 0; transform: translateX(-100%); border-right: 1px solid var(--color-2); width: min(360px, 88vw); }
.vb-drawer.is-open .vb-drawer__panel { transform: none; }
.vb-drawer__header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px 16px 24px; border-bottom: 1px solid var(--color-2);
}
.vb-drawer__logo img { height: 30px; width: auto; }
.vb-drawer__nav { flex: 1; overflow-y: auto; padding: 12px 24px; }
.vb-drawer-menu { list-style: none; margin: 0; padding: 0; }
.vb-drawer-menu a { display: block; padding: 12px 0; font-size: 20px; font-weight: 500; text-decoration: none; letter-spacing: -.01em; }
.vb-drawer__footer { padding: 20px 24px; border-top: 1px solid var(--color-2); }
.vb-drawer__footer a { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; text-decoration: none; }

/* Search modal (predictive search) */
.vb-modal__panel {
  position: relative; margin: 0 auto; max-width: 760px; width: calc(100% - 32px);
  margin-top: 10vh; max-height: 75vh; display: flex; flex-direction: column;
  background: var(--color-background); border: 1px solid var(--color-2); border-radius: var(--radius-popover);
  box-shadow: 0 20px 60px rgba(var(--color-foreground-rgb), .15);
  opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .25s var(--ease);
}
.vb-modal.is-open .vb-modal__panel { opacity: 1; transform: none; }
@media (max-width: 749px) {
  .vb-modal__panel { margin-top: 0; width: 100%; max-height: 100vh; height: 100%; border-radius: 0; border: 0; }
}
.vb-search-form { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 20px; border-bottom: 1px solid var(--color-2); }
.vb-search-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 17px; padding: 12px 0; }
.vb-search-form input::-webkit-search-cancel-button { display: none; }
.vb-search-form__reset { border: 0; background: none; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; padding: 6px; }
.vb-predictive { overflow-y: auto; padding: 8px 20px 20px; }
.vb-predictive:empty { display: none; }
.vb-predictive h3 { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--color-1); margin: 14px 0 8px; }
.vb-predictive ul { list-style: none; margin: 0; padding: 0; }
.vb-predictive li a { display: flex; align-items: center; gap: 14px; padding: 8px; margin: 0 -8px; border-radius: 8px; text-decoration: none; }
.vb-predictive li a:hover, .vb-predictive li a[aria-selected="true"] { background: var(--color-soft); }
.vb-predictive img { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; background: var(--color-soft-2); mix-blend-mode: multiply; }
.vb-predictive__title { display: block; font-size: 14px; line-height: 1.35; }
.vb-predictive__price { display: block; font-size: 12px; font-weight: 500; color: var(--color-1); }
.vb-predictive__empty { font-size: 14px; color: var(--color-1); padding: 12px 0 0; margin: 0; }
.vb-predictive__all { display: flex; margin-top: 14px; }

/* Cart drawer */
.vb-cart-drawer__title { font-size: 20px; font-weight: 600; line-height: 1.2; margin: 0; display: flex; align-items: center; gap: 10px; }
.vb-cart-drawer__count {
  display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 7px;
  border-radius: 12px; background: var(--color-soft); font-size: 12px; font-weight: 500;
}
.vb-cart-drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.vb-cart-drawer__loading { height: 100%; min-height: 200px; }
.vb-cart-empty { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; padding: 40px 0; }
.vb-cart-empty p { font-size: 24px; font-weight: 600; margin: 0; }
.vb-cart-items { list-style: none; margin: 0; padding: 0; }
.vb-cart-item { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--color-2); }
.vb-cart-item:last-child { border-bottom: 0; }
.vb-cart-item__image { width: 88px; aspect-ratio: 1; border-radius: 8px; background: var(--color-soft-2); overflow: hidden; display: block; }
.vb-cart-item__image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.vb-cart-item__title { font-size: 14px; line-height: 1.4; text-decoration: none; display: block; margin-bottom: 4px; }
.vb-cart-item__title:hover { text-decoration: underline; text-underline-offset: 3px; }
.vb-cart-item__unit { font-size: 13px; color: var(--color-1); margin: 0 0 10px; }
.vb-cart-item__actions { display: flex; align-items: center; gap: 8px; }
.vb-cart-item__remove { border: 0; background: none; padding: 6px; border-radius: 50%; color: var(--color-1); display: inline-flex; }
.vb-cart-item__remove:hover { background: var(--color-soft); color: var(--color-foreground); }
.vb-cart-item__total { font-size: 14px; font-weight: 500; text-align: right; white-space: nowrap; }
.vb-cart-item.is-updating { opacity: .5; pointer-events: none; }
.vb-cart-item__error { grid-column: 2 / -1; font-size: 12px; color: var(--color-error); margin: 0; }
.vb-cart-drawer__footer { padding: 16px 24px 24px; border-top: 1px solid var(--color-2); display: grid; gap: 12px; }
.vb-discount summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; cursor: pointer;
  font-size: 14px; font-weight: 500; padding: 4px 0;
}
.vb-discount summary::-webkit-details-marker { display: none; }
.vb-discount[open] summary .vb-icon { transform: rotate(180deg); }
.vb-discount__form { display: flex; gap: 8px; margin-top: 10px; }
.vb-discount__form input { flex: 1; min-width: 0; }
.vb-discount__form .vb-btn { min-height: 44px; padding: 8px 20px; }
.vb-discount__error { font-size: 12px; color: var(--color-error); margin: 8px 0 0; }
.vb-discount__codes { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vb-discount__codes button {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--color-2); background: var(--color-soft);
  border-radius: var(--radius-badge); padding: 4px 8px 4px 10px; font-size: 12px; font-weight: 500; text-transform: uppercase;
}
.vb-discount__codes .vb-icon { width: 14px; height: 14px; }
.vb-cart-drawer__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; }
.vb-cart-drawer__total strong { font-size: 18px; font-weight: 600; }
.vb-cart-drawer__discount { display: flex; justify-content: space-between; font-size: 14px; color: var(--color-1); }
.vb-cart-drawer__note { font-size: 12px; color: var(--color-1); margin: -4px 0 4px; }

.vb-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 120;
  background: var(--color-foreground); color: var(--color-background); padding: 12px 20px; border-radius: var(--radius-button);
  font-size: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

/* ---------- Form fields ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"],
input[type="search"], input[type="url"], select, textarea,
.vb-field input, .vb-field textarea {
  width: 100%; min-height: 48px; padding: 12px 16px;
  background: var(--color-background); color: var(--color-1);
  border: 1px solid var(--color-2); border-radius: var(--radius-input);
  font-size: 15px; line-height: 1.4; transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--color-foreground); box-shadow: 0 0 0 1px var(--color-foreground); }
::placeholder { color: #7b8d84; opacity: 1; }
select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23174e43' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 8 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }

/* ---------- Product card (blocks/_product-card) ---------- */
.vb-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 24px; row-gap: 36px;
}
.vb-grid--collection { column-gap: 16px; row-gap: 24px; }
.vb-grid--related { column-gap: 12px; row-gap: 24px; }
.vb-collection.is-dense .vb-grid--collection { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 989px) { .vb-grid, .vb-collection.is-dense .vb-grid--collection { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 749px) {
  .vb-grid, .vb-grid--collection, .vb-collection.is-dense .vb-grid--collection { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; row-gap: 28px; }
  .vb-collection.is-dense .vb-grid--collection { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.vb-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.vb-grid--collection .vb-card { gap: 4px; }
.vb-grid--related .vb-card { gap: 8px; }
.vb-card__media { position: relative; overflow: hidden; background: var(--color-background); }
.vb-card__media > a { display: block; }
.vb-card--square .vb-card__media > a { aspect-ratio: 1; }
.vb-card--square .vb-card__media img { width: 100%; height: 100%; object-fit: contain; }
.vb-card--adapt .vb-card__media img { width: 100%; height: auto; }
.vb-card--rounded .vb-card__media { border-radius: var(--radius-card); }
.vb-card__media img { transition: transform .5s var(--ease); }
.vb-card:hover .vb-card__media img { transform: scale(1.03); }
.vb-card__title {
  padding-top: 4px; font-size: 1rem; line-height: 1.4; text-decoration: none;
  overflow-wrap: anywhere; text-wrap: pretty;
}
.vb-card__title:hover { text-decoration: underline; text-underline-offset: 3px; }
.vb-card .vb-price { font-size: 12px; font-weight: 500; line-height: 1.4; }

.vb-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.vb-price__compare { color: var(--color-1); font-weight: 400; }
.vb-badge {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  padding: 4px 10px; border-radius: var(--radius-badge); font-size: 12px; font-weight: 500; line-height: 1.3;
}
.vb-badge--sold-out { background: var(--color-sold-out); color: var(--color-foreground); }
.vb-badge--clearance { left: 10px; right: auto; background: #c2410c; color: #fff; }

.vb-quick-add {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center; gap: 0;
  height: 40px; min-width: 40px; padding: 0 10px; border: 0; border-radius: var(--radius-button);
  background: var(--color-background); color: var(--color-foreground);
  box-shadow: 0 2px 10px rgba(var(--color-foreground-rgb), .12);
  opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .25s var(--ease), gap .25s, padding .25s;
}
.vb-quick-add__label { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 13px; font-weight: 500; transition: max-width .25s var(--ease); }
.vb-card:hover .vb-quick-add, .vb-quick-add:focus-visible { opacity: 1; transform: none; }
.vb-quick-add:hover { gap: 6px; padding: 0 16px 0 12px; }
.vb-quick-add:hover .vb-quick-add__label { max-width: 60px; }
.vb-quick-add.is-loading { opacity: .6; pointer-events: none; }
.vb-quick-add.is-added .vb-icon--plus { display: none; }
@media (hover: none) { .vb-quick-add { opacity: 1; transform: none; width: 36px; height: 36px; min-width: 36px; padding: 0; } .vb-quick-add__label { display: none; } }

/* ---------- Homepage: sections/vitbix-home.liquid (verbatim from Shopify) ---------- */
.vb-home{color:#174e43}.vb-hero{max-width:1440px;margin:auto;background:#f1f5e9;display:grid;grid-template-columns:1fr 1fr;min-height:540px}.vb-hero-copy{padding:74px 6% 60px 9%;align-self:center}.vb-eyebrow{font-size:11px!important;text-transform:uppercase;letter-spacing:2px;font-weight:600;margin:0 0 20px}.vb-hero h1{font-size:clamp(44px,4.8vw,70px);line-height:1.04;letter-spacing:-3px;max-width:620px;margin:0 0 25px;font-weight:600}.vb-lead{max-width:380px;font-size:16px;line-height:1.65;color:#4d655c;margin-bottom:30px}.vb-button{display:inline-flex;align-items:center;gap:25px;background:#174e43;color:white;border-radius:40px;padding:17px 26px;font-size:14px;font-weight:600;text-decoration:none;transition:background .2s}.vb-button:hover{background:#286855}.vb-button:focus-visible,.vb-text-link:focus-visible,.vb-category:focus-visible,.vb-hero-pack:focus-visible{outline:3px solid #91b830;outline-offset:4px}.vb-text-link{display:inline-block;font-size:13px;font-weight:600;margin-left:22px;text-underline-offset:5px}.vb-hero-note{font-size:11px;letter-spacing:.3px;margin-top:30px;color:#50685e}.vb-hero-note span{color:#71902c;margin-right:7px}.vb-hero-art{position:relative;overflow:hidden;min-height:500px;background:#e5eddc}.vb-orbit{position:absolute;width:440px;height:440px;border-radius:50%;background:#d0deba;left:50%;top:50%;transform:translate(-50%,-45%)}.vb-orbit:after{content:'';position:absolute;inset:-40px;border:1px solid #bccda3;border-radius:50%}.vb-hero-pack{mix-blend-mode:multiply;position:absolute;display:block;bottom:112px;filter:drop-shadow(0 20px 10px #174e4322);transition:transform .3s}.vb-hero-pack:hover{transform:translateY(-8px)}.vb-hero-pack img{object-fit:contain;width:100%;height:100%;mix-blend-mode:multiply}.vb-pack-1{width:34%;height:280px;left:4%;z-index:1;transform:rotate(-7deg)}.vb-pack-2{width:40%;height:360px;left:30%;z-index:3}.vb-pack-3{width:32%;height:270px;right:3%;z-index:2;transform:rotate(7deg)}.vb-art-label{position:absolute;right:35px;top:34px;font-size:10px;text-transform:uppercase;letter-spacing:2px}.vb-art-caption{position:absolute;bottom:28px;left:35px;right:35px;display:flex;justify-content:space-between;border-top:1px solid #bfcdaa;padding-top:20px;font-size:12px}.vb-art-caption span:last-child{font-size:24px;line-height:1;color:#71902c}.vb-benefits{display:grid;grid-template-columns:repeat(3,1fr);max-width:1240px;margin:auto;padding:28px 32px;border-bottom:1px solid #e2e8df;gap:20px}.vb-benefits div{font-size:12px;font-weight:500;display:flex;align-items:center;gap:16px}.vb-benefits span{font-size:10px;color:#718673;border:1px solid #d9e3d3;border-radius:50%;padding:7px}.vb-category-wrap{max-width:1240px;margin:auto;padding:65px 32px 24px}.vb-section-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:30px}.vb-section-heading h2{font-size:32px;line-height:1.15;font-weight:500;letter-spacing:-1px;margin:0}.vb-section-heading .vb-eyebrow{margin-bottom:12px}.vb-categories{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.vb-category{position:relative;text-decoration:none;background:#f3f5ef;border:1px solid #e7ece1;border-radius:12px;overflow:hidden;padding:22px;transition:background .2s}.vb-category:nth-child(2){background:#f2f0e8}.vb-category:nth-child(3){background:#eef2ee}.vb-category:nth-child(4){background:#f4f0e8}.vb-category:hover{background:#e5eddb}.vb-category-number{font-size:10px;letter-spacing:1px}.vb-category img{width:100%;height:165px;object-fit:contain;mix-blend-mode:multiply;margin:12px 0 20px}.vb-category-bottom{display:flex;gap:12px;justify-content:space-between;align-items:center}.vb-category h3{font-size:15px;line-height:1.35;font-weight:500;letter-spacing:0;margin:0;max-width:160px}.vb-category-bottom>span{font-size:20px}.vb-category a:focus-visible{outline:3px solid #174e43}@media(max-width:749px){.vb-hero{grid-template-columns:1fr}.vb-hero-copy{padding:42px 25px 35px}.vb-hero h1{font-size:47px;letter-spacing:-2px;max-width:390px}.vb-lead{font-size:14px}.vb-hero-art{min-height:355px}.vb-orbit{width:285px;height:285px}.vb-hero-pack{bottom:72px}.vb-pack-1{height:200px;left:8%;width:28%}.vb-pack-2{height:260px;left:32%;width:36%}.vb-pack-3{height:190px;right:7%;width:28%}.vb-art-label{right:20px;top:20px}.vb-art-caption{left:20px;right:20px;bottom:20px;padding-top:14px}.vb-benefits{padding:20px;gap:12px;grid-template-columns:1fr}.vb-benefits div{font-size:12px}.vb-category-wrap{padding:38px 20px 12px}.vb-section-heading h2{font-size:26px}.vb-section-heading .vb-text-link{font-size:11px}.vb-categories{grid-template-columns:repeat(2,1fr);gap:12px}.vb-category{padding:15px}.vb-category img{height:135px}.vb-category h3{font-size:13px}.vb-text-link{margin-left:16px}}
.vb-hero-pack img{height:100%!important}

/* ---------- Homepage: product-list section ("Explore the range") ---------- */
.vb-product-list {
  max-width: calc(var(--page-width) + var(--page-margin) * 2); margin: 0 auto;
  padding: 40px var(--page-margin) 60px;
}
.vb-product-list__header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 28px; }
.vb-product-list__header h3 { font-size: 24px; font-weight: 700; line-height: 1; margin: 0; }

/* ---------- Homepage: sections/vitbix-rich-text.liquid (verbatim) ---------- */
.vb-rich-text{color:#174e43;background:#f1f5e9;padding:70px max(32px,calc((100vw - 1176px)/2))}.vb-rich-text-inner{max-width:720px;margin:0 auto;text-align:center}.vb-rich-text-eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:2px;font-weight:600;margin:0 0 18px}.vb-rich-text h2{font-size:34px;line-height:1.15;font-weight:500;letter-spacing:-1px;margin:0 0 22px}.vb-rich-text-body{font-size:15px;line-height:1.8;color:#4d655c}.vb-rich-text-body p{margin:0 0 14px}.vb-rich-text .vb-text-link{display:inline-block;margin-top:10px;font-size:13px;font-weight:600;text-underline-offset:5px}@media(max-width:749px){.vb-rich-text{padding:46px 25px}.vb-rich-text h2{font-size:27px}.vb-rich-text-body{font-size:14px}}
.vb-rich-text .vb-text-link{margin-left:0}

/* ---------- Homepage: sections/vitbix-story.liquid (verbatim) ---------- */
.vb-story{display:grid;grid-template-columns:1fr 1fr;gap:70px;background:#174e43;color:#f4f8ec;padding:65px max(32px,calc((100vw - 1176px)/2));margin-top:25px}.vb-story>div:first-child>p{font-size:10px;text-transform:uppercase;letter-spacing:2px;color:#bed88b;margin-bottom:20px}.vb-story h2{font-size:36px;line-height:1.15;font-weight:500;letter-spacing:-1px;margin:0;max-width:400px}.vb-story>div:last-child{align-self:center}.vb-story>div:last-child>p{font-size:14px;line-height:1.8;color:#d3e0d7;max-width:430px;margin:0 0 25px}.vb-story a{font-size:13px;text-underline-offset:6px}.vb-story a span{margin-left:15px}@media(max-width:749px){.vb-story{grid-template-columns:1fr;gap:25px;padding:42px 25px}.vb-story h2{font-size:30px}}
.vb-rich-text + .vb-story{margin-top:0}

/* ---------- Footer: sections/vitbix-footer.liquid (verbatim) ---------- */
.vb-footer{background:#f7f8f2;color:#174e43;padding:54px max(32px,calc((100vw - 1176px)/2)) 25px}.vb-footer-top{display:grid;grid-template-columns:2fr 1fr 1fr;gap:60px;padding-bottom:40px}.vb-footer-brand img{width:160px;height:auto}.vb-footer-brand p{font-size:13px;line-height:1.7;max-width:270px;margin-top:18px;color:#597064}.vb-footer nav h2{font-size:11px;text-transform:uppercase;letter-spacing:1.4px;font-weight:600;margin:0 0 20px}.vb-footer nav a{display:block;font-size:12px;line-height:1.5;margin-bottom:12px;text-decoration:none}.vb-footer nav a:hover{text-decoration:underline;text-underline-offset:4px}.vb-footer-bottom{display:flex;justify-content:space-between;gap:40px;border-top:1px solid #dce4d5;padding-top:23px;font-size:10px;line-height:1.6;color:#617369}.vb-footer-bottom p{max-width:570px;margin:0}@media(max-width:749px){.vb-footer{padding:38px 25px 24px}.vb-footer-top{grid-template-columns:1fr 1fr;gap:30px}.vb-footer-brand{grid-column:1/-1}.vb-footer-bottom{flex-direction:column;gap:18px}}
.vb-footer-logo{display:inline-block}

/* ---------- Collection page ---------- */
.vb-collection-header { padding-top: 48px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 12px; }
.vb-collection-header h1 { font-size: 48px; font-weight: 700; line-height: 1; margin: 0; text-wrap: pretty; }
.vb-collection-header .vb-rte { max-width: 720px; color: var(--color-muted); }
.vb-collection-header .vb-rte p:last-child { margin-bottom: 0; }
@media (max-width: 749px) { .vb-collection-header { padding-top: 32px; padding-bottom: 24px; } .vb-collection-header h1 { font-size: 34px; } }
.vb-collection { padding-bottom: 64px; }

.vb-facets {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
  padding: 8px 0; margin-bottom: 8px; border-bottom: 1px solid var(--color-2);
}
.vb-facets__filters, .vb-facets__right { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.vb-facets__label { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--color-1); }
.vb-facets__label .vb-icon { width: 18px; height: 18px; }
.vb-facet { position: relative; }
.vb-facet summary {
  list-style: none; display: inline-flex; align-items: center; gap: 4px; cursor: pointer;
  font-size: 14px; padding: 10px 0; user-select: none;
}
.vb-facet summary::-webkit-details-marker { display: none; }
.vb-facet summary .vb-icon { width: 16px; height: 16px; transition: transform .2s; }
.vb-facet[open] summary .vb-icon { transform: rotate(180deg); }
.vb-facet__count { color: var(--color-1); }
.vb-facet__panel {
  position: absolute; top: calc(100% + 4px); left: 0; z-index: 20; min-width: 240px; max-height: 360px; overflow-y: auto;
  background: var(--color-background); border: 1px solid var(--color-2); border-radius: var(--radius-popover);
  box-shadow: 0 12px 32px rgba(var(--color-foreground-rgb), .1); padding: 14px 16px; display: grid; gap: 4px;
}
.vb-facet__panel--price { min-width: 300px; gap: 12px; }
.vb-facet__hint { font-size: 13px; color: var(--color-1); margin: 0; }
.vb-price-range { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.vb-price-range label { position: relative; flex: 1; }
.vb-price-range label span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--color-1); font-size: 14px; }
.vb-price-range input { padding-left: 26px; min-height: 42px; }
.vb-check { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 6px 0; cursor: pointer; }
.vb-check input {
  appearance: none; width: 18px; height: 18px; margin: 0; flex: none; border: 1px solid var(--color-1); border-radius: 3px;
  display: grid; place-content: center; background: var(--color-background);
}
.vb-check input:checked { background: var(--color-foreground); border-color: var(--color-foreground); }
.vb-check input:checked::after { content: ""; width: 9px; height: 5px; border: 1.5px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.vb-check input:disabled + span { opacity: .45; }
.vb-sort { position: relative; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.vb-sort span { color: var(--color-1); }
.vb-sort select {
  border: 0; min-height: 0; padding: 10px 22px 10px 0; width: auto; background: none; font-size: 14px; color: var(--color-foreground); cursor: pointer;
}
.vb-sort select:focus { box-shadow: none; }
.vb-sort .vb-icon { position: absolute; right: 0; width: 16px; height: 16px; pointer-events: none; }
.vb-facets__total { font-size: 14px; color: var(--color-1); }
.vb-density { display: inline-flex; gap: 2px; }
.vb-density button { border: 0; background: none; padding: 6px; border-radius: 6px; color: var(--color-1); display: inline-flex; }
.vb-density button[aria-pressed="true"] { color: var(--color-foreground); background: var(--color-soft); }
.vb-density .vb-icon { width: 18px; height: 18px; }
@media (max-width: 749px) {
  .vb-facets { align-items: flex-start; }
  .vb-facets__filters { width: 100%; gap: 0 16px; }
  .vb-facets__label { width: 100%; }
  .vb-facet { position: static; }
  .vb-facet__panel { left: var(--page-margin); right: var(--page-margin); min-width: 0; }
  .vb-facets { position: relative; }
  .vb-facets__right { width: 100%; justify-content: space-between; }
}
.vb-active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 16px 0 8px; }
.vb-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 14px; border-radius: var(--radius-badge);
  background: var(--color-soft); font-size: 13px; text-decoration: none;
}
.vb-pill .vb-icon { width: 14px; height: 14px; }
.vb-pill:hover { background: var(--color-2); }
.vb-grid--collection { margin-top: 24px; }
.vb-empty { padding: 48px 0; text-align: center; color: var(--color-muted); }

.vb-pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 48px; }
.vb-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 8px;
  border-radius: 20px; text-decoration: none; font-size: 14px;
}
.vb-pagination .page-numbers.current { background: var(--color-foreground); color: var(--color-background); }
.vb-pagination a.page-numbers:hover { background: var(--color-soft); }
.vb-pagination .prev .vb-icon { transform: rotate(180deg); }

/* /collections */
.vb-collection-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-bottom: 64px; }
.vb-collection-list .vb-category:nth-child(4n+2) { background: #f2f0e8; }
.vb-collection-list .vb-category:nth-child(4n+3) { background: #eef2ee; }
.vb-collection-list .vb-category:nth-child(4n+4) { background: #f4f0e8; }
@media (max-width: 989px) { .vb-collection-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 749px) { .vb-collection-list { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ---------- Product page (sections/product-information) ---------- */
.vb-product {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: start;
  padding-top: 24px; padding-bottom: 24px;
}
.vb-product__media { display: grid; gap: 4px; }
.vb-product__media--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vb-product__image {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden;
}
.vb-product__image img { width: 100%; max-height: calc(100vh - var(--header-height) - 48px); object-fit: contain; margin: 0 auto; }
.vb-product__details { position: sticky; top: calc(var(--header-height) + 24px); display: flex; flex-direction: column; gap: 28px; padding: 24px 0; }
.vb-product__header { display: flex; flex-direction: column; gap: 12px; }
.vb-product__title { font-size: 32px; font-weight: 700; line-height: 1.2; margin: 0; text-wrap: pretty; }
.vb-product__header .vb-price { font-size: 16px; padding-top: 4px; }
.vb-buy { display: flex; flex-direction: column; gap: 12px; }
.vb-buy__row { display: flex; gap: 12px; }
.vb-buy__add { flex: 1; }
.vb-btn--buy-now { width: 100%; background: var(--color-background); color: var(--color-foreground); border-color: var(--color-foreground); }
.vb-btn--buy-now:hover { background: var(--color-soft); }
.vb-qty {
  display: inline-flex; align-items: stretch; border: 1px solid var(--color-2); border-radius: var(--radius-input);
  height: 48px; flex: none;
}
.vb-qty button { width: 40px; border: 0; background: none; display: inline-flex; align-items: center; justify-content: center; color: var(--color-foreground); }
.vb-qty button:hover { background: var(--color-soft); }
.vb-qty button:disabled { opacity: .35; cursor: not-allowed; background: none; }
.vb-qty .vb-icon { width: 16px; height: 16px; }
.vb-qty input {
  width: 44px; min-height: 0; height: 100%; border: 0; padding: 0; text-align: center; font-size: 15px; color: var(--color-foreground);
  -moz-appearance: textfield; appearance: textfield; border-radius: 0;
}
.vb-qty input:focus { box-shadow: none; }
.vb-qty input::-webkit-outer-spin-button, .vb-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.vb-qty--small { height: 36px; }
.vb-qty--small button { width: 32px; }
.vb-qty--small input { width: 32px; font-size: 13px; }
.vb-product__description { font-size: 16px; }
@media (max-width: 989px) {
  .vb-product { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .vb-product.page-width { padding-inline: 0; }
  .vb-product__media--grid { grid-template-columns: 1fr; }
  .vb-product__details { position: static; padding: 24px var(--page-margin); }
  .vb-product__title { font-size: 26px; }
}

.vb-recommendations { padding-top: 48px; padding-bottom: 48px; }
.vb-recommendations h3 { font-size: 24px; font-weight: 700; line-height: 1; margin: 0 0 28px; }

.vb-sticky-atc {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px var(--page-margin);
  transform: translateY(110%); transition: transform .3s var(--ease); pointer-events: none;
}
.vb-sticky-atc.is-visible { transform: none; pointer-events: auto; }
.vb-sticky-atc__inner {
  max-width: 640px; margin: 0 auto; display: flex; align-items: center; gap: 14px;
  background: var(--color-background); border: 1px solid var(--color-2); border-radius: 100px;
  padding: 8px 8px 8px 10px; box-shadow: 0 12px 40px rgba(var(--color-foreground-rgb), .14);
}
.vb-sticky-atc__inner img { width: 44px; height: 44px; object-fit: contain; border-radius: 50%; background: var(--color-soft-2); mix-blend-mode: multiply; }
.vb-sticky-atc__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vb-sticky-atc__title { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vb-sticky-atc .vb-price { font-size: 13px; color: var(--color-1); }
.vb-sticky-atc .vb-btn { min-height: 44px; padding: 10px 22px; }

.vb-zoom {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--color-background); overflow-y: auto;
}
.vb-zoom::backdrop { background: var(--color-background); }
.vb-zoom img { width: 100%; max-width: 1400px; margin: 0 auto; height: auto; cursor: zoom-out; }
.vb-zoom__close { position: fixed; top: 16px; right: 16px; z-index: 2; background: var(--color-background); box-shadow: 0 2px 10px rgba(0,0,0,.1); }

/* ---------- Pages ---------- */
.vb-page-content { max-width: calc(760px + var(--page-margin) * 2); margin: 0 auto; padding: 48px var(--page-margin) 72px; }
.vb-page-content__title { font-size: 48px; line-height: 1; margin: 0 0 32px; }
@media (max-width: 749px) { .vb-page-content__title { font-size: 34px; } }
.vb-contact { display: grid; gap: 14px; margin-top: 32px; }
.vb-contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 749px) { .vb-contact__row { grid-template-columns: 1fr; } }
.vb-contact .vb-btn { justify-self: start; min-width: 160px; }
.vb-hp { position: absolute; left: -9999px; }
.vb-notice { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--radius-input); font-size: 14px; margin: 0; }
.vb-notice--success { background: var(--color-soft); }
.vb-notice--error { background: #fbeceb; color: var(--color-error); }

.vb-search-header { padding-top: 48px; padding-bottom: 24px; display: grid; gap: 20px; justify-items: center; text-align: center; }
.vb-search-header h1 { font-size: 48px; margin: 0; }
.vb-search-page-form { position: relative; width: 100%; max-width: 560px; display: flex; align-items: center; gap: 12px; }
.vb-search-page-form > .vb-icon { position: absolute; left: 16px; color: var(--color-1); }
.vb-search-page-form input { padding-left: 46px; border-radius: var(--radius-button); }
.vb-search-header__count { margin: 0; font-size: 14px; color: var(--color-1); }
.vb-search-pages__title { font-size: 24px; margin: 56px 0 16px; }
.vb-search-pages { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.vb-search-pages a { font-weight: 600; }
.vb-search-pages p { margin: 4px 0 0; font-size: 14px; color: var(--color-muted); }

.vb-404 { padding-top: 96px; padding-bottom: 120px; text-align: center; display: grid; justify-items: center; }
.vb-404 h1 { font-size: 56px; margin: 0 0 12px; }
.vb-404 p:not(.vb-eyebrow) { color: var(--color-muted); margin-bottom: 32px; }

.vb-blog { display: grid; gap: 48px; padding-bottom: 72px; max-width: calc(760px + var(--page-margin) * 2); }
.vb-blog-card h2 { font-size: 28px; margin: 16px 0 6px; }
.vb-blog-card h2 a { text-decoration: none; }
.vb-blog-card__meta { font-size: 13px; color: var(--color-1); }

/* ==========================================================================
   WooCommerce cart / checkout / account (classic templates restyled)
   ========================================================================== */
.vb-commerce { padding-top: 48px; padding-bottom: 72px; }
.vb-commerce__title { font-size: 48px; margin: 0 0 32px; }
@media (max-width: 749px) { .vb-commerce__title { font-size: 34px; } .vb-commerce { padding-top: 32px; } }

.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice {
  list-style: none; margin: 0 0 24px; padding: 14px 18px; border-radius: var(--radius-input);
  background: var(--color-soft); font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
}
.woocommerce-error { background: #fbeceb; color: var(--color-error); display: block; }
.woocommerce-error li { margin: 2px 0; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; }
.woocommerce-info a:not(.button), .woocommerce-message a:not(.button) { font-weight: 500; }

.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, #place_order {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 28px;
  border-radius: var(--radius-button); border: 1px solid var(--color-foreground);
  background: transparent; color: var(--color-foreground); font-size: 15px; font-weight: 500; text-decoration: none; line-height: 1.2;
}
.woocommerce .button:hover { background: var(--color-soft); }
.woocommerce .button.alt, .woocommerce .checkout-button, #place_order, .woocommerce-form-login__submit, .woocommerce-form-register__submit, .woocommerce-Button {
  background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground);
}
.woocommerce .button.alt:hover, .woocommerce .checkout-button:hover, #place_order:hover { background: #286855; }
.woocommerce .button:disabled, .woocommerce .button.disabled { opacity: .5; cursor: not-allowed; }

.woocommerce form .form-row { margin: 0 0 14px; padding: 0; }
.woocommerce form .form-row label { display: block; font-size: 13px; color: var(--color-1); margin-bottom: 6px; }
.woocommerce form .form-row label.checkbox, .woocommerce form .form-row label.woocommerce-form__label-for-checkbox { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--color-foreground); }
.woocommerce form .form-row .required { color: var(--color-1); text-decoration: none; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: calc(50% - 7px); float: left; }
.woocommerce form .form-row-last { float: right; }
.woocommerce form .form-row-wide { clear: both; }
.woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: var(--color-error); }
.woocommerce-input-wrapper { display: block; }
.woocommerce .clear, .woocommerce form::after { content: ""; display: block; clear: both; }
.select2-container .select2-selection--single { height: 48px !important; border: 1px solid var(--color-2) !important; border-radius: var(--radius-input) !important; }
.select2-container .select2-selection--single .select2-selection__rendered { line-height: 46px !important; padding-left: 16px !important; color: var(--color-1) !important; }
.select2-container .select2-selection--single .select2-selection__arrow { height: 46px !important; right: 8px !important; }

/* Tables */
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; font-size: 14px; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px 8px; text-align: left; border-bottom: 1px solid var(--color-2); vertical-align: middle; }
.woocommerce table.shop_table thead th { font-size: 12px; font-weight: 500; color: var(--color-1); text-transform: uppercase; letter-spacing: .06em; }

/* Cart page */
.woocommerce-cart .vb-commerce .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.woocommerce-cart .vb-commerce .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-cart table.cart img { width: 80px; height: 80px; object-fit: contain; border-radius: 8px; background: var(--color-soft-2); mix-blend-mode: multiply; }
.woocommerce-cart table.cart .product-remove a { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; text-decoration: none; font-size: 20px; color: var(--color-1); }
.woocommerce-cart table.cart .product-remove a:hover { background: var(--color-soft); color: var(--color-foreground); }
.woocommerce-cart table.cart .product-name a { text-decoration: none; }
.woocommerce-cart table.cart .quantity input { width: 72px; min-height: 40px; text-align: center; }
.woocommerce-cart table.cart td.actions { padding-top: 20px; }
.woocommerce-cart table.cart td.actions .coupon { display: inline-flex; gap: 8px; }
.woocommerce-cart table.cart td.actions .coupon label { display: none; }
.woocommerce-cart table.cart td.actions .coupon input { width: 200px; }
.woocommerce-cart table.cart td.actions > .button { float: right; }
.cart-collaterals .cart_totals { background: var(--color-soft-2); border-radius: var(--radius-card); padding: 24px; }
.cart-collaterals h2 { font-size: 20px; margin: 0 0 12px; }
.cart-collaterals table.shop_table th { width: 40%; font-weight: 500; }
.wc-proceed-to-checkout { margin-top: 20px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; }
.woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; }
.woocommerce-shipping-methods li { margin: 4px 0; }
.woocommerce-shipping-calculator { font-size: 13px; }
.cart-empty.woocommerce-info { font-size: 20px; font-weight: 600; justify-content: center; background: none; padding: 24px 0 8px; }
.return-to-shop { text-align: center; }
@media (max-width: 989px) {
  .woocommerce-cart .vb-commerce .woocommerce { grid-template-columns: 1fr; }
  .woocommerce-cart table.cart thead { display: none; }
  .woocommerce-cart table.cart tr.cart_item { display: grid; grid-template-columns: 80px 1fr auto; gap: 4px 14px; padding: 14px 0; border-bottom: 1px solid var(--color-2); }
  .woocommerce-cart table.cart td { border: 0 !important; padding: 0 !important; }
  .woocommerce-cart table.cart .product-thumbnail { grid-row: 1 / span 3; }
  .woocommerce-cart table.cart .product-remove { grid-column: 3; grid-row: 1; }
  .woocommerce-cart table.cart .product-price { display: none !important; }
  .woocommerce-cart table.cart td::before { display: none; }
  .woocommerce-cart table.cart td.actions .coupon { display: flex; width: 100%; margin-bottom: 12px; }
  .woocommerce-cart table.cart td.actions .coupon input { flex: 1; width: auto; }
  .woocommerce-cart table.cart td.actions > .button { float: none; width: 100%; }
}

/* Checkout: Shopify-style two columns, summary panel on the right */
.woocommerce-checkout .vb-commerce { padding-top: 32px; }
.woocommerce-checkout form.checkout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); column-gap: 56px; align-items: start;
}
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
.woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1 / span 3; }
.woocommerce-checkout #order_review_heading { grid-column: 2; grid-row: 1; font-size: 20px; margin: 0; padding: 24px 24px 0; background: var(--color-soft-2); border-radius: var(--radius-card) var(--radius-card) 0 0; }
.woocommerce-checkout #order_review { grid-column: 2; grid-row: 2; background: var(--color-soft-2); padding: 8px 24px 24px; border-radius: 0 0 var(--radius-card) var(--radius-card); position: sticky; top: calc(var(--header-height) + 16px); }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { width: 100%; float: none; }
.woocommerce-checkout h3 { font-size: 20px; font-weight: 600; margin: 8px 0 16px; }
.woocommerce-checkout #ship-to-different-address { font-size: 14px; font-weight: 500; }
.woocommerce-checkout-review-order-table td.product-name { font-size: 14px; }
.woocommerce-checkout-review-order-table .product-total, .woocommerce-checkout-review-order-table tfoot td { text-align: right !important; }
.woocommerce-checkout-review-order-table tfoot tr.order-total th, .woocommerce-checkout-review-order-table tfoot tr.order-total td { font-size: 18px; font-weight: 600; border-bottom: 0; }
#payment { margin-top: 20px; }
#payment ul.payment_methods { list-style: none; margin: 0 0 16px; padding: 0; border: 1px solid var(--color-2); border-radius: var(--radius-input); background: var(--color-background); }
#payment ul.payment_methods li { padding: 14px 16px; border-bottom: 1px solid var(--color-2); font-size: 14px; }
#payment ul.payment_methods li:last-child { border-bottom: 0; }
#payment ul.payment_methods li label { display: inline; font-weight: 500; }
#payment .payment_box { font-size: 13px; color: var(--color-1); margin-top: 8px; }
#payment .payment_box p { margin: 0; }
#payment .place-order { padding: 0; }
#place_order { width: 100%; min-height: 56px; font-size: 16px; margin-top: 8px; }
.woocommerce-privacy-policy-text p, .woocommerce-terms-and-conditions-wrapper { font-size: 12px; color: var(--color-1); }
.woocommerce-form-coupon-toggle .woocommerce-info { background: var(--color-soft-2); }
.checkout_coupon { display: flex; gap: 8px; align-items: flex-end; max-width: 520px; margin-bottom: 24px; }
.checkout_coupon p:first-child { display: none; }
.checkout_coupon .form-row { flex: 1; margin: 0 !important; width: auto !important; float: none !important; }
@media (max-width: 989px) {
  .woocommerce-checkout form.checkout { grid-template-columns: 1fr; }
  .woocommerce-checkout #customer_details, .woocommerce-checkout #order_review_heading, .woocommerce-checkout #order_review { grid-column: 1; grid-row: auto; position: static; }
  .woocommerce-checkout #order_review_heading { margin-top: 24px; }
}

/* Order received */
.woocommerce-order { max-width: 760px; }
.woocommerce-thankyou-order-received { font-size: 20px; font-weight: 600; }
.woocommerce-order-overview { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; background: var(--color-soft-2); border-radius: var(--radius-card); padding: 20px; margin: 0 0 32px; font-size: 13px; color: var(--color-1); }
.woocommerce-order-overview strong { display: block; font-size: 15px; color: var(--color-foreground); }
.woocommerce-order-details h2, .woocommerce-customer-details h2 { font-size: 22px; margin: 32px 0 12px; }
.woocommerce-customer-details address { font-style: normal; line-height: 1.6; border: 1px solid var(--color-2); border-radius: var(--radius-card); padding: 18px; }

/* Account */
.woocommerce-account .vb-commerce .woocommerce { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; }
.woocommerce-account:not(.logged-in) .vb-commerce .woocommerce { display: block; max-width: 900px; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 8px; text-decoration: none; font-size: 14px; }
.woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a:hover { background: var(--color-soft); }
#customer_login.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
#customer_login h2, .woocommerce-account h2 { font-size: 24px; margin: 0 0 16px; }
.woocommerce-form-login, .woocommerce-form-register { border: 1px solid var(--color-2); border-radius: var(--radius-card); padding: 24px; }
.woocommerce-form-login .form-row, .woocommerce-form-register .form-row { width: 100% !important; float: none !important; }
.woocommerce-LostPassword { font-size: 13px; }
@media (max-width: 749px) {
  .woocommerce-account .vb-commerce .woocommerce, #customer_login.col2-set { grid-template-columns: 1fr; gap: 24px; }
}

.blockUI.blockOverlay { background: rgba(255, 255, 255, .6) !important; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
