/* ============================================================
   BÉNAZ — Warstwa sklepu (shop layer)
   Koszyk · Quick-view · Kasa (demo) · Mobile buy-bar
   Paleta i typografia dziedziczone z benaz.css (ink/brass/bone)
   ============================================================ */

/* ---------- shop buttons: <button> elements need explicit bg ---------- */
.btn-ghost { background: transparent; -webkit-appearance: none; appearance: none; }
button.btn { -webkit-appearance: none; appearance: none; }

/* ---------- shared scent swatch (molecular pebble) ---------- */
.swatch {
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, oklch(0.86 0.11 var(--h)) 0%, oklch(0.62 0.10 var(--h)) 38%, oklch(0.34 0.06 var(--h)) 100%);
  box-shadow: inset 0 0 8px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.06);
  flex: none;
}
.swatch.bundle {
  background: radial-gradient(circle at 34% 28%, var(--brass-hi), var(--brass) 42%, var(--brass-lo) 100%);
}

/* ============================================================
   NAV — koszyk
   ============================================================ */
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--brass);
  border-radius: 100px;
  background: transparent;
  color: var(--bone);
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.cart-btn:hover { border-color: var(--brass); color: var(--brass); }
.cart-btn svg { width: 18px; height: 18px; }
.cart-count {
  position: absolute;
  top: -6px; right: -6px;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  display: grid; place-items: center;
  background: var(--brass);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 700;
  border-radius: 100px;
  border: 2px solid var(--ink-deep);
  transform: scale(0);
  transition: transform 0.34s cubic-bezier(0.34,1.56,0.64,1);
  font-variant-numeric: tabular-nums;
}
.cart-count.on { transform: scale(1); }
.cart-btn.bump { animation: cartbump 0.5s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes cartbump {
  0% { transform: scale(1); }
  40% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

/* ============================================================
   ADD buttons on cards & tiles
   ============================================================ */
.add-btn {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 18px;
  border-radius: 100px;
  border: 1px solid var(--brass-lo);
  background: transparent;
  color: var(--brass);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.add-btn:hover { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.add-btn:active { transform: scale(0.97); }
.add-btn .plus { font-size: 14px; line-height: 1; transition: transform 0.3s; }
.add-btn:hover .plus { transform: rotate(90deg); }
.add-btn.added { background: var(--brass); color: var(--ink); border-color: var(--brass); }

/* card footer gets the add button inline */
.scent-card .scent-foot { margin-top: 18px; }
.scent-actions {
  display: flex; align-items: center; gap: 12px;
  margin-top: 16px;
}
.scent-actions .add-btn { flex: 1; justify-content: center; }
.scent-quick {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bone-faint);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
}

/* object tier — add affordance */
.tier { position: relative; }
.tier-add {
  margin-top: 16px;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 11px 12px;
  border-radius: 100px;
  border: 1px solid var(--ink-veil);
  background: transparent;
  color: var(--bone-dim);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.tier:hover .tier-add { border-color: var(--brass-lo); color: var(--brass); }
.tier-add:hover { background: var(--brass) !important; color: var(--ink) !important; border-color: var(--brass) !important; }
.tier.feat .tier-add { border-color: var(--brass-lo); color: var(--brass); }

/* ============================================================
   Generic overlay scrim
   ============================================================ */
.scrim {
  position: fixed; inset: 0;
  background: rgba(8,9,13,0.62);
  backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  z-index: 860;
}
.scrim.show { opacity: 1; visibility: visible; }

/* ============================================================
   CART DRAWER
   ============================================================ */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(440px, 100vw);
  background: var(--ink-deep);
  border-left: 1px solid var(--ink-veil);
  z-index: 880;
  transform: translateX(102%);
  transition: transform 0.62s cubic-bezier(0.16,1,0.3,1);
  display: flex; flex-direction: column;
  box-shadow: -40px 0 80px rgba(0,0,0,0.5);
}
.drawer.open { transform: translateX(0); }
.drawer.peek { transform: translateX(94%); }

.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gut-d, 26px);
  border-bottom: 1px solid var(--ink-veil);
  flex: none;
}
.drawer-title { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--bone); }
.icon-close {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--ink-veil); background: transparent; color: var(--bone-dim);
  cursor: pointer; display: grid; place-items: center; transition: all 0.3s; flex: none;
}
.icon-close:hover { border-color: var(--brass); color: var(--brass); transform: rotate(90deg); }
.icon-close svg { width: 14px; height: 14px; }

/* free-shipping meter */
.ship-meter { padding: 18px var(--gut-d, 26px) 4px; flex: none; }
.ship-msg { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--bone-dim); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.ship-msg b { color: var(--brass); }
.ship-msg.done { color: var(--brass); }
.ship-track { height: 4px; background: var(--ink-veil); border-radius: 100px; overflow: hidden; }
.ship-fill { height: 100%; width: 0; border-radius: 100px; background: linear-gradient(90deg, var(--brass-lo), var(--brass-hi)); transition: width 0.7s cubic-bezier(0.16,1,0.3,1); }

.drawer-body { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 8px var(--gut-d, 26px) 10px; }
.drawer-body::-webkit-scrollbar { width: 6px; }

.cart-empty { text-align: center; padding: 60px 20px; color: var(--bone-faint); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; line-height: 2; }
.cart-empty .em-mark { font-family: var(--font-display); font-weight: 800; font-size: 40px; color: var(--ink-veil); margin-bottom: 14px; letter-spacing: 0.06em; }

.cart-line {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--ink-veil);
  opacity: 1;
}
@keyframes lineIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.cart-line.removing { animation: lineOut 0.4s cubic-bezier(0.4,0,1,1) forwards; }
@keyframes lineOut { to { opacity: 0; transform: translateX(24px); height: 0; padding: 0; margin: 0; border: 0; } }
.cl-art { width: 56px; height: 56px; }
.cl-mid { min-width: 0; }
.cl-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.cl-name .eacc { display: inline-block; }
.cl-var { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--bone-faint); margin-top: 3px; text-transform: uppercase; }
.stepper { display: inline-flex; align-items: center; gap: 0; margin-top: 12px; border: 1px solid var(--ink-veil); border-radius: 100px; overflow: hidden; }
.stepper button {
  width: 28px; height: 28px; background: transparent; border: none; color: var(--bone-dim);
  cursor: pointer; font-family: var(--font-mono); font-size: 15px; transition: background 0.25s, color 0.25s;
  display: grid; place-items: center;
}
.stepper button:hover { background: var(--ink-veil); color: var(--brass); }
.stepper .qv { min-width: 30px; text-align: center; font-family: var(--font-mono); font-size: 13px; color: var(--bone); font-variant-numeric: tabular-nums; }
.cl-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cl-price { font-family: var(--font-mono); font-size: 14px; color: var(--brass); font-variant-numeric: tabular-nums; }
.cl-remove { background: none; border: none; color: var(--bone-faint); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: color 0.25s; padding: 4px 0; }
.cl-remove:hover { color: var(--brass); }

/* in-cart upsell */
.upsell {
  display: flex; align-items: center; gap: 14px;
  margin: 18px 0 6px; padding: 16px; border: 1px dashed var(--ink-veil); border-radius: 12px;
  background: rgba(201,168,106,0.04);
}
.upsell .up-art { width: 44px; height: 44px; }
.upsell .up-mid { flex: 1; min-width: 0; }
.upsell .up-k { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-faint); }
.upsell .up-name { font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-top: 2px; }
.upsell .up-price { font-family: var(--font-mono); font-size: 12px; color: var(--brass); margin-top: 2px; }
.upsell .up-add { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--brass-lo); background: transparent; color: var(--brass); cursor: pointer; font-size: 18px; transition: all 0.3s; display: grid; place-items: center; }
.upsell .up-add:hover { background: var(--brass); color: var(--ink); }

.drawer-foot { flex: none; padding: 18px var(--gut-d, 26px) 24px; border-top: 1px solid var(--ink-veil); background: var(--ink-deep); }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--bone-dim); margin-bottom: 8px; }
.sum-row.total { margin: 12px 0 18px; }
.sum-row.total .sl { color: var(--bone); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; }
.sum-row.total .sv { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--bone); }
.sum-row .sv { color: var(--bone); font-variant-numeric: tabular-nums; }
.drawer-foot .btn { width: 100%; justify-content: center; }
.drawer-foot .btn + .btn { margin-top: 10px; }
.pay-note { text-align: center; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--bone-faint); margin-top: 14px; text-transform: uppercase; }

/* ============================================================
   QUICK-VIEW MODAL
   ============================================================ */
.quick {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -46%) scale(0.97);
  width: min(880px, calc(100vw - 32px));
  max-height: calc(100svh - 40px);
  background: var(--ink-rise);
  border: 1px solid var(--ink-veil);
  border-radius: 18px;
  z-index: 900;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1), visibility 0.5s;
  overflow: hidden;
  box-shadow: 0 50px 120px rgba(0,0,0,0.6);
  display: grid; grid-template-columns: 0.92fr 1.08fr;
}
.quick.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.quick .icon-close { position: absolute; top: 16px; right: 16px; z-index: 4; background: rgba(12,13,19,0.5); backdrop-filter: blur(6px); }

.q-art { position: relative; background: var(--ink-deep); overflow: hidden; min-height: 320px; }
.q-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.q-art.has-bottle canvas { opacity: 0.26; }
.q-art.has-bottle::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(56% 46% at 50% 42%, oklch(0.62 0.13 var(--h) / 0.45), transparent 72%);
}
.q-bottle {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  z-index: 2; height: 92%; width: auto; max-width: 80%; object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(0,0,0,0.55));
  -webkit-user-select: none; user-select: none;
}
.q-bottle:not([src]) { display: none; }
.q-art .q-code-float { position: absolute; left: 22px; bottom: 20px; z-index: 3; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; color: var(--brass); }

.q-body { padding: clamp(24px, 4vw, 40px); overflow-y: auto; }
.q-code { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.22em; color: var(--brass); }
.q-name { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 5vw, 52px); line-height: 1; margin-top: 8px; }
.q-insp { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--bone-faint); margin-top: 10px; }
.q-desc { color: var(--bone-dim); font-size: 14px; margin-top: 14px; max-width: 42ch; }

.q-accords { margin: 22px 0 6px; display: flex; flex-direction: column; gap: 11px; }
.q-accord { display: grid; grid-template-columns: 92px 1fr 38px; align-items: center; gap: 12px; }
.q-accord .qa-name { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--bone-dim); }
.q-accord .qa-track { height: 7px; background: var(--ink-veil); border-radius: 100px; overflow: hidden; }
.q-accord .qa-fill { height: 100%; width: 0; border-radius: 100px; background: linear-gradient(90deg, var(--brass-lo), var(--brass), var(--brass-hi)); transition: width 1s cubic-bezier(0.16,1,0.3,1); }
.q-accord .qa-fill.breathe { animation: breathe 4s ease-in-out infinite; }
.q-accord .qa-pct { font-family: var(--font-mono); font-size: 11px; color: var(--brass); text-align: right; font-variant-numeric: tabular-nums; }

.q-variants { display: flex; gap: 10px; margin-top: 24px; }
.q-variant {
  flex: 1; text-align: left; cursor: pointer;
  border: 1px solid var(--ink-veil); border-radius: 10px; padding: 14px 16px; background: transparent;
  transition: border-color 0.3s, background 0.3s; -webkit-tap-highlight-color: transparent;
}
.q-variant:hover { border-color: var(--brass-lo); }
.q-variant.on { border-color: var(--brass); background: rgba(201,168,106,0.08); }
.q-variant .qv-vol { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--bone); }
.q-variant .qv-price { font-family: var(--font-mono); font-size: 12px; color: var(--brass); margin-top: 4px; }

.q-actions { display: flex; gap: 12px; margin-top: 24px; }
.q-actions .btn { flex: 1; justify-content: center; }

.q-switch { margin-top: 26px; border-top: 1px solid var(--ink-veil); padding-top: 18px; }
.q-switch-lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-faint); margin-bottom: 12px; }
.q-switch-row { display: flex; flex-wrap: wrap; gap: 8px; }
.q-dot {
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer; padding: 0; border: 1px solid transparent;
  transition: transform 0.25s, border-color 0.25s; position: relative;
}
.q-dot:hover { transform: scale(1.14); }
.q-dot.on { border-color: var(--bone); }
.q-dot::after { content: attr(data-n); position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-mono); font-size: 9px; color: rgba(0,0,0,0.55); font-weight: 700; }

/* ============================================================
   CHECKOUT (demo)
   ============================================================ */
.checkout {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -46%) scale(0.97);
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100svh - 32px);
  background: var(--ink-deep);
  border: 1px solid var(--ink-veil);
  border-radius: 18px;
  z-index: 920;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1), visibility 0.5s;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 50px 120px rgba(0,0,0,0.65);
}
.checkout.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.co-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 26px; border-bottom: 1px solid var(--ink-veil); flex: none; }
.co-title { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; }
.co-title .x { color: var(--brass); }
.co-body { padding: 22px 26px; overflow-y: auto; overflow-x: hidden; }

.co-sec-lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-faint); margin: 18px 0 12px; }
.co-sec-lbl:first-child { margin-top: 0; }

.co-line { display: flex; align-items: center; gap: 12px; padding: 9px 0; }
.co-line .co-art { width: 38px; height: 38px; }
.co-line .co-name { flex: 1; font-family: var(--font-body); font-size: 14px; color: var(--bone); }
.co-line .co-name b { font-family: var(--font-display); font-weight: 700; }
.co-line .co-name span { font-family: var(--font-mono); font-size: 11px; color: var(--bone-faint); display: block; letter-spacing: 0.06em; }
.co-line .co-q { font-family: var(--font-mono); font-size: 12px; color: var(--bone-dim); }
.co-line .co-p { font-family: var(--font-mono); font-size: 13px; color: var(--brass); min-width: 64px; text-align: right; font-variant-numeric: tabular-nums; }

.co-field { width: 100%; background: var(--ink-rise); border: 1px solid var(--ink-veil); border-radius: 10px; padding: 14px 16px; color: var(--bone); font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; transition: border-color 0.3s; }
.co-field::placeholder { color: var(--bone-faint); }
.co-field:focus { outline: none; border-color: var(--brass); }

.pay-grid { display: flex; flex-direction: column; gap: 10px; }
.pay-opt {
  display: flex; align-items: center; gap: 14px; cursor: pointer;
  border: 1px solid var(--ink-veil); border-radius: 12px; padding: 15px 16px;
  transition: border-color 0.3s, background 0.3s; -webkit-tap-highlight-color: transparent;
}
.pay-opt:hover { border-color: var(--brass-lo); }
.pay-opt.on { border-color: var(--brass); background: rgba(201,168,106,0.07); }
.pay-radio { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--bone-faint); flex: none; display: grid; place-items: center; transition: border-color 0.3s; }
.pay-opt.on .pay-radio { border-color: var(--brass); }
.pay-opt.on .pay-radio::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--brass); }
.pay-name { flex: 1; font-family: var(--font-body); font-size: 15px; color: var(--bone); }
.pay-badge { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-faint); border: 1px solid var(--ink-veil); border-radius: 6px; padding: 5px 9px; }
.pay-opt.on .pay-badge { color: var(--brass); border-color: var(--brass-lo); }

.co-foot { flex: none; padding: 18px 26px 24px; border-top: 1px solid var(--ink-veil); }
.co-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.co-total .ct-l { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-dim); }
.co-total .ct-v { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--bone); font-variant-numeric: tabular-nums; }
.co-foot .btn { width: 100%; justify-content: center; }
.co-foot .btn.loading { pointer-events: none; opacity: 0.85; }
.co-spinner { width: 15px; height: 15px; border: 2px solid rgba(21,23,31,0.35); border-top-color: var(--ink); border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.co-secure { text-align: center; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; color: var(--bone-faint); margin-top: 14px; text-transform: uppercase; }

/* confirmation */
.co-confirm { padding: 48px 32px 40px; text-align: center; }
.confirm-check { width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%; border: 1px solid var(--brass); display: grid; place-items: center; position: relative; }
.confirm-check svg { width: 30px; height: 30px; }
.confirm-check::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; box-shadow: 0 0 0 0 rgba(201,168,106,0.4); animation: checkring 1.4s ease-out 0.2s; }
@keyframes checkpop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes checkring { to { box-shadow: 0 0 0 22px rgba(201,168,106,0); } }
.confirm-h { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 4vw, 38px); }
.confirm-sub { color: var(--bone-dim); font-size: 14px; margin-top: 12px; max-width: 36ch; margin-inline: auto; }
.confirm-order { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; color: var(--brass); margin-top: 22px; padding: 12px 18px; border: 1px solid var(--ink-veil); border-radius: 100px; display: inline-block; }
.confirm-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--bone-faint); margin-top: 18px; line-height: 1.9; }
.confirm-meta b { color: var(--bone-dim); }

/* ============================================================
   TOAST (subtle add confirmation)
   ============================================================ */
.toast-wrap { position: fixed; right: 20px; bottom: 22px; z-index: 950; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 13px;
  background: var(--ink-rise); border: 1px solid var(--ink-veil); border-left: 2px solid var(--brass);
  border-radius: 12px; padding: 13px 16px; min-width: 250px; max-width: 320px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  transform: translateY(16px); opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), opacity 0.5s;
  pointer-events: auto;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast .t-art { width: 38px; height: 38px; }
.toast .t-mid { flex: 1; min-width: 0; }
.toast .t-k { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone-faint); }
.toast .t-name { font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast .t-link { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); background: none; border: none; cursor: pointer; white-space: nowrap; padding: 4px; }
.toast .t-link:hover { color: var(--brass-hi); }

/* flying pebble */
.fly-pebble { position: fixed; width: 20px; height: 20px; border-radius: 50%; z-index: 960; pointer-events: none; will-change: transform, opacity; box-shadow: 0 0 16px 2px rgba(201,168,106,0.5); }

/* ============================================================
   MOBILE STICKY BUY BAR
   ============================================================ */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 99998;
  display: none;
  /* Keep this as one static fixed layer, matching the iOS-safe floating button. */
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(12,13,19,0.96);
  color: var(--bone);
  border-top: 1px solid var(--ink-veil);
  box-shadow: 0 -2px 20px rgba(0,0,0,0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
.mbar.show { opacity: 1; visibility: visible; pointer-events: auto; }
.mbar .m-art { width: 42px; height: 42px; }
.mbar .m-mid { flex: 1; min-width: 0; }
.mbar .m-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mbar .m-price { font-family: var(--font-mono); font-size: 11px; color: var(--brass); margin-top: 2px; }
.mbar .add-btn { flex: none; padding: 13px 18px; }

@media (min-width: 768px) {
  .mbar { display: none !important; }
}
@media (max-width: 767px) {
  .mbar { display: flex; }
}

@media (max-width: 760px) {
  .toast-wrap { right: 12px; left: 12px; bottom: 92px; align-items: stretch; }
  .toast { max-width: none; }
  .quick { grid-template-columns: 1fr; max-height: calc(100svh - 24px); }
  .quick { width: calc(100vw - 20px); }
  .q-art { min-height: 200px; max-height: 30vh; }
  .q-body { padding: 22px 20px 30px; }
  .drawer-foot { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .drawer, .quick, .checkout, .toast, .mbar, .cart-count, .scrim { transition-duration: 0.01ms !important; }
  .fly-pebble { display: none !important; }
  .qa-fill.breathe, .confirm-check::after { animation: none !important; }
}

/* ============================================================
   SYGNATURA — molekuła + żywy profil akordu + skład
   ============================================================ */
.signature .sig-stage { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px,5vw,72px); align-items: center; margin-top: 22px; }
@media (max-width: 900px) { .signature .sig-stage { grid-template-columns: 1fr; } }
.sig-mol {
  position: relative; height: clamp(380px, 56vh, 620px);
  border: 1px solid var(--ink-veil); border-radius: 16px; overflow: hidden;
  background: radial-gradient(120% 120% at 30% 25%, rgba(201,168,106,0.10), transparent 55%), var(--ink-deep);
}
.sig-mol canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sig-mol-hud { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.sig-hud-code { font-size: 11px; letter-spacing: 0.2em; color: var(--brass); }
.sig-hud-hint { font-size: 10px; letter-spacing: 0.16em; color: var(--bone-faint); text-transform: uppercase; }
.sig-lead { max-width: 46ch; margin-top: 16px; }
.sig-accords { margin-top: 30px; }
.signature .accord { grid-template-columns: 116px 1fr auto; }
.sig-foot { display: flex; gap: clamp(22px,4vw,48px); align-items: center; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--ink-veil); flex-wrap: wrap; }
.sig-stat { display: flex; align-items: baseline; gap: 12px; }
.sig-stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(48px,7vw,78px); line-height: 0.86; color: var(--bone); font-variant-numeric: tabular-nums; }
.sig-stat-num .pc { font-size: 0.46em; color: var(--brass); }
.sig-stat-lbl { font-family: var(--font-display); font-weight: 600; font-size: clamp(15px,1.8vw,19px); line-height: 1.12; }
.sig-stat-lbl .brass { color: var(--brass); }
.sig-reframe { flex: 1; min-width: 210px; }
.sig-reframe-line { font-family: var(--font-display); font-weight: 600; font-size: clamp(18px,2.3vw,26px); line-height: 1.08; letter-spacing: -0.01em; }
.sig-specs { margin-top: 12px; font-size: 11px; letter-spacing: 0.14em; color: var(--bone-faint); }

/* ============================================================
   DOWÓD + GWARANCJA
   ============================================================ */
.proof-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 38px; }
.rating-big { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.rating-big .stars { color: var(--brass); letter-spacing: 2px; font-size: 18px; }
.rating-score { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px,4vw,40px); color: var(--bone); font-variant-numeric: tabular-nums; }
.rating-score .rating-out { color: var(--bone-faint); font-size: 0.5em; font-weight: 500; }
.rating-count { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; }
.ship-now { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-dim); display: flex; align-items: center; gap: 9px; border: 1px solid var(--ink-veil); padding: 10px 16px; border-radius: 100px; }
.ship-now .pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: oklch(0.72 0.15 150); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .ship-now .pulse-dot { animation: pulsedot 2.6s ease-out infinite; }
}
@keyframes pulsedot {
  0% { box-shadow: 0 0 0 0 oklch(0.72 0.15 150 / 0.5); }
  70% { box-shadow: 0 0 0 8px oklch(0.72 0.15 150 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.72 0.15 150 / 0); }
}
.quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 36px; }
@media (max-width: 820px) { .quotes { grid-template-columns: 1fr; } }
.quote { border: 1px solid var(--ink-veil); border-radius: 14px; padding: 26px 24px; background: var(--ink-rise); display: flex; flex-direction: column; gap: 14px; }
.quote .q-stars { color: var(--brass); letter-spacing: 2px; font-size: 13px; }
.quote blockquote { font-family: var(--font-display); font-weight: 500; font-size: clamp(17px,1.6vw,20px); line-height: 1.42; color: var(--bone); text-wrap: pretty; }
.quote figcaption { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--bone-dim); margin-top: auto; }
.guarantee { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 20px; }
@media (max-width: 820px) { .guarantee { grid-template-columns: 1fr; } }
.g-item { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--ink-veil); border-radius: 14px; padding: 22px; background: rgba(28,31,42,0.4); }
.g-ic { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--brass-lo); color: var(--brass); display: grid; place-items: center; font-size: 18px; }
.g-tx { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.g-tx b { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.g-tx span { color: var(--bone-dim); font-size: 13px; line-height: 1.5; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.pay-badges span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--bone-dim); border: 1px solid var(--ink-veil); border-radius: 6px; padding: 5px 8px; }

/* ============================================================
   FAQ — akordeon
   ============================================================ */
.faq-list { margin-top: 40px; max-width: 880px; }
.faq-item { border-top: 1px solid var(--ink-veil); }
.faq-item:last-child { border-bottom: 1px solid var(--ink-veil); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 4px; font-family: var(--font-display); font-weight: 600; font-size: clamp(18px,2.1vw,26px); color: var(--bone); transition: color 0.3s; -webkit-tap-highlight-color: transparent; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover, .faq-item[open] summary { color: var(--brass); }
.faq-plus { position: relative; width: 18px; height: 18px; flex: none; }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; background: var(--brass); transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), opacity 0.35s; }
.faq-plus::before { top: 8px; left: 0; width: 18px; height: 1.5px; }
.faq-plus::after { left: 8px; top: 0; width: 1.5px; height: 18px; }
.faq-item[open] .faq-plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a p { color: var(--bone-dim); font-size: clamp(14px,1.4vw,16px); line-height: 1.7; max-width: 72ch; padding: 0 4px 26px; text-wrap: pretty; }
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-a { animation: faqOpen 0.4s ease; }
}
@keyframes faqOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ============================================================
   QUIZ — wynik: akcje + newsletter
   ============================================================ */
.res-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.res-actions .btn { flex: 1; justify-content: center; min-width: 150px; }
.res-news { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 36px 12px 14px; border: 1px dashed var(--ink-veil); border-radius: 12px; position: relative; }
.res-news-tx { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-faint); white-space: nowrap; }
.res-news-form { display: flex; flex: 1; gap: 8px; align-items: center; min-width: 0; }
.res-news-form input { flex: 1; min-width: 0; background: transparent; border: none; border-bottom: 1px solid var(--ink-veil); color: var(--bone); font-family: var(--font-mono); font-size: 12px; padding: 6px 2px; }
.res-news-form input:focus { outline: none; border-bottom-color: var(--brass); }
.res-news-form button { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1px solid var(--brass-lo); background: transparent; color: var(--brass); cursor: pointer; transition: background 0.3s, color 0.3s; }
.res-news-form button:hover { background: var(--brass); color: var(--ink); }
.res-news-x { position: absolute; top: 8px; right: 9px; background: none; border: none; color: var(--bone-faint); font-size: 16px; line-height: 1; cursor: pointer; padding: 2px; }
.res-news-x:hover { color: var(--brass); }
.res-news.sent { justify-content: center; padding-right: 14px; }
.res-news.sent .res-news-tx { color: var(--brass); white-space: normal; text-align: center; }
@media (max-width: 540px) { .res-news { flex-wrap: wrap; } }

/* ---- ocena na karcie kolekcji ---- */
.scent-rating { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-family: var(--font-mono); font-size: 11px; color: var(--bone-dim); letter-spacing: 0.04em; }
.scent-rating .rs { color: var(--brass); letter-spacing: 1px; }

/* ---- decoder: nagłówek w lewej kolumnie, panel wyrównany do góry ---- */
.decoder-left { align-self: start; }
.decoder-questions { margin-top: clamp(30px, 5vh, 52px); }

/* ---- statyczny render flakonu na karcie ---- */
.scent-art.has-bottle { display: grid; place-items: center; background: var(--ink-deep); }
.scent-art.has-bottle canvas { opacity: 0.26; }
.scent-art.has-bottle::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(58% 48% at 50% 40%, oklch(0.62 0.13 var(--h) / 0.42), transparent 72%);
}
.scent-bottle {
  position: relative; z-index: 2;
  height: 116%; width: auto; max-width: 78%; object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(0,0,0,0.55));
  transform: translateY(2%);
  transition: transform 0.55s cubic-bezier(0.16,1,0.3,1);
  -webkit-user-select: none; user-select: none;
}
.scent-card:hover .scent-bottle { transform: translateY(0) scale(1.045); }

/* ============================================================
   GIFT — pudełko 3D (CSS)
   ============================================================ */
.gift-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(28px,5vw,56px); align-items: center; }
@media (max-width: 860px) { .gift-grid { grid-template-columns: 1fr; } .gift-visual { order: -1; } }
.gift-visual { display: grid; place-items: center; min-height: 440px; perspective: 1500px; }
.giftbox { position: relative; transform-style: preserve-3d; transform: scale(1.62); }
@media (max-width: 860px) { .giftbox { transform: scale(1.15); } }
@media (max-width: 430px) { .giftbox { transform: scale(0.92); } .gift-visual { min-height: 360px; } }
.gb {
  position: relative; width: 240px; height: 116px; transform-style: preserve-3d;
  transform: rotateX(-24deg) rotateY(-34deg);
}
@media (prefers-reduced-motion: no-preference) { .gb { animation: gbFloat 7s ease-in-out infinite; } }
@keyframes gbFloat {
  0%, 100% { transform: rotateX(-24deg) rotateY(-36deg) translateY(0); }
  50% { transform: rotateX(-22deg) rotateY(-30deg) translateY(-9px); }
}
.gb-face { position: absolute; top: 50%; left: 50%; }
.gb-front {
  width: 240px; height: 116px; margin: -58px 0 0 -120px; transform: translateZ(90px);
  background: #1b1e28; border: 1px solid #0a0b10;
}
.gb-right {
  width: 180px; height: 116px; margin: -58px 0 0 -90px; transform: rotateY(90deg) translateZ(120px);
  background: #15171f; border: 1px solid #0a0b10;
}
/* lid band (top of each side face) + brass seam */
.gb-front::before, .gb-right::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 30px;
  background: #23262f; border-bottom: 1px solid var(--brass-lo);
}
.gb-top {
  width: 240px; height: 180px; margin: -90px 0 0 -120px; transform: rotateX(90deg) translateZ(58px);
  background: linear-gradient(135deg, #262932, #1d2029);
  border: 1px solid #0a0b10; overflow: hidden;
}
.gb-ribbon { position: absolute; top: 0; bottom: 0; left: 50%; width: 16px; margin-left: -8px; background: linear-gradient(90deg, rgba(201,168,106,0.0), rgba(201,168,106,0.22), rgba(201,168,106,0.0)); border-left: 1px solid rgba(201,168,106,0.3); border-right: 1px solid rgba(201,168,106,0.3); }
.gb-seal {
  position: absolute; top: 50%; left: 50%; width: 50px; height: 50px; margin: -25px 0 0 -25px;
  border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 38% 32%, var(--brass-hi), var(--brass) 55%, var(--brass-lo));
  box-shadow: 0 4px 10px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.15);
}
.gb-seal .eacc { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--ink); }
.gb-seal .eacc::after { display: none; }
.gb-wordmark { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: 0.3em; color: var(--brass-lo); padding-left: 0.3em; }
/* card peeking out from under the lid */
.gb-card {
  position: absolute; left: 50%; bottom: 84px; width: 120px; margin-left: -40px;
  transform: rotate(-7deg); transform-origin: bottom center;
  background: var(--bone); color: var(--ink); border-radius: 3px;
  padding: 12px 12px 14px; box-shadow: 0 16px 30px rgba(0,0,0,0.5);
  font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  z-index: 0;
}
.gb-card span { display: block; font-size: 8px; letter-spacing: 0.24em; color: var(--brass-lo); margin-bottom: 5px; }
.gb-shadow { position: absolute; left: 50%; top: 132px; width: 230px; height: 40px; margin-left: -115px; background: radial-gradient(ellipse at center, rgba(0,0,0,0.55), transparent 70%); filter: blur(6px); z-index: -1; }
