/**
 * Wishmash — Product Page CSS
 * Версия: 2026-06-v2 (без Acowebs, 1:1 от HTML прототипа)
 */

/* ─── TOKENS ─────────────────────────────── */
:root {
  --bg:           #F8F4EE;
  --surface:      #FFFFFF;
  --surface-warm: #F1EAE0;
  --border:       #DDD4C6;
  --border-dark:  #C4B8A8;
  --text:         #2C2C2C;
  --text-mid:     #7A6555;
  --text-light:   #A89880;
  --accent:       #8C6420;
  --accent-light: #F0E4CC;
  --radius-sm:    6px;
  --radius:       10px;
  --radius-lg:    16px;
  --sans:         'Inter', system-ui, sans-serif;
  --serif:        'Lora', Georgia, serif;
  --transition:   0.22s ease;
}

*, *::before, *::after { box-sizing: border-box; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: var(--sans); cursor: pointer; }
textarea, input, select { font-family: var(--sans); }

/* ─── BREADCRUMB ─────────────────────────── */
.wm-breadcrumb {
  padding: 8px 36px;
  font-size: 0.72rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  display: flex; align-items: center; gap: 5px;
  flex-wrap: wrap;
}
.wm-breadcrumb a { color: var(--text-light); text-decoration: none; transition: color var(--transition); }
.wm-breadcrumb a:hover { color: var(--accent); }
.wm-bc-sep { opacity: 0.5; }

/* ─── SPLIT LAYOUT ───────────────────────── */
.product-page {
  display: grid;
  grid-template-columns: 60% 40%;
  height: calc(100dvh - 58px - 37px);
  overflow: hidden;
}

/* ─── LEFT — GALLERY ─────────────────────── */
.gallery-col {
  overflow-y: auto;
  background: var(--bg);
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.gallery-inner { padding: 32px 40px 64px 36px; }
.gallery-stack { display: flex; flex-direction: column; gap: 8px; }
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  background: var(--surface-warm);
}
.gallery-item img { width: 100%; display: block; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.018); }
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--radius-sm);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
  pointer-events: none;
}
.gallery-carousel { display: none; }
.gallery-footer {
  margin-top: 48px; padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.72rem; color: var(--text-light);
}

/* ─── DESCRIPTION ────────────────────────── */
.description {
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--border);
}
.description-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; }
.desc-heading { font-family: var(--serif); font-size: 1.05rem; font-weight: 400; margin-bottom: 16px; color: var(--text); }
.desc-body { font-size: 0.875rem; line-height: 1.8; color: var(--text-mid); }
.desc-body p + p { margin-top: 10px; }
.desc-quote { margin-top: 20px; padding-left: 16px; border-left: 2px solid var(--accent); font-family: var(--serif); font-style: italic; font-size: 0.9rem; color: var(--accent); line-height: 1.55; }

/* Specs от ACF WYSIWYG */
.specs-acf p {
  display: flex; align-items: baseline; gap: 12px;
  margin: 0; padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem; line-height: 1.5;
}
.specs-acf p:first-child { border-top: 1px solid var(--border); }
.specs-acf p strong { flex: 0 0 46%; color: var(--text-light); font-weight: 400; }

/* ─── RIGHT — PRODUCT COL ────────────────── */
.product-col {
  display: flex; flex-direction: column;
  background: var(--surface);
  border-left: 1px solid var(--border);
  overflow: hidden;
}
.product-scroll {
  flex: 1; overflow-y: auto;
  padding: 14px 26px 12px 28px;
  padding-bottom: 80px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

/* ─── PRODUCT HEADER ─────────────────────── */
.product-title  { font-family: var(--serif) !important; font-size: 1.5rem !important; font-weight: 400 !important; line-height: 1.2; color: var(--text); margin-bottom: 8px; }
.product-tagline{ font-size: 0.82rem; color: var(--text-mid); line-height: 1.55; margin-bottom: 4px; }
.brand-voice    { font-size: 0.76rem; font-family: var(--serif); font-style: italic; color: var(--text-light); margin-bottom: 10px; line-height: 1.4; }

.price-line { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.price-main { font-size: 1.55rem; font-weight: 600; color: var(--text); letter-spacing: -0.02em; }
.price-currency { font-size: 0.95rem; color: var(--text-mid); }

.craft-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-bottom: 10px; padding: 5px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.craft-strip-item {
  display: flex; align-items: center; justify-content: center;
  gap: 4px; font-size: 0.62rem; color: var(--text-mid);
  text-align: center; padding: 0 4px; line-height: 1.2;
}
.craft-strip-item:not(:last-child) { border-right: 1px solid var(--border); }
.craft-strip-item svg { width: 10px; height: 10px; fill: none; stroke: var(--accent); stroke-width: 1.8; flex-shrink: 0; }

.sep { height: 1px; background: linear-gradient(to right, var(--border), transparent); margin: 8px 0; }

/* ─── STEPS ──────────────────────────────── */
.step { margin-bottom: 6px; }
.step-header { display: flex; align-items: center; gap: 4px; margin-bottom: 5px; }
.step-num { display: none; }
.step-title { font-size: 0.92rem; font-weight: 600; color: var(--text); }
.step-subtitle { font-size: 0.72rem; color: var(--text-light); margin-top: 1px; }
.step-override { display: none; font-size: 0.74rem; color: var(--accent); background: var(--accent-light); border: 1px solid rgba(181,117,30,0.28); border-radius: var(--radius-sm); padding: 7px 10px; margin-bottom: 8px; line-height: 1.42; }
.step-blocked .step-override { display: block; }
.step-err-msg { display: none; font-size: 0.73rem; color: #c0392b; font-weight: 500; margin-top: 5px; }
.step-err-msg.show { display: block; }
.step-shortcut { font-size: 0.72rem; color: var(--text-light); margin-top: 6px; }
.step-shortcut a { color: var(--accent); text-decoration: none; font-weight: 500; }
.step-shortcut a:hover { text-decoration: underline; }
@keyframes blink-step { 0%,100%{background:transparent} 35%,65%{background:rgba(181,117,30,0.1)} }
.step-flash { animation: blink-step 0.65s ease 2; border-radius: var(--radius-sm); padding: 4px; }

/* ─── SWATCHES (Step 1) ──────────────────── */
.swatch-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.swatch-opt { display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; width: 40px; }
.swatch-opt input[type=radio] { display: none; }
.swatch-circle { width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid transparent; outline: 2px solid transparent; outline-offset: 2px; box-shadow: 0 1px 4px rgba(0,0,0,0.14); transition: transform 0.14s, outline-color 0.14s; }
.swatch-opt:hover .swatch-circle { transform: scale(1.1); }
.swatch-opt input:checked + .swatch-circle { outline-color: var(--text); transform: scale(1.08); }
.swatch-name { font-size: 0.57rem; color: var(--text-light); text-align: center; white-space: nowrap; }
.swatch-feedback { font-size: 0.78rem; color: var(--text-light); min-height: 1.1em; transition: color 0.2s; }
.swatch-feedback.live { color: var(--accent); font-weight: 500; }
.swatch-row { transition: opacity 0.22s, filter 0.22s; }
.step-blocked .swatch-row { opacity: 0.28; pointer-events: none; filter: grayscale(0.5); }

/* ─── NADPIS GRID (Step 2) ───────────────── */
.nadpis-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.nadpis-card { border: 1.5px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; transition: border-color 0.15s; position: relative; }
.nadpis-card:hover { border-color: var(--border-dark); }
.nadpis-card.active { border-color: var(--text); }
.nadpis-card.active::after { content: ''; position: absolute; top: 6px; right: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--text) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/10px no-repeat; }
.nadpis-card input[type=radio] { display: none; }
.nadpis-visual { height: 44px; background: var(--surface-warm); display: flex; align-items: center; justify-content: center; padding: 6px; overflow: hidden; }
.nadpis-visual span { color: var(--text); text-align: center; line-height: 1.2; }
.nadpis-visual.none span { font-size: 0.62rem; color: var(--text-light); font-style: italic; letter-spacing: 0.06em; }
.nadpis-note { font-size: 0.67rem; color: var(--text-light); margin-top: 5px; line-height: 1.45; }
.nadpis-grid { transition: opacity 0.22s, filter 0.22s; }
.step-blocked .nadpis-grid { opacity: 0.28; pointer-events: none; filter: grayscale(0.5); }

/* ─── EXTRAS / PERSONALIZATION (Step 3) ─── */
.extra-list { display: flex; flex-direction: column; gap: 5px; }
.extra-wrap { border-radius: var(--radius-sm); overflow: hidden; border: 1.5px solid var(--border); transition: border-color 0.15s; }
.extra-wrap:hover { border-color: var(--border-dark); }
.extra-wrap.active { border-color: var(--text); }
.extra-row { display: flex; align-items: center; gap: 9px; padding: 9px 10px; cursor: pointer; background: var(--surface); user-select: none; }
.extra-row input[type=checkbox] { display: none; }
.extra-emoji { font-size: 1rem; width: 20px; text-align: center; flex-shrink: 0; }
.extra-info { flex: 1; }
.extra-name { font-size: 0.84rem; font-weight: 500; color: var(--text); }
.extra-desc { font-size: 0.72rem; color: var(--text-light); margin-top: 1px; }
.extra-badge { font-size: 0.7rem; font-weight: 500; color: var(--text-light); flex-shrink: 0; }
.extra-toggle { width: 17px; height: 17px; border-radius: 4px; border: 1.5px solid var(--border-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.15s; }
.extra-toggle svg { display: none; }
.extra-wrap.active .extra-toggle { background: var(--text); border-color: var(--text); }
.extra-wrap.active .extra-toggle svg { display: block; }
.extra-wrap.active .extra-badge { color: var(--accent); font-weight: 600; }

.extra-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.28s ease; }
.extra-wrap.active .extra-panel { grid-template-rows: 1fr; }
.extra-panel-inner { overflow: hidden; }
.extra-panel-content { padding: 0 10px 12px; border-top: 1px solid var(--border); background: var(--bg); }
.extra-panel-content.pad { padding-top: 12px; }

.panel-sub { font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light); margin-bottom: 8px; }
.panel-sub + .panel-sub { margin-top: 12px; }

@keyframes extra-ping { 0%,100% { box-shadow: none; border-color: var(--border); } 40%,60% { box-shadow: 0 0 0 3px var(--accent-light); border-color: var(--accent); } }
.extra-ping { animation: extra-ping 0.75s ease 2; }

/* ─── COLLAPSIBLE STEP 3 ─────────────────── */
.step-collapsible .step-header { cursor: pointer; user-select: none; gap: 8px; }
.step-collapsible-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.32s ease; }
.step-collapsible.open .step-collapsible-body { grid-template-rows: 1fr; }
.step-collapsible-inner { overflow: hidden; }
.step-expand-icon { color: var(--text-light); transition: transform 0.28s ease; flex-shrink: 0; margin-left: 4px; }
.step-collapsible.open .step-expand-icon { transform: rotate(180deg); }
.step3-badge { font-size: 0.62rem; font-weight: 700; background: var(--accent); color: #fff; border-radius: 20px; padding: 1px 8px; margin-right: 2px; display: none; }
.step3-badge.show { display: inline; }

/* ─── PALETTE DOTS ───────────────────────── */
.palette-dots { display: flex; flex-wrap: wrap; gap: 7px; }
.palette-dot { width: 26px; height: 26px; border-radius: 50%; cursor: pointer; flex-shrink: 0; box-shadow: 0 1px 3px rgba(0,0,0,0.16); border: 2px solid transparent; transition: transform 0.12s, border-color 0.12s; }
.palette-dot:hover { transform: scale(1.18); }
.palette-dot.chosen { border-color: var(--text); transform: scale(1.1); }
.palette-dot.white-dot { box-shadow: 0 0 0 1.5px var(--border); }
.panel-hint { font-size: 0.68rem; color: var(--text-light); margin-top: 8px; line-height: 1.45; }

/* ─── TEXTAREA / INPUTS ──────────────────── */
.panel-textarea { width: 100%; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 8px 10px; font-size: 0.85rem; color: var(--text); resize: vertical; min-height: 52px; transition: border-color 0.15s; margin-bottom: 10px; }
.panel-textarea:focus { outline: none; border-color: var(--text); }
.panel-textarea::placeholder { color: var(--text-light); }

/* ─── FONT PICKER ────────────────────────── */
.font-picker { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }
.font-pick { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; background: var(--surface); transition: border-color 0.14s, background 0.14s; }
.font-pick input[type=radio] { display: none; }
.font-pick.picked { border-color: var(--text); background: var(--surface-warm); }
.font-pick-preview { flex: 1; font-size: 1rem; color: var(--text); }
.font-pick-name { font-size: 0.65rem; color: var(--text-light); font-family: var(--sans); }
.font-pick.picked .font-pick-name { color: var(--text-mid); }

/* ─── ENGRAVE PREVIEW ────────────────────── */
.engrave-preview-wrap { margin-bottom: 10px; }
.engrave-preview-lbl { font-size: 0.61rem; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 5px; }
.engrave-preview-box { background: var(--surface-warm); border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 13px 14px; min-height: 52px; display: flex; align-items: center; justify-content: center; text-align: center; color: #2C2C2C; line-height: 1.35; font-size: 1rem; word-break: break-word; }
.engrave-preview-box.empty { color: var(--text-light); font-style: italic; font-family: var(--sans) !important; font-size: 0.74rem; font-weight: 400; }

/* ─── FILE DROP ──────────────────────────── */
.file-drop { border: 1.5px dashed var(--border-dark); border-radius: var(--radius-sm); padding: 14px; text-align: center; position: relative; cursor: pointer; background: var(--surface); transition: border-color 0.15s, background 0.15s; }
.file-drop:hover { border-color: var(--text-mid); background: var(--bg); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.file-drop-icon { font-size: 1.2rem; margin-bottom: 4px; }
.file-drop-text { font-size: 0.72rem; color: var(--text-light); line-height: 1.5; }
.file-drop-text strong { color: var(--text-mid); display: block; }

/* ─── DELIVERY BOX ───────────────────────── */
.delivery-box { background: var(--surface-warm); border-radius: var(--radius-sm); border: 1px solid var(--border); padding: 9px 12px; font-size: 0.8rem; color: var(--text-mid); line-height: 1.55; margin-bottom: 8px; }
.delivery-box strong { color: var(--text); }
.delivery-box p { margin: 0; }
#deliveryCustom { display: none; }
#deliveryCustom.active { display: block; }
#extraExpress { display: none; margin-top: 8px; }
#extraExpress.visible { display: block; }
.contact-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 0.78rem; font-weight: 500; color: #2a7a3b; text-decoration: none; border-top: 1px solid var(--border); padding-top: 10px; width: 100%; transition: opacity 0.15s; }
.contact-link:hover { opacity: 0.75; }

/* ─── STICKY BUY BAR ─────────────────────── */
.sticky-buy {
  position: fixed;
  bottom: 0; right: 0;
  width: 40%;
  z-index: 9999;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 14px 26px 18px 28px;
  box-shadow: 0 -4px 20px rgba(34,26,17,0.06);
}
.buy-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: stretch; }
.buy-price {
  position: relative; display: flex; flex-direction: row; align-items: center; justify-content: center;
  border: 1.5px solid var(--border-dark); border-radius: var(--radius-sm);
  padding: 0 14px; height: 44px; transition: background 0.18s, border-color 0.18s;
}
.buy-price .buy-total-label {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  font-size: 0.63rem; color: var(--text-light); text-transform: uppercase;
  letter-spacing: 0.06em; white-space: nowrap; line-height: 1; margin: 0;
}
.buy-price .buy-total { font-size: 1rem; font-weight: 600; color: var(--text); white-space: nowrap; line-height: 1; }
.buy-price-mobile { display: none; }
.buy-total-label { font-size: 0.63rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.buy-total { font-size: 1rem; font-weight: 600; color: var(--text); white-space: nowrap; line-height: 1; }
.buy-total-currency { font-size: 0.75rem; color: var(--text-mid); font-weight: 400; }

/* Добавено в количката — added state */
.sticky-buy.added .buy-price { background: var(--surface-warm) !important; border-color: var(--border-dark) !important; flex-direction: row !important; align-items: center !important; justify-content: center !important; padding: 0 3px !important; height: 44px !important; }
.sticky-buy.added .btn-cart { border-color: var(--border-dark) !important; background: var(--surface) !important; color: var(--text) !important; }
.added-confirm { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--text); font-size: 0.78rem; font-weight: 600; white-space: nowrap; }
.added-check { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 0.7rem; flex-shrink: 0; }

.qty { display: flex; align-items: center; height: 44px; border: 1.5px solid var(--border-dark); border-radius: var(--radius-sm); overflow: hidden; }
.qty-btn { flex: 1; height: 100%; background: none; border: none; font-size: 1rem; color: var(--text-mid); transition: background 0.14s; }
.qty-btn:hover { background: var(--surface-warm); }
.qty-val { display: flex; align-items: center; justify-content: center; width: 36px; min-width: 36px; height: 100%; font-size: 0.88rem; color: #2C2C2C; font-family: var(--sans); user-select: none; }

.btn-cart { height: 44px; background: var(--surface); color: var(--text); border: 1.5px solid var(--border-dark); border-radius: var(--radius-sm); font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; cursor: pointer; transition: background var(--transition); width: 100%; }
.btn-cart:hover { background: var(--surface-warm); }


/* ─── UPSELL MODAL ───────────────────────── */
.upsell-overlay { display: none; position: fixed; inset: 0; z-index: 300; background: rgba(34,26,17,0.48); align-items: center; justify-content: center; padding: 20px; }
.upsell-overlay.open { display: flex; }
@keyframes upsell-in { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
.upsell-modal { background: var(--surface); border-radius: var(--radius-lg); padding: 28px 24px 22px; max-width: 310px; width: 100%; text-align: center; position: relative; box-shadow: 0 24px 64px rgba(0,0,0,0.2); animation: upsell-in 0.22s ease; }
.upsell-close { position: absolute; top: 11px; right: 14px; background: none; border: none; font-size: 1.25rem; color: var(--text-light); cursor: pointer; line-height: 1; }
.upsell-close:hover { color: var(--text); }
.upsell-emoji { margin-bottom: 12px; line-height: 1; }
.upsell-title { font-family: var(--serif) !important; font-weight: 400; font-size: 1.1rem; color: var(--text); margin-bottom: 8px; }
.upsell-desc { font-family: var(--sans) !important; font-size: 0.8rem; color: var(--text-mid); line-height: 1.55; margin-bottom: 20px; }
.upsell-actions { display: flex; flex-direction: column; gap: 8px; }
.upsell-btn-yes { width: 100%; height: 44px; background: var(--surface-warm); color: var(--text); border: 1.5px solid var(--border-dark); border-radius: var(--radius-sm); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.upsell-btn-yes:hover { background: #EDE5D8; border-color: var(--text); }
.upsell-btn-no { width: 100%; height: 38px; background: none; color: var(--text-mid); border: 1px solid var(--border-dark); border-radius: var(--radius-sm); font-size: 0.76rem; cursor: pointer; transition: background 0.15s, color 0.15s; }
.upsell-btn-no:hover { background: var(--surface-warm); color: var(--text); }

/* ─── LIGHTBOX ───────────────────────────── */
.lb { display: none; position: fixed; inset: 0; z-index: 999; background: rgba(20,12,4,0.92); align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb img { max-width: 88vw; max-height: 88vh; object-fit: contain; border-radius: 4px; }
.lb-close { position: absolute; top: 16px; right: 20px; background: none; border: none; color: rgba(255,255,255,0.7); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lb-close:hover { color: #fff; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); border: none; color: rgba(255,255,255,0.8); font-size: 1.6rem; width: 44px; height: 60px; border-radius: 4px; cursor: pointer; transition: background 0.15s; }
.lb-nav:hover { background: rgba(255,255,255,0.18); }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }

/* ─── СКРИЙ НЕНУЖНИ WC ЕЛЕМЕНТИ ─────────── */
.wishlist_compare_single_product { display: none !important; }
.woocommerce-variation-add-to-cart { display: none !important; }

/* ─── DESKTOP ONLY — scroll lock ────────── */
@media (min-width: 861px) {
  body.single-product { height: 100dvh; overflow: hidden; }
  .product-page { height: calc(100dvh - 58px - 37px); overflow: hidden; }
  .product-scroll { padding-bottom: 200px !important; }
}

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 860px) {
  body.single-product { height: auto !important; overflow: auto !important; }

  .product-page {
    display: flex; flex-direction: column;
    height: auto !important; overflow: visible !important;
  }
  .wm-breadcrumb { padding: 8px 20px; }

  /* Gallery */
  .gallery-col { overflow-y: visible; width: 100%; }
  .gallery-inner { padding: 0; }
  .gallery-stack { display: none; }
  .gallery-carousel {
    display: block; position: relative;
    overflow: hidden; width: 100%;
    background: var(--surface-warm); touch-action: pan-y;
    height: 300px;
  }
  .car-track { display: flex; width: 100%; height: 100%; transition: transform 0.32s ease; will-change: transform; }
  .car-slide { min-width: 100%; width: 100%; flex-shrink: 0; height: 100%; overflow: hidden; }
  .car-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
  .car-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; }
  .car-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.45); transition: background 0.2s; }
  .car-dot.on { background: #fff; }
  .description { margin-top: 0; padding: 32px 20px 48px; }
  .description-grid { grid-template-columns: 1fr; gap: 36px; }
  .gallery-footer { display: none; }

  /* Product col */
  .product-col { border-left: none; border-top: 1px solid var(--border); overflow: visible; }
  .product-scroll { overflow-y: visible !important; padding: 16px 18px 120px !important; }
  .craft-strip { display: none; } /* скриваме на mobile — спестява място */
  .product-title  { font-size: 1.3rem; margin-bottom: 4px; }
  .product-tagline{ font-size: 0.78rem; margin-bottom: 4px; }
  .brand-voice    { font-size: 0.72rem; margin-bottom: 4px; }
  .price-main     { font-size: 1.4rem; }
  .sep            { margin: 6px 0; }

  /* Sticky bar — мобилен */
  .sticky-buy {
    position: fixed; bottom: 0; left: 0; right: 0;
    width: 100% !important;
    padding: 10px 16px 18px;
    box-shadow: 0 -4px 20px rgba(34,26,17,0.08);
    z-index: 9999;
  }
  .buy-price {
    flex-direction: row !important; align-items: center !important; justify-content: center !important;
    padding: 0 10px !important; height: 44px !important; gap: 0 !important;
  }
  .buy-price .buy-total-label {
    position: absolute !important; left: 8px !important; top: 50% !important; transform: translateY(-50%) !important;
    font-size: 0.5rem !important;
  }
  .buy-price .buy-total { font-size: 0.95rem !important; line-height: 1 !important; }
  .buy-row { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 8px; }
  .buy-row .btn-cart { font-size: 0.72rem; letter-spacing: 0.06em; }
  /* Скриваме WC/тема "Виж количката" бар */
  .wm-single-product .woocommerce-message,
  .wm-single-product .wc-block-components-notice-banner,
  .wm-single-product [class*="add-to-cart-notice"],
  .wm-single-product .storefront-sticky-add-to-cart,
  .wm-single-product .theme-sticky-cart,
  .header-cart-notice { display: none !important; }
}

/* Qty е само в конфигуратора, не в sticky bar */
.sticky-buy .qty { display: none !important; }
/* Скрива стандартното WC quantity поле */
.wm-single-product .quantity,
.woocommerce div.product form.cart .quantity {
  display: none !important;
}

/* Скрива WC-овото "Преглед на количката" съобщение */
.wm-single-product .woocommerce-message.woocommerce-message--info,
.wm-single-product p.cart a.added_to_cart,
.wm-single-product .added_to_cart {
  display: none !important;
}

/* Скрива Elementor Pro woocommerce-product-add-to-cart widget (дублира нашия бутон) */
.elementor-widget-woocommerce-product-add-to-cart,
.woocommerce div.product form.cart:not(.wm-form) {
  display: none !important;
}
.carrier-opt.chosen .carrier-name { color: var(--accent); }

@media (max-width: 480px) {
}

