/* Omega 3: light, ordered shop for home and consumables. Hand-written, no framework. */

/* Golos Text от сървъра на магазина (не от Google: адресът на посетителя не отива при трети страни) */
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/golos-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/golos-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/golos-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #0b2a4a;       /* both blues from the new logo */
  --ink-2: #4b5b70;
  --line: #e2e7ee;
  --soft: #f4f6f9;
  --blue: #0b78c0;
  --blue-dark: #09609b;
  --white: #fff;
  --red: #b42318;
  --wrap: 1240px;
  --pad: 16px;
  --text: "Golos Text", system-ui, -apple-system, sans-serif;
}
@media (min-width: 900px) { :root { --pad: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body { margin: 0; background: var(--white); color: var(--navy); font: 400 16px/1.5 var(--text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 40; background: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 10px;
  background: var(--blue); color: var(--white); font: 600 16px/1 var(--text);
  text-decoration: none; cursor: pointer; transition: background-color .2s, transform .16s;
}
.btn:hover { background: var(--blue-dark); }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-line { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-line:hover { background: var(--soft); }
.link-btn { padding: 8px; border: 0; background: none; color: var(--ink-2); text-decoration: underline; cursor: pointer; }

/* ---------- header: one compact row, category menu under it */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.top-in {
  display: grid; grid-template-columns: auto auto 1fr auto auto; grid-template-areas: "menu brand . orders cart" "search search search search search";
  align-items: center; gap: 6px 2px; max-width: var(--wrap); margin: 0 auto; padding: 6px var(--pad) 10px calc(var(--pad) - 8px);
}
.menu-btn { grid-area: menu; }
.brand { grid-area: brand; margin-left: 4px; display: flex; align-items: flex-end; gap: 6px; }
.brand .brand-old { height: 19px; margin-bottom: -2px; }
.brand img { height: 30px; width: auto; }
.icon-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; background: none; cursor: pointer; }
.icon-btn:hover { background: var(--soft); }
.icon-btn svg { width: 24px; height: 24px; }
[data-open-orders] { grid-area: orders; }
.cart-btn { grid-area: cart; }
.badge { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--blue); color: var(--white); font: 700 11px/19px var(--text); text-align: center; }
.badge[hidden] { display: none; }
.top-phone { display: none; }

.search { grid-area: search; position: relative; }
.search input {
  width: 100%; height: 44px; padding: 0 46px 0 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--white); font-size: 16px; outline: none; -webkit-appearance: none; appearance: none;
}
.search input::placeholder { color: #6b7a8c; }
.search input:focus { border-color: var(--blue); }
.search input::-webkit-search-cancel-button { display: none; }
.search > button { position: absolute; right: 3px; top: 2px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 8px; background: none; cursor: pointer; }
.search > button svg { width: 21px; height: 21px; }

.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 31; padding: 6px; border-radius: 14px; background: var(--white);
  box-shadow: 0 18px 40px -14px rgba(15, 42, 74, .28), 0 0 0 1px var(--line); max-height: 70vh; overflow: auto; }
.suggest[hidden] { display: none; }
.sg { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; width: 100%; padding: 6px 8px; border: 0; border-radius: 10px; background: none; text-align: left; cursor: pointer; }
.sg:hover, .sg[aria-selected="true"] { background: var(--soft); }
.sg img { width: 48px; height: 48px; object-fit: contain; }
.sg span { font-size: 15px; line-height: 1.3; }
.sg small { display: block; color: var(--ink-2); font-size: 13px; }
.sg b { font-weight: 700; font-variant-numeric: tabular-nums; }
.sg-all { display: block; padding: 12px 10px 8px; color: var(--blue); font-weight: 600; text-decoration: none; }
.sg-none { padding: 12px 10px; color: var(--ink-2); font-size: 15px; }

.catnav { display: none; }

/* after scrolling down the header becomes one row; the search field hides behind an icon */
.search-btn { display: none; grid-area: sbtn; }
.compact .top-in { grid-template-columns: auto auto 1fr auto auto; grid-template-areas: "menu brand . sbtn cart" "search search search search search"; padding-top: 4px; padding-bottom: 4px; }
.compact [data-open-orders] { display: none; }
.compact .search-btn { display: grid; }
.compact .brand img { height: 26px; }
.compact .brand .brand-old { height: 17px; }
.compact:not(.search-open) .search { display: none; }
.compact.search-open .top-in { padding-bottom: 10px; }

@media (min-width: 900px) {
  html { scroll-padding-top: 130px; }
  .top-in { grid-template-columns: auto minmax(220px, 560px) 1fr auto auto; grid-template-areas: "brand search phone orders cart"; gap: 28px; padding: 12px var(--pad); }
  .menu-btn { display: none; }
  .brand { margin: 0; }
  .brand img { height: 38px; }
  .brand .brand-old { height: 24px; }
  .brand { gap: 8px; }
  .search input { height: 46px; background: var(--soft); border-color: transparent; }
  .search input:focus { background: var(--white); border-color: var(--blue); }
  .top-phone { grid-area: phone; justify-self: end; display: flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .top-phone svg { width: 19px; height: 19px; color: var(--blue); }
  [data-open-orders] { margin-right: -20px; }

  .catnav { display: block; border-top: 1px solid var(--line); }
  .catnav-in { display: flex; gap: 2px; max-width: var(--wrap); margin: 0 auto; padding: 0 calc(var(--pad) - 12px); }
  .dd { position: relative; }
  .catnav-in > li > a { display: flex; align-items: center; gap: 4px; padding: 11px 12px; color: var(--navy); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
  .catnav-in > li > a svg { width: 15px; height: 15px; color: var(--ink-2); transition: transform .2s; }
  .catnav-in > li > a:hover, .catnav-in > li > a[aria-current="page"] { color: var(--blue); }
  .catnav-in > li > a[aria-current="page"] { border-color: var(--blue); }
  .catnav-end { margin-left: auto; }
  .catnav-end a { color: var(--ink-2) !important; }
  .dd-panel {
    position: absolute; top: 100%; left: 0; z-index: 32; min-width: 270px; padding: 8px; border-radius: 12px; background: var(--white);
    box-shadow: 0 18px 40px -14px rgba(15, 42, 74, .28), 0 0 0 1px var(--line);
    visibility: hidden; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s;
  }
  .dd:nth-last-child(-n+3) .dd-panel { left: auto; right: 0; }
  .dd:hover .dd-panel, .dd:focus-within .dd-panel { visibility: visible; opacity: 1; transform: none; }
  .dd:hover > a svg, .dd:focus-within > a svg { transform: rotate(180deg); }
  .dd-panel a { display: block; padding: 8px 10px; border-radius: 8px; font-size: 15px; text-decoration: none; }
  .dd-panel a:hover { background: var(--soft); }
  .dd-all { font-weight: 600; }
  .dd-all span { color: var(--ink-2); font-weight: 400; }
  .dd-panel ul { margin-top: 2px; padding-top: 4px; border-top: 1px solid var(--line); }
  .dd-panel ul a { color: var(--ink-2); }
}
@media (min-width: 900px) {
  .compact .top-in { grid-template-columns: auto minmax(220px, 560px) 1fr auto auto; grid-template-areas: "brand search phone orders cart"; gap: 28px; padding-top: 8px; padding-bottom: 8px; }
  .compact [data-open-orders] { display: grid; }
  .compact .search-btn { display: none; }
  .compact:not(.search-open) .search { display: block; }
  .compact .brand img { height: 32px; }
  .compact .brand .brand-old { height: 21px; }
  .compact .catnav { display: none; }
}
@media (min-width: 900px) and (max-width: 1099px) { .top-phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* ---------- hero banner: low, four products standing on one surface */
.hero {
  position: relative; isolation: isolate; display: grid; gap: 10px; max-width: calc(var(--wrap) - var(--pad) * 2); margin: 10px var(--pad) 0; padding: 18px 18px 0;
  border-radius: 20px; background: linear-gradient(135deg, #e6f0f9 0%, #f3f7fb 70%); overflow: hidden;
}
@media (min-width: 1304px) { .hero { margin-inline: auto; } }
h1 { font: 700 clamp(26px, 3.6vw, 46px)/1.08 var(--text); letter-spacing: -.025em; max-width: 14ch; }
.lead { margin: 8px 0 14px; max-width: 34ch; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.hero .btn { min-height: 44px; }
@media (max-width: 899px) {
  .hero-text { text-align: center; }
  .hero h1, .hero .lead { margin-inline: auto; }
}
.hero-pic { --hh: 100px; position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: center; gap: 3%; height: calc(var(--hh) + 14px); padding-bottom: 12px; }
.hp { position: relative; height: calc(var(--hh) * var(--h)); }
.hp img { height: 100%; width: auto; max-width: none; filter: drop-shadow(0 10px 14px rgba(15, 42, 74, .10)); }
/* soft contact shadow on the banner itself, no separate surface */
.hp::after { content: ""; position: absolute; left: -12%; right: -12%; bottom: -9px; height: 20px; border-radius: 50%; background: radial-gradient(closest-side, rgba(15, 42, 74, .2), rgba(15, 42, 74, .06) 60%, transparent); z-index: -1; }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: 32px; align-items: center; height: 340px; padding: 0 56px; }
  .lead { font-size: 18px; margin-bottom: 22px; }
  .hero .btn { min-height: 48px; }
  /* the four products get wider than their column on mid-size screens: their height follows the screen width */
  .hero-pic { --hh: clamp(120px, calc((min(100vw, 1240px) - 200px) / 5.6), 236px); align-self: end; height: 100%; padding-bottom: 34px; gap: 4%; }
}

/* ---------- sections */
.sec { max-width: var(--wrap); margin: 0 auto; padding: 44px var(--pad) 0; }
.sec > h2, .list h1 { font: 700 24px/1.15 var(--text); letter-spacing: -.02em; margin-bottom: 16px; }
@media (min-width: 900px) { .sec { padding-top: 64px; } .sec > h2 { font-size: 30px; margin-bottom: 22px; } }

/* categories: compact, one picture, short name, arrow */
.sec-cats { padding-top: 10px; }
.cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cat { display: block; height: 100%; padding: 8px 8px 10px; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s; }
.cat:hover { border-color: var(--blue); }
.cat-pic { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; padding: 14%; border-radius: 10px; background: var(--soft); }
.cat-pic img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.cat:hover img { transform: scale(1.05); }
.cat-t { display: flex; align-items: flex-start; justify-content: space-between; gap: 4px; margin-top: 8px; font: 600 14px/1.25 var(--text); }
.cat-t svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--blue); }
@media (max-width: 599px) {
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat { display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; }
  .cat-pic { flex: none; width: 52px; padding: 7px; }
  .cat-t { flex: 1; min-width: 0; margin: 0; font-size: 14px; align-items: center; }
  .cat-t svg { display: none; }   /* the whole tile is the link; the arrow left too little room for „Консумативи“ */
}
@media (max-width: 379px) {
  .cat { gap: 8px; padding-right: 6px; }
  .cat-pic { width: 46px; padding: 6px; }
  .cat-t { font-size: 13.5px; }
}
@media (max-width: 349px) {
  .cat { gap: 6px; padding: 5px 4px 5px 5px; }
  .cat-pic { width: 38px; padding: 5px; }
  .cat-t { font-size: 12.5px; }
}
@media (min-width: 900px) {
  .sec-cats { padding-top: 18px; }
  .cats { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
  .cat { padding: 10px 10px 14px; }
  .cat-t { font-size: 16px; margin-top: 12px; padding: 0 4px; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .cat-t { font-size: 15px; padding: 0 2px; }
  .cat-t svg { display: none; }
}

/* product grid and card */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--white); overflow: hidden; }
.card[hidden] { display: none; }
.card-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.card-pic { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; padding: 9%; background: var(--soft); }
.card-pic img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.card-open:hover img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 12px; }
.card-name { font: 500 15px/1.3 var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.card-price { margin-top: 6px; font: 700 20px/1.2 var(--text); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.card-price small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; letter-spacing: 0; color: var(--ink-2); }
.add { margin-top: auto; padding-top: 12px; }
.add-btn { width: 100%; height: 42px; padding: 0 6px; border: 0; border-radius: 10px; background: var(--blue); color: var(--white); font: 600 14px var(--text); white-space: nowrap; cursor: pointer; transition: background-color .2s, transform .16s; }
.add-btn:hover { background: var(--blue-dark); }
.add-btn:active { transform: scale(.97); }
.step { display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; height: 42px; border-radius: 10px; background: var(--navy); color: var(--white); }
.step button { height: 42px; padding: 0; border: 0; background: none; color: inherit; font-size: 20px; cursor: pointer; }
.step output { text-align: center; font-size: 14px; white-space: nowrap; }
.step output b { font-size: 16px; font-variant-numeric: tabular-nums; }
@media (max-width: 699px) { .step { grid-template-columns: 40px 1fr 40px; } .step output span { display: none; } }
@media (min-width: 900px) { .add-btn { font-size: 15px; } .card-body { padding: 14px 16px 16px; } .card-name { font-size: 16px; } .card-price { font-size: 22px; } .card-price small { font-size: 14px; } }
@media (max-width: 699px) {
  .card-pic { aspect-ratio: 5 / 4; padding: 7% 10%; }
  .card-body { padding: 10px 10px 10px; }
  .card-name { font-size: 14.5px; }
  .card-price { font-size: 19px; }
  .add { padding-top: 10px; }
  .add-btn, .step, .step button { height: 40px; }
}
@media (max-width: 379px) { .add-btn { padding: 0 2px; font-size: 13px; letter-spacing: -.01em; } }

/* shop by need: real rooms, a change of pace after the catalogue */
.needs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.need { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--soft); text-decoration: none; }
.need img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.need:hover img { transform: scale(1.04); }
.need-t { position: absolute; left: 10px; bottom: 10px; display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; background: var(--white); font: 600 15px/1.2 var(--text); }
.need-t svg { width: 16px; height: 16px; color: var(--blue); }
@media (min-width: 900px) {
  .needs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .need-t { left: 14px; bottom: 14px; padding: 10px 14px; font-size: 17px; }
}

/* contact */
.contact { display: grid; gap: 24px; padding-bottom: 72px; }
.addr { font-size: 18px; color: var(--ink-2); }
.phone { margin-top: 18px; }
.phone a { font: 700 clamp(30px, 3.6vw, 40px)/1.1 var(--text); text-decoration: none; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mail { margin-top: 8px; }
.mail a { color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.map { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--soft); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.5); }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.3fr; align-items: center; gap: 48px; padding-bottom: 96px; } .map { aspect-ratio: 16 / 10; } }

/* footer */
.foot { background: var(--soft); padding: 36px var(--pad) 28px; font-size: 14px; color: var(--ink-2); }
.foot-in { display: grid; gap: 24px; max-width: var(--wrap); margin: 0 auto; }
.foot img { height: 34px; width: auto; }
.foot-brand { margin-bottom: 14px; }
.foot .brand-old { height: 21px; }
.foot-brand { display: flex; align-items: flex-end; gap: 6px; }
.foot a { color: inherit; text-decoration: none; }
.foot a:hover { color: var(--navy); text-decoration: underline; }
.foot ul { display: grid; gap: 6px; }
.copy { max-width: var(--wrap); margin: 28px auto 0; font-size: 13px; }
.has-cart .foot { padding-bottom: 104px; }
@media (min-width: 900px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot ul { grid-template-columns: 1fr 1fr; } .has-cart .foot { padding-bottom: 28px; } }

/* ---------- listing pages */
.list { max-width: var(--wrap); margin: 0 auto; padding: 18px var(--pad) 72px; }
.crumbs { display: flex; gap: 8px; margin-bottom: 14px; font-size: 13px; color: var(--ink-2); }
.crumbs a { color: inherit; }
.list h1 { margin-bottom: 4px; max-width: none; }
.list-line { color: var(--ink-2); }
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0 22px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); max-width: calc(100% + var(--pad) * 2); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.sort select { height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--navy); font-size: 14px; }
.shown { margin-top: 36px; text-align: center; font-size: 14px; color: var(--ink-2); }
.none { display: grid; justify-items: start; gap: 16px; margin-top: 12px; max-width: 40ch; }
.none[hidden] { display: none; }
@media (min-width: 900px) { .list { padding-top: 26px; } .list h1 { font-size: 38px; } .chips { margin: 0; padding: 0; max-width: 100%; } }

/* ---------- business customers and partners */
.b2b { display: grid; gap: 18px; padding: 24px; border-radius: 18px; background: var(--soft); }
.b2b h2 { margin-bottom: 6px; font-size: 24px; }
.b2b p { color: var(--ink-2); max-width: 60ch; }
.b2b .btn { justify-self: start; }
.partners-grid { display: grid; gap: 20px; margin-top: 24px; }
.partner { padding: 22px 18px; border: 1px solid var(--line); border-radius: 18px; }
.partner h2 { margin-bottom: 6px; font-size: 22px; }
.partner > p { margin-bottom: 18px; color: var(--ink-2); }
.lead-form label { display: grid; gap: 6px; margin-bottom: 12px; font-size: 14px; font-weight: 500; }
.lead-form input, .lead-form textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); font-size: 16px; }
.lead-form input:focus, .lead-form textarea:focus { border-color: var(--blue); outline: none; }
.lead-form [aria-invalid="true"] { border-color: var(--red); }
.lead-form .btn { width: 100%; }
.lead-done { margin-top: 12px; color: var(--ink-2); font-size: 15px; }
.lead-done[hidden] { display: none; }
.partner-one { max-width: 640px; margin-top: 24px; }
.cert-maker { margin-top: 28px; }
.cert-maker h2 { font-size: 20px; margin-bottom: 10px; }
.cert-list { display: grid; gap: 10px; }
.cert-list li { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.cert-file { font-weight: 600; }
.cert-file span { margin-left: 6px; font-size: 12px; color: var(--ink-2); }
.cert-list p { margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.dp-cert { margin-top: 14px; display: grid; gap: 6px; font-weight: 600; }
.dp-cert[hidden] { display: none; }
.partners .b2b { margin-top: 24px; }
@media (min-width: 900px) {
  .b2b { grid-template-columns: 1fr auto; align-items: center; padding: 32px 36px; }
  .partners-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .partner { padding: 28px; }
  .lead-form .btn { width: auto; }
}

.nf-main { display: grid; justify-items: start; gap: 18px; max-width: var(--wrap); margin: 0 auto; padding: 72px var(--pad) 120px; }

/* ---------- cart bar (phones): the cart stays one tap away */
.cartbar { position: fixed; z-index: 29; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); animation: up .4s cubic-bezier(.2, .8, .2, 1); }
.cartbar[hidden] { display: none; }
.cartbar-in { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 62px; padding: 0 10px 0 18px; border: 0; border-radius: 14px; background: var(--navy); color: var(--white); cursor: pointer; text-align: left; box-shadow: 0 14px 30px -12px rgba(15, 42, 74, .5); }
.cb-n { font-size: 14px; opacity: .8; }
.cb-sum { margin-left: auto; font: 700 19px var(--text); font-variant-numeric: tabular-nums; }
.cartbar .btn { pointer-events: none; }
@keyframes up { from { transform: translateY(130%); } }
@media (min-width: 900px) { .cartbar { display: none; } }
.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.12); } }

/* ---------- sheets: bottom sheet on phones, panel on desktop */
.sheet {
  width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; padding: 22px 20px calc(24px + env(safe-area-inset-bottom));
  border: 0; border-radius: 18px 18px 0 0; background: var(--white); color: var(--navy); overflow: auto;
}
.sheet:focus { outline: none; }
.sheet[open] { animation: sheet-in .36s cubic-bezier(.2, .8, .2, 1); }
.sheet::backdrop { background: rgba(15, 30, 50, .4); }
@keyframes sheet-in { from { transform: translateY(40%); opacity: 0; } }
@media (min-width: 700px) {
  .sheet { width: 460px; margin: auto; border-radius: 18px; padding: 26px 28px 28px; }
  @keyframes sheet-in { from { transform: translateY(20px); opacity: 0; } }
}
.x-wrap { position: absolute; top: 10px; right: 10px; z-index: 1; }
.x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--soft); font-size: 22px; line-height: 1; cursor: pointer; }
.sheet h2 { font: 700 22px/1.2 var(--text); letter-spacing: -.01em; padding-right: 44px; }

.menu-list { margin-top: 10px; }
.menu-list summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; cursor: pointer; list-style: none; }
.menu-list summary::-webkit-details-marker { display: none; }
.menu-list summary span { margin-left: auto; font-weight: 400; font-size: 14px; color: var(--ink-2); }
/* chevron: the category opens into its subcategories */
.menu-list summary::after { content: ""; width: 8px; height: 8px; margin: -4px 4px 0 14px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .2s; }
.menu-list details[open] summary::after { margin-top: 4px; transform: rotate(-135deg); }
.menu-label { margin: 22px 0 2px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.menu-more a { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; text-decoration: none; color: var(--navy); }
.menu-more a::after { content: ""; width: 8px; height: 8px; margin-right: 4px; border-right: 2px solid var(--ink-2); border-top: 2px solid var(--ink-2); transform: rotate(45deg); }
.menu-list ul { padding: 6px 0 10px 12px; border-bottom: 1px solid var(--line); }
.menu-list ul a { display: block; padding: 8px 0; color: var(--ink-2); text-decoration: none; }
.menu-list ul li:first-child a { color: var(--blue); font-weight: 600; }
.menu-phone { width: 100%; margin-top: 18px; }

.dp-pic { display: flex; align-items: center; justify-content: center; height: 280px; margin: -22px -20px 18px; padding: 28px; background: var(--soft); }
.dp-pic img { width: 100%; height: 100%; object-fit: contain; }
.dp-similar { margin: -10px 0 12px; font-size: 13px; color: var(--ink-2); }
.dp-cat { margin-bottom: 4px; font-size: 14px; color: var(--ink-2); }
.dp-unit { margin-top: 4px; color: var(--ink-2); }
.dp-price { margin-top: 12px; font: 700 30px var(--text); font-variant-numeric: tabular-nums; }
.dp-buy { display: flex; gap: 10px; margin-top: 18px; }
.dp-buy .btn { flex: 1; }
.dp-desc { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); line-height: 1.55; }
.dp-desc[hidden] { display: none; }
.dp-spec { margin-top: 12px; padding-left: 18px; list-style: disc; color: var(--ink-2); font-size: 15px; }
.dp-spec li { margin: 2px 0; }
.dp-desc details { margin-top: 10px; border-top: 1px solid var(--line); }
.dp-desc summary { display: flex; align-items: center; justify-content: space-between; min-height: 46px; font-weight: 600; cursor: pointer; list-style: none; }
.dp-desc summary::-webkit-details-marker { display: none; }
.dp-desc summary::after { content: "+"; font-size: 20px; color: var(--ink-2); }
.dp-desc details[open] summary::after { content: "−"; }
.dp-desc details p { padding-bottom: 12px; color: var(--ink-2); font-size: 15px; }
@media (min-width: 700px) { .dp-pic { margin: -26px -28px 20px; border-radius: 18px 18px 0 0; } }

.qty { display: inline-flex; align-items: center; border-radius: 10px; box-shadow: inset 0 0 0 1.5px var(--line); }
.qty button { width: 44px; height: 48px; border: 0; background: none; font-size: 20px; cursor: pointer; }
.qty output { min-width: 24px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

.dc-list { margin-top: 14px; }
.dc-list li { display: grid; grid-template-columns: 56px 1fr auto; grid-template-areas: "pic name price" "pic qty qty"; gap: 4px 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.dc-list img { grid-area: pic; width: 56px; height: 56px; object-fit: contain; }
.dc-list .n { grid-area: name; font-size: 15px; line-height: 1.3; }
.dc-list .n small { display: block; color: var(--ink-2); font-size: 13px; }
.dc-list .pr { grid-area: price; font-weight: 700; font-variant-numeric: tabular-nums; }
.dc-list .qty { grid-area: qty; justify-self: start; }
.dc-list .qty button { width: 38px; height: 36px; }
.dc-sum { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-2); }
.dc-sum b { font: 700 24px var(--text); color: var(--navy); font-variant-numeric: tabular-nums; }
.dc-actions { display: grid; gap: 10px; margin-top: 18px; }
.dc-view[hidden] { display: none; }
.dc-note { margin: 8px 0 14px; color: var(--ink-2); font-size: 15px; }
.dc-form label { display: grid; gap: 6px; margin-bottom: 12px; font-size: 14px; font-weight: 500; }
.dc-form input, .dc-form textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); font-size: 16px; }
.dc-form input:focus, .dc-form textarea:focus { border-color: var(--blue); outline: none; }
.dc-form [aria-invalid="true"] { border-color: var(--red); }
.dc-err { margin-bottom: 10px; color: var(--red); font-size: 14px; }
.dc-err[hidden] { display: none; }

.do-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.do-list li:first-child { margin-top: 12px; }
.do-head { display: flex; justify-content: space-between; font-weight: 600; }
.do-items { margin: 4px 0 10px; font-size: 14px; color: var(--ink-2); }
.do-empty { margin-top: 10px; color: var(--ink-2); }
.do-empty[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- products without a photo yet: a quiet box outline in the picture area */
.ph { display: grid; place-items: center; width: 100%; height: 100%; color: #c5ced9; }
.ph svg { width: 34%; height: 34%; stroke-width: 1.4; }
.card-pic .ph { aspect-ratio: 1; }
.sg .ph, .dc-list .ph { width: 48px; height: 48px; border-radius: 8px; background: var(--soft); }
.dc-list .ph { grid-area: pic; width: 56px; height: 56px; }
.sg .ph svg, .dc-list .ph svg { width: 50%; height: 50%; }
.dp-pic .ph svg { width: 22%; height: 22%; }

/* ---------- "Покажи още" under long listings */
.more-wrap { display: flex; justify-content: center; margin-top: 28px; }
.more-wrap .btn { min-width: 220px; }
.more-wrap [hidden] { display: none; }

/* ---------- WordPress theme additions (2026-10-21) */
.card-name a { color: inherit; text-decoration: none; }
.card-name a:hover { text-decoration: underline; }
.dp-link { margin-top: 14px; font-size: 14px; }
.dp-link a { color: var(--blue); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dc-err:not([hidden]) { margin: 10px 0 0; }

/* product page */
.pp { display: grid; gap: 24px; margin-top: 8px; }
.pp-pic { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; border-radius: 18px; background: var(--soft); }
.pp-pic img { width: 100%; max-width: 520px; height: auto; max-height: 460px; object-fit: contain; }
.pp-pic .ph svg { width: 30%; height: 30%; }
.pp-info h1 { font-size: 26px; line-height: 1.2; }
.pp-add { margin-top: 18px; max-width: 360px; }
.pp-sku { margin-top: 18px; font-size: 13px; color: var(--ink-2); }
@media (min-width: 900px) { .pp { grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; } .pp-info h1 { font-size: 32px; } }

/* text pages (terms, privacy) and WooCommerce pages (checkout, account) */
.prose { max-width: 72ch; margin-top: 18px; line-height: 1.65; }
.prose h2 { margin: 28px 0 10px; font-size: 22px; }
.prose h3 { margin: 22px 0 8px; font-size: 18px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; list-style: revert; }
.prose a { color: var(--blue); }
.cat-text { margin-top: 48px; color: var(--ink-2); }
.woo-page { margin-top: 18px; }
.woo-page input.input-text, .woo-page select, .woo-page textarea { min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); font-size: 16px; }
.woo-page .button, .woo-page button.button { min-height: 48px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--blue); color: var(--white); font-weight: 600; }
/* the browser cart bar is not needed on WooCommerce's own cart and checkout */
.woocommerce-checkout .cartbar, .woocommerce-cart .cartbar { display: none !important; }
.woocommerce-checkout .foot, .woocommerce-cart .foot { padding-bottom: 28px; }

/* Google map behind a button (no Google cookies before the click) */
.map-off { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; background: var(--soft); text-align: center; }
.map-off p { font-weight: 600; }
.map-off small { max-width: 34ch; font-size: 13px; color: var(--ink-2); }

/* Законови: цена за л/кг, предупреждения за опасност, производител, законова гаранция, бисквитки */
.card-q { margin-top: 2px; font-size: 12.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.dp-q { margin-top: 2px; font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.dp-q[hidden], .dp-haz[hidden], .dp-maker[hidden] { display: none; }
.haz { margin-top: 18px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 14px; }
.haz-pics { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.haz-pics img { width: 56px; height: 56px; }
.haz-sig { font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: .02em; }
.haz ul { margin-top: 6px; display: grid; gap: 4px; }
.haz p + p { margin-top: 6px; }
.dp-maker { margin-top: 14px; font-size: 13.5px; color: var(--ink-2); }
.dp-g { margin-top: 14px; }
.g-link, .link-btn { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.g-link { font-size: 14px; color: var(--blue-dark); }
.link-btn { text-align: left; }
.foot .link-btn:hover { color: var(--navy); }
.sheet-g { max-width: 640px; }
.sheet-g img { width: 100%; height: auto; margin-top: 8px; border: 1px solid var(--line); }
.g-src { margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.g-checkout { display: flex; gap: 14px; align-items: center; margin: 18px 0; font-size: 14px; }
.g-thumb { flex: none; width: 76px; padding: 0; border: 1px solid var(--line); background: var(--white); cursor: zoom-in; }
.g-thumb img { width: 100%; height: auto; }
.consent { position: fixed; z-index: 35; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); max-width: 560px; margin: 0 auto; padding: 16px; border-radius: 14px; background: var(--white); box-shadow: 0 18px 40px -14px rgba(15, 42, 74, .45), 0 0 0 1px var(--line); font-size: 14px; }
.consent[hidden] { display: none; }
.consent a { text-decoration: underline; }
.consent-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.consent-btns .btn { flex: 1 1 160px; }
@media (min-width: 900px) { .consent { left: auto; right: 24px; bottom: 24px; } }
/* Поръчка (класическа WooCommerce): цветовете на магазина вместо лилавото по подразбиране */
.woocommerce-checkout #payment { background: var(--soft); border-radius: 12px; }
.woocommerce-checkout #payment div.payment_box { background: var(--white); color: var(--navy); }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #place_order { width: 100%; min-height: 54px; border-radius: 12px; background: var(--blue); color: var(--white); font-size: 17px; }
.woocommerce-checkout #place_order:hover { background: var(--blue-dark); }
.foot .link-btn { text-decoration: none; }
.foot .link-btn:hover { text-decoration: underline; }
