/* PelletBay visual refresh overlay — модерен look върху съществуващата структура.
   Това е append-вам СЛЕД store.css и override-ва избрани правила. */
/* ============ типография и база ============ */
/* fonts: self-hosted Inter via /assets/css/fonts.css (linked in <head> by brandHead) */
html, body { overflow-x: clip; }
body { font-family: Inter, Roboto, "Segoe UI", system-ui, sans-serif; letter-spacing: -0.011em; }
.nav .wrap { scrollbar-width: none; }
.nav .wrap::-webkit-scrollbar { display: none; }
@media (max-width: 760px) {
  .nav .wrap { overflow-x: auto; overscroll-behavior-x: contain; }
  .hero { overflow: hidden; }
  .hero-track { width: 100%; max-width: 100%; overflow: hidden; }
  .hero-slide { flex: 0 0 100%; min-width: 0; max-width: 100%; }
  /* no-JS fallback handled by hero-fade rules below (:first-child static) */
  .nav .wrap { max-width: 100%; }
  .nav .wrap > a { flex: 0 0 auto; }
  .reviews, .reviews-rich, .reasons { grid-template-columns: 1fr; }
}
/* The nav is an inner horizontal strip; it must not widen the document. */
.nav { max-width: 100%; overflow: hidden; }
.nav .wrap { min-width: 0; }
/* Closed fixed overlays must not enlarge the document's layout viewport. */
.drawer:not(.show), .overlay:not(.show), .modal-back:not(.show), #cookiebar.hidden { display: none; }
.drawer.show { display: flex; }
.modal-back.show { display: flex; }
.overlay.show { display: block; }
@media (max-width: 760px) {
  .reviews, .reviews-rich, .reasons { grid-template-columns: 1fr; }
}
h1, h2, h3 { letter-spacing: -0.022em; }

/* ============ хедър ============ */
.header { position: sticky; top: 0; z-index: 50; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); background: rgba(255,255,255,.88); }
.header .wrap { height: 68px; }
.logo img { height: 42px; transition: transform .25s; }
.logo:hover img { transform: scale(1.04); }
.top-links { display: flex; gap: 4px; }
.top-links a { padding: 8px 13px; border-radius: 9px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); transition: .16s; }
.top-links a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.icon-btn { transition: transform .15s, background .15s; }
.icon-btn:hover { transform: translateY(-1px); }

/* ============ бутони ============ */
.btn { transition: transform .16s, box-shadow .16s, background .16s; font-weight: 700; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { box-shadow: 0 6px 18px rgba(247,148,29,.35); }
.btn-primary:hover { box-shadow: 0 9px 26px rgba(247,148,29,.45); background: var(--brand-dark); }
.btn-outline { border: 1.5px solid var(--line); background: var(--card); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-dark); background: var(--brand-soft); }
.btn-ghost:hover { background: var(--brand-soft); transform: none; }

/* ============ hero ============ */
.hero { box-shadow: 0 20px 50px -30px rgba(28,43,58,.4); }
.hero-dots button { transition: transform .2s, background .2s; width: 10px; height: 10px; }
.hero-arrows button { border-radius: 14px; transition: transform .2s, opacity .2s; }
.hero-arrows button:hover { transform: translateY(-50%) scale(1.08); }

/* ============ продукт карти ============ */
.product-grid { gap: 14px; }
.card { border-radius: 14px; overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: transform .22s cubic-bezier(.2,.7,.3,1.1), box-shadow .22s, border-color .22s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px -18px rgba(28,43,58,.28); border-color: rgba(247,148,29,.38); }
.card-img { position: relative; overflow: hidden; }
.card-img img { transition: transform .35s ease; }
.card:hover .card-img img { transform: scale(1.055); }
.card-body { padding: 12px 14px 10px; }
.card-body :is(h2,h3) { font-size: 14.5px; font-weight: 700; line-height: 1.35; }
.card-body :is(h2,h3) a:hover { color: var(--brand-dark); }
.card-actions { padding: 0 14px 14px; }
.price-ton { font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.price-old { opacity: .55; text-decoration: line-through; font-weight: 500; font-size: 14px; }

/* ============ секции ============ */
.section { padding: 44px 0; }
.section-head h2 { font-size: clamp(21px, 2.6vw, 30px); font-weight: 800; }
.section-head .line { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--brand), rgba(247,148,29,0)); flex: 1; }
.section-head .more { font-weight: 700; color: var(--brand-dark); white-space: nowrap; padding: 7px 12px; border-radius: 9px; transition: .15s; }
.section-head .more:hover { background: var(--brand-soft); }

/* ============ категории ============ */
.cat-tiles { gap: 12px; }
.cat-tile { transition: transform .2s, box-shadow .2s; border: 1px solid var(--line); border-radius: 16px; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 34px -14px rgba(28,43,58,.25); }
.cat-tile .t-emoji { filter: drop-shadow(0 3px 6px rgba(28,43,58,.18)); }

/* ============ футър ============ */
.footer { background: linear-gradient(180deg, #16222f 0%, var(--ink) 100%); }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .09em; opacity: .65; margin-bottom: 12px; }
.footer a { display: inline-block; padding: 3.5px 0; color: #c4cfdb; transition: color .16s, transform .16s; font-size: 14.5px; }
.footer a:hover { color: #fff; transform: translateX(3px); }
/* Brand-led About Us block: a quiet accent makes the first footer column
   feel intentional without turning the footer into another sales banner. */
.footer > .wrap > div:first-child { border-left: 2px solid rgba(247,148,29,.72); padding-left: 18px; }
.footer > .wrap > div:first-child h4 { color: #fff; opacity: .95; letter-spacing: .1em; }
.footer > .wrap > div:first-child p { max-width: 38ch; color: #c4cfdb; line-height: 1.75; }
@media (max-width: 760px) {
  .footer > .wrap > div:first-child { border-left: 0; border-top: 2px solid rgba(247,148,29,.72); padding: 14px 0 0; }
}

/* ============ форми ============ */
.input { transition: border-color .16s, box-shadow .16s; border-radius: 11px; }
.input:focus { border-color: var(--brand); box-shadow: 0 0 0 3.5px rgba(247,148,29,.16); outline: none; }

/* ============ таблица (checkout) ============ */
.table th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* ============ features ============ */
.features { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, #fbfcfd); }
.feature { border-radius: 13px; }
.feature:hover { background: var(--brand-soft); }
.feature svg { transition: transform .2s; }
.feature:hover svg { transform: scale(1.15); }

/* ============ фокус достъпност ============ */
.btn:focus-visible, .input:focus-visible, a:focus-visible, button:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 2.5px; border-radius: 8px; }

/* ============ фина polish ============ */
::selection { background: rgba(247,148,29,.3); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #eef1f5; }
::-webkit-scrollbar-thumb { background: #c3cdd8; border-radius: 8px; border: 2.5px solid #eef1f5; }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { transition: none !important; animation: none !important; } }

/* ============ floating call button (mobile-first бизнес) ============ */
.call-fab { position: fixed; bottom: 18px; right: 18px; z-index: 110; display: none; width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: #fff; font-size: 23px; align-items: center; justify-content: center; box-shadow: 0 10px 28px rgba(29,154,86,.45); transition: transform .18s; text-decoration: none; }
.call-fab:hover { transform: scale(1.09); color: #fff; }
.call-fab.ringing { animation: callPulse 2.4s infinite; }
@keyframes callPulse { 0%,100% { box-shadow: 0 10px 28px rgba(29,154,86,.45), 0 0 0 0 rgba(29,154,86,.4); } 50% { box-shadow: 0 10px 28px rgba(29,154,86,.45), 0 0 0 14px rgba(29,154,86,0); } }
@media (max-width: 760px) { .call-fab { display: flex; } #lang-switch:not(.lang-switch--bar) { bottom: 84px !important; } #cookie-notice { right: 12px; left: 12px; max-width: none; bottom: 84px; } }

/* ============ product detail cards (shop.com pattern) ============ */
.pd-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.pd-detail-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; }
.pd-detail-head { font-size: 17px; font-weight: 800; margin-bottom: 14px; display: flex; align-items: center; gap: 9px; }
.pd-specs { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.pd-specs td { padding: 9px 4px; border-bottom: 1px solid var(--line); }
.pd-specs td:first-child { color: var(--muted); font-weight: 600; width: 42%; }
.pd-specs td:last-child { font-weight: 700; }
.pd-specs tr:last-child td { border-bottom: none; }
.pd-list { list-style: none; padding: 0; }
.pd-list li { padding: 8px 0 8px 26px; position: relative; color: var(--ink-2); font-size: 14.5px; border-bottom: 1px solid rgba(227,232,238,.55); }
.pd-list li:last-child { border-bottom: none; }
.pd-list li:before { content: '✓'; position: absolute; left: 2px; color: var(--green); font-weight: 800; }

/* ============ reviews ============ */
.pd-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 6px; }
.pd-review { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.pd-review .stars { color: #f5a623; font-size: 17px; letter-spacing: 2px; margin-bottom: 10px; }
.pd-review p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; margin-bottom: 12px; font-style: italic; }
.pd-review b { font-size: 13.5px; color: var(--muted); }
@media (max-width: 880px) { .pd-detail-grid, .pd-reviews { grid-template-columns: 1fr; } }

/* ============ compact product detail layout ============ */
/* Keep the gallery column close to the image; a half-page empty column made the
   purchase panel look detached on desktop. The image remains a square 340px frame. */
body[data-page="product"] #pd-main {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  align-items: start;
  gap: 32px;
  margin-bottom: -8px;
}
body[data-page="product"] > .wrap > .pd-heading {
  max-width: 1160px;
  margin: 0 auto 14px;
}
body[data-page="product"] > .wrap > #pd-main {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}
body[data-page="product"] > .wrap > section > .wrap {
  width: 100%;
  max-width: 1160px;
  padding-left: 0;
  padding-right: 0;
}
body[data-page="product"] > .wrap > section .pd-detail-grid {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}
body[data-page="product"] #pd-main > div:first-child { display: flex; flex-direction: column; align-items: flex-start; }
body[data-page="product"] #pd-img { max-width: 340px !important; border-radius: 14px !important; }
body[data-page="product"] #pd-main > div:last-child { min-width: 0; padding-top: 0; }
body[data-page="product"] #pd-main table { margin-bottom: 8px !important; }
body[data-page="product"] #pd-main table td { padding-top: 2px !important; padding-bottom: 2px !important; }
body[data-page="product"] #pd-main .price-block { margin-bottom: 8px !important; padding: 5px 9px; }
body[data-page="product"] #pd-main .pd-trust { margin-bottom: 8px; padding: 8px 10px; }
body[data-page="product"] .section { padding: 20px 0; }
body[data-page="product"] .pd-detail-grid { gap: 10px; margin-top: 0; }
body[data-page="product"] .pd-detail-card { border-radius: 12px; padding: 14px 16px; }
body[data-page="product"] .pd-detail-head { margin-bottom: 7px; font-size: 16px; }
body[data-page="product"] .pd-specs td { padding: 5px 4px; }
body[data-page="product"] .pd-list li { padding-top: 5px; padding-bottom: 5px; }
body[data-page="product"] .pd-reviews { gap: 10px; }
body[data-page="product"] .pd-review { border-radius: 12px; padding: 13px 15px; }
@media (max-width: 880px) {
  body[data-page="product"] #pd-main { grid-template-columns: minmax(260px, 300px) minmax(0, 1fr); gap: 20px; }
  body[data-page="product"] #pd-img { max-width: 300px !important; }
}
@media (max-width: 760px) {
  body[data-page="product"] #pd-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 0; }
  body[data-page="product"] #pd-main > div:first-child { align-items: stretch; }
  body[data-page="product"] #pd-img { max-width: 100% !important; }
  body[data-page="product"] .section { padding: 18px 0; }
}

/* Product detail: contained desktop gallery + purchase panel. Mobile keeps the
   original single-column order. Inspired by Shopify Dawn's media/info split,
   but tuned to PelletBay's dense orange/navy system. */
@media (min-width: 761px) {
  body[data-page="product"] .section.alt { margin-left: 0 !important; margin-right: 0 !important; }
  body[data-page="product"] #pd-main {
    grid-template-columns: minmax(0, 620px) minmax(360px, 500px);
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
    column-gap: clamp(28px, 4vw, 64px);
    row-gap: 0;
    align-items: start;
  }
  body[data-page="product"] > .wrap > .pd-heading {
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
  }
  body[data-page="product"] > .wrap > #pd-main > div:first-child {
    min-width: 0;
  }
  body[data-page="product"] #pd-main > div:first-child {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 14px;
    align-items: start;
  }
  body[data-page="product"] .pd-heading {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 14px;
  }
  body[data-page="product"] #pd-img {
    grid-column: 2;
    grid-row: 2;
    width: 100% !important;
    max-width: 520px !important;
    height: auto;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--line);
    box-shadow: 0 12px 34px rgba(28,43,58,.08);
  }
  body[data-page="product"] #pd-thumbs {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    flex-direction: column;
    max-width: 76px;
    margin-top: 0;
    gap: 10px;
  }
  body[data-page="product"] #pd-thumbs.show { display: flex; }
  body[data-page="product"] .pd-thumb { width: 66px; height: 66px; border-radius: 9px; }
  body[data-page="product"] #pd-main > div:last-child {
    min-width: 0;
    margin-top: 0;
    padding: 24px 26px 26px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 12px 34px rgba(28,43,58,.08);
  }
  body[data-page="product"] #pd-name { overflow-wrap: anywhere; }
  body[data-page="product"] #pd-main table { width: 100%; }
}
@media (min-width: 761px) and (max-width: 1120px) {
  body[data-page="product"] #pd-main { grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); column-gap: 28px; }
  body[data-page="product"] #pd-main > div:last-child { padding-left: 20px; padding-right: 20px; }
}
/* At tablet widths, keep the purchase panel comfortable rather than forcing a
   tiny two-column gallery. */
@media (min-width: 761px) and (max-width: 880px) {
  body[data-page="product"] #pd-main { grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); }
  body[data-page="product"] #pd-main > div:first-child { grid-template-columns: 58px minmax(0, 1fr); column-gap: 10px; }
  body[data-page="product"] .pd-thumb { width: 52px; height: 52px; }
}
/* Keep the gallery image comfortably sized when a product has no thumbnails. */
@media (min-width: 761px) {
  body[data-page="product"] #pd-thumbs:not(.show) { visibility: hidden; }
}

.contact-form-intro { display: flex; gap: 18px; align-items: center; margin-bottom: 20px; }
.contact-form-intro img { flex: none; width: 110px; height: 110px; border-radius: 14px; object-fit: cover; }
.contact-form-intro h3 { margin-bottom: 6px !important; }
.contact-form-intro p { font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.contact-form-intro .contact-kicker { color: var(--brand-dark); font-weight: 700; margin-bottom: 5px; }
.delivery-quote-note { margin: 24px 0 0; padding: 16px 18px; border-left: 3px solid var(--brand); background: var(--brand-soft); border-radius: 10px; font-size: 14px; }
.delivery-quote-note a { color: var(--brand-dark); font-weight: 700; }
.footer > .wrap > div:first-child { min-width: 0; }
@media (max-width: 480px) { .contact-form-intro { gap: 12px; align-items: start; } .contact-form-intro img { width: 76px; height: 76px; } }

/* visually hidden, still read by search engines + screen readers */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;clip:rect(0,0,0,0);white-space:nowrap;overflow:hidden;border:0}

/* fractional star rating (4.3 → 86 % gold): grey row + clipped gold row */
.stars-bg { position: relative; display: inline-block; color: #d6dbe1; line-height: 1; }
.stars-fg { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #f5a623; }

/* ===== delivery page (EU) ===== */
.dl-hero { position: relative; background: #1c2b3a center/cover no-repeat; color: #fff; padding: clamp(70px, 11vw, 140px) 0 clamp(60px, 9vw, 110px); }
.dl-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(16,26,38,.86) 0%, rgba(16,26,38,.55) 55%, rgba(16,26,38,.15) 100%); }
.dl-hero-in { position: relative; max-width: 1080px; }
.dl-hero h1 { font-size: clamp(28px, 4.4vw, 46px); line-height: 1.12; max-width: 620px; margin: 10px 0 14px; color: #fff; }
.dl-hero p { font-size: clamp(15px, 1.6vw, 18px); max-width: 560px; opacity: .92; }
.dl-kicker { display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dl-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.dl-btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.dl-btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff; }
.dl-zones.dl-zones-five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .dl-zones.dl-zones-five { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .dl-zones.dl-zones-five { grid-template-columns: 1fr; } }
.dl-zones-five h3 { min-height:3em; }
.delivery-option-grid { display:flex; flex-wrap:wrap; gap:12px; margin:12px 0; }
.delivery-conditions { border:1px solid var(--line); padding:16px; border-radius:12px; margin-top:14px; }
.dl-calc-out { min-width:0; overflow-wrap:anywhere; }
.dl-zones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dl-zone { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.dl-zone:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.dl-zone-eu { border: 2px solid var(--brand); position: relative; }
.dl-zone-ico { font-size: 30px; line-height: 1; margin-bottom: 10px; }
.dl-zone h3 { font-size: 18px; margin-bottom: 6px; }
.dl-zone-price { margin: 4px 0 10px; }
.dl-zone-price b { font-size: 34px; color: var(--brand-text); letter-spacing: -.5px; }
.dl-zone-price span { color: var(--muted); font-size: 14px; }
.dl-zone p { color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.dl-calc { display: grid; grid-template-columns: 1.6fr 1fr; gap: 0; padding: 0; overflow: hidden; margin-top: 26px; }
.dl-calc-form { padding: 24px; }
.dl-calc-form h3 { margin-bottom: 14px; }
.dl-calc-out { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 24px; }
.dl-calc-out span { opacity: .9; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.dl-calc-out b { font-size: 42px; margin: 4px 0; }
.dl-calc-out small { opacity: .92; font-size: 13px; min-height: 18px; }
.dl-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.dl-step { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 18px; position: relative; }
.dl-step em { font-style: normal; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); font-weight: 800; margin-bottom: 10px; }
.dl-step h4 { font-size: 16px; margin-bottom: 6px; }
.dl-step p { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.dl-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 34px; align-items: center; margin-top: 48px; }
.dl-split-rev > img { order: 2; }
.dl-split img, .dl-pay img { width: 100%; height: auto; border-radius: 18px; box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 16/10; }
.dl-split h2, .dl-pay h2 { font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 14px; }
.dl-list { list-style: none; padding: 0; }
.dl-list li { position: relative; padding: 0 0 10px 28px; line-height: 1.6; font-size: 15px; color: var(--ink-2); }
.dl-list li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #e8f6ee; color: var(--green); font-size: 12px; font-weight: 800; display: grid; place-items: center; margin-top: 3px; }
.dl-pay { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: center; margin-top: 48px; padding: 22px; }
.dl-pay img { aspect-ratio: 4/3; }
@media (max-width: 860px) {
  .dl-zones, .dl-steps { grid-template-columns: 1fr 1fr; }
  .dl-calc, .dl-split, .dl-pay { grid-template-columns: 1fr; }
  .dl-split-rev > img { order: 0; }
}
@media (max-width: 560px) { .dl-zones, .dl-steps { grid-template-columns: 1fr; } }
/* cart: destination picker */
.dest-pick { background: var(--brand-soft); border-radius: 10px; padding: 10px 12px; margin: 8px 0 6px; }
.dest-pick label { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.dest-pick select { margin-top: 6px; height: 40px; }

/* delivery page polish: icons + readability */
.dl-zone-ico { height: 34px; display: flex; align-items: center; }
.dl-zone-ico svg { border-radius: 3px; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.dl-ico-city svg { box-shadow: none; color: var(--brand); }
.dl-kicker { display: inline-flex; align-items: center; gap: 8px; }
.dl-kicker svg { border-radius: 2px; }
.dl-step p, .dl-zone p { font-size: 15px; color: var(--ink); opacity: .82; }
.dl-list li { font-size: 15.5px; color: var(--ink); }
.dl-split > div, .dl-pay > div { align-self: center; }
.dl-zone-eu::after { content: 'EU'; position: absolute; top: 14px; right: 14px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .5px; padding: 3px 8px; border-radius: 999px; }

/* ============ checkout order summary v2 (visual only) ============ */
/* line items: thumbnail + name + meta + price */
.co-line { display:flex; gap:12px; align-items:center; padding:10px 0; border-bottom:1px solid var(--line,#e7ebf0); }
.co-line:last-child { border-bottom:0; }
.co-line-img { flex:0 0 56px; width:56px; height:56px; border-radius:10px; background:#f4f6f8; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.co-line-img img { width:100%; height:100%; object-fit:contain; }
.co-line-info { flex:1; min-width:0; }
.co-line-name { font-size:13.5px; font-weight:600; line-height:1.3; }
.co-line-meta { font-size:12px; color:var(--muted,#6b7a8c); margin-top:2px; }
.co-line-qty { color:var(--brand,#2a6f3f); font-weight:700; }
.co-line-disc { font-size:12px; color:#b3261e; margin-top:2px; }
.co-line-price { font-size:14.5px; white-space:nowrap; }
/* summary card presence + contained total pill */
.card.summary { box-shadow:0 8px 28px rgba(15,35,60,.07); }
.card.summary h3 { letter-spacing:-.01em; }
.row.total { background:var(--brand-soft,#eef5ef); border-radius:12px; padding:12px 14px; margin-top:12px; font-size:18px; }
.row.total span:first-child, .row.total > span:not(:last-child) { font-weight:700; }
/* cart page table: bounded product thumbnails */
#cart-box .table td a img { width:56px; height:56px; object-fit:contain; border-radius:10px; background:#f4f6f8; padding:4px; box-sizing:border-box; }
#cart-box .card { box-shadow:0 8px 28px rgba(15,35,60,.07); }
@media (max-width:760px) {
  .co-line-img { flex-basis:48px; width:48px; height:48px; }
  .row.total { font-size:17px; }
}

/* ============ hero v3: crossfade (no slide motion) ============ */
/* hero v3: crossfade instead of slide — no horizontal motion, gentle 1.1s blend */
.hero { position: relative; overflow: hidden; }
.hero-track { display: grid; }
.hero-slide {
  grid-area: 1 / 1;
  min-width: 0;
  height: clamp(260px, 34vw, 400px);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
  pointer-events: none;
}
.hero-slide:first-child { opacity: 1; } /* no-JS fallback: static first banner */
.hero-slide.on { opacity: 1; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

/* ============ product page: warm showcase ============
   Keep the image and purchase action visually connected instead of leaving
   the product canvas on a flat white page. The motif is CSS-only and subtle. */
body[data-page="product"] {
  background-color: #fffaf3;
  background-image:
    radial-gradient(circle at 14px 14px, rgba(247,148,29,.095) 0 2px, transparent 2.6px),
    radial-gradient(circle at 35px 31px, rgba(27,77,62,.055) 0 1.5px, transparent 2px),
    radial-gradient(ellipse at 8% 28%, rgba(247,148,29,.12), transparent 30%),
    radial-gradient(ellipse at 92% 63%, rgba(27,77,62,.07), transparent 34%);
  background-size: 48px 48px, 64px 64px, auto, auto;
  background-attachment: fixed;
}
/* shop / category pages and the homepage: the same warm motif as the product page, but much
   lighter (operator 2026-10-30: "very little and light") so product cards stay the focus. */
body[data-page="shop"],
body[data-page="index"] {
  background-color: #fffcf8;
  background-image:
    radial-gradient(circle at 14px 14px, rgba(247,148,29,.05) 0 2px, transparent 2.6px),
    radial-gradient(circle at 35px 31px, rgba(27,77,62,.03) 0 1.5px, transparent 2px),
    radial-gradient(ellipse at 8% 28%, rgba(247,148,29,.06), transparent 30%),
    radial-gradient(ellipse at 92% 63%, rgba(27,77,62,.035), transparent 34%);
  background-size: 48px 48px, 64px 64px, auto, auto;
  background-attachment: fixed;
}
body[data-page="product"] > .wrap > .breadcrumbs {
  margin-top: 10px;
  margin-bottom: 10px;
}
body[data-page="product"] > .wrap > .pd-heading {
  position: relative;
  padding: 10px 18px 12px;
  border-left: 4px solid var(--brand);
  border-radius: 0 14px 14px 0;
  background: rgba(255,255,255,.64);
  box-shadow: 0 8px 24px rgba(28,43,58,.04);
}
body[data-page="product"] > .wrap > .pd-heading h1 { margin-top: 4px !important; }
body[data-page="product"] #pd-main {
  position: relative;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(247,148,29,.18);
  border-radius: 24px;
  background: rgba(255,255,255,.46);
  box-shadow: 0 18px 48px rgba(28,43,58,.08);
}
body[data-page="product"] #pd-main > div:first-child {
  position: relative;
  padding: 10px 0 12px;
}
body[data-page="product"] #pd-main > div:first-child::before {
  content: '';
  position: absolute;
  inset: 0 0 0 0;
  z-index: 0;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 42%, rgba(247,148,29,.16), rgba(255,255,255,.84) 52%, rgba(255,255,255,.28) 78%);
}
body[data-page="product"] #pd-main > div:first-child > * { position: relative; z-index: 1; }
body[data-page="product"] #pd-facts {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 520px);
  margin: 14px 0 0 90px;
}
body[data-page="product"] .pd-fact {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(27,77,62,.12);
  border-radius: 10px;
  background: rgba(255,255,255,.8);
  color: var(--ink-2);
}
body[data-page="product"] .pd-fact-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-accessible);
  font-weight: 800;
}
body[data-page="product"] .pd-fact span:last-child { display: grid; min-width: 0; gap: 1px; }
body[data-page="product"] .pd-fact b { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
body[data-page="product"] .pd-fact strong { overflow-wrap: anywhere; color: var(--ink); font-size: 12px; line-height: 1.2; }
body[data-page="product"] #pd-main > div:last-child .price-block {
  border: 1px solid rgba(247,148,29,.18);
  background: #fff8ed;
}
body[data-page="product"] #pd-main > div:last-child #pd-price-ton { color: var(--brand-accessible); }
body[data-page="product"] #pd-main > div:last-child #pd-price { color: var(--ink); font-size: 21px !important; }
body[data-page="product"] #pd-main > div:last-child .pd-trust { background: #f4fbf6; border: 1px solid rgba(29,154,86,.16); }
@media (min-width: 761px) {
  body[data-page="product"] #pd-main > div:first-child #pd-facts {
    grid-column: 2 !important;
    grid-row: 3 !important;
    width: 100%;
    margin: 14px 0 0;
  }
}
@media (max-width: 760px) {
  body[data-page="product"] #pd-facts { width: 100%; margin: 12px 0 0; gap: 7px; }
  body[data-page="product"] .pd-fact { padding: 8px; }
  body[data-page="product"] .pd-fact-icon { flex-basis: 24px; width: 24px; height: 24px; }
}
body[data-page="product"] #pd-img {
  border: 1px solid rgba(247,148,29,.2) !important;
  box-shadow: 0 18px 38px rgba(28,43,58,.12), 0 0 0 10px rgba(255,255,255,.42);
}
@media (min-width: 761px) {
  body[data-page="product"] #pd-main > div:last-child {
    margin: 0 0 0 2px;
    padding: 18px 20px 20px;
    border-top: 4px solid var(--brand);
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(28,43,58,.11);
  }
  body[data-page="product"] #pd-main > div:last-child .info-band {
    background: #fff8ed;
    border-color: rgba(247,148,29,.25);
  }
  body[data-page="product"] .section:not(.alt) { padding-top: 26px; padding-bottom: 26px; }
  body[data-page="product"] .section.alt {
    background: rgba(255,255,255,.58);
    border-color: rgba(247,148,29,.14);
  }
}
@media (max-width: 760px) {
  body[data-page="product"] { background-attachment: scroll; background-size: 48px 48px, 64px 64px, auto, auto; }
  body[data-page="product"] > .wrap > .pd-heading { padding: 8px 12px 10px; }
  body[data-page="product"] #pd-main {
    margin-top: 12px;
    padding: 10px;
    border-radius: 18px;
  }
  body[data-page="product"] #pd-main > div:first-child { padding: 6px 0 8px; }
  body[data-page="product"] #pd-img { box-shadow: 0 12px 28px rgba(28,43,58,.1), 0 0 0 6px rgba(255,255,255,.42); }
  body[data-page="product"] #pd-main > div:last-child { border-top: 3px solid var(--brand); border-radius: 14px; padding: 14px 14px 16px; }
}