/* ═══════════════════════════════════════════════════════════════════════
   VividHome — Single Product Page
   Nav overrides · ATF grid · Gallery · Lightbox
   ═══════════════════════════════════════════════════════════════════════ */


/* ─────────────────────────────────────────────────────────────────────
   PRODUCT PAGE — Body & Token Overrides
   ───────────────────────────────────────────────────────────────────── */

body.single-product {
  --vh-header-height: 68px;
  padding-top: calc(var(--vh-header-height) + var(--vh-promo-height, 42px));
  background: var(--vh-white);
}


/* ─────────────────────────────────────────────────────────────────────
   PRODUCT PAGE — Focus Visible & Skip Link
   ───────────────────────────────────────────────────────────────────── */

body.single-product :focus-visible {
  outline: 2px solid var(--vh-blue);
  outline-offset: 2px;
}

body.single-product :focus:not(:focus-visible) {
  outline: none;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--vh-ink);
  color: var(--vh-white);
  padding: 8px 16px;
  border-radius: var(--vh-radius-md);
  z-index: 9999;
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  font-weight: var(--vh-weight-medium);
  text-decoration: none;
  transition: top var(--vh-duration-fast) var(--vh-ease-out);
}

.skip-link:focus {
  top: 8px;
}


/* ─────────────────────────────────────────────────────────────────────
   PRODUCT PAGE — Promo Bar + Header Position
   ───────────────────────────────────────────────────────────────────── */

body.single-product .vh-header {
  top: var(--vh-promo-height);
}
body.single-product .vh-header.is-scrolled {
  top: 0;
}


/* ─────────────────────────────────────────────────────────────────────
   PRODUCT PAGE — Nav Bar Overrides
   ───────────────────────────────────────────────────────────────────── */

body.single-product .vh-header--solid,
body.single-product .vh-header--transparent.is-scrolled {
  background: var(--vh-white);
  border-bottom: 1px solid var(--vh-sand);
  box-shadow: var(--vh-shadow-xs);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}


body.single-product .s-cart-badge {
  min-width: 16px;
  height: 16px;
  font-size: 10px;
  font-weight: var(--vh-weight-bold);
  background: var(--vh-ink);
  color: var(--vh-white);
}


/* ─────────────────────────────────────────────────────────────────────
   ABOVE THE FOLD — Grid
   ───────────────────────────────────────────────────────────────────── */

#product-page {
  min-height: 100vh;
  overflow-x: clip;
  max-width: 100%;
}

.product-atf {
  max-width: var(--vh-container-xl);
  margin: 0 auto;
  padding: var(--vh-space-8) clamp(16px, 4vw, 48px) var(--vh-space-12);
  display: grid;
  grid-template-columns: 1fr clamp(300px, 35vw, 420px);
  grid-template-areas: "gallery sidebar";
  gap: clamp(16px, 3vw, 48px);
}

.product-gallery {
  grid-area: gallery;
  position: relative;
}

.product-sidebar {
  grid-area: sidebar;
  position: relative;
}

/* Sidebar on desktop — flows with page, no inner scrollbar.
 * Kept sticky for short-content cases (top of viewport while user scrolls past gallery).
 * No max-height / no overflow → tall sidebars naturally extend down the page. */
@media (min-width: 1024px) {
  .product-sidebar {
    position: sticky;
    top: calc(var(--vh-header-height) + 24px);
    align-self: start; /* prevents stretching to full grid row height */
  }
}


/* ═══════════════════════════════════════════════════════════════════════
   SIDEBAR — Badges
   ═══════════════════════════════════════════════════════════════════════ */

.product-badge-row {
  display: flex;
  gap: 8px;
  margin-bottom: var(--vh-space-3);
}

.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--vh-font-body);
  font-size: 11px;
  font-weight: var(--vh-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--vh-radius-full);
  line-height: 1;
}

.badge--bestseller {
  background: #FEF3C7;
  color: #92400E;
}

.badge--new {
  background: #DBEAFE;
  color: #1E40AF;
}


/* ═══════════════════════════════════════════════════════════════════════
   SIDEBAR — Title & Subtitle
   ═══════════════════════════════════════════════════════════════════════ */

.product-title {
  font-family: var(--vh-font-heading);
  font-size: var(--vh-text-2xl);
  font-weight: var(--vh-weight-semibold);
  color: var(--vh-ink);
  line-height: 1.2;
  margin: 0 0 var(--vh-space-1) 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.product-subtitle {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  color: var(--vh-warm-gray);
  margin: 0 0 var(--vh-space-3) 0;
  line-height: 1.5;
}


/* ═══════════════════════════════════════════════════════════════════════
   SIDEBAR — Rating Row
   ═══════════════════════════════════════════════════════════════════════ */

.product-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--vh-space-4);
  flex-wrap: wrap;
}

.stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.star-icon {
  flex-shrink: 0;
}

.rating-text {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  color: var(--vh-charcoal);
  text-decoration: none;
  transition: color var(--vh-duration-fast) var(--vh-ease-out);
}

.rating-text:hover {
  color: var(--vh-ink);
  text-decoration: underline;
}

.rating-separator {
  color: var(--vh-stone);
  font-size: var(--vh-text-sm);
}

.social-proof-text {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  color: var(--vh-warm-gray);
}


/* ═══════════════════════════════════════════════════════════════════════
   SIDEBAR — Price Block
   ═══════════════════════════════════════════════════════════════════════ */

.product-price-block {
  margin-bottom: var(--vh-space-4);
  border-radius: var(--vh-radius-md);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price-current {
  font-family: var(--vh-font-heading);
  font-size: var(--vh-text-3xl);
  font-weight: var(--vh-weight-semibold);
  color: var(--vh-ink);
  line-height: 1;
  display: inline-block;
  transition: opacity var(--vh-duration-fast) var(--vh-ease-out),
              transform var(--vh-duration-fast) var(--vh-ease-out),
              color 0.3s ease;
}

.price-original {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-lg);
  color: var(--vh-warm-gray);
  text-decoration: line-through;
}

.price-badge {
  font-family: var(--vh-font-body);
  font-size: 11px;
  font-weight: var(--vh-weight-bold);
  color: var(--vh-error);
  background: #FEF2F2;
  padding: 3px 8px;
  border-radius: var(--vh-radius-full);
  line-height: 1;
}

/* Price animation on config change */
@keyframes vh-price-pop {
  0%   { transform: scale(1);    opacity: 0.4; }
  40%  { transform: scale(1.12); opacity: 1;   }
  70%  { transform: scale(0.97); }
  100% { transform: scale(1);    }
}

.price-current.price-updating {
  animation: vh-price-pop 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  background: linear-gradient(135deg, #7C3AED, #DB2777, #F97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-atc-price.price-updating {
  animation: vh-price-pop 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

.price-info {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-xs);
  color: var(--vh-warm-gray);
  margin: 6px 0 0 0;
}

.price-info__delivery {
  display: inline-block;
  color: #065F46;
}

.price-info a {
  background: linear-gradient(135deg, #2563EB, #7C3AED, #DB2777, #F97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(219, 39, 119, 0.45);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: text-decoration-color var(--vh-duration-fast) var(--vh-ease-out),
              filter var(--vh-duration-fast) var(--vh-ease-out);
}

.price-info a:hover {
  text-decoration-color: #DB2777;
  filter: saturate(1.15);
}


/* ═══════════════════════════════════════════════════════════════════════
   SIDEBAR — Divider
   ═══════════════════════════════════════════════════════════════════════ */

.sidebar-divider {
  border: none;
  border-top: 1px solid var(--vh-sand);
  margin: var(--vh-space-4) 0;
}


/* ═══════════════════════════════════════════════════════════════════════
   SIDEBAR — Configurator: Groups & Labels
   ═══════════════════════════════════════════════════════════════════════ */

.config-group {
  margin-bottom: var(--vh-space-5);
  background: linear-gradient(135deg, rgba(245,245,243,0.7), rgba(232,230,225,0.45));
  border: 1px solid rgba(184,181,174,0.25);
  border-radius: 12px;
  padding: var(--vh-space-4);
}

.config-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  font-weight: 800;
  color: var(--vh-ink);
  margin-bottom: var(--vh-space-2);
  position: relative;
  padding-left: 14px;
}

.config-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  border-radius: 4px;
  background: linear-gradient(180deg, #2563EB, #7C3AED, #DB2777, #F97316);
  background-size: 100% 200%;
  animation: vh-label-pulse 3s ease-in-out infinite;
}

@keyframes vh-label-pulse {
  0%, 100% { background-position: 0% 0%; opacity: 0.7; }
  50%      { background-position: 0% 100%; opacity: 1; }
}

.config-help-link {
  font-size: var(--vh-text-xs);
  font-weight: var(--vh-weight-medium);
  color: var(--vh-warm-gray);
  text-decoration: underline;
  text-decoration-color: var(--vh-stone);
  text-underline-offset: 2px;
  transition: color var(--vh-duration-fast) var(--vh-ease-out);
}

.config-help-link:hover {
  color: var(--vh-charcoal);
}


/* ── Size Grid (3-column) — vivid redesign ───────────────────────── */

.config-options--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 10px;
}

.config-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 6px 12px;
  background: var(--vh-white);
  border: 1.5px solid var(--vh-sand);
  border-radius: var(--vh-radius-lg);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.2s ease,
              box-shadow 0.25s ease,
              background 0.2s ease;
  font-family: var(--vh-font-body);
}

/* Decorative top accent bar (gradient) — hidden by default, reveals on hover/active */
.config-option::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 4px;
  right: 4px;
  height: 3px;
  background: linear-gradient(90deg, #2563EB, #7C3AED, #DB2777, #F43F5E, #F97316);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.config-option:hover::before,
.config-option.active::before {
  transform: scaleX(1);
}

.config-option:hover:not(.active) {
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(219, 39, 119, 0.12);
  background:
    linear-gradient(var(--vh-white), var(--vh-white)) padding-box,
    linear-gradient(135deg, #2563EB, #7C3AED, #DB2777, #F97316) border-box;
  border: 1.5px solid transparent;
}

.config-option.active {
  border-color: transparent;
  background:
    linear-gradient(var(--vh-white), var(--vh-white)) padding-box,
    linear-gradient(135deg, #2563EB, #7C3AED, #DB2777, #F97316) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 10px 26px rgba(124, 58, 237, 0.18);
  transform: translateY(-2px);
}

.config-option-text {
  font-size: var(--vh-text-sm);
  font-weight: var(--vh-weight-bold);
  line-height: 1.15;
  color: var(--vh-ink);
}

.config-option.active .config-option-text {
  background: linear-gradient(135deg, #2563EB, #7C3AED, #DB2777, #F97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.config-option-price {
  font-size: 11px;
  font-weight: var(--vh-weight-semibold);
  color: var(--vh-warm-gray);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.config-option.active .config-option-price {
  color: var(--vh-charcoal);
}

.config-option--custom {
  border-style: dashed;
}

.config-option--custom.active {
  border-style: solid;
}

/* "Most popular" state */
.config-option.is-popular:not(.active):not(:hover) {
  border: 1.5px solid rgba(27,58,140,0.3);
}

.config-option.is-popular::before {
  transform: scaleX(1);
  opacity: 0.55;
}
.config-option.is-popular:hover::before,
.config-option.is-popular.active::before {
  opacity: 1;
}

.config-option-badge {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 9px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--vivid-navy, #1B3A8C);
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(219, 39, 119, 0.38);
  pointer-events: none;
  line-height: 1.2;
  z-index: 2;
}


/* ── Material Stack ───────────────────────────────────────────────── */

.config-options--stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.config-option-row {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 10px;
  background: var(--vh-white);
  border: 1.5px solid var(--vh-sand);
  border-radius: var(--vh-radius-md);
  cursor: pointer;
  transition: all var(--vh-duration-fast) var(--vh-ease-out);
  font-family: var(--vh-font-body);
  text-align: center;
}

.config-option-row:hover:not(.active) {
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.10);
  background:
    linear-gradient(var(--vh-white), var(--vh-white)) padding-box,
    linear-gradient(135deg, #2563EB, #7C3AED, #DB2777, #F97316) border-box;
  border: 1.5px solid transparent;
}

.config-option-row.active {
  border-color: transparent;
  background:
    linear-gradient(var(--vh-white), var(--vh-white)) padding-box,
    linear-gradient(135deg, #2563EB, #7C3AED, #DB2777, #F97316) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 10px 26px rgba(124, 58, 237, 0.18);
}

.config-option-row.active .config-option-row-name {
  background: linear-gradient(135deg, #2563EB, #7C3AED, #DB2777, #F97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.config-option-row-left {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}

.material-swatch {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: var(--vh-radius-sm);
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.material-swatch--polyester {
  background-image: url("../images/canvas-types/canvas-polyester.webp");
}

.material-swatch--cotton-poly {
  background-image: url("../images/canvas-types/canvas-cotton-polyester-75-25.webp");
}

.material-swatch--cotton {
  background-image: url("../images/canvas-types/canvas-cotton-100.webp");
}

.config-option-row-name {
  display: block;
  font-size: var(--vh-text-sm);
  font-weight: var(--vh-weight-semibold);
  color: var(--vh-ink);
  line-height: 1.3;
}

.mat-stars {
  position: absolute;
  top: -1px;
  right: -1px;
  color: #F59E0B;
  letter-spacing: 1px;
  line-height: 1;
  background: linear-gradient(135deg, #1e1e2e, #2d2b3d);
  padding: 3px 8px 4px;
  border-radius: 0 var(--vh-radius-md) 0 10px;
  box-shadow: -2px 2px 6px rgba(245, 158, 11, 0.15);
  text-shadow: 0 1px 2px rgba(180, 100, 0, 0.2);
}

.config-option-row-detail {
  display: block;
  font-size: var(--vh-text-xs);
  color: var(--vh-warm-gray);
  line-height: 1.3;
}

.config-option-row-tag {
  font-size: var(--vh-text-xs);
  font-weight: var(--vh-weight-medium);
  color: var(--vh-warm-gray);
  white-space: nowrap;
  flex-shrink: 0;
}

.config-option-row-tag--price {
  color: var(--vh-charcoal);
  font-weight: var(--vh-weight-semibold);
}


/* ── Frame Scroll ─────────────────────────────────────────────────── */

.config-options--scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.config-options--scroll::-webkit-scrollbar {
  display: none;
}

.config-option-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100px;
  min-width: 100px;
  padding: 12px 8px 10px;
  background: var(--vh-white);
  border: 1.5px solid var(--vh-sand);
  border-radius: var(--vh-radius-md);
  cursor: pointer;
  transition: all var(--vh-duration-fast) var(--vh-ease-out);
  font-family: var(--vh-font-body);
  text-align: center;
}

.config-option-frame:hover:not(.active) {
  border-color: var(--vh-charcoal);
}

.config-option-frame.active {
  border-color: var(--vh-ink);
  box-shadow: 0 0 0 1px var(--vh-ink);
}

.frame-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  margin-bottom: 2px;
}

.frame-name {
  font-size: 12px;
  font-weight: var(--vh-weight-semibold);
  color: var(--vh-ink);
  line-height: 1.2;
}

.frame-spec {
  font-size: 10px;
  color: var(--vh-warm-gray);
  line-height: 1;
}

.frame-price {
  font-size: 11px;
  font-weight: var(--vh-weight-medium);
  color: var(--vh-charcoal);
  line-height: 1;
}


/* ═══════════════════════════════════════════════════════════════════════
   SIDEBAR — Quantity + Add to Cart
   ═══════════════════════════════════════════════════════════════════════ */

.product-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: var(--vh-space-3);
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border-radius: var(--vh-radius-md);
  overflow: hidden;
  flex-shrink: 0;
  height: 54px;
  background:
    linear-gradient(var(--vh-white), var(--vh-white)) padding-box,
    linear-gradient(135deg, #2563EB, #7C3AED, #DB2777, #F97316) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.08);
}

.qty-btn {
  width: 42px;
  height: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  color: var(--vh-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--vh-duration-fast) var(--vh-ease-out),
              background var(--vh-duration-fast) var(--vh-ease-out);
}

.qty-btn:hover {
  background: rgba(124, 58, 237, 0.06);
  color: #7C3AED;
}

.qty-input {
  width: 42px;
  height: 100%;
  text-align: center;
  border: none;
  border-left: 1px solid var(--vh-sand);
  border-right: 1px solid var(--vh-sand);
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-base);
  font-weight: var(--vh-weight-bold);
  color: var(--vh-ink);
  background: transparent;
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Add to Cart — uses .vb-btn .vb-btn-primary from vivid-buttons.css, only layout overrides here */
.btn-add-to-cart {
  flex: 1;
  text-align: center;
}

/* ── Express Manufacturing Toggle ─────────────────────────────────── */

.express-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: var(--vh-space-3);
  border-radius: var(--vh-radius-md);
  border: 1.5px solid var(--vh-sand);
  background: var(--vh-white);
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--vh-font-body);
}

.express-toggle:has(.express-toggle__input:checked) {
  border-color: transparent;
  background:
    linear-gradient(var(--vh-white), var(--vh-white)) padding-box,
    linear-gradient(135deg, #F59E0B, #EF4444, #F59E0B) border-box;
  box-shadow: 0 4px 16px rgba(245,158,11,0.15);
}

.express-toggle__input {
  display: none;
}

.express-toggle__track {
  position: relative;
  width: 40px;
  height: 22px;
  border-radius: 11px;
  background: var(--vh-sand);
  flex-shrink: 0;
  transition: background 0.25s ease;
}

.express-toggle:has(.express-toggle__input:checked) .express-toggle__track {
  background: linear-gradient(135deg, #F59E0B, #EF4444);
}

.express-toggle__knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--vh-white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  transition: transform 0.25s ease;
}

.express-toggle:has(.express-toggle__input:checked) .express-toggle__knob {
  transform: translateX(18px);
}

.express-toggle__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.express-toggle__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--vh-text-sm);
  font-weight: 600;
  color: var(--vh-ink);
}

.express-toggle__label svg {
  color: #F59E0B;
}

.express-toggle__meta {
  font-size: var(--vh-text-xs);
  color: var(--vh-warm-gray);
}

.express-toggle__price {
  font-weight: 600;
  color: var(--vh-charcoal);
}

@keyframes vh-cart-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

.btn-atc-icon {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  animation: vh-cart-bounce 2s ease-in-out infinite;
}

.btn-atc-text,
.btn-atc-price {
  position: relative;
  z-index: 2;
  line-height: 1;
}

.btn-atc-price {
  font-weight: 700;
  opacity: 0.85;
}

/* ATC success state */
.btn-atc--success {
  background: #059669;
}

.btn-atc--success:hover {
  background: #047857;
}


/* ═══════════════════════════════════════════════════════════════════════
   SIDEBAR — Wishlist Button
   ═══════════════════════════════════════════════════════════════════════ */

.btn-wishlist {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 75%;
  margin-left: auto;
  margin-right: auto;
  padding: 12px;
  background: none;
  border: 1.5px solid var(--vh-sand);
  border-radius: var(--vh-radius-md);
  cursor: pointer;
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  font-weight: var(--vh-weight-medium);
  color: var(--vh-charcoal);
  transition: all var(--vh-duration-fast) var(--vh-ease-out);
  margin-bottom: var(--vh-space-5);
}

.btn-wishlist:hover {
  border-color: var(--vh-charcoal);
  color: var(--vh-ink);
}

.btn-wishlist svg {
  flex-shrink: 0;
  stroke: url(#vivid-heart-gradient);
  stroke: #DB2777;
  filter: drop-shadow(0 1px 3px rgba(219, 39, 119, 0.3));
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.3s ease;
}

.btn-wishlist:hover svg {
  transform: scale(1.2);
  filter: drop-shadow(0 2px 8px rgba(219, 39, 119, 0.45));
}

.btn-wishlist.is-wishlisted {
  border-color: #DB2777;
  background: #FDF2F8;
  color: #DB2777;
}

.btn-wishlist.is-wishlisted svg {
  fill: #DB2777;
}


/* ═══════════════════════════════════════════════════════════════════════
   SIDEBAR — Trust Strip
   ═══════════════════════════════════════════════════════════════════════ */

/* Trust Ticker — infinite marquee */
@keyframes vh-ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trust-ticker {
  overflow: hidden;
  padding: 10px 0;
  border-top: 1px solid var(--vh-sand);
  border-bottom: 1px solid var(--vh-sand);
  margin-bottom: var(--vh-space-4);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.trust-ticker__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: vh-ticker-scroll 12s linear infinite;
}

.trust-ticker:hover .trust-ticker__track {
  animation-play-state: paused;
}

.trust-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-xs);
  font-weight: 500;
  color: var(--vh-charcoal);
  letter-spacing: 0.01em;
}

.trust-ticker__item svg {
  flex-shrink: 0;
  color: var(--vivid-purple, #7B2D8E);
}

.trust-ticker__sep {
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  font-size: 10px;
  background: var(--vivid-gradient-main, linear-gradient(135deg, #1B3A8C, #7B2D8E, #D41B6B));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* ═══════════════════════════════════════════════════════════════════════
   SIDEBAR — Production Info
   ═══════════════════════════════════════════════════════════════════════ */

/* Shipping Urgency Bar */
.shipping-urgency {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  margin-bottom: var(--vh-space-4);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(27,58,140,0.04), rgba(123,45,142,0.06), rgba(212,27,107,0.04));
  border: 1px solid rgba(123,45,142,0.10);
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-xs);
  color: var(--vh-charcoal);
  line-height: 1;
}

.shipping-urgency__ship,
.shipping-urgency__countdown {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  justify-content: center;
}

.shipping-urgency__text {
  line-height: 1.4;
  text-align: center;
}

.shipping-urgency__text strong {
  display: inline-block;
  font-size: 1.05em;
}

.shipping-urgency__ship svg,
.shipping-urgency__countdown svg {
  flex-shrink: 0;
  color: var(--vivid-purple, #7B2D8E);
}

.shipping-urgency__ship strong {
  font-weight: 700;
  color: var(--vh-ink);
}

.shipping-urgency__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--vivid-purple, #7B2D8E);
  opacity: 0.4;
  flex-shrink: 0;
}

@keyframes vh-countdown-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

.countdown-value {
  display: inline-block;
  font-weight: 700;
  background: var(--vivid-gradient-main, linear-gradient(135deg, #1B3A8C, #7B2D8E, #D41B6B));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: vh-countdown-pulse 2s ease-in-out infinite;
}


/* ═══════════════════════════════════════════════════════════════════════
   SIDEBAR — Shipping Progress Bar
   ═══════════════════════════════════════════════════════════════════════ */

.shipping-progress {
  background: var(--vh-linen);
  border-radius: var(--vh-radius-md);
  padding: 12px 16px;
}

.shipping-progress-text {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  color: var(--vh-charcoal);
  margin-bottom: 8px;
  line-height: 1.5;
  text-align: center;
  transition: opacity 0.3s ease;
}

.shipping-progress-text strong {
  font-weight: 700;
  display: inline-block;
  background: var(--vivid-gradient-main, linear-gradient(135deg, #1B3A8C, #7B2D8E, #D41B6B));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.shipping-progress-bar {
  height: 4px;
  background: var(--vh-sand);
  border-radius: var(--vh-radius-full);
  overflow: hidden;
}

.shipping-progress-fill {
  height: 100%;
  background: var(--vivid-gradient-main, linear-gradient(135deg, #1B3A8C, #7B2D8E, #D41B6B));
  border-radius: var(--vh-radius-full);
  transition: width 0.6s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: width;
}

.shipping-free-icon {
  display: inline-block;
  font-size: 1.4em;
  vertical-align: middle;
  animation: shipping-celebrate 2s ease infinite;
}

@keyframes shipping-celebrate {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.25) rotate(-10deg); }
  50% { transform: scale(1.3) rotate(8deg); }
  75% { transform: scale(1.25) rotate(-5deg); }
}


/* ═══════════════════════════════════════════════════════════════════════
   BREADCRUMB
   ═══════════════════════════════════════════════════════════════════════ */

/* Breadcrumb — uses unified .vh-breadcrumb from design-system.css */


/* ═══════════════════════════════════════════════════════════════════════
   GALLERY — Main Image
   ═══════════════════════════════════════════════════════════════════════ */

.gallery-main {
  position: relative;
}

.gallery-main-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--vh-radius-lg);
  background: var(--vh-white);
  cursor: pointer;
  /* Fixed 3:2 aspect — keeps the main viewport height constant when user
     switches between square (1:1) and lifestyle (3:2) thumbs. */
  aspect-ratio: 3 / 2;
}

.gallery-main-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transition: opacity var(--vh-duration-base) var(--vh-ease-out);
}


/* ── Zoom Lens (desktop only) ──────────────────────────────────────── */

/* Lens hidden — zoom works via result panel only, image dims slightly on hover */
.gallery-zoom-lens {
  display: none !important;
}

.gallery-main-wrapper.is-zooming {
  cursor: pointer;
}

.gallery-main-wrapper.is-zooming .gallery-main-image {
  filter: brightness(0.92);
  transition: filter 0.2s ease;
}


/* ── Zoom Result Panel (desktop only) ──────────────────────────────── */

.gallery-zoom-result {
  position: absolute;
  top: 0;
  left: calc(100% + 16px);
  width: 400px;
  height: 500px;
  border: 1px solid var(--vh-sand);
  border-radius: var(--vh-radius-lg);
  overflow: hidden;
  display: none;
  z-index: var(--vh-z-nav);
  box-shadow: var(--vh-shadow-xl);
  background: var(--vh-white);
}

.gallery-zoom-result-inner {
  width: 100%;
  height: 100%;
}


/* ── Counter Badge (mobile only) ───────────────────────────────────── */

.gallery-counter {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.5);
  color: var(--vh-white);
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-xs);
  font-weight: var(--vh-weight-medium);
  padding: 4px 10px;
  border-radius: var(--vh-radius-full);
  z-index: 2;
  display: none;                         /* shown on mobile */
}


/* ── Fullscreen Button ─────────────────────────────────────────────── */

.gallery-fullscreen-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: var(--vh-radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all var(--vh-duration-fast) var(--vh-ease-out);
}

.gallery-fullscreen-btn svg {
  color: var(--vh-charcoal);
}

.gallery-fullscreen-btn:hover {
  background: var(--vh-white);
  box-shadow: var(--vh-shadow-sm);
}


/* ── Prev / Next Arrows ────────────────────────────────────────────── */

.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: var(--vh-radius-full);
  cursor: pointer;
  display: none;                         /* shown on mobile */
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background var(--vh-duration-fast) var(--vh-ease-out);
}

.gallery-prev { left: 8px; }
.gallery-next { right: 8px; }

.gallery-prev:hover,
.gallery-next:hover {
  background: var(--vh-white);
}

.gallery-prev svg,
.gallery-next svg {
  color: var(--vh-charcoal);
}


/* ═══════════════════════════════════════════════════════════════════════
   GALLERY — Thumbnail Strip
   ═══════════════════════════════════════════════════════════════════════ */

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 130px);
  grid-template-rows: 86px 86px;
  justify-content: center;
  gap: 8px;
  margin-top: var(--vh-space-5, 20px);
  padding-top: 6px;
}

.gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.gallery-thumb {
  height: 86px;
  aspect-ratio: 3 / 2;
  width: 100%;
  border-radius: var(--vh-radius-md);
  overflow: hidden;
  border: 2px solid rgba(184,181,174,0.3);
  cursor: pointer;
  position: relative;
  padding: 0;
  background: var(--vh-white);
  box-shadow: 0 3px 10px rgba(0,0,0,0.10);
  transition: border-color var(--vh-duration-fast) var(--vh-ease-out),
              transform 0.25s ease,
              box-shadow 0.25s ease;
}

/* Row 1: thumbs 1 & 2 are squares, centered (cols 2 + 3) */
.gallery-thumb:nth-child(1) {
  grid-row: 1; grid-column: 2;
  aspect-ratio: 1 / 1;
  width: 86px;
  justify-self: end;
}
.gallery-thumb:nth-child(2) {
  grid-row: 1; grid-column: 3;
  aspect-ratio: 1 / 1;
  width: 86px;
  justify-self: start;
}

/* Row 2: thumbs 3-6 are 3:2, full width across cols 1-4 */
.gallery-thumb:nth-child(3) { grid-row: 2; grid-column: 1; }
.gallery-thumb:nth-child(4) { grid-row: 2; grid-column: 2; }
.gallery-thumb:nth-child(5) { grid-row: 2; grid-column: 3; }
.gallery-thumb:nth-child(6) { grid-row: 2; grid-column: 4; }

.gallery-thumb.active {
  border-color: transparent;
  background:
    linear-gradient(var(--vh-white), var(--vh-white)) padding-box,
    linear-gradient(135deg, #2563EB, #7C3AED, #DB2777, #F97316) border-box;
  box-shadow: 0 4px 16px rgba(123,45,142,0.18), 0 0 0 3px rgba(123,45,142,0.06);
  transform: translateY(-2px);
}

.gallery-thumb:hover:not(.active) {
  border-color: var(--vh-stone);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.10);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.thumb-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.45);
  color: var(--vh-white);
  font-family: var(--vh-font-body);
  font-size: 9px;
  font-weight: var(--vh-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 2px 0;
  line-height: 1.4;
}


/* ═══════════════════════════════════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════════════════════════════════ */

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--vh-z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--vh-radius-md);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--vh-white);
  font-size: 32px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--vh-duration-fast);
}

.lightbox-close:hover {
  opacity: 0.7;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--vh-white);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: var(--vh-radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--vh-duration-fast);
}

.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-counter {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  white-space: nowrap;
}


/* ═══════════════════════════════════════════════════════════════════════
   MATERIAL LIGHTBOX
   ═══════════════════════════════════════════════════════════════════════ */

.material-lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--vh-z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.material-lightbox[hidden] {
  display: none;
}

.material-lightbox__card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--vh-white);
  border-radius: var(--vh-radius-lg, 20px);
  overflow: hidden;
  max-width: 520px;
  width: 90vw;
  max-height: 90vh;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
  animation: vh-mat-lb-in 0.3s ease-out;
}

@keyframes vh-mat-lb-in {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.material-lightbox__card .lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--vh-charcoal);
  z-index: 2;
}

.material-lightbox__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  flex-shrink: 0;
}

.material-lightbox__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 24px 28px;
}

.material-lightbox__name {
  font-family: var(--vh-font-heading, 'Playfair Display', serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--vh-ink);
  margin: 0;
  line-height: 1.3;
}

.material-lightbox__detail {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  color: var(--vh-slate);
  line-height: 1.6;
  margin: 0;
}

.material-lightbox__tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-xs);
  font-weight: 600;
  background: linear-gradient(135deg, rgba(27,58,140,0.08), rgba(123,45,142,0.10));
  color: var(--vivid-purple, #7B2D8E);
}

.material-lightbox__tag--price {
  background: linear-gradient(135deg, rgba(232,99,42,0.08), rgba(212,27,107,0.10));
  color: var(--vivid-tangerine, #E8632A);
}

@media (max-width: 600px) {
  .material-lightbox__card {
    max-width: 94vw;
  }
  .material-lightbox__img {
    aspect-ratio: 3 / 2;
  }
}


/* ═══════════════════════════════════════════════════════════════════════
   BELOW THE FOLD — Shared
   ═══════════════════════════════════════════════════════════════════════ */

.btf-container {
  max-width: var(--vh-container-xl);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

.section-heading-sm {
  font-family: var(--vh-font-heading);
  font-size: var(--vh-text-2xl);
  font-weight: var(--vh-weight-semibold);
  color: var(--vh-ink);
  margin: 0 0 var(--vh-space-6) 0;
  letter-spacing: -0.02em;
}

.trust-block .section-heading-sm {
  color: var(--vh-white);
}


/* ═══════════════════════════════════════════════════════════════════════
   UPSELL / CROSS-SELL BAR
   ═══════════════════════════════════════════════════════════════════════ */

.product-upsell {
  padding: var(--vh-space-12) 0;
  background: linear-gradient(135deg, var(--vh-linen) 0%, var(--vh-sand) 100%);
  border-top: 1px solid rgba(184,181,174,0.25);
  border-bottom: 1px solid rgba(184,181,174,0.25);
}

.upsell-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.upsell-scroll::-webkit-scrollbar {
  display: none;
}

.upsell-card {
  flex-shrink: 0;
  width: 180px;
  scroll-snap-align: start;
  border: 1px solid rgba(184,181,174,0.25);
  border-radius: var(--vh-radius-lg);
  overflow: hidden;
  background: var(--vh-white);
  position: relative;
  box-shadow: var(--vh-shadow-sm);
  transition: all var(--vh-duration-base) var(--vh-ease-out);
}

.upsell-card:hover {
  box-shadow: var(--vh-shadow-lg);
  transform: translateY(-3px);
}

.upsell-card-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--vh-linen);
}

.upsell-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.upsell-card-info {
  padding: 10px 12px;
}

.upsell-card-name {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  font-weight: var(--vh-weight-medium);
  color: var(--vh-ink);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.upsell-card-price {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  font-weight: var(--vh-weight-semibold);
  color: var(--vh-charcoal);
  margin: 2px 0 0 0;
}

.upsell-card-add {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: var(--vh-white);
  border: none;
  border-radius: var(--vh-radius-full);
  box-shadow: var(--vh-shadow-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--vh-duration-fast) var(--vh-ease-out);
}

.upsell-card-add svg {
  color: var(--vh-charcoal);
  transition: color var(--vh-duration-fast) var(--vh-ease-out);
}

.upsell-card-add:hover {
  background: var(--vh-ink);
}

.upsell-card-add:hover svg {
  color: var(--vh-white);
}


/* ═══════════════════════════════════════════════════════════════════════
   TABBED PRODUCT INFORMATION
   ═══════════════════════════════════════════════════════════════════════ */

.product-info-tabs {
  padding: var(--vh-space-16) 0;
  background: linear-gradient(180deg, var(--vh-white) 0%, var(--vh-linen) 100%);
}

/* ── Tab Navigation ───────────────────────────────────────────────── */

.tabs-nav {
  display: flex;
  position: relative;
  background: var(--vh-white);
  border: 1px solid rgba(184,181,174,0.25);
  border-radius: var(--vh-radius-lg);
  padding: 6px;
  gap: 4px;
  margin-bottom: var(--vh-space-8);
  overflow-x: auto;
  scrollbar-width: none;
  box-shadow: var(--vh-shadow-sm);
}

.tabs-nav::-webkit-scrollbar {
  display: none;
}

.tabs-indicator {
  position: absolute;
  bottom: 6px;
  left: 0;
  height: calc(100% - 12px);
  background: linear-gradient(135deg, #1B3A8C, #7B2D8E, #D41B6B);
  border-radius: var(--vh-radius-md);
  z-index: 0;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  font-weight: var(--vh-weight-medium);
  color: var(--vh-warm-gray);
  background: none;
  border: none;
  border-radius: var(--vh-radius-md);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.tab-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: color 0.3s ease, opacity 0.3s ease;
}

/* Per-tab brand colors for icons */
#tab-btn-details .tab-icon  { color: #1B3A8C; }
#tab-btn-specs .tab-icon    { color: #7B2D8E; }
#tab-btn-delivery .tab-icon { color: #E8632A; }
#tab-btn-reviews .tab-icon  { color: #D41B6B; }

.tab-btn:hover {
  color: var(--vh-ink);
}

.tab-btn:hover .tab-icon {
  opacity: 0.9;
}

.tab-btn.active {
  color: var(--vh-white);
  font-weight: var(--vh-weight-semibold);
}

.tab-btn.active .tab-icon {
  color: var(--vh-white) !important;
  opacity: 1;
}

.tab-count {
  font-size: 11px;
  font-weight: var(--vh-weight-bold);
  background: rgba(255,255,255,0.2);
  color: var(--vh-white);
  padding: 2px 7px;
  border-radius: var(--vh-radius-full);
  margin-left: 2px;
  transition: all 0.3s ease;
}

.tab-btn:not(.active) .tab-count {
  background: linear-gradient(135deg, #D41B6B, #E8632A);
  color: var(--vh-white);
}


/* ── Tab Panels ───────────────────────────────────────────────────── */

.tab-panel[hidden] {
  display: none;
}

.tab-panel.active {
  animation: tabFadeIn 350ms var(--vh-ease-out);
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ── Details Tab — Description ────────────────────────────────────── */

.tab-description {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-base);
  line-height: 1.7;
  color: var(--vh-charcoal);
  margin: 0 0 var(--vh-space-2) 0;
  max-width: 680px;
}

.tab-description p {
  margin: 0 0 var(--vh-space-4) 0;
}
.tab-description p:last-child {
  margin-bottom: 0;
}

/* Lead paragraph — the first untitled section, slightly larger
 * and the typographic "voice" of the description. */
.tab-description__lead {
  font-size: calc(var(--vh-text-base) + 1px);
  color: var(--vh-ink);
}

/* Section headings — quiet eyebrow style so they organize the
 * copy without competing with the product title. */
.tab-description__h {
  font-family: var(--vh-font-heading);
  font-size: var(--vh-text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--vh-ink);
  margin: var(--vh-space-6) 0 var(--vh-space-2) 0;
  padding-top: var(--vh-space-4);
  border-top: 1px solid var(--vh-sand);
}
.tab-description__h:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* ── Crafted-with-care structured block (3 canvas materials + HP Latex) ── */
.tab-description__crafted-intro {
  font-size: var(--vh-text-base);
  line-height: 1.7;
  color: var(--vh-charcoal);
  margin: 0 0 var(--vh-space-4) 0;
}
.tab-description__crafted-choose {
  font-size: var(--vh-text-sm);
  font-weight: var(--vh-weight-semibold);
  color: var(--vh-ink);
  margin: 0 0 var(--vh-space-2) 0;
}
.tab-description__crafted-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tab-description__crafted-list li {
  display: grid;
  grid-template-columns: minmax(160px, max-content) 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 10px 14px;
  background: var(--vh-ivory, #FBFAF7);
  border: 1px solid var(--vh-sand);
  border-radius: var(--vh-radius-md);
}
.tab-description__crafted-list strong {
  font-weight: 600;
  color: var(--vh-ink);
}
.tab-description__crafted-list span {
  font-size: var(--vh-text-sm);
  color: var(--vh-warm-gray);
}
@media (max-width: 600px) {
  .tab-description__crafted-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ── Details tab — 2-column grid (description left, feature cards right) ── */
.tab-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--vh-space-10);
  align-items: start;
}
.tab-details-grid__main {
  min-width: 0;
}
.tab-details-grid__aside {
  min-width: 0;
}
.tab-details-grid__aside .feature-list {
  grid-template-columns: 1fr; /* stack cards on the right column */
  margin: 0;
}
@media (max-width: 900px) {
  .tab-details-grid {
    grid-template-columns: 1fr;
    gap: var(--vh-space-8);
  }
  .tab-details-grid__aside .feature-list {
    grid-template-columns: repeat(2, 1fr); /* restore 2-col on narrow viewports */
  }
}
@media (max-width: 600px) {
  .tab-details-grid__aside .feature-list {
    grid-template-columns: 1fr;
  }
}

/* ── Specs tab — multi-value cells (available materials / sizes) ── */
.specs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.specs-list li {
  display: flex;
  flex-direction: column;
}
.specs-list strong {
  font-weight: 600;
  color: var(--vh-ink);
}
.specs-list__sub {
  font-size: var(--vh-text-xs);
  color: var(--vh-warm-gray);
}
.specs-sizes {
  display: inline-block;
  line-height: 1.7;
  word-spacing: 2px;
}


/* ── Details Tab — Feature List ───────────────────────────────────── */

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: var(--vh-space-6) 0;
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--vh-white);
  border: 1px solid rgba(184,181,174,0.2);
  border-radius: var(--vh-radius-md);
  transition: box-shadow var(--vh-duration-base) var(--vh-ease-out);
}

.feature-item:hover {
  box-shadow: var(--vh-shadow-sm);
}

.feature-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(124,58,237,0.08));
  border-radius: var(--vh-radius-sm);
  color: var(--vh-blue);
}

.feature-icon svg {
  width: 18px;
  height: 18px;
}

.feature-item strong {
  display: block;
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  font-weight: var(--vh-weight-semibold);
  color: var(--vh-ink);
}

.feature-item span {
  display: block;
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-xs);
  color: var(--vh-warm-gray);
  margin-top: 2px;
  line-height: 1.5;
}

.custom-link {
  display: inline-block;
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  font-weight: var(--vh-weight-medium);
  color: var(--vh-blue);
  text-decoration: none;
  transition: color var(--vh-duration-fast) var(--vh-ease-out);
}

.custom-link:hover {
  color: var(--vh-ink);
  text-decoration: underline;
}


/* ── Specifications Tab ───────────────────────────────────────────── */

.specs-table {
  width: 100%;
  max-width: 600px;
  margin: 0 auto; /* centered on desktop, same pattern as delivery-content */
  border-collapse: separate;
  border-spacing: 0;
  background: var(--vh-white);
  border: 1px solid rgba(184,181,174,0.2);
  border-radius: var(--vh-radius-md);
  overflow: hidden;
}

.specs-table tr {
  border-bottom: 1px solid rgba(184,181,174,0.15);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table tr:nth-child(even) {
  background: rgba(245,240,235,0.4);
}

.specs-table td {
  padding: 14px 16px;
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  vertical-align: top;
}

.specs-table td:first-child {
  color: var(--vh-warm-gray);
  width: 40%;
  font-weight: var(--vh-weight-regular);
  padding-right: 16px;
}

.specs-table td:last-child {
  color: var(--vh-ink);
  font-weight: var(--vh-weight-medium);
}


/* ── Delivery & Returns Tab ───────────────────────────────────────── */

.delivery-content {
  max-width: 680px;
  margin: 0 auto; /* centered on desktop */
}

.delivery-section {
  margin-bottom: var(--vh-space-6);
}

.delivery-section:last-child {
  margin-bottom: 0;
}

.delivery-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--vh-space-2);
  margin-top: var(--vh-space-6);
  padding: 12px 20px;
  border: 1px solid var(--vh-sand);
  border-radius: var(--vh-radius-lg);
  background: var(--vh-white);
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  font-weight: var(--vh-weight-semibold);
  color: var(--vh-ink);
  text-decoration: none;
  transition: all var(--vh-duration-base) var(--vh-ease-out);
}

.delivery-cta svg {
  width: 16px;
  height: 16px;
  transition: transform var(--vh-duration-base) var(--vh-ease-out);
}

.delivery-cta:hover {
  border-color: var(--vh-purple);
  color: var(--vh-purple);
  transform: translateY(-1px);
}

.delivery-cta:hover svg {
  transform: translateX(2px);
}

.delivery-section h3 {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-base);
  font-weight: var(--vh-weight-semibold);
  color: var(--vh-ink);
  margin: 0 0 var(--vh-space-2) 0;
}

.delivery-section p {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  line-height: 1.7;
  color: var(--vh-charcoal);
  margin: 0;
}

.delivery-section strong {
  font-weight: var(--vh-weight-semibold);
  color: var(--vh-ink);
}

.delivery-table {
  width: 100%;
  max-width: 500px;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: var(--vh-space-3);
  background: var(--vh-white);
  border: 1px solid rgba(184,181,174,0.2);
  border-radius: var(--vh-radius-md);
  overflow: hidden;
}

.delivery-table thead tr {
  background: var(--vh-ink);
}

.delivery-table th {
  padding: 12px 16px;
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  font-weight: var(--vh-weight-semibold);
  color: var(--vh-white);
  text-align: left;
}

.delivery-table tbody tr {
  border-bottom: 1px solid rgba(184,181,174,0.15);
}

.delivery-table tbody tr:last-child {
  border-bottom: none;
}

.delivery-table tbody tr:nth-child(even) {
  background: rgba(245,240,235,0.4);
}

.delivery-table td {
  padding: 12px 16px;
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  color: var(--vh-charcoal);
}

.delivery-table td:first-child {
  padding-right: 24px;
}


/* ── Reviews Tab — Summary ────────────────────────────────────────── */

.reviews-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--vh-space-8);
  margin-bottom: var(--vh-space-6);
  padding: var(--vh-space-6);
  background: var(--vh-white);
  border: 1px solid rgba(184,181,174,0.2);
  border-radius: var(--vh-radius-lg);
}

.reviews-summary-left {
  text-align: center;
  min-width: 100px;
}

.reviews-avg {
  font-family: var(--vh-font-body);
  font-size: 48px;
  font-weight: var(--vh-weight-bold);
  color: var(--vh-ink);
  line-height: 1;
}

.reviews-stars {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-top: 6px;
}

.reviews-total {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  color: var(--vh-warm-gray);
  margin-top: 4px;
}

.reviews-summary-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}


/* ── Star Distribution Bars ───────────────────────────────────────── */

.star-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.star-bar-label {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-xs);
  width: 24px;
  color: var(--vh-warm-gray);
  flex-shrink: 0;
}

.star-bar-track {
  flex: 1;
  height: 8px;
  background: var(--vh-linen);
  border-radius: var(--vh-radius-full);
  overflow: hidden;
}

.star-bar-fill {
  height: 100%;
  background: var(--vh-amber);
  border-radius: var(--vh-radius-full);
}

.star-bar-pct {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-xs);
  width: 32px;
  text-align: right;
  color: var(--vh-warm-gray);
  flex-shrink: 0;
}


/* ── Reviews Controls ─────────────────────────────────────────────── */

.reviews-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: var(--vh-space-6);
}

.reviews-sort {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  color: var(--vh-charcoal);
  padding: 8px 12px;
  border: 1px solid var(--vh-sand);
  border-radius: var(--vh-radius-md);
  background: var(--vh-white);
  cursor: pointer;
}

.btn-write-review {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  font-weight: var(--vh-weight-semibold);
  color: var(--vh-white);
  background: var(--vh-ink);
  border: none;
  border-radius: var(--vh-radius-md);
  padding: 10px 20px;
  cursor: pointer;
  transition: background var(--vh-duration-fast) var(--vh-ease-out);
}

.btn-write-review:hover {
  background: var(--vh-charcoal);
}


/* ── Review Cards ─────────────────────────────────────────────────── */

.reviews-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.review-card {
  padding: var(--vh-space-5);
  background: var(--vh-white);
  border: 1px solid rgba(184,181,174,0.2);
  border-radius: var(--vh-radius-lg);
  transition: box-shadow var(--vh-duration-base) var(--vh-ease-out);
}

.review-card:hover {
  box-shadow: var(--vh-shadow-md);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.review-stars {
  color: var(--vh-amber);
  font-size: var(--vh-text-sm);
  letter-spacing: 1px;
}

.review-verified {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-xs);
  color: var(--vh-success);
  font-weight: var(--vh-weight-medium);
}

.review-title {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-base);
  font-weight: 700;
  color: var(--vh-ink);
  margin: 0 0 6px 0;
  line-height: 1.4;
}

.review-text {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-base);
  line-height: 1.7;
  color: var(--vh-charcoal);
  margin: 0 0 10px 0;
}

.review-footer {
  display: flex;
  gap: 12px;
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-xs);
  color: var(--vh-warm-gray);
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.review-author {
  font-weight: var(--vh-weight-semibold);
  color: var(--vh-charcoal);
}

.review-product {
  font-style: italic;
}

.review-helpful {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-xs);
  color: var(--vh-warm-gray);
}

.review-helpful-btn {
  font-size: var(--vh-text-xs);
  padding: 2px 8px;
  border: 1px solid var(--vh-sand);
  border-radius: 4px;
  background: var(--vh-white);
  cursor: pointer;
  transition: background var(--vh-duration-fast) var(--vh-ease-out);
}

.review-helpful-btn:hover {
  background: var(--vh-linen);
}


/* ── Load More ────────────────────────────────────────────────────── */

.btn-load-more-reviews {
  display: block;
  width: 100%;
  padding: 14px;
  margin-top: var(--vh-space-6);
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  font-weight: var(--vh-weight-semibold);
  color: var(--vh-white);
  background: var(--vh-ink);
  border: none;
  border-radius: var(--vh-radius-full);
  cursor: pointer;
  transition: all var(--vh-duration-fast) var(--vh-ease-out);
}

.btn-load-more-reviews:hover {
  background: var(--vh-charcoal);
  box-shadow: var(--vh-shadow-md);
}


/* ═══════════════════════════════════════════════════════════════════════
   WHY VIVID HOME — Trust Block
   ═══════════════════════════════════════════════════════════════════════ */

.trust-block {
  padding: var(--vh-space-16) 0;
  background: var(--vh-ink);
  color: var(--vh-white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-card {
  text-align: center;
  padding: var(--vh-space-8) var(--vh-space-5);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--vh-radius-lg);
  transition: all var(--vh-duration-base) var(--vh-ease-out);
}

.trust-card:hover {
  background: rgba(255,255,255,0.10);
  transform: translateY(-2px);
}

.trust-card-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto var(--vh-space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37,99,235,0.25), rgba(124,58,237,0.25));
  border-radius: var(--vh-radius-md);
}

.trust-card-icon svg {
  color: var(--vh-white);
}

.trust-card-heading {
  font-family: var(--vh-font-heading);
  font-size: var(--vh-text-lg);
  font-weight: var(--vh-weight-semibold);
  color: var(--vh-white);
  margin: 0 0 var(--vh-space-2) 0;
}

.trust-card-text {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin: 0;
}


/* ═══════════════════════════════════════════════════════════════════════
   RECENTLY VIEWED
   ═══════════════════════════════════════════════════════════════════════ */

.recently-viewed {
  padding: var(--vh-space-12) 0;
  border-top: 1px solid var(--vh-sand);
}

.recently-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.recently-scroll::-webkit-scrollbar {
  display: none;
}


/* ═══════════════════════════════════════════════════════════════════════
   RELATED PRODUCTS — You May Also Like
   ═══════════════════════════════════════════════════════════════════════ */

.related-products {
  padding: var(--vh-space-16) 0;
  background: var(--vh-linen);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--vh-space-5);
}


/* ── Product Card ─────────────────────────────────────────────────── */

.product-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-card-img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--vh-radius-md);
  background: var(--vh-linen);
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms var(--vh-ease-out);
}

.product-card:hover .product-card-img img {
  transform: scale(1.04);
}

.product-card-wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: var(--vh-radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--vh-duration-base) var(--vh-ease-out),
              background var(--vh-duration-fast) var(--vh-ease-out);
  z-index: 2;
}

.product-card:hover .product-card-wishlist {
  opacity: 1;
}

.product-card-wishlist:hover {
  background: var(--vh-white);
}

.product-card-wishlist svg {
  color: var(--vh-charcoal);
}

.product-card-wishlist.is-wishlisted {
  opacity: 1;
  background: #FDF2F8;
}

.product-card-wishlist.is-wishlisted svg {
  fill: #DB2777;
  stroke: #DB2777;
  color: #DB2777;
}

.product-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--vh-font-body);
  font-size: 10px;
  font-weight: var(--vh-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--vh-ink);
  color: var(--vh-white);
  padding: 4px 10px;
  border-radius: var(--vh-radius-full);
  z-index: 2;
  line-height: 1;
}

.product-card-quickview {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26, 23, 21, 0.85);
  color: var(--vh-white);
  text-align: center;
  padding: 10px;
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  font-weight: var(--vh-weight-medium);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform var(--vh-duration-base) var(--vh-ease-out);
  z-index: 2;
}

.product-card:hover .product-card-quickview {
  transform: translateY(0);
}

.product-card-info {
  padding: var(--vh-space-3) 0;
}

.product-card-name {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  font-weight: var(--vh-weight-medium);
  color: var(--vh-ink);
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.product-card-current {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-base);
  font-weight: var(--vh-weight-bold);
  color: var(--vh-ink);
}

.product-card-original {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  color: var(--vh-warm-gray);
  text-decoration: line-through;
}

.product-card-type {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-xs);
  color: var(--vh-warm-gray);
  margin-top: 2px;
  display: block;
}


/* ═══════════════════════════════════════════════════════════════════════
   INTERSECTION OBSERVER — Fade-in Animations
   ═══════════════════════════════════════════════════════════════════════ */

.fade-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--vh-ease-out),
              transform 600ms var(--vh-ease-out);
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-child {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--vh-ease-out),
              transform 600ms var(--vh-ease-out);
}

.fade-child.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════════════════════════════════
   SCROLL PROGRESS BAR
   ═══════════════════════════════════════════════════════════════════════ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: calc(var(--vh-z-sticky, 100) + 1);
  background: transparent;
  pointer-events: none;
}

.scroll-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--vh-blue), #7C3AED, var(--vh-orange));
  transition: width 100ms linear;
}


/* ═══════════════════════════════════════════════════════════════════════
   STICKY MOBILE CTA BAR
   ═══════════════════════════════════════════════════════════════════════ */

.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--vh-sand);
  padding: 10px clamp(16px, 4vw, 48px);
  z-index: var(--vh-z-sticky, 100);
  transform: translateY(100%);
  transition: transform 300ms var(--vh-ease-out);
}

.sticky-cta-bar.visible {
  transform: translateY(0);
}

.sticky-cta-inner {
  max-width: var(--vh-container-xl);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ── Sticky CTA toggle ── */
.sticky-cta-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--vh-radius-md);
  background:
    linear-gradient(var(--vh-white), var(--vh-white)) padding-box,
    linear-gradient(135deg, #2563EB, #7C3AED, #DB2777) border-box;
  border: 1.5px solid transparent;
  cursor: pointer;
  user-select: none;
  min-width: 0;
  flex: 1;
  transition: box-shadow 200ms ease;
}

.sticky-cta-toggle:hover,
.sticky-cta-toggle[aria-expanded="true"] {
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.18);
}

.sticky-cta-toggle-content {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.sticky-cta-label {
  font-family: var(--vh-font-body);
  font-size: 12px;
  font-weight: var(--vh-weight-medium);
  color: var(--vh-charcoal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-cta-price {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-lg);
  font-weight: var(--vh-weight-bold);
  color: var(--vh-ink);
}

.sticky-cta-toggle-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
  flex-shrink: 0;
  transition: transform 200ms ease;
  color: var(--vh-purple, #7B2D8E);
}

.sticky-cta-toggle[aria-expanded="true"] .sticky-cta-toggle-arrow {
  transform: rotate(180deg);
}

.sticky-cta-btn {
  padding: 12px 28px;
  white-space: nowrap;
  flex-shrink: 0;
  z-index: 1;
}

.sticky-cta-btn:hover {
  transform: none;
}

/* ── Sticky CTA dropdown ── */
.sticky-cta-dropdown {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--vh-sand);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.12);
  max-height: 55vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px 0 8px;
  animation: sticky-dropdown-in 200ms ease;
}

.sticky-cta-dropdown[hidden] {
  display: none;
}

@keyframes sticky-dropdown-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sticky-dropdown-section {
  padding: 0 clamp(16px, 4vw, 48px);
}

.sticky-dropdown-section + .sticky-dropdown-section {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--vh-sand);
}

.sticky-dropdown-heading {
  font-family: var(--vh-font-body);
  font-size: 11px;
  font-weight: var(--vh-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--vh-ink);
  margin-bottom: 8px;
}

/* ── Size grid ── */
.sticky-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.sticky-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border: 1px solid var(--vh-sand);
  border-radius: var(--vh-radius-sm, 8px);
  background: transparent;
  cursor: pointer;
  font-family: var(--vh-font-body);
  font-size: 12px;
  color: var(--vh-charcoal);
  transition: all 150ms ease;
}

.sticky-dropdown-item:hover {
  background: var(--vh-ivory);
  border-color: var(--vh-stone);
}

.sticky-dropdown-item.active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.08));
  border-color: rgba(124, 58, 237, 0.3);
  font-weight: var(--vh-weight-semibold);
  color: var(--vh-ink);
}

.sticky-dropdown-size {
  white-space: nowrap;
}

.sticky-dropdown-price {
  font-weight: var(--vh-weight-semibold);
  color: var(--vh-ink);
  font-size: 11px;
}

/* ── Material grid (3 columns) ── */
.sticky-dropdown-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.sticky-dropdown-mat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px 8px;
  border: 1px solid var(--vh-sand);
  border-radius: var(--vh-radius-sm, 8px);
  background: transparent;
  cursor: pointer;
  font-family: var(--vh-font-body);
  color: var(--vh-charcoal);
  transition: all 150ms ease;
}

.sticky-dropdown-mat .material-swatch {
  width: 36px !important;
  height: 36px !important;
  border-radius: 8px !important;
  flex-shrink: 0;
}

.sticky-dropdown-mat:hover {
  background: var(--vh-ivory);
  border-color: var(--vh-stone);
}

.sticky-dropdown-mat.active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.08));
  border-color: rgba(124, 58, 237, 0.3);
  font-weight: var(--vh-weight-semibold);
  color: var(--vh-ink);
}

.sticky-dropdown-mat-name {
  font-size: 10px;
  text-align: center;
  line-height: 1.2;
}

.sticky-dropdown-mat-tag {
  font-size: 9px;
  font-weight: var(--vh-weight-semibold);
  color: var(--vh-stone);
  background: var(--vh-ivory);
  padding: 1px 6px;
  border-radius: 20px;
}

.sticky-dropdown-mat.active .sticky-dropdown-mat-tag {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.12));
  color: var(--vh-ink);
}

/* Hide on desktop — sidebar is sticky there */
@media (min-width: 1024px) {
  .sticky-cta-bar {
    display: none;
  }
}


/* ═══════════════════════════════════════════════════════════════════════
   SOCIAL PROOF TOAST NOTIFICATIONS
   ═══════════════════════════════════════════════════════════════════════ */

.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: var(--vh-z-sticky, 100);
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: var(--vh-white);
  border: 1px solid var(--vh-sand);
  border-radius: var(--vh-radius-md);
  box-shadow: var(--vh-shadow-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 320px;
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  color: var(--vh-charcoal);
  animation: toastIn 400ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  pointer-events: auto;
}

.toast.leaving {
  animation: toastOut 300ms var(--vh-ease-out) forwards;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(-20px) scale(0.95); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-20px); }
}

.toast-icon {
  font-size: 16px;
  flex-shrink: 0;
  line-height: 1;
}

.toast-text {
  flex: 1;
  min-width: 0;
}

.toast-close {
  margin-left: auto;
  font-size: 14px;
  color: var(--vh-warm-gray);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 0 0 8px;
  flex-shrink: 0;
  transition: color var(--vh-duration-fast) var(--vh-ease-out);
}

.toast-close:hover {
  color: var(--vh-ink);
}


/* ═══════════════════════════════════════════════════════════════════════
   BACK TO TOP BUTTON
   ═══════════════════════════════════════════════════════════════════════ */

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--vh-white);
  border: 1px solid var(--vh-sand);
  border-radius: var(--vh-radius-full);
  box-shadow: var(--vh-shadow-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--vh-z-sticky, 100);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity var(--vh-duration-base) var(--vh-ease-out),
              transform var(--vh-duration-base) cubic-bezier(0.34, 1.56, 0.64, 1),
              background var(--vh-duration-fast) var(--vh-ease-out),
              color var(--vh-duration-fast) var(--vh-ease-out),
              border-color var(--vh-duration-fast) var(--vh-ease-out);
}

.back-to-top svg {
  color: var(--vh-charcoal);
  transition: color var(--vh-duration-fast) var(--vh-ease-out);
}

.back-to-top.visible {
  opacity: 1;
  transform: scale(1);
}

.back-to-top:hover {
  background: var(--vh-ink);
  border-color: var(--vh-ink);
}

.back-to-top:hover svg {
  color: var(--vh-white);
}


/* ═══════════════════════════════════════════════════════════════════════
   EXIT INTENT POPUP
   ═══════════════════════════════════════════════════════════════════════ */

.exit-popup[hidden] {
  display: none;
}

.exit-popup {
  position: fixed;
  inset: 0;
  z-index: var(--vh-z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: exitFadeIn 300ms var(--vh-ease-out);
}

@keyframes exitFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.exit-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.exit-popup-content {
  position: relative;
  background: var(--vh-white);
  border-radius: var(--vh-radius-xl);
  padding: var(--vh-space-10) var(--vh-space-8);
  max-width: 440px;
  width: 90%;
  text-align: center;
  box-shadow: var(--vh-shadow-xl);
  animation: exitSlideIn 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes exitSlideIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.exit-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 24px;
  color: var(--vh-warm-gray);
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--vh-duration-fast) var(--vh-ease-out);
}

.exit-popup-close:hover {
  color: var(--vh-ink);
}

.exit-popup-icon {
  font-size: 40px;
  margin-bottom: var(--vh-space-4);
  line-height: 1;
}

.exit-popup-heading {
  font-family: var(--vh-font-heading);
  font-size: var(--vh-text-2xl);
  font-weight: var(--vh-weight-semibold);
  color: var(--vh-ink);
  margin: 0 0 var(--vh-space-3) 0;
}

.exit-popup-text {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-base);
  color: var(--vh-charcoal);
  line-height: 1.7;
  margin: 0 0 var(--vh-space-6) 0;
}

.exit-popup-form {
  display: flex;
  gap: 8px;
  margin-bottom: var(--vh-space-4);
}

.exit-popup-input {
  flex: 1;
  height: 48px;
  padding: 0 16px;
  border: 1.5px solid var(--vh-sand);
  border-radius: var(--vh-radius-md);
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-base);
  color: var(--vh-ink);
  background: var(--vh-white);
  transition: border-color var(--vh-duration-fast) var(--vh-ease-out),
              box-shadow var(--vh-duration-fast) var(--vh-ease-out);
}

.exit-popup-input:focus {
  border-color: var(--vh-ink);
  outline: none;
  box-shadow: 0 0 0 3px rgba(26, 23, 21, 0.08);
}

.exit-popup-input::placeholder {
  color: var(--vh-warm-gray);
}

.exit-popup-submit {
  padding: 0 24px;
  height: 48px;
  background: var(--vh-ink);
  color: var(--vh-white);
  border: none;
  border-radius: var(--vh-radius-md);
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-base);
  font-weight: var(--vh-weight-semibold);
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--vh-duration-fast) var(--vh-ease-out);
}

.exit-popup-submit:hover {
  background: var(--vh-charcoal);
}

.exit-popup-dismiss {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-xs);
  color: var(--vh-warm-gray);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--vh-duration-fast) var(--vh-ease-out);
}

.exit-popup-dismiss:hover {
  color: var(--vh-charcoal);
}


/* ═══════════════════════════════════════════════════════════════════════
   PRICE ANIMATION (enhanced)
   ═══════════════════════════════════════════════════════════════════════ */

.price-updating .price-current,
.price-updating .sticky-cta-price {
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 100ms ease, transform 100ms ease;
}


/* ═══════════════════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  .toast,
  .exit-popup-content,
  .sticky-cta-bar,
  .fade-section,
  .fade-child {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Tablet (768–1023px) ── */
@media (min-width: 768px) and (max-width: 1023px) {
  .product-atf {
    grid-template-columns: 1fr minmax(280px, 360px);
    gap: var(--vh-space-6);
  }

  .gallery-zoom-result {
    display: none !important;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Mobile (<768px) ── */
@media (max-width: 767px) {
  body.single-product {
    --vh-header-height: 60px;
    overflow-x: hidden;
    width: 100%;
  }

  body.single-product .vh-header__inner {
    height: 60px;
  }

  .product-atf {
    grid-template-columns: 1fr;
    grid-template-areas:
      "gallery"
      "sidebar";
    gap: var(--vh-space-6);
    padding: var(--vh-space-4) 0 var(--vh-space-8);
  }

  /* Breadcrumb still gets horizontal padding */
  .vh-breadcrumb {
    padding: 8px var(--vh-space-4);
  }

  /* Allow breadcrumb current item to wrap on mobile */
  nav.vh-breadcrumb ol li:last-child,
  nav.vh-breadcrumb .vh-breadcrumb-current {
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
  }

  /* Full-bleed gallery on mobile */
  .gallery-main-wrapper {
    border-radius: 0;
    max-height: 38vh;
  }

  .gallery-main-image {
    max-height: 38vh;
    object-fit: contain;
  }

  /* Show mobile UI: counter + arrows */
  .gallery-counter {
    display: block;
  }

  .gallery-prev,
  .gallery-next {
    display: flex;
  }

  /* No zoom on mobile */
  .gallery-zoom-lens,
  .gallery-zoom-result {
    display: none !important;
  }

  .gallery-main-wrapper {
    cursor: default;
  }

  /* Thumbs: row 1 = 2 squares (centered), row 2 = 4 × 3:2 */
  .gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 81px);
    grid-template-rows: 54px 54px;
    justify-content: center;
    gap: 6px;
    padding: 0 var(--vh-space-4);
    overflow-x: visible;
    max-width: 100%;
    box-sizing: border-box;
  }

  .gallery-thumb {
    height: 54px;
    width: 100%;
    aspect-ratio: 3 / 2;
    min-width: 0;
  }

  .gallery-thumb:nth-child(1) {
    grid-row: 1;
    grid-column: 2;
    aspect-ratio: 1 / 1;
    width: 54px;
    justify-self: end;
  }

  .gallery-thumb:nth-child(2) {
    grid-row: 1;
    grid-column: 3;
    aspect-ratio: 1 / 1;
    width: 54px;
    justify-self: start;
  }

  .gallery-thumb:nth-child(3) { grid-row: 2; grid-column: 1; }
  .gallery-thumb:nth-child(4) { grid-row: 2; grid-column: 2; }
  .gallery-thumb:nth-child(5) { grid-row: 2; grid-column: 3; }
  .gallery-thumb:nth-child(6) { grid-row: 2; grid-column: 4; }

  /* Sidebar gets horizontal padding on mobile */
  .product-sidebar {
    padding: 0 var(--vh-space-4);
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  /* Grid cells default to min-content width; force shrink to container */
  .product-atf > .product-sidebar,
  .product-atf > .product-gallery {
    min-width: 0;
  }

  /* Constrain all config groups */
  .config-group,
  .config-options,
  .product-actions,
  .trust-ticker,
  .shipping-urgency,
  .shipping-progress {
    max-width: 100%;
    box-sizing: border-box;
  }

  .product-title {
    font-size: var(--vh-text-xl);
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .price-current {
    font-size: var(--vh-text-2xl);
  }

  .config-option {
    min-width: 0;
  }

  /* Frame cards narrower on mobile */
  .config-option-frame {
    width: 88px;
    min-width: 88px;
    padding: 10px 6px 8px;
  }

  /* ATC button full width, stack actions */
  .product-actions {
    flex-wrap: wrap;
  }

  .quantity-selector {
    flex: 0 0 auto;
  }

  .btn-add-to-cart {
    flex: 1 1 0;
    min-width: 0;
  }

  /* Lightbox adjustments */
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 8px; right: 8px; }
  .lightbox-counter { bottom: 16px; }

  /* ── Upsell ── */
  .product-upsell {
    padding: var(--vh-space-8) 0;
  }

  .upsell-card {
    width: 150px;
  }

  /* ── Tabs → Accordion on mobile ── */
  .product-info-tabs {
    padding: var(--vh-space-8) 0 var(--vh-space-12) 0;
  }

  .tabs-nav {
    flex-direction: column;
    gap: 0;
    margin-bottom: var(--vh-space-4);
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: var(--vh-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(184,181,174,0.25);
  }

  .tabs-indicator {
    display: none;
  }

  .tab-btn {
    flex: none;
    justify-content: flex-start;
    padding: var(--vh-space-4) var(--vh-space-4);
    padding-right: 40px;
    border-radius: 0;
    position: relative;
    border-bottom: 1px solid rgba(184,181,174,0.15);
    color: var(--vh-charcoal);
  }

  .tab-btn:last-of-type {
    border-bottom: none;
  }

  .tab-btn::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--vh-warm-gray);
    border-bottom: 2px solid var(--vh-warm-gray);
    transform: translateY(-50%) rotate(45deg);
    transition: transform var(--vh-duration-fast) var(--vh-ease-out);
  }

  .tab-btn.active {
    color: var(--vh-ink);
    background: rgba(245,240,235,0.5);
  }

  .tab-btn.active::after {
    transform: translateY(-50%) rotate(-135deg);
    border-color: var(--vh-ink);
  }

  .tab-icon {
    opacity: 0.7;
  }

  .tab-btn.active .tab-icon {
    opacity: 1;
  }

  .tab-panel {
    overflow: hidden;
    max-height: 0;
    transition: max-height 400ms var(--vh-ease-out);
  }

  .tab-panel.active {
    animation: none;
    padding: var(--vh-space-4) 0 var(--vh-space-6) 0;
  }

  .tab-panel[hidden] {
    display: block;
    max-height: 0;
    padding: 0;
  }

  /* ── Reviews summary stacked ── */
  .reviews-summary {
    grid-template-columns: 1fr;
    gap: var(--vh-space-4);
  }

  .reviews-summary-left {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  .reviews-avg {
    font-size: 36px;
  }

  .reviews-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .reviews-list {
    grid-template-columns: 1fr;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .review-footer {
    gap: 8px;
  }

  /* ── Trust block ── */
  .trust-block {
    padding: var(--vh-space-10) 0;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .trust-card {
    text-align: left;
    padding: var(--vh-space-4);
    align-items: flex-start;
  }

  .trust-card-icon {
    margin: 0 auto var(--vh-space-3);
    width: 40px;
    height: 40px;
  }

  /* ── Recently viewed ── */
  .recently-viewed {
    padding: var(--vh-space-8) 0;
  }

  /* ── Related products ── */
  .related-products {
    padding: var(--vh-space-10) 0;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--vh-space-3);
  }

  .product-card-quickview {
    display: none;
  }

  .product-card-wishlist {
    opacity: 1;
  }

  /* ── Trust ticker ── */
  .trust-ticker {
    padding: 8px 0;
  }

  .trust-ticker__item {
    font-size: 11px;
  }

  .trust-ticker__sep {
    padding: 0 10px;
    font-size: 8px;
  }

  /* ── Shipping urgency ── */
  .shipping-urgency {
    gap: 8px;
    padding: 8px 12px;
  }

  .shipping-urgency__ship,
  .shipping-urgency__countdown {
    gap: 8px;
  }

  .shipping-urgency__ship svg,
  .shipping-urgency__countdown svg {
    width: 18px;
    height: 18px;
  }

  .shipping-urgency__text {
    font-size: 11px;
    line-height: 1.3;
  }

  /* ── Shipping progress ── */
  .shipping-progress {
    padding: 10px 14px;
  }

  .shipping-progress-text {
    font-size: var(--vh-text-xs);
  }

  /* ── Config labels ── */
  .config-label {
    font-size: var(--vh-text-sm);
  }

  /* ── Material cards ── */
  .config-options--stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .config-option-row {
    padding: 6px;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
  }

  .config-option-row-name,
  .config-option-row-detail {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* Size grid: minmax(0,1fr) forces cells to shrink below min-content */
  .config-options--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
  }

  .config-option-row-name {
    font-size: 11px;
  }

  .config-option-row-detail {
    font-size: 10px;
  }

  .config-option-row-tag {
    font-size: 10px;
    padding: 2px 6px;
  }

  /* ── Product actions ── */
  .product-actions {
    max-width: 100%;
    overflow: hidden;
  }

  .btn-wishlist {
    max-width: 100%;
  }

  .btn-add-to-cart {
    box-shadow: 0 6px 16px rgba(249,115,22,0.15);
  }

  .btn-add-to-cart:hover {
    transform: none;
    box-shadow: 0 6px 16px rgba(249,115,22,0.15);
  }

  /* ── Wishlist ── */
  .btn-wishlist svg {
    width: 16px;
    height: 16px;
  }

  /* ── Toast — above sticky CTA ── */
  .toast-container {
    bottom: 80px;
    left: 12px;
    right: 12px;
  }

  .toast {
    max-width: 100%;
  }

  /* ── Back to top — above sticky CTA ── */
  .vh-btt {
    bottom: 100px !important;
  }

  /* ── Exit popup — never on mobile ── */
  .exit-popup {
    display: none !important;
  }
}


/* ═══════════════════════════════════════════════════════════════════════
   PRINT STYLESHEET
   ═══════════════════════════════════════════════════════════════════════ */

@media print {
  nav,
  .sticky-cta-bar,
  .toast-container,
  .back-to-top,
  .scroll-progress,
  .exit-popup,
  .product-upsell,
  .recently-viewed,
  .related-products,
  .gallery-thumbs,
  .gallery-fullscreen-btn,
  .gallery-prev,
  .gallery-next,
  .gallery-zoom-lens,
  .gallery-zoom-result,
  .gallery-counter,
  .product-actions,
  .btn-wishlist,
  .shipping-progress,
  .trust-block,
  .vh-promo-bar,
  .vh-header__actions,
  .lightbox {
    display: none !important;
  }

  body.single-product {
    padding-top: 0;
  }

  .product-atf {
    display: block;
    padding: 0;
  }

  .gallery-main-wrapper {
    border-radius: 0;
  }

  .gallery-main-image {
    max-height: 400px;
    object-fit: contain;
  }

  .product-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .product-info-tabs {
    padding: 24px 0;
  }

  .tabs-nav {
    display: none;
  }

  .tab-panel,
  .tab-panel[hidden] {
    display: block !important;
    max-height: none !important;
    border-top: 1px solid #ccc;
    padding: 16px 0;
  }
}
