/**
 * cart-page.css — Custom Valentte cart page
 * Loaded only on is_cart(). Extends global.css tokens.
 */

/* ─── LOCAL TOKENS (cart-specific overrides / additions) ──────────────── */
:root {
  --vt-c-orange:      var(--cta-orange);
  --vt-c-orange-dk:   var(--cta-orange-hover);
  --vt-c-orange-tint: #FFFBF0;
  --vt-c-orange-bdr:  #E0B97A;
  --vt-c-text:        var(--text);
  --vt-c-muted:       var(--text);
  --vt-c-ghost:       #BABABA;
  --vt-c-border:      #DADADA;
  --vt-c-bg:          #F7F5F2;
  --vt-c-card:        #FFFFFF;
  --vt-c-sand:        #E8D8C3;
  --vt-c-green:       #4a9d52;
  --vt-c-green-tint:  #f0faf1;
  --vt-c-green-bdr:   #4a9d52;
  --vt-c-r:           8px;
  --vt-c-r-md:        12px;
  --vt-c-shadow-sm:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --vt-c-shadow-md:   0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
}

/* ─── PAGE BACKGROUND + RESET WRAPPER ───────────────────────────────── */
body.woocommerce-cart {
  background: var(--vt-c-bg);
}

/* Remove the theme's page-content padding/max-width so the progress bar
   sits flush against the header and spans the full viewport width.
   The cart grid (.vt-cart-grid) handles its own centering/max-width. */
body.woocommerce-cart .page-content {
  max-width: none;
  padding: 0;
}

/* ─── SCREEN-READER ONLY ──────────────────────────────────────────────── */
.vt-sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.vt-hidden { display: none !important; }

/* ─── DEAL ADDED NOTICE ───────────────────────────────────────────────── */
.vt-deal-notice {
  background: var(--vt-c-green-tint);
  border: 1px solid var(--vt-c-green-bdr);
  border-left: 4px solid var(--vt-c-green);
  border-radius: 6px;
  color: #1a4a1e;
  padding: 14px 20px;
  margin: 0 auto 0;
  max-width: 1200px;
  width: calc(100% - 32px);
  box-sizing: border-box;
  font-size: 0.9375rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.vt-deal-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .vt-deal-notice  { transition: none; }
  .vt-nudge        { animation: none; }
  .vt-qv-sheet     { animation: none; }
  .vt-progress-fill { transition: none; }
}

/* ─── PROGRESS BAR ────────────────────────────────────────────────────── */
.vt-progress-wrap {
  background: var(--vt-c-card);
  border-bottom: 1px solid var(--vt-c-border);
  padding: 18px 24px 20px;
  width: 100%;
  box-sizing: border-box;
}
.vt-progress-msg {
  font-size: 15px; color: var(--vt-c-text); text-align: center;
  margin-bottom: 14px; line-height: 1.4;
}
.vt-progress-msg strong { font-weight: 700; }

.vt-progress-track {
  display: flex; align-items: flex-start; justify-content: space-between;
  position: relative; padding-top: 0;
  max-width: 560px; margin: 0 auto;
}
.vt-progress-track::before {
  content: ''; position: absolute; top: 11px; left: 0; right: 0;
  height: 3px; background: var(--vt-c-border); border-radius: 4px;
}
.vt-progress-fill {
  position: absolute; top: 11px; left: 0;
  height: 3px; width: var(--vt-fill, 0%);
  background: linear-gradient(90deg, var(--vt-c-orange-dk), var(--vt-c-orange));
  border-radius: 4px; transition: width .5s ease;
}
.vt-prog-step {
  display: flex; flex-direction: column; align-items: center;
  gap: 7px; position: relative; z-index: 1;
}
.vt-prog-step:first-child { align-items: flex-start; }
.vt-prog-step:last-child  { align-items: flex-end; }
.vt-prog-dot {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--vt-c-card); border: 2.5px solid var(--vt-c-border);
  transition: background-color .25s ease, border-color .25s ease;
}
.vt-prog-check {
  width: 12px; height: 12px; flex-shrink: 0;
  stroke: transparent; transition: stroke .25s ease;
}
.vt-prog-step--done   .vt-prog-dot { border-color: var(--vt-c-orange); background: var(--vt-c-orange); }
.vt-prog-step--done   .vt-prog-check { stroke: #fff; }
/* Active step: orange border + always-visible orange tick — transparent removed when milestone is active */
.vt-prog-step--active .vt-prog-dot   { border-color: var(--vt-c-orange); background: var(--vt-c-card); }
.vt-prog-step--active .vt-prog-check { stroke: transparent; }
.vt-prog-label {
  font-size: 14px; color: var(--vt-c-text); text-align: center;
  line-height: 1.25;
}
.vt-prog-label strong { font-weight: 700; display: block; }
.vt-prog-label span { display: block; font-size: 13px; color: var(--text); font-weight: 400; margin-top: 2px; }

/* ─── PAGE TITLE ──────────────────────────────────────────────────────── */
.vt-cart-title {
  text-align: center; padding: 18px 16px 0;
  font-family: 'Cormorant Infant', serif; font-size: 28px; font-weight: 300;
  color: var(--vt-c-muted); letter-spacing: .01em;
}
.vt-cart-title small {
  font-size: 14px; font-family: 'DM Sans', sans-serif; font-weight: 400;
}

/* ─── LAYOUT GRID ─────────────────────────────────────────────────────── */
.vt-cart-grid {
  max-width: 1200px; margin: 0 auto;
  padding: 16px 16px 0;
  display: grid;
  grid-template-columns: 1fr 380px;
  grid-template-areas: "left right";
  gap: 20px;
  align-items: start;
  width: 100%; box-sizing: border-box;
}
.vt-cart-left  { grid-area: left;  display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.vt-cart-right { grid-area: right; position: sticky; top: 16px; display: flex; flex-direction: column; gap: 14px; }
.vt-cart-bottom {
  max-width: 1200px; margin: 20px auto 0;
  padding: 0 16px 80px;
  display: flex; flex-direction: column; gap: 14px;
  width: 100%; box-sizing: border-box;
}

/* ─── CART ITEMS CARD ─────────────────────────────────────────────────── */
.vt-items-card {
  background: var(--vt-c-card); border-radius: var(--vt-c-r-md);
  border: 1px solid var(--vt-c-border); overflow: hidden; position: relative;
}
.vt-items-header {
  padding: 16px 20px 10px; border-bottom: 1px solid var(--vt-c-border);
  display: flex; align-items: center; justify-content: space-between;
}
.vt-items-header h5 {
  font-family: var(--font-body); /* h5 inherits the serif heading font sitewide otherwise */
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text); margin: 0;
}
.vt-item-divider { border: none; border-top: 1px solid var(--vt-c-border); margin: 0 16px; }

/* Cart item row */
.vt-cart-item {
  display: flex; align-items: center; padding: 18px 20px; gap: 14px;
  transition: background .15s, opacity .2s ease;
}
.vt-cart-item:hover { background: #fafafa; }
.vt-cart-item.vt-updating { opacity: .45; pointer-events: none; }

.vt-ci-img-wrap {
  width: 96px; height: 96px; flex-shrink: 0; border-radius: var(--vt-c-r);
  background: #f0ece6; overflow: hidden; position: relative;
}
.vt-ci-img-wrap picture,
.vt-ci-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vt-ci-img-wrap a { display: block; width: 100%; height: 100%; }

.vt-gift-badge-img {
  position: absolute; bottom: 4px; left: 4px;
  background: var(--vt-c-green); color: #fff;
  font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 2px 5px; border-radius: 3px;
}
.vt-gift-badge-text {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--vt-c-green); color: #fff;
  padding: 3px 10px; border-radius: 4px; margin-top: 4px;
}
.vt-sub-badge-text {
  display: inline-block;
  font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  background: var(--black); color: #fff;
  padding: 2px 7px; border-radius: 4px; margin: 4px 0;
}

/* Cart notice — error/warning (JS-injected via showCartNotice) */
.vt-cart-notice {
  background: #FEF6F6; border: 1.5px solid #F5C2C2; border-left: 4px solid #C0392B;
  color: #7B1F1F;
  padding: 14px 40px 14px 16px; border-radius: 8px; margin-bottom: 16px;
  font-size: 14px; font-weight: 500; position: relative; line-height: 1.45;
}
.vt-cart-notice .vt-cart-notice__close {
  position: absolute; top: 10px; right: 12px;
  background: none; border: none; font-size: 18px; color: #C0392B;
  cursor: pointer; line-height: 1; padding: 0;
}
.vt-cart-notice .vt-cart-notice__close:hover { color: #7B1F1F; }

/* Cart success notice */
.vt-cart-notice--success {
  background: #e8f5e9; border: 1.5px solid #4caf50; border-left: 4px solid #4caf50;
  color: #2e7d32;
  padding: 14px 40px 14px 16px; border-radius: 8px; margin-bottom: 16px;
  font-size: 14px; font-weight: 500; position: relative;
}
.vt-cart-notice--success .vt-cart-notice__close {
  position: absolute; top: 10px; right: 12px;
  background: none; border: none; font-size: 18px; color: #2e7d32;
  cursor: pointer; line-height: 1;
}

.vt-ci-body { flex: 1; min-width: 0; }
.vt-ci-name {
  font-size: 15.5px; font-weight: 600; color: var(--vt-c-text);
  line-height: 1.3; margin-bottom: 4px;
}
.vt-ci-name a { color: inherit; text-decoration: none; }
.vt-ci-name a:hover { text-decoration: underline; }
.vt-ci-period { font-size: 11.5px; color: var(--vt-c-muted); margin-top: 1px; margin-bottom: 3px; }
.vt-ci-variant { font-size: 11.5px; color: var(--vt-c-muted); margin-bottom: 6px; }
.vt-ci-price .vt-ci-period { font-size: 12px; color: var(--vt-c-muted); font-weight: 400; }
.vt-backorder { font-size: 11.5px; color: var(--vt-c-orange-dk); margin: 3px 0; }

/* Composite product child components — hidden by default behind a toggle */
.vt-ci-components-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding: 0;
  background: none;
  border: none;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--vt-c-text);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  font-family: inherit;
}
.vt-ci-components-toggle:hover,
.vt-ci-components-toggle[aria-expanded="true"] { color: var(--text); }
.vt-ci-components-toggle__icon {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.15s;
  flex-shrink: 0;
}
.vt-ci-components-toggle[aria-expanded="true"] .vt-ci-components-toggle__icon { transform: rotate(-135deg); }
.vt-ci-components { margin-top: 8px; padding-left: 0; display: flex; flex-direction: column; gap: 4px; }
.vt-ci-components[hidden] { display: none; }
.vt-ci-component { font-size: 12.5px; color: var(--vt-c-muted); line-height: 1.4; }
.vt-ci-component__label { font-weight: 700; color: var(--text); display: block; }
.vt-ci-component__name { }

.vt-ci-foot {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 6px;
}
.vt-ci-price { font-size: 15px; font-weight: 700; color: var(--vt-c-text); }
.vt-ci-controls { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

/* Qty stepper */
.vt-qty {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--vt-c-border); border-radius: 30px; overflow: hidden;
  background: var(--vt-c-bg);
}
.vt-qty__btn {
  width: 30px; height: 30px; font-size: 17px; color: var(--vt-c-text);
  display: flex; align-items: center; justify-content: center;
  transition: color .15s; cursor: pointer; border: none; background: none;
  font-family: inherit;
}
.vt-qty__btn:hover { color: var(--text); }
.vt-qty__btn:disabled { opacity: .4; cursor: not-allowed; }
.vt-qty__btn[aria-busy="true"] { opacity: .6; }
.vt-qty__val { font-size: 13px; min-width: 22px; text-align: center; color: var(--vt-c-text); font-weight: 600; }

.vt-ci-remove {
  font-size: 11.5px; color: var(--text); cursor: pointer;
  border: none; background: none; font-family: inherit;
  transition: color .15s; padding: 0;
}
.vt-ci-remove:hover { color: var(--vt-c-text); text-decoration: underline; }

/* ─── DELIVERY PASS ───────────────────────────────────────────────────── */
.vt-delivery-pass {
  background: var(--vt-c-card);
  border: 2px solid var(--vt-c-orange-bdr);
  border-radius: var(--vt-c-r-md);
  box-shadow: 0 4px 16px rgba(245,158,11,.14), var(--vt-c-shadow-sm);
  overflow: hidden; display: flex;
}
.vt-dp-img-col {
  width: 130px; flex-shrink: 0;
  background: var(--vt-c-sand); overflow: hidden;
}
.vt-dp-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vt-dp-body {
  flex: 1; padding: 18px 20px;
  display: flex; flex-direction: column; gap: 5px;
}
.vt-dp-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text);
}
.vt-dp-save-tag {
  display: inline-flex; align-self: flex-start; align-items: center;
  background: var(--sale-badge-bg); border: 1px solid var(--sale-badge-bg);
  color: var(--sale-badge-text); font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 4px; letter-spacing: .05em; text-transform: uppercase;
}
.vt-dp-title {
  font-family: 'Cormorant Infant', serif; font-size: 19px; font-weight: 600;
  color: var(--vt-c-text); line-height: 1.25;
}
.vt-dp-price-row { display: flex; align-items: baseline; gap: 7px; }
.vt-dp-price { font-size: 18px; font-weight: 700; color: var(--vt-c-text); }
.vt-dp-was { font-size: 12px; color: var(--text); text-decoration: line-through; }
.vt-dp-meta {
  display: flex; flex-wrap: wrap; gap: 2px 12px;
  font-size: 11.5px; color: var(--vt-c-muted);
}
.vt-dp-meta span::before { content: "· "; }
.vt-dp-actions { display: flex; align-items: center; gap: 12px; margin-top: 4px; flex-wrap: wrap; }
/* Secondary (black) — supporting action, not the page's main CTA */
.vt-dp-btn {
  background: var(--black); color: var(--white); border: none; cursor: pointer;
  font-family: var(--font-body); font-size: var(--btn-font-size-compact); font-weight: 500;
  letter-spacing: 0; text-transform: capitalize;
  min-height: var(--btn-h); padding: 0 var(--btn-pad-x); border-radius: var(--radius-btn);
  transition: background .15s;
}
.vt-dp-btn:hover { background: #3a3a3a; }
.vt-dp-btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.vt-dp-login { font-size: 11.5px; color: var(--vt-c-muted); }
.vt-dp-login a { font-weight: 600; text-decoration: underline; color: var(--vt-c-text); }

/* ─── CART PROMOTION BANNER ──────────────────────────────────────────── */
.vt-cart-promo {
  background: #FFF1DE;
  border: 1px solid #FFA222;
  border-radius: var(--vt-c-r-md);
  box-shadow: 0 4px 16px rgba(255,162,34,.14), var(--vt-c-shadow-sm);
  overflow: hidden; display: flex;
  position: relative;
}
.vt-cart-promo[hidden] { display: none !important; }

/* While the skeleton is showing, the box hasn't earned its promo colour yet —
   neutral border/shadow like every other loading card, not the orange brand
   accent. Reverts automatically once JS removes .vt-cp-sk from the DOM. */
.vt-cart-promo:has(.vt-cp-sk) {
  border-color: var(--vt-c-border);
  box-shadow: var(--vt-c-shadow-sm);
}

/* ─── Delivery pass promo skeleton (removed by JS on DOMContentLoaded) ──── */
.vt-cp-sk {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 4;
  background: var(--vt-c-card); border-radius: var(--vt-c-r-md);
  display: flex; overflow: hidden; pointer-events: none; transition: opacity 0.28s ease;
}
.vt-cp-sk__img { width: 130px; flex-shrink: 0; border-radius: 0; }
.vt-cp-sk__body { flex: 1; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.vt-cp-sk__eyebrow { height: 10px; width: 40%; }
.vt-cp-sk__badge   { height: 16px; width: 30%; border-radius: 4px; }
.vt-cp-sk__title   { height: 18px; width: 70%; }
.vt-cp-sk__price   { height: 16px; width: 35%; }
.vt-cp-sk__meta    { height: 12px; width: 55%; }
.vt-cp-sk__btn     { height: 34px; width: 150px; border-radius: var(--vt-c-r); margin-top: 4px; }
.vt-cp-img-col {
  width: 130px; flex-shrink: 0; align-self: stretch;
  background: var(--vt-c-sand); overflow: hidden;
}
.vt-cp-img-col picture { display: block; width: 100%; height: 100%; }
.vt-cp-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vt-cp-body {
  flex: 1; padding: 18px 20px;
  display: flex; flex-direction: column; gap: 5px;
}
.vt-cp-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text);
}
.vt-cp-badge {
  display: inline-flex; align-self: flex-start; align-items: center;
  background: var(--vt-c-green-tint); border: 1px solid var(--vt-c-green-bdr);
  color: var(--vt-c-green); font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 4px; letter-spacing: .05em; text-transform: uppercase;
}
.vt-cp-title {
  font-family: 'Cormorant Infant', serif; font-size: 19px; font-weight: 600;
  color: var(--vt-c-text); line-height: 1.25;
}
.vt-cp-price-row { display: flex; align-items: baseline; gap: 7px; }
.vt-cp-price { font-size: 18px; font-weight: 700; color: var(--vt-c-text); }
.vt-cp-was { font-size: 12px; color: var(--text); text-decoration: line-through; }
.vt-cp-meta {
  display: flex; flex-wrap: wrap; gap: 2px 12px;
  font-size: 14px; color: var(--vt-c-text);
}
.vt-cp-meta span::before { content: "• "; }
.vt-cp-actions {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
/* Primary (orange) — cart promotion add-to-cart */
.vt-cp-btn {
  background: var(--cta-orange); color: var(--white); border: none; cursor: pointer;
  font-family: var(--font-body); font-size: var(--btn-font-size-compact); font-weight: 500;
  letter-spacing: 0; text-transform: capitalize;
  min-height: var(--btn-h); padding: 0 var(--btn-pad-x); border-radius: var(--radius-btn);
  box-shadow: none;
  transition: background .15s;
}
.vt-cp-btn:hover { background: var(--cta-orange-hover); }
.vt-cp-btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.vt-cp-btn--loading {
  position: relative; pointer-events: none;
}
.vt-cp-btn--loading .vt-cp-btn__label { visibility: hidden; }
.vt-cp-btn--loading::after {
  content: ''; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  border-radius: 50%; animation: vt-gm-spin .6s linear infinite;
}
.vt-cp-login { font-size: 11.5px; color: var(--vt-c-muted); }
.vt-cp-login a,
.vt-cp-login button {
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  color: var(--vt-c-text);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
@media (max-width: 600px) {
  .vt-cp-img-col { width: 100px; }
  .vt-cp-sk__img { width: 100px; }
  .vt-cp-title { font-size: 16px; }
}

/* ─── SAVINGS CARD ────────────────────────────────────────────────────── */
.vt-savings-card {
  background: var(--vt-c-card); border-radius: var(--vt-c-r-md);
  border: 1px solid var(--vt-c-border); padding: 18px 20px 0; position: relative;
}
.vt-savings-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text); margin-bottom: 4px;
}
/* ─── REWARDS SECTION ─────────────────────────────────────────────────── */
.vt-rewards { margin: 0 -20px; padding: 12px 20px 14px; background: #FFFCF5; }
.vt-rewards__header { display: flex; align-items: center; margin-bottom: 10px; }
.vt-rewards__title { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--vt-c-text); }
.vt-rewards__pills { display: flex; flex-direction: column; gap: 4px; }
.vt-reward { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; }
.vt-reward--on { background: #f0faf1; border: 1px solid #c3e0c4; }
.vt-reward--off { background: #FAFAF8; border: 1px solid #EFEFEF; }
.vt-reward__icon { flex-shrink: 0; }
.vt-reward__text { flex: 1; min-width: 0; }
.vt-reward__label { display: block; font-size: 12.5px; }
.vt-reward--on .vt-reward__label { font-weight: 700; color: var(--vt-c-text); }
.vt-reward--off .vt-reward__label { font-weight: 500; color: var(--text); }
.vt-reward__sub { display: block; font-size: 12.5px; }
.vt-reward--on .vt-reward__sub { color: var(--vt-c-muted); font-size: 11.5px; }
.vt-reward--off .vt-reward__sub { color: var(--text); }
.vt-reward__status { flex-shrink: 0; font-size: 11.5px; white-space: nowrap; }
.vt-reward__status--on { font-weight: 600; color: #2e7d32; }
.vt-reward__status--off { color: var(--text); }
.vt-reward__claim-btn {
  flex-shrink: 0; font-size: 12px; font-weight: 700; padding: 6px 16px;
  border-radius: 20px; border: none; background: #333; color: #fff; cursor: pointer;
}
.vt-reward__change-btn {
  flex-shrink: 0; font-size: 11px; font-weight: 600; padding: 0;
  border: none; background: none; color: var(--text); cursor: pointer;
  text-decoration: underline; text-underline-offset: 2px;
  outline: none; box-shadow: none; -webkit-appearance: none; appearance: none;
}

.vt-ctl-list { margin-top: 8px; }
.vt-ctl-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 2px; cursor: pointer;
  border-bottom: 1px solid var(--vt-c-border); transition: color .15s;
  user-select: none;
}
.vt-ctl-item--last { border-bottom: none; }
.vt-ctl-icon { flex-shrink: 0; color: var(--vt-c-muted); }
.vt-ctl-item:hover .vt-ctl-icon { color: var(--vt-c-orange-dk); }
.vt-ctl-item:hover .vt-ctl-label { color: var(--vt-c-orange-dk); }
.vt-ctl-item[aria-expanded="true"] .vt-ctl-label { color: var(--vt-c-orange-dk); }
.vt-ctl-item[aria-expanded="true"] .vt-ctl-icon { color: var(--vt-c-orange-dk); }
.vt-ctl-item[aria-expanded="true"] .vt-ctl-arrow svg { transform: rotate(90deg); }
.vt-ctl-label { font-size: 14px; color: var(--vt-c-text); flex: 1; }
.vt-ctl-meta {
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--vt-c-orange-tint); color: var(--vt-c-orange-dk);
  padding: 3px 8px; border-radius: 20px; border: 1px solid var(--vt-c-orange-bdr);
  white-space: nowrap; flex-shrink: 0; margin: 0 6px;
}
.vt-ctl-arrow svg {
  width: 11px; height: 11px; stroke: var(--vt-c-ghost);
  fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  display: block; transition: transform .2s;
}
.vt-ctl-body { padding: 6px 0 10px; border-bottom: 1px solid var(--vt-c-border); }
.vt-ctl-body[hidden] { display: none; }

/* ─── GIFT CAROUSEL ───────────────────────────────────────────────────── */
.vt-gift-carousel-wrap { position: relative; }
.vt-carousel-outer { overflow: hidden; position: relative; }
.vt-carousel-outer::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 40px;
  background: linear-gradient(to left, rgba(255,255,255,.97), transparent);
  pointer-events: none; z-index: 1;
}
.vt-carousel {
  display: flex; gap: 14px; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 12px 18px 10px; scrollbar-width: none;
}
.vt-carousel::-webkit-scrollbar { display: none; }

.vt-carousel-btn {
  display: none; position: absolute; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--vt-c-border);
  box-shadow: none; align-items: center; justify-content: center;
  cursor: pointer; z-index: 2; transition: background .15s;
}
.vt-carousel-btn:hover { background: var(--vt-c-bg); }
.vt-carousel-btn svg { width: 12px; height: 12px; stroke: var(--vt-c-text); stroke-width: 2; fill: none; }
.vt-carousel-btn--prev { left: 4px; }
.vt-carousel-btn--next { right: 4px; }

/* Gift tile */
.vt-tile {
  flex: 0 0 136px; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center;
  padding: 16px 12px 12px; border-radius: var(--vt-c-r-md);
  border: 1.5px solid var(--vt-c-border); background: var(--vt-c-card);
  cursor: pointer; position: relative; text-align: center;
  transition: border-color .15s, background .15s, box-shadow .15s;
  user-select: none; -webkit-tap-highlight-color: transparent;
}
.vt-tile:hover,
.vt-tile:focus { border-color: var(--vt-c-orange-bdr); outline: none; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.vt-tile--sel { border-color: var(--vt-c-orange); background: #FFF9F0; box-shadow: 0 2px 10px rgba(245,158,11,.18); }

.vt-tile-tick {
  display: none; position: absolute; top: 6px; right: 6px;
  width: 18px; height: 18px; border-radius: 50%; background: var(--vt-c-orange);
}
.vt-tile-tick::after {
  content: ''; display: block; width: 4px; height: 7px;
  border: 1.5px solid #fff; border-top: none; border-left: none;
  transform: rotate(45deg) translate(-1px,-1px);
  position: absolute; top: 3px; left: 5px;
}
.vt-tile--sel .vt-tile-tick { display: block; }

.vt-tile-img {
  width: 76px; height: 76px; border-radius: var(--vt-c-r);
  background: #F3EEE8; flex-shrink: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center; margin-bottom: 7px;
}
.vt-tile--sel .vt-tile-img { background: #FFE8C8; }
.vt-tile-img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--vt-c-r); }

.vt-tile-body { flex: 1; width: 100%; display: flex; flex-direction: column; }
.vt-tile-name { font-size: 11.5px; font-weight: 600; color: var(--vt-c-text); line-height: 1.25; margin-bottom: 3px; }
.vt-tile-was  { font-size: 11px; color: var(--text); text-decoration: line-through; margin-bottom: 4px; }
.vt-tile-badge {
  display: inline-block; margin-top: auto; align-self: center;
  font-size: 9.5px; font-weight: 700; letter-spacing: .05em;
  padding: 2px 7px; border-radius: 4px;
  border: 1.5px solid var(--vt-c-green-bdr);
  color: var(--vt-c-green); background: var(--vt-c-green-tint);
  transition: background .15s, color .15s;
}
.vt-tile--sel .vt-tile-badge { background: var(--vt-c-green); border-color: var(--vt-c-green); color: #fff; }

/* Carousel dots */
.vt-carousel-dots {
  display: flex; justify-content: center; gap: 5px; padding: 6px 0 2px;
}
.vt-carousel-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--vt-c-border); transition: background .2s, width .2s;
  cursor: pointer; border: none; padding: 0;
}
.vt-carousel-dot--active { background: var(--vt-c-orange); width: 16px; border-radius: 3px; }

/* Gift footer */
.vt-gift-footer { padding: 8px 2px 4px; border-top: 1px solid var(--vt-c-border); margin-top: 4px; }
.vt-gift-prompt {
  font-size: 12px; color: var(--vt-c-muted); text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 5px;
}
.vt-nudge { display: inline-block; animation: vt-nudge 1.4s ease-in-out infinite; }
@keyframes vt-nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(4px); } }

.vt-gift-conf { display: flex; align-items: center; gap: 8px; }
.vt-gift-conf-dot {
  width: 20px; height: 20px; border-radius: 50%; background: var(--vt-c-orange-dk);
  flex-shrink: 0; position: relative;
}
.vt-gift-conf-dot::after {
  content: ''; display: block; position: absolute; top: 4px; left: 7px;
  width: 4px; height: 8px; border: 1.5px solid #fff; border-top: none; border-left: none;
  transform: rotate(45deg);
}
.vt-gift-conf-txt { font-size: 13px; color: var(--vt-c-text); flex: 1; line-height: 1.3; }
.vt-gift-conf-txt strong { color: var(--vt-c-orange-dk); }
.vt-gift-change {
  font-size: 11.5px; color: var(--vt-c-muted); text-decoration: underline;
  cursor: pointer; flex-shrink: 0; border: none; background: none;
  font-family: inherit; transition: color .15s;
}
.vt-gift-change:hover { color: var(--vt-c-text); }

/* ─── COUPON FORM ─────────────────────────────────────────────────────── */
.vt-coupon-form { padding: 2px 0 4px; }
.vt-coupon-row { display: flex; gap: 6px; }
.vt-coupon-input {
  flex: 1; border: 1.5px solid var(--vt-c-border); border-radius: var(--vt-c-r);
  padding: 9px 12px; font-size: 13px; font-family: inherit;
  color: var(--vt-c-text); background: #fff; outline: none;
  transition: border-color .15s;
}
.vt-coupon-input:focus { border-color: var(--vt-c-orange); }
.vt-coupon-input::placeholder { color: var(--text); }
.vt-coupon-apply {
  background: var(--vt-c-text); color: #fff; border: none; cursor: pointer;
  font-family: inherit; font-size: 12px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  padding: 9px 16px; border-radius: var(--vt-c-r);
  transition: background .15s; white-space: nowrap;
}
.vt-coupon-apply:hover { background: var(--vt-c-orange-dk); }
.vt-coupon-apply:disabled { opacity: .6; cursor: wait; }

.vt-coupon-msg {
  font-size: 13px; line-height: 1.4; padding: 8px 0 0; margin: 0;
}
.vt-coupon-msg--ok  { color: #1a6e2e; }
.vt-coupon-msg--err { color: #b91c1c; }

/* ─── ORDER SUMMARY (totals card) ─────────────────────────────────────── */
.vt-totals-card {
  background: var(--vt-c-card); border-radius: var(--vt-c-r-md);
  border: 1px solid var(--vt-c-border); padding: 20px 22px;
  position: relative;
}

/* ─── Order summary skeleton (removed by JS on DOMContentLoaded) ────────── */
.vt-totals-sk {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 3;
  background: var(--vt-c-card);
  border-radius: var(--vt-c-r-md);
  padding: 20px 22px;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.vt-sk-l {
  display: block;
  border-radius: 4px;
  background: linear-gradient(90deg, #efefef 0%, #e4e4e4 40%, #efefef 80%);
  background-size: 300% 100%;
  animation: vt-cart-sk 1.6s ease-in-out infinite;
}
@keyframes vt-cart-sk {
  0%   { background-position: 100% 50%; }
  100% { background-position:   0% 50%; }
}
.vt-sk-l--title { height: 11px; width: 38%; }
.vt-sk-l--row   { height: 17px; width: 100%; }
.vt-sk-l--total { height: 22px; width: 100%; margin-top: 4px; }
.vt-sk-l--btn   { height: 50px; width: 100%; border-radius: 8px; margin-top: 6px; }

/* ─── ITEMS CARD SKELETON ──────────────────────────────────────────────── */
.vt-items-sk {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 4;
  background: var(--vt-c-card); border-radius: var(--vt-c-r-md);
  overflow: hidden; pointer-events: none; transition: opacity 0.28s ease;
}
.vt-items-sk__head {
  padding: 16px 20px 10px; border-bottom: 1px solid var(--vt-c-border);
}
.vt-items-sk__htitle { height: 11px; width: 44%; }
.vt-items-sk__row    { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.vt-items-sk__img    { width: 96px; height: 96px; flex-shrink: 0; border-radius: var(--vt-c-r); }
.vt-items-sk__info   { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.vt-items-sk__name   { height: 13px; width: 72%; }
.vt-items-sk__sub    { height: 10px; width: 40%; }
.vt-items-sk__foot   { display: flex; align-items: center; justify-content: space-between; }
.vt-items-sk__price  { height: 15px; width: 60px; }
.vt-items-sk__ctrl   { height: 30px; width: 90px; border-radius: 30px; }
.vt-items-sk__div    { border: none; border-top: 1px solid var(--vt-c-border); margin: 0 16px; }

/* ─── SAVINGS CARD SKELETON ─────────────────────────────────────────────── */
.vt-savings-sk {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 4;
  background: var(--vt-c-card); border-radius: var(--vt-c-r-md);
  padding: 18px 20px; overflow: hidden;
  pointer-events: none; transition: opacity 0.28s ease;
}
.vt-savings-sk__title      { height: 11px; width: 36%; margin-bottom: 16px; }
.vt-savings-sk__row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 2px; border-bottom: 1px solid var(--vt-c-border);
}
.vt-savings-sk__row--first { border-top: 1px solid var(--vt-c-border); }
.vt-savings-sk__row--last  { border-bottom: none; }
.vt-savings-sk__lbl        { height: 13px; }
.vt-savings-sk__lbl--a     { width: 68%; }
.vt-savings-sk__lbl--b     { width: 54%; }
.vt-savings-sk__lbl--c     { width: 62%; }
.vt-savings-sk__arr        { height: 11px; width: 11px; border-radius: 2px; flex-shrink: 0; }

/* ─── ABOVE-DEALS (OFFERS) SECTION SKELETON ─────────────────────────────── */
.vt-above-deals-section { position: relative; }
.vt-ad-sk {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 4;
  background: var(--vt-c-card);
  padding: 24px 0; overflow: hidden;
  pointer-events: none; transition: opacity 0.28s ease;
}
.vt-ad-sk__title { display: block; height: 16px; width: 180px; margin: 0 auto 18px; }
.vt-ad-sk__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.vt-ad-sk__card {
  height: 280px; border-radius: var(--vt-c-r);
  background: linear-gradient(90deg, #efefef 0%, #e4e4e4 40%, #efefef 80%);
  background-size: 300% 100%; animation: vt-cart-sk 1.6s ease-in-out infinite;
}
@media (max-width: 900px) {
  .vt-ad-sk__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .vt-ad-sk__grid { grid-template-columns: 1fr; }
  .vt-ad-sk__card { height: 220px; }
}

.vt-totals-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text); margin-bottom: 14px;
}
.vt-totals-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0; font-size: 13.5px; color: var(--vt-c-text);
  border-bottom: 1px solid var(--vt-c-border);
}
.vt-totals-row:last-of-type { border-bottom: none; }
.vt-totals-row--total {
  font-size: 16px; font-weight: 700; padding-top: 10px; margin-top: 2px;
}
.vt-totals-row--discount span:last-child { color: var(--vt-c-green); font-weight: 600; }
.vt-totals-row--gift span:last-child,
.vt-totals-free { color: var(--vt-c-green); font-weight: 700; }

/* Trust + guarantee */
.vt-checkout-trust {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin: 12px 0 0; font-size: 14px; color: var(--vt-c-muted);
  flex-wrap: wrap;
}
.vt-checkout-trust strong { color: var(--vt-c-text); }
.vt-guarantee {
  font-size: 15px; color: var(--vt-c-muted); text-align: center;
  margin: 6px 0 0;
}

/* ── Rewards unlocked — styles are inline; only hover/transition here ─────── */

/* Express Checkout (Apple Pay, Google Pay, Fero, etc.) */
.vt-express-checkout {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 14px;
}
.vt-express-divider {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text); font-weight: 500;
  margin: 6px 0 2px;
}
.vt-express-divider::before,
.vt-express-divider::after { content: ''; flex: 1; height: 1px; background: var(--vt-c-border); }

/* Fero's classic-cart fallback mounts its Apple Pay/Google Pay React
   component into this div (data-fsc-express-fallback, set by
   fsc-express-block.js). While it's loading, Fero renders a centered
   spinner/placeholder using absolute positioning — with no positioning
   context of its own, that escapes up to .vt-totals-card (the nearest
   position:relative ancestor, needed for our own skeleton overlay) and
   lands on top of the Total row / Checkout Securely button instead of
   staying inside this mount point. Giving the mount point its own
   position:relative contains it, same fix once real content (the Apple
   Pay / Google Pay buttons) replaces the placeholder. */
[data-fsc-express-fallback] {
  position: relative;
  min-height: 44px;
}

/* Checkout CTA */
/* Primary (orange) — the cart page's main CTA */
.vt-checkout-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--cta-orange); color: #fff; text-decoration: none;
  /* 16px + nowrap: "Checkout Securely £xx.xx" + lock icon wrapped to two lines at 20px */
  font-family: var(--font-body); font-size: var(--btn-font-size-compact); font-weight: 500;
  letter-spacing: 0; text-transform: capitalize; white-space: nowrap;
  min-height: var(--btn-h); padding: 0 20px; border-radius: var(--radius-btn); margin-top: 14px;
  transition: background .15s;
}
.vt-checkout-btn:hover {
  background: var(--cta-orange-hover);
  color: var(--white);
  text-decoration: none;
}
.vt-checkout-btn-total { font-size: var(--btn-font-size-compact); font-weight: 500; margin-left: 4px; }

/* Payment icons */
.vt-payment-icons {
  display: flex; gap: 4px; justify-content: center;
  flex-wrap: wrap; margin-top: 12px;
}
.vt-pay-icon {
  display: flex; align-items: center; justify-content: center;
}
.vt-pay-icon img { height: 28px; width: auto; display: block; }

/* BNPL */
.vt-bnpl { margin-top: 10px; display: flex; flex-direction: column; gap: 5px; }
.vt-bnpl-divider {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text); font-weight: 500;
}
.vt-bnpl-divider::before,
.vt-bnpl-divider::after { content: ''; flex: 1; height: 1px; background: var(--vt-c-border); }
.vt-bnpl-btn {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 10px; border-radius: var(--vt-c-r); text-decoration: none;
  transition: background .15s, border-color .15s;
  border: 1px solid var(--vt-c-border); background: var(--vt-c-card);
}
.vt-bnpl-btn:hover { border-color: var(--vt-c-text); background: var(--vt-c-bg); text-decoration: none; }
.vt-bnpl-btn:hover .vt-bnpl-pay,
.vt-bnpl-btn:hover .vt-bnpl-sub { color: inherit; text-decoration: none; }
.vt-bnpl-brand {
  display: inline-flex; align-items: center; justify-content: center;
  height: 28px; width: 90px;
  background-repeat: no-repeat; background-position: center;
  border-radius: 6px;
}
/* BNPL brand logos: img-based so the browser can lazy-load them (background-image always fetches eagerly) */
.vt-bnpl-brand--clearpay { background-color: #B2FCE4; border-radius: 14px; overflow: hidden; }
.vt-bnpl-brand--clearpay img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 14px; }
.vt-bnpl-brand--klarna { background-color: #FFB3C8; border-radius: 14px; overflow: hidden; }
.vt-bnpl-brand--klarna img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 14px; }
.vt-bnpl-brand span {font-size: 13px; font-weight: 700;}
.vt-bnpl-right { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.vt-bnpl-pay { font-size: 14px; font-weight: 700; color: var(--vt-c-text); }
.vt-bnpl-sub { font-size: 13px; color: var(--vt-c-muted); }

/* ─── REVIEWS PILL ────────────────────────────────────────────────────── */
.vt-reviews-pill {
  background: var(--vt-c-card); border: 1px solid var(--vt-c-border);
  border-radius: var(--vt-c-r-md); padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
}
.vt-reviews-avatars { display: flex; align-items: center; flex-shrink: 0; }
.vt-reviews-avatars img {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid #fff; object-fit: cover;
  margin-left: -8px; background: var(--vt-c-sand);
}
.vt-reviews-avatars img:first-child { margin-left: 0; }
.vt-reviews-center { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vt-reviews-score { font-size: 13px; font-weight: 700; color: var(--vt-c-text); flex-shrink: 0; }
.vt-reviews-tagline { font-size: 14.5px; color: var(--vt-c-muted); }
.vt-reviews-tagline strong { color: var(--vt-c-text); font-weight: 700; }
.vt-reviews-verified {
  display: flex; align-items: center; gap: 4px;
  background: var(--vt-c-green-tint); border: 1px solid var(--vt-c-green-bdr);
  border-radius: 20px; padding: 3px 10px; flex-shrink: 0;
  font-size: 11px; font-weight: 600; color: var(--vt-c-green); white-space: nowrap;
}

/* ─── HELP BAR ────────────────────────────────────────────────────────── */
.vt-help-bar {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 6px 12px; padding: 16px 20px;
  background: var(--vt-c-card); border-radius: var(--vt-c-r-md);
  border: 1px solid var(--vt-c-border);
  font-size: 14px;
}
.vt-help-item {
  display: flex; align-items: center; gap: 5px;
  color: var(--vt-c-text); text-decoration: none; transition: color .15s;
}
.vt-help-item:hover { color: var(--text); }
.vt-help-item svg { stroke: var(--vt-c-ghost); flex-shrink: 0; }
.vt-help-sep { color: var(--text); }
.vt-help-hours { color: var(--vt-c-muted); }

/* ─── DEALS OF THE DAY ────────────────────────────────────────────────── */
.vt-deals-section {
  background: var(--vt-c-card); border-top: 1px solid var(--vt-c-border);
  padding: 28px 16px 32px;
}
.vt-deals-inner { max-width: 1200px; margin: 0 auto; }
.vt-deals-hdr { text-align: center; margin-bottom: 6px; }
.vt-deals-hdr h3 {
  font-family: 'Cormorant Infant', serif; font-size: 26px; font-weight: 300;
  color: var(--vt-c-text); letter-spacing: .01em; margin: 0;
}
.vt-deals-hdr p {
  font-size: 12px; color: var(--text); margin-top: 2px;
  font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
}
/* Slider layout */
.vt-deals-slider-wrap {
  display: flex; align-items: center; gap: 8px; margin-top: 16px;
}
.vt-deals-viewport {
  flex: 1; overflow: hidden;
}
.vt-deals-track {
  display: flex; gap: 14px; list-style: none; margin: 0; padding: 0;
  transition: transform .35s ease; will-change: transform;
}
.vt-deals-track > li.product {
  flex: 0 0 calc((100% - 42px) / 4); /* 4 per view (3 gaps × 14px = 42px) */
  min-width: 0;
}

/* Prev/Next arrows */
.vt-ds-btn {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--vt-c-border); background: var(--vt-c-card);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--vt-c-text); transition: background .15s, border-color .15s;
}
.vt-ds-btn:hover:not(:disabled) { background: var(--vt-c-bg); border-color: var(--vt-c-text); }
.vt-ds-btn:disabled { opacity: .35; cursor: default; }

/* Dot indicators */
.vt-ds-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.vt-ds-dot {
  width: 6px; height: 6px; border-radius: 50%; padding: 0; border: none;
  background: var(--vt-c-border); cursor: pointer;
  transition: background .2s, transform .2s;
}
.vt-ds-dot.is-active { background: var(--vt-c-orange); transform: scale(1.4); }

/* Product card */
.vt-product-card {
  background: var(--vt-c-card); border-radius: var(--vt-c-r-md);
  border: 1px solid var(--vt-c-border); overflow: hidden; position: relative;
  display: flex; flex-direction: column;
  transition: box-shadow .15s, transform .15s;
}
.vt-product-card:hover { box-shadow: var(--vt-c-shadow-md); transform: translateY(-2px); }
.vt-pc-img { width: 100%; object-fit: cover; display: block; }
/* Fallback for Safari <15 */
@supports not (aspect-ratio: 1 / 1) {
  .vt-pc-img { padding-bottom: 100%; height: 0; }
}
@supports (aspect-ratio: 1 / 1) {
  .vt-pc-img { aspect-ratio: 1/1; }
}
.vt-pc-badge {
  position: absolute; top: 9px; left: 9px;
  background: #1a1a1a; color: #fff;
  font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px;
}
.vt-pc-info { padding: 10px 10px 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.vt-pc-name {
  font-size: 12px; font-weight: 600; color: var(--vt-c-text);
  line-height: 1.3; text-decoration: none;
}
.vt-pc-name:hover { text-decoration: underline; }
.vt-pc-stars { margin-top: 1px; }
.vt-pc-pricing { display: flex; align-items: baseline; gap: 5px; margin-top: 2px; }
.vt-pc-price { font-size: 14px; font-weight: 700; color: var(--vt-c-text); }
.vt-pc-was   { font-size: 11.5px; color: var(--text); text-decoration: line-through; }
.vt-pc-add {
  margin: 8px 10px 10px;
  background: var(--vt-c-bg); border: 1.5px solid var(--vt-c-border);
  border-radius: var(--vt-c-r); font-family: inherit;
  font-size: 14px; font-weight: 500; color: var(--text);
  min-height: 36px; padding: 0 8px; text-transform: capitalize; letter-spacing: 0; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
/* Accent (outlined) — small in-carousel add button */
.vt-pc-add { background: transparent; border: 1px solid var(--black); border-radius: var(--radius-btn); }
.vt-pc-add:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.vt-pc-add[aria-busy="true"] { opacity: .7; cursor: wait; }

/* ─── STICKY CHECKOUT BAR ─────────────────────────────────────────────── */
.vt-sticky-checkout {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 10px 16px max(18px, env(safe-area-inset-bottom));
  box-shadow: 0 -2px 16px rgba(0,0,0,.1);
  display: none;
}
.vt-sticky-checkout[aria-hidden="false"] { display: block; }

.vt-sticky-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; max-width: 1280px; margin: 0 auto;
}

/* Desktop trust panels — hidden on mobile */
.vt-sticky-trust-left,
.vt-sticky-pay-right { display: none; }

/* The checkout button */
.vt-sticky-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--cta-orange); color: #fff; text-decoration: none;
  font-family: var(--font-body); font-size: var(--btn-font-size-compact); font-weight: 500;
  letter-spacing: 0; text-transform: capitalize;
  min-height: var(--btn-h); padding: 0 var(--btn-pad-x); border-radius: var(--radius-btn);
  flex: 1; /* full width on mobile */
}

/* Mobile trust + payment strip */
.vt-sticky-mobile-strip {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 6px;
  padding-top: 8px;
  font-size: 12px; color: var(--vt-c-muted);
}
.vt-sms-stars { color: #f5a623; font-size: 12px; letter-spacing: 1px; }
.vt-sms-rating { font-size: 12px; color: var(--vt-c-muted); }
.vt-sms-rating strong { color: var(--vt-c-text); }
.vt-sms-dot { color: var(--text); }
.vt-sms-icons {
  display: flex; align-items: center; gap: 4px;
}
.vt-sms-icons img {
  height: 22px; width: auto; object-fit: contain;
}
.vt-sms-icons img.vt-pay-bordered {
  border: 1px solid rgba(0,0,0,.08); border-radius: 3px;
  padding: 1px 3px; background: #fff;
}

/* Desktop enhancements — show trust panels, fix button width */
@media (min-width: 1024px) {
  .vt-sticky-checkout { padding: 14px 32px max(18px, env(safe-area-inset-bottom)); }
  .vt-sticky-mobile-strip { display: none; }

  .vt-sticky-btn {
    flex: 0 0 auto; min-width: 320px; font-size: var(--btn-font-size);
  }

  .vt-sticky-trust-left {
    display: flex; flex-direction: column; gap: 3px;
    flex: 1; align-items: flex-start;
  }
  .vt-sticky-stars {
    color: #f5a623; font-size: 13px; display: flex; align-items: center; gap: 5px;
  }
  .vt-sticky-stars span { color: var(--vt-c-text); font-weight: 600; font-size: 12px; }
  .vt-sticky-trust-left p {
    font-size: 15px; color: var(--vt-c-muted); margin: 0; line-height: 1.4;
  }
  .vt-sticky-trust-left strong { color: var(--vt-c-text); }
  .vt-sticky-guarantee {
    display: flex; align-items: center; gap: 4px; color: var(--vt-c-muted);
  }
  .vt-sticky-guarantee svg { color: #4a9d52; flex-shrink: 0; }

  .vt-sticky-pay-right {
    display: flex; flex-direction: column; gap: 4px;
    flex: 1; align-items: flex-end;
  }
  .vt-sticky-pay-label {
    font-size: 11px; color: var(--vt-c-muted); text-transform: uppercase;
    letter-spacing: .06em; margin: 0;
  }
  .vt-sticky-pay-icons {
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  }
  .vt-sticky-pay-icons img {
    height: 28px; width: auto; object-fit: contain;
  }
}

/* ─── EMPTY CART ──────────────────────────────────────────────────────── */
.vt-cart-empty {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 60px 20px; text-align: center;
  min-height: 40vh; gap: 20px;
}
.vt-cart-empty-icon { color: var(--text); }
.vt-cart-empty-title {
  font-family: 'Cormorant Infant', serif; font-size: 28px; font-weight: 300;
  color: var(--vt-c-text); margin: 0;
}
.vt-cart-empty-sub { font-size: 13px; color: var(--vt-c-muted); max-width: 380px; line-height: 1.6; margin: 0; }
.vt-btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cta-orange); color: #fff;
  font-family: var(--font-body); font-size: var(--btn-font-size); font-weight: 500;
  letter-spacing: 0; text-transform: capitalize;
  min-height: var(--btn-h); padding: 0 var(--btn-pad-x); border-radius: var(--radius-btn); text-decoration: none;
  transition: background .15s;
}
.vt-btn-primary:hover { background: var(--cta-orange-hover); color: var(--white); }

/* ─── WooCommerce notices on cart page ────────────────────────────────────── */
.woocommerce-notices-wrapper {
  padding: 12px 16px 4px !important;
  margin: 0 !important;
  background: none !important;
  border: none !important;
}
.woocommerce-notices-wrapper:empty { padding: 0 !important; }

/* Base card — ul and div variants */
.woocommerce-notices-wrapper ul.woocommerce-error,
.woocommerce-notices-wrapper div.woocommerce-error,
.woocommerce-notices-wrapper ul.woocommerce-message,
.woocommerce-notices-wrapper div.woocommerce-message,
.woocommerce-notices-wrapper ul.woocommerce-info,
.woocommerce-notices-wrapper div.woocommerce-info {
  list-style: none !important;
  display: block !important;
  margin: 0 auto 8px !important;
  padding: 14px 20px 14px 48px !important;
  border-radius: 6px !important;
  font-family: 'Ysabeau Office', sans-serif !important;
  font-size: 0.9375rem !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  max-width: 1200px !important;
  width: calc(100% - 0px) !important;
  box-sizing: border-box !important;
  position: relative !important;
  background-image: none !important;
  float: none !important;
  clear: both !important;
}

/* Strip WC's ::after pseudo-element */
.woocommerce-notices-wrapper ul.woocommerce-error::after,
.woocommerce-notices-wrapper div.woocommerce-error::after,
.woocommerce-notices-wrapper ul.woocommerce-message::after,
.woocommerce-notices-wrapper div.woocommerce-message::after,
.woocommerce-notices-wrapper ul.woocommerce-info::after,
.woocommerce-notices-wrapper div.woocommerce-info::after {
  content: none !important;
  display: none !important;
}

/* Icon via ::before */
.woocommerce-notices-wrapper ul.woocommerce-error::before,
.woocommerce-notices-wrapper div.woocommerce-error::before,
.woocommerce-notices-wrapper ul.woocommerce-message::before,
.woocommerce-notices-wrapper div.woocommerce-message::before,
.woocommerce-notices-wrapper ul.woocommerce-info::before,
.woocommerce-notices-wrapper div.woocommerce-info::before {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 18px !important;
  height: 18px !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  font-size: 0 !important;
}

/* ── Success ── */
.woocommerce-notices-wrapper ul.woocommerce-message,
.woocommerce-notices-wrapper div.woocommerce-message {
  background: var(--vt-c-green-tint) !important;
  border: 1px solid var(--vt-c-green-bdr) !important;
  border-left: 4px solid var(--vt-c-green) !important;
  border-top: 1px solid var(--vt-c-green-bdr) !important;
  color: #1a4a1e !important;
}
.woocommerce-notices-wrapper ul.woocommerce-message::before,
.woocommerce-notices-wrapper div.woocommerce-message::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a9d52' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E") !important;
}

/* ── Error ── */
.woocommerce-notices-wrapper ul.woocommerce-error,
.woocommerce-notices-wrapper div.woocommerce-error {
  background: #FEF6F6 !important;
  border: 1px solid #F5C2C2 !important;
  border-left: 4px solid #C0392B !important;
  border-top: 1px solid #F5C2C2 !important;
  color: #7B1F1F !important;
}
.woocommerce-notices-wrapper ul.woocommerce-error::before,
.woocommerce-notices-wrapper div.woocommerce-error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C0392B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E") !important;
}

/* ── Info ── */
.woocommerce-notices-wrapper ul.woocommerce-info,
.woocommerce-notices-wrapper div.woocommerce-info {
  background: #F5F7FA !important;
  border: 1px solid #B0BDCC !important;
  border-left: 4px solid #3D6B8E !important;
  border-top: 1px solid #B0BDCC !important;
  color: #1E3A4F !important;
}
.woocommerce-notices-wrapper ul.woocommerce-info::before,
.woocommerce-notices-wrapper div.woocommerce-info::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233D6B8E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E") !important;
}

/* List items — strip bullets and WC padding */
.woocommerce-notices-wrapper li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  background: none !important;
}
.woocommerce-notices-wrapper li + li { margin-top: 4px !important; }

/* Links inside notices */
.woocommerce-notices-wrapper ul.woocommerce-error a,
.woocommerce-notices-wrapper div.woocommerce-error a,
.woocommerce-notices-wrapper ul.woocommerce-message a,
.woocommerce-notices-wrapper div.woocommerce-message a,
.woocommerce-notices-wrapper ul.woocommerce-info a,
.woocommerce-notices-wrapper div.woocommerce-info a {
  color: inherit !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE ≤ 840px
═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 840px) {
  .vt-cart-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "left"
      "right";
    padding-bottom: 0;
  }
  .vt-sticky-active .vt-cart-bottom { padding-bottom: 100px; }
  .vt-cart-right { position: static; }
  .vt-sticky-checkout[aria-hidden="false"] { display: block; }
  .vt-carousel-btn { display: flex; }
  /* slider: 2 per view at tablet */
  .vt-deals-track > li.product { flex: 0 0 calc((100% - 14px) / 2); }
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE ≤ 600px
═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .vt-progress-wrap { padding: 10px 12px 13px; }
  .vt-progress-msg { font-size: 14px; margin-bottom: 10px; }
  .vt-progress-track { max-width: 100%; }
  .vt-prog-dot { width: 22px; height: 22px; }
  .vt-prog-check { width: 10px; height: 10px; }
  .vt-progress-track::before { top: 9px; }
  .vt-progress-fill { top: 9px; }
  .vt-prog-label { font-size: 12px; }
  .vt-prog-label span { font-size: 11px; }

  .vt-cart-title { font-size: 22px; padding: 14px 12px 0; }
  .vt-cart-grid { padding: 10px 10px 0; gap: 14px; }
  .vt-cart-bottom { padding: 0 10px 100px; }

  .vt-cart-item { padding: 12px; gap: 14px; }
  .vt-ci-img-wrap { width: 62px; height: 62px; }
  .vt-ci-name { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .vt-ci-price { font-size: 14px; }
  .vt-ci-controls { flex-wrap: nowrap; }

  .vt-dp-img-col { width: 76px; }
  .vt-dp-body { padding: 12px; }
  .vt-dp-title { font-size: 13.5px; }
  .vt-dp-actions { flex-direction: column; align-items: flex-start; gap: 8px; }
  .vt-dp-btn { padding: 0 20px; }

  .vt-tile { flex: 0 0 96px; padding: 10px 8px 8px; }
  .vt-tile-img { width: 52px; height: 52px; }
  .vt-tile-name { font-size: 10.5px; }
  .vt-carousel-btn { display: none; }

  .vt-reviews-pill { padding: 10px 12px; gap: 8px; }
  .vt-reviews-verified { display: none; }
  .vt-reviews-avatars img { width: 28px; height: 28px; }
  .vt-reviews-tagline { font-size: 11.5px; }

  .vt-help-bar { flex-direction: column; gap: 8px; }
  .vt-help-sep { display: none; }
  .vt-help-item { justify-content: center; }

  .vt-totals-row { font-size: 13px; }
  .vt-totals-row--total { font-size: 15px; }
  .vt-checkout-btn { font-size: var(--btn-font-size-compact); padding: 0 16px; }
  .vt-bnpl-brand { width: 80px; height: 28px; }

  /* slider: 1 card + peek on mobile */
  .vt-deals-track > li.product { flex: 0 0 80%; }
  .vt-deals-slider-wrap { gap: 4px; }
  .vt-ds-btn { width: 28px; height: 28px; }
  .vt-deals-section { padding: 20px 10px 24px; }

  .vt-sticky-btn { font-size: var(--btn-font-size-compact); padding: 0 16px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   QUICKVIEW MODAL
═══════════════════════════════════════════════════════════════════════ */
.vt-qv-modal {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.vt-qv-modal[aria-hidden="true"] { display: none; }

.vt-qv-backdrop {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  cursor: pointer;
}

.vt-qv-sheet {
  position: relative; z-index: 1;
  background: #fff; border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  width: 100%; max-width: 860px; max-height: calc(100vh - 32px);
  display: flex; flex-direction: column; overflow: hidden;
  animation: vt-qv-in .22s ease;
}
@keyframes vt-qv-in {
  from { opacity: 0; transform: scale(.95) translateY(10px); }
  to   { opacity: 1; transform: scale(1)  translateY(0); }
}

.vt-qv-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--vt-c-bg); border: 1px solid var(--vt-c-border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .15s;
  box-shadow: var(--vt-c-shadow-sm);
}
.vt-qv-close:hover { background: var(--vt-c-border); }
.vt-qv-close svg { width: 14px; height: 14px; stroke: var(--vt-c-text); stroke-width: 2; fill: none; }

.vt-qv-body {
  overflow-y: auto; flex: 1; overscroll-behavior: contain;
}

/* ── Quickview skeleton (replaces spinner while AJAX loads) ── */
.vt-qv-sk {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  padding: 28px; align-items: start;
}
.vt-qv-sk__gallery { display: flex; flex-direction: column; gap: 10px; }
.vt-qv-sk__main-img { aspect-ratio: 1/1; border-radius: 10px; }
.vt-qv-sk__thumbs { display: flex; gap: 8px; }
.vt-qv-sk__thumb { width: 54px; height: 54px; border-radius: 7px; flex-shrink: 0; }
.vt-qv-sk__info { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.vt-qv-sk__name   { height: 30px; width: 88%; }
.vt-qv-sk__name2  { height: 22px; width: 55%; }
.vt-qv-sk__rating { height: 13px; width: 130px; }
.vt-qv-sk__price  { height: 26px; width: 90px;  margin-top: 2px; }
.vt-qv-sk__desc   { height: 12px; width: 100%; }
.vt-qv-sk__desc + .vt-qv-sk__desc             { width: 84%; }
.vt-qv-sk__desc + .vt-qv-sk__desc + .vt-qv-sk__desc { width: 68%; }
.vt-qv-sk__btn    { height: 48px; border-radius: 8px; margin-top: 6px; }

@media (max-width: 680px) {
  .vt-qv-sk { grid-template-columns: 1fr; padding: 16px; gap: 16px; }
  .vt-qv-sk__main-img { aspect-ratio: 1/1; }
}

/* Content layout */
.vt-qv-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  padding: 28px; align-items: start;
}

/* Gallery */
.vt-qv-gallery { display: flex; flex-direction: column; gap: 10px; }
.vt-qv-main-img {
  aspect-ratio: 1/1; overflow: hidden; border-radius: 10px;
  background: var(--vt-c-bg);
}
.vt-qv-main-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vt-qv-thumbs {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.vt-qv-thumb {
  width: 54px; height: 54px; border-radius: 7px; overflow: hidden;
  border: 2px solid var(--vt-c-border); cursor: pointer;
  transition: border-color .15s; flex-shrink: 0; background: var(--vt-c-bg);
}
.vt-qv-thumb:hover,
.vt-qv-thumb.is-active { border-color: var(--vt-c-orange); }
.vt-qv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Product info */
.vt-qv-info { display: flex; flex-direction: column; gap: 6px; padding-top: 4px; }
.vt-qv-name {
  font-family: 'Cormorant', serif; font-size: 28px; font-weight: 400;
  color: var(--vt-c-text); line-height: 1.15; margin: 0;
  padding-right: 48px; /* clear the close button */
}
.vt-qv-rating {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--vt-c-muted);
}
.vt-qv-stars { color: var(--vt-c-orange); letter-spacing: .5px; }
.vt-qv-rating strong { color: var(--vt-c-text); }
.vt-qv-pricing {
  display: flex; align-items: baseline; gap: 8px;
}
.vt-qv-price { font-size: 20px; font-weight: 700; color: var(--vt-c-text); }
.vt-qv-was   { font-size: 14px; color: var(--text); text-decoration: line-through; }
.vt-qv-save  {
  font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  background: var(--sale-badge-bg); border: 1px solid var(--sale-badge-bg);
  color: var(--sale-badge-text); padding: 2px 7px; border-radius: 4px;
}
.vt-qv-desc {
  font-size: 13px; color: var(--vt-c-muted); line-height: 1.7;
  border-top: 1px solid var(--vt-c-border); padding-top: 12px; margin-top: 2px;
}
.vt-qv-desc p { margin: 0 0 8px; }
.vt-qv-desc p:last-child { margin-bottom: 0; }

.vt-qv-needs-sel {
  font-size: 12px; color: var(--vt-c-orange-dk); font-weight: 600;
  background: var(--vt-c-orange-tint); border: 1px solid var(--vt-c-orange-bdr);
  border-radius: 6px; padding: 8px 12px;
}
.vt-qv-actions { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.vt-qv-atc {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--vt-c-orange); color: #fff; border: none; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 700;
  letter-spacing: .06em; text-transform: capitalize;
  padding: 13px 20px; border-radius: var(--vt-c-r);
  transition: background .15s, transform .1s;
}
.vt-qv-atc:hover { background: var(--vt-c-orange-dk); transform: translateY(-1px); }
.vt-qv-atc:active { transform: translateY(0); }
.vt-qv-atc[aria-busy="true"] { opacity: .7; cursor: wait; transform: none; }
.vt-qv-view {
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--vt-c-muted); text-decoration: underline;
  text-align: center; cursor: pointer; background: none; border: none;
  font-family: inherit; transition: color .15s;
}
.vt-qv-view:hover { color: var(--vt-c-text); }
.vt-qv-out-of-stock {
  font-size: 12px; color: #c0392b; font-weight: 600; text-align: center;
}

/* ── Composite component dropdowns in quickview ── */
.vt-qv-components { display: flex; flex-direction: column; gap: 12px; margin-bottom: 4px; }
.vt-qv-comp { display: flex; flex-direction: column; gap: 4px; }
.vt-qv-comp-label { font-size: 13px; font-weight: 600; color: var(--vt-c-text, #1e1e1e); }
.vt-qv-comp-select {
  width: 100%; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 8px;
  font-size: 14px; color: var(--vt-c-text, #1e1e1e); background: #fff;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  cursor: pointer; transition: border-color .15s;
}
.vt-qv-comp-select:focus {
  border-color: var(--vt-c-orange, #F59E0B); outline: none;
  box-shadow: 0 0 0 2px rgba(245,158,11,.15);
}

/* ── Description truncation + Read more (mobile) ── */
.vt-qv-desc__toggle { display: none; }

/* ── Responsive ── */
@media (max-width: 680px) {
  .vt-qv-content { grid-template-columns: 1fr; padding: 16px; gap: 16px; }
  .vt-qv-sheet   { max-height: 92dvh; }
  .vt-qv-name    { font-size: 22px; padding-right: 44px; }
  .vt-qv-price   { font-size: 17px; }

  /* Hide thumbnails on mobile */
  .vt-qv-thumbs  { display: none; }

  /* Smaller main image on mobile */
  .vt-qv-main-img { max-height: 200px; overflow: hidden; }
  .vt-qv-main-img img { max-height: 200px; object-fit: contain; width: 100%; }

  /* Smaller composite dropdowns on mobile */
  .vt-qv-comp-select { padding: 7px 10px; font-size: 13px; }
  .vt-qv-comp-label { font-size: 12px; }
  .vt-qv-components { gap: 8px; }

  /* Truncate description to ~100 chars with Read more toggle */
  .vt-qv-desc__text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .vt-qv-desc--expanded .vt-qv-desc__text {
    -webkit-line-clamp: unset;
    overflow: visible;
  }
  .vt-qv-desc__toggle {
    display: inline-block;
    background: none; border: none; padding: 4px 0; margin-top: 2px;
    font-size: 12px; font-weight: 600; color: var(--vt-c-orange, #F59E0B);
    cursor: pointer; font-family: inherit;
  }
  .vt-qv-desc__toggle:hover { text-decoration: underline; }
}

/* ── Deal card image lightbox ──────────────────────────────────────────────── */
.product-card__image-wrap[data-lightbox-srcs] { cursor: pointer; }

/* ── Deals of the Day — whole card is clickable ────────────────────────────── */
.vt-deals-section .product-card,
.vt-deals-section .product-card__image-wrap,
.vt-deals-section .product-card__body { cursor: pointer; }

#vt-img-lb {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0,0,0,0.92);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}
#vt-img-lb.is-open { display: flex; }

.vt-img-lb__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 12px;
  max-width: 96vw;
}

.vt-img-lb__img {
  max-width: min(86vw, 860px);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 6px;
  display: block;
  object-fit: contain;
}

.vt-img-lb__close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  opacity: 0.8;
}
.vt-img-lb__close:hover { opacity: 1; }

.vt-img-lb__arrow {
  flex-shrink: 0;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 4px;
  transition: background 0.15s;
}
.vt-img-lb__arrow:hover { background: rgba(255,255,255,0.28); }

.vt-img-lb__count {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  white-space: nowrap;
}

/* ─── EMPTY CART: show only dark footer-bottom, pinned to viewport bottom ── */
body.vt-cart-is-empty {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body.vt-cart-is-empty #main-content {
  flex: 1 0 auto;
}
body.vt-cart-is-empty .site-footer {
  background: transparent;
  padding: 0;
  flex-shrink: 0;
}
body.vt-cart-is-empty .site-footer > .container {
  display: none;
}

/* ── Non-sticky header on cart page (all screen sizes) ─────────────────── */
body.woocommerce-cart .site-header { position: relative; }

/* ── Hide main footer on cart page — keep only the bottom copyright strip ── */
body.woocommerce-cart .footer-grid,
body.woocommerce-cart .footer-payments { display: none; }

/* ── Push footer-bottom below the sticky checkout bar ───────────────────── */
body.woocommerce-cart.vt-sticky-active .footer-bottom { padding-bottom: calc(20px + 150px); }

/* ═══════════════════════════════════════════════════════════════════════
   FREE GIFT MODAL
═══════════════════════════════════════════════════════════════════════ */
.vt-gm {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  padding: 32px 16px;
}
.vt-gm[aria-hidden="true"] { display: none; }

.vt-gm-backdrop {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0,0,0,.55);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  cursor: pointer;
}

.vt-gm-sheet {
  position: relative; z-index: 1;
  background: #fff; border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  width: 100%; max-width: 720px; max-height: calc(100vh - 64px);
  display: flex; flex-direction: column; overflow: hidden;
  animation: vt-gm-in .22s ease;
}
@keyframes vt-gm-in {
  from { opacity: 0; transform: scale(.95) translateY(10px); }
  to   { opacity: 1; transform: scale(1)  translateY(0); }
}

.vt-gm-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--vt-c-bg); border: 1px solid var(--vt-c-border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .15s;
  box-shadow: var(--vt-c-shadow-sm);
}
.vt-gm-close:hover { background: var(--vt-c-border); }
.vt-gm-close svg { width: 14px; height: 14px; stroke: var(--vt-c-text); stroke-width: 2; fill: none; }

/* Header */
.vt-gm-header {
  padding: 24px 24px 16px; border-bottom: 1px solid var(--vt-c-border);
  flex-shrink: 0;
}
.vt-gm-title {
  font-family: 'Cormorant', serif; font-size: 24px; font-weight: 500;
  color: var(--vt-c-text); margin: 0 0 14px; text-align: center;
  padding-right: 32px;
}

/* Filter pills */
.vt-gm-filters {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
}
.vt-gm-filter {
  font-family: inherit; font-size: 12px; font-weight: 600;
  letter-spacing: .03em; padding: 6px 16px; border-radius: 20px;
  border: 1.5px solid var(--vt-c-border); background: #fff;
  color: var(--vt-c-muted); cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.vt-gm-filter:hover { border-color: #999; color: var(--vt-c-text); }
.vt-gm-filter--active {
  background: #222; border-color: #222;
  color: #fff;
}
.vt-gm-filter--active:hover {
  background: #000; border-color: #000;
  color: #fff;
}

/* Body / grid */
.vt-gm-body {
  overflow-y: auto; flex: 1; overscroll-behavior: contain;
  padding: 20px 24px 24px;
}
.vt-gm-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.vt-gm-empty {
  grid-column: 1 / -1; text-align: center;
  font-size: 14px; color: var(--vt-c-muted); padding: 32px 0;
}

/* Gift tile */
.vt-gm-tile {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 0 14px; border-radius: var(--vt-c-r-md); overflow: hidden;
  border: 1.5px solid var(--vt-c-border); background: var(--vt-c-card);
  cursor: pointer; position: relative; text-align: center;
  transition: border-color .15s, background .15s, box-shadow .15s;
  user-select: none; -webkit-tap-highlight-color: transparent;
}
.vt-gm-tile:hover,
.vt-gm-tile:focus { border-color: #bbb; outline: none; box-shadow: 0 2px 8px rgba(0,0,0,.06); }

/* Selected state */
.vt-gm-tile--sel { border-color: var(--vt-c-sand); background: #F3EEE8; box-shadow: 0 2px 10px rgba(0,0,0,.08); }

/* Tick mark */
.vt-gm-tile__tick {
  display: none; position: absolute; top: 8px; right: 8px;
  width: 22px; height: 22px; border-radius: 50%; background: #222;
  align-items: center; justify-content: center;
}
.vt-gm-tile__tick::after {
  content: ''; display: block; width: 5px; height: 9px;
  border: 2px solid #fff; border-top: none; border-left: none;
  transform: rotate(45deg);
  margin-top: -2px;
}
.vt-gm-tile--sel .vt-gm-tile__tick { display: flex; }

/* Out of stock */
.vt-gm-tile--oos {
  opacity: .45; cursor: default; pointer-events: none;
}
.vt-gm-tile--oos:hover,
.vt-gm-tile--oos:focus { border-color: var(--vt-c-border); box-shadow: none; }

.vt-gm-tile__oos-label {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  background: rgba(0,0,0,.7); color: #fff; padding: 4px 10px;
  border-radius: 4px; white-space: nowrap; z-index: 1;
}

/* Tile image */
.vt-gm-tile__img {
  width: 100%; aspect-ratio: 1;
  background: #F3EEE8; flex-shrink: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center; margin-bottom: 8px;
}
.vt-gm-tile--sel .vt-gm-tile__img { background: #EDE4D8; }
.vt-gm-tile__img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--vt-c-r); }

/* Tile text */
.vt-gm-tile__name {
  font-size: 12px; font-weight: 600; color: var(--vt-c-text);
  line-height: 1.25; margin-bottom: 3px; padding: 0 12px;
}
.vt-gm-tile__was {
  font-size: 11px; color: var(--text); text-decoration: line-through;
  margin-bottom: 5px;
}
.vt-gm-tile__badge {
  position: absolute; top: 8px; left: 8px; z-index: 1;
  font-size: 9.5px; font-weight: 700; letter-spacing: .05em;
  padding: 3px 8px; border-radius: 4px;
  border: 1.5px solid #fff;
  color: #fff; background: var(--vt-c-green);
  transition: background .15s;
}
.vt-gm-tile--sel .vt-gm-tile__badge { background: var(--vt-c-green); border-color: #fff; color: #fff; }

/* Select button */
.vt-gm-tile__select-btn {
  display: block; width: calc(100% - 24px); margin: 8px 12px 0; padding: 7px 10px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .02em;
  border: 1.5px solid #222; border-radius: 5px;
  background: #222; color: #fff;
  cursor: pointer; transition: background .15s, border-color .15s;
  text-align: center; line-height: 1.2;
}
.vt-gm-tile__select-btn:hover,
.vt-gm-tile__select-btn:focus {
  background: #000; border-color: #000;
  outline: none;
}
.vt-gm-tile__select-btn--selected {
  background: var(--vt-c-green); border-color: var(--vt-c-green); color: #fff;
  cursor: default;
}
.vt-gm-tile__select-btn--selected:hover,
.vt-gm-tile__select-btn--selected:focus {
  background: var(--vt-c-green); border-color: var(--vt-c-green);
}

/* Threshold message (shortcode: below minimum spend) */
.vt-gm-tile__threshold-msg {
  display: block; width: calc(100% - 24px); margin: 8px 12px 0; padding: 7px 10px;
  font-size: 11px; font-weight: 600; text-align: center; line-height: 1.3;
  color: var(--vt-c-muted, #888); background: var(--vt-c-bg, #f5f5f5);
  border: 1.5px solid var(--vt-c-border); border-radius: 5px;
}

/* Shortcode wrapper */
.vt-fg-wrap { margin: 0 auto; max-width: 800px; }
.vt-fg-notice {
  background: #fef3cd; border: 1.5px solid #ffc107; color: #856404;
  padding: 10px 16px; border-radius: 6px; margin-bottom: 12px;
  font-size: 13px; font-weight: 500;
}
.vt-fg-grid { gap: 16px; }
@media (max-width: 680px) {
  .vt-fg-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .vt-gm-tile__threshold-msg { font-size: 10px; padding: 6px 8px; }
}

/* Button loading spinner */
.vt-gm-tile__select-btn--loading {
  position: relative; color: transparent !important; pointer-events: none;
}
.vt-gm-tile__select-btn--loading::after {
  content: ''; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  border-radius: 50%; animation: vt-gm-spin .6s linear infinite;
}
@keyframes vt-gm-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* ── Mobile: bottom sheet ─────────────────────────────────────────────── */
@media (max-width: 680px) {
  .vt-gm { align-items: flex-end; padding: 0; }
  .vt-gm-sheet {
    border-radius: 14px 14px 0 0;
    max-height: 85dvh; width: 100%; max-width: none;
    animation: vt-gm-slide-up .25s ease;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  @keyframes vt-gm-slide-up {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .vt-gm-header { padding: 20px 16px 12px; }
  .vt-gm-title { font-size: 20px; padding-right: 28px; }
  .vt-gm-body { padding: 16px; }
  .vt-gm-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .vt-gm-tile { padding: 0 0 10px; }
  .vt-gm-tile__name { font-size: 11.5px; }
  .vt-gm-tile__select-btn { font-size: 11px; padding: 6px 8px; }
}

/* ── Bloomreach email free-gift confirmation ─────────────────────────────── */
.vt-bloomreach-gift-dialog {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 20px;
  background: color-mix(in srgb, var(--black) 58%, transparent);
  animation: vt-bloomreach-fade-in 180ms ease-out;
}

.vt-bloomreach-gift-dialog--closing {
  animation: vt-bloomreach-fade-out 180ms ease-in forwards;
}

.vt-bloomreach-gift-dialog__panel {
  position: relative;
  width: min(100%, 440px);
  padding: 42px 36px 36px;
  border: 1px solid var(--grey3);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  text-align: center;
  box-shadow: 0 18px 50px color-mix(in srgb, var(--black) 22%, transparent);
  animation: vt-bloomreach-panel-in 180ms ease-out;
}

.vt-bloomreach-gift-dialog--closing .vt-bloomreach-gift-dialog__panel {
  animation: vt-bloomreach-panel-out 180ms ease-in forwards;
}

.vt-bloomreach-gift-dialog__close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}

.vt-bloomreach-gift-dialog__close:hover {
  background: var(--page-bg);
  color: var(--black);
}

.vt-bloomreach-gift-dialog__icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--black);
}

.vt-bloomreach-gift-dialog__icon svg {
  width: 28px;
  height: 28px;
}

.vt-bloomreach-gift-dialog h2 {
  margin: 0 0 12px;
  color: var(--black);
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
}

.vt-bloomreach-gift-dialog p {
  margin: 0 0 24px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

/* Product row shown when the gift's price/image resolved — replaces the
   generic icon + plain-text message with a richer confirmation. */
.vt-bloomreach-gift-dialog__product {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 0 0 20px;
  text-align: left;
}

.vt-bloomreach-gift-dialog__product-media {
  position: relative;
  flex: 0 0 auto;
  width: 84px;
  height: 84px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--cream);
}

.vt-bloomreach-gift-dialog__product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vt-bloomreach-gift-dialog__free-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vt-bloomreach-gift-dialog__product-body {
  flex: 1 1 auto;
  min-width: 0;
}

.vt-bloomreach-gift-dialog__product-name {
  margin: 0 0 2px;
  color: var(--black);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

.vt-bloomreach-gift-dialog__product-scent {
  margin: 0 0 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
}

.vt-bloomreach-gift-dialog__product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
}

.vt-bloomreach-gift-dialog__price-was {
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  text-decoration: line-through;
}

.vt-bloomreach-gift-dialog__price-free {
  color: var(--black);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
}

.vt-bloomreach-gift-dialog__savings {
  margin: -6px 0 24px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
}

.vt-bloomreach-gift-dialog__button {
  width: 100%;
  min-height: 47px;
  padding: 10px 24px;
  border: 1px solid var(--black);
  border-radius: var(--radius-btn);
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
}

.vt-bloomreach-gift-dialog__button:hover {
  background: var(--grey1);
  border-color: var(--grey1);
}

.vt-bloomreach-gift-dialog__close:focus-visible,
.vt-bloomreach-gift-dialog__button:focus-visible {
  outline: none;
}

.vt-bloomreach-gift-dialog__close span {
  padding-bottom: 6px;
}

@keyframes vt-bloomreach-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes vt-bloomreach-fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes vt-bloomreach-panel-in {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes vt-bloomreach-panel-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(8px) scale(.99); }
}

@media (max-width: 600px) {
  .vt-bloomreach-gift-dialog {
    align-items: end;
    padding: 0;
  }

  .vt-bloomreach-gift-dialog__panel {
    width: 100%;
    padding: 38px 22px calc(24px + env(safe-area-inset-bottom));
    border-width: 1px 0 0;
    border-radius: 14px 14px 0 0;
  }

  .vt-bloomreach-gift-dialog h2 { font-size: 28px; }
  .vt-bloomreach-gift-dialog__button { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .vt-bloomreach-gift-dialog,
  .vt-bloomreach-gift-dialog__panel,
  .vt-bloomreach-gift-dialog--closing,
  .vt-bloomreach-gift-dialog--closing .vt-bloomreach-gift-dialog__panel {
    animation: none;
  }
}
