/* PelletBay visual refresh overlay — модерен look върху съществуващата структура.
   Това е append-вам СЛЕД store.css и override-ва избрани правила. */
/* ============ типография и база ============ */
/* fonts: self-hosted Inter via /assets/css/fonts.css (linked in <head> by brandHead) */
body { font-family: Inter, Roboto, "Segoe UI", system-ui, sans-serif; letter-spacing: -0.011em; }
h1, h2, h3 { letter-spacing: -0.022em; }

/* ============ хедър ============ */
.header { position: sticky; top: 0; z-index: 50; 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 h3 { font-size: 14.5px; font-weight: 700; line-height: 1.35; }
.card-body 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 .15s, transform .15s; font-size: 14.5px; }
.footer a:hover { color: #fff; transform: translateX(3px); }

/* ============ форми ============ */
.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 { 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; } }

/* visually hidden, still read by search engines + screen readers */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;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; 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 { 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); 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; }
