/* New site header, menus, search, favourites and footer (header and footer redesign, 2026-11-16/17).
   Loads after fable.css, shop.css, product.css and wp.css, and only when the switch jb_hf_on() is on (inc/site-nav.php).
   Markup: parts/site-header.php, site-menu.php, site-search.php, site-footer.php. Behaviour: assets/js/site-hf.js.
   Rules the rest of the site relies on, kept here:
   - the sticky row is 58 px high on phones and 72 px from 1100 px (shop, home and guide pages pin things under it);
   - no overflow on any parent of a sticky box;
   - everything in the sticky row sits on WHOLE pixels: even picture sizes inside even boxes, side room rounded to whole pixels.
     A 25 px icon in a 44 px button sat on a half pixel and the icons twitched up and down while the page scrolled (owner 17.11);
   - every width comes from the element or the wrap, so it holds from 320 px to very wide screens. */

:root{--header-h:58px}
@media(min-width:1100px){:root{--header-h:72px}}
/* while a layer is open the page behind must not scroll. body gets overflow:visible at the same time: with only html locked,
   the theme's body{overflow-x:hidden} turns body into its own scroll box and the sticky header leaves the screen. */
html{scrollbar-gutter:stable}
html.hf-lock{overflow:hidden}
html.hf-lock body{overflow:visible}
.hx mark,.sx mark{background:none;color:inherit;box-shadow:inset 0 -.5em 0 var(--honey)}

/* the strip above the row: 15 px letters at 1.5 made it 38.5 px high, which put the row and the whole page below on a half pixel */
.hf-new .strip{line-height:22px}

/* ================= header row ================= */
.hx{box-shadow:0 2px 0 rgba(58,30,5,.08)}
.hx__in{display:flex;align-items:center;height:58px}
.hx-logo{display:flex;align-items:center;flex:none;min-height:44px;margin-right:auto}
.hx-logo img{display:block;height:20px;width:auto}   /* even heights in steps, not a fluid one: (58 - height) / 2 must be a whole pixel */
@media(min-width:380px){.hx-logo img{height:22px}}
@media(min-width:420px){.hx-logo img{height:24px}}
.hx-navwrap{display:none}
.hx-ic{position:relative;display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:14px;background:none;color:var(--ink);text-decoration:none;cursor:pointer}
.hx-ic svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.hx-ic:hover{background:var(--honey)}
.hx-ic.has .heart{fill:var(--red);stroke:var(--red)}
.hx-n{position:absolute;top:1px;right:0;min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:var(--ink);color:var(--cream);font:700 12px/19px var(--body);font-style:normal;text-align:center}
.hx-n[data-n="0"]{display:none}
/* basket button: our own trolley with a red number (owner 17.11); the number is filled in by the script and hidden while the basket is empty */
.hx-ic--cart .hx-n{background:var(--red);color:#fff}
.hx .chev,.mx .chev,.fx .chev{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.hx .is-sale,.mx .is-sale{color:var(--red);font-weight:700}
/* narrow phones: four icons next to the name, so the row gets tighter sides and 40 px icons, and the name may shrink a little before anything is pushed out */
.hx-logo{min-width:0;flex-shrink:1}
.hx-logo img{max-width:100%;object-fit:contain;object-position:left center}
@media(max-width:399px){.hx__in{padding-inline:14px}.hx-ic{width:40px}}
@media(max-width:359px){.hx-logo img{height:18px}}

@media(min-width:1100px){
  .hx__in{height:72px;gap:4px}
  .hx-logo{margin-right:10px}
  .hx-logo img{height:30px}
  .hx-burger{display:none}
  .hx-navwrap{display:block;margin-right:auto;min-width:0}
  .hx-nav{display:flex;align-items:center;gap:0}
  .hx-nav>li{position:relative}
  .hx-nav>li.is-mega{position:static}
  .hx-l{display:inline-flex;align-items:center;gap:6px;height:44px;padding:0 6px;border:0;border-radius:12px;background:none;color:var(--ink);font:500 16px/1 var(--body);text-decoration:none;white-space:nowrap;cursor:pointer}
  .hx-l:hover,.hx-l[aria-expanded="true"]{background:var(--honey)}
  /* "you are here": a straight line under the word itself. Ink, not honey: honey on cream is 1.5:1, the mark needs 3:1 (modern-web review 17.11).
     Not an inset shadow: on a link with round corners it bends up at both ends (owner 17.11). */
  .hx-l[aria-current="page"]{text-decoration:underline;text-decoration-color:var(--ink);text-decoration-thickness:3px;text-underline-offset:9px;text-decoration-skip-ink:none}
  .hx-l .chev{transition:transform .2s}
  .hx-l[aria-expanded="true"] .chev{transform:rotate(180deg)}
  .hx-l--shop{font-weight:700}
  .hx-l--xmas{color:var(--red);font-weight:700}
  .hx-l--dots{padding-inline:8px}
  .hx-l--dots .dots{width:22px;height:22px;fill:currentColor}
  /* Header width on computers (owner 17.11, option W3): the row and the big menu take 90 % of the screen, never more than 1560 px
     and never less than the page content below (1160 px). Done with side room, not with a centred fixed width, and rounded to
     whole pixels, so nothing in the row lands on a half pixel at odd window widths. First line: browsers without round(). */
  .hx .wrap{max-width:none;padding-inline:min(max(var(--pad),calc(50% - 620px + var(--pad))),max(5%,calc(50% - 780px)))}
  .hx .wrap{padding-inline:round(up,min(max(var(--pad),calc(50% - 620px + var(--pad))),max(5%,calc(50% - 780px))),1px)}
}
@media(min-width:1400px){
  .hx-l{padding-inline:11px}
  .hx-logo{margin-right:26px}
}
/* the row holds seven words, three dots and three icons: on narrower computers the letters get smaller so nothing is pushed out */
@media(min-width:1100px) and (max-width:1279px){
  .hx-logo img{height:26px}
  .hx-l{padding:0 5px;font-size:14px}   /* 14, not 14.5: with 14.5 the letters sat a quarter pixel off (whole-pixel rule above) */
}
@media(min-width:1100px) and (max-width:1179px){
  .hx-l{padding:0 4px;font-size:14px}
  .hx-l--dots{padding-inline:5px}
}

/* small dropdown behind the three dots */
.hx .dd{position:absolute;z-index:5;top:calc(100% + 6px);right:0;min-width:240px;padding:8px;border-radius:16px;background:#fff;box-shadow:0 0 0 2px var(--ink),0 6px 0 var(--ink)}
.hx .dd a{display:block;padding:10px 12px;border-radius:10px;font-weight:500;font-size:16px;text-decoration:none;white-space:nowrap}
.hx .dd a:hover,.hx .dd a[aria-current="page"]{background:var(--honey)}

/* shared: picture + name */
.hx .cx,.sx .cx{display:flex;align-items:center;gap:14px;padding:8px;border-radius:14px;text-decoration:none}
.hx .cx:hover,.sx .cx:hover{background:var(--honey)}
.hx .cx b,.sx .cx b{display:block;font:700 18px/1.2 var(--display)}
.hx .cx small{display:block;font-size:14px;line-height:1.3;opacity:.8}
.cmc{position:relative;flex:none;display:grid;place-items:center;width:64px;height:64px;border-radius:18px;overflow:hidden;background:#fff;box-shadow:inset 0 0 0 2px rgba(58,30,5,.08)}
.cmc img{max-width:66%;max-height:80%;width:auto;height:auto;object-fit:contain}
/* loose products (bee bread, propolis, pollen) are shown as a close-up inside one honeycomb cell */
.cmc img.is-tex,.cm__p img.is-tex{aspect-ratio:1/1.12;object-fit:cover;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}
.cmc img.is-tex{width:62%;max-width:none;max-height:none}
.hx .chips,.sx .chips{display:flex;flex-wrap:wrap;gap:8px}
.hx .chips a,.sx .chips button{display:inline-flex;align-items:center;min-height:40px;padding:0 15px;border:0;border-radius:999px;background:#fff;box-shadow:inset 0 0 0 2px var(--ink);font:700 15px/1 var(--body);color:var(--ink);text-decoration:none;white-space:nowrap;cursor:pointer}
.hx .chips a:hover,.sx .chips button:hover{background:var(--honey)}
.mg__h,.mx__h,.sr__h,.fx-h{font:700 13px/1.2 var(--body);letter-spacing:.08em;text-transform:uppercase;opacity:.72}
.hx .salemark,.mx .salemark{display:grid;place-items:center;width:46%;aspect-ratio:1;border-radius:50%;background:var(--red);color:#fff;font:700 clamp(22px,17cqi,34px)/1 var(--display);font-style:normal;rotate:-8deg}

/* the big "Veikals" menu */
.mg{position:absolute;z-index:4;left:0;right:0;top:100%;background:var(--cream);border-top:2px solid rgba(58,30,5,.08);box-shadow:0 8px 0 rgba(58,30,5,.16);animation:hf-drop .18s ease-out;
  max-height:calc(100vh - 110px);max-height:calc(100dvh - 110px);overflow:hidden auto;overscroll-behavior:contain}   /* a low window (under about 580 px): the menu scrolls inside instead of losing its last row */
@keyframes hf-drop{from{opacity:0;transform:translateY(-6px)}}
.mg__in{display:grid;grid-template-columns:minmax(0,1.95fr) minmax(0,1fr);gap:40px;padding-block:26px 34px;align-items:stretch}
.mg__main,.mg__side{display:flex;flex-direction:column}
.mg__h{margin:0 8px 10px}
.mg__cats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px 8px}
.mg__side .mg__h{margin-top:22px}
.mg__side .chips{padding:0 8px}
.mg__feat{display:grid;grid-template-columns:44% 1fr;align-items:center;gap:14px;padding:16px;border-radius:20px;background:var(--honey) var(--combs);text-decoration:none}
/* the picture is a cut-out of the best-selling gift set and sits straight on the honey yellow: no white box behind it (owner 17.11) */
.mg__feat img{width:100%;height:auto;filter:drop-shadow(0 5px 0 rgba(58,30,5,.18))}
.mg__feat b{display:block;font:700 24px/1.12 var(--display)}
.mg__feat .btn{min-height:42px;margin-top:12px;padding:0 16px;font-size:16px;font-style:normal}
/* the card that shows the approved gift sets in turn (owner 17.11): slides lie on top of each other, one in view; without the script the first one stays */
.mg__feat--rot{display:block;padding:14px 16px 16px}
.mgr{position:relative;height:118px}
.mgr__i{position:absolute;inset:0;display:grid;grid-template-columns:40% 1fr;align-items:center;gap:14px;color:var(--ink);text-decoration:none;opacity:0;visibility:hidden;transition:opacity .35s,visibility .35s}
.mgr__i.on{opacity:1;visibility:visible}
.mgr__i img{width:100%;height:112px;object-fit:contain}
.mgr__i small{display:block;font:700 12px/1.2 var(--body);letter-spacing:.06em;text-transform:uppercase}
.mgr__i b{display:block;margin-top:4px;font:700 21px/1.1 var(--display);text-wrap:balance}
.mgr__i i{display:block;margin-top:2px;font:700 18px/1.2 var(--display);font-style:normal}
.mgr__i:hover b{text-decoration:underline;text-underline-offset:4px}
.mgr__foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}
.mg__feat .mgr__foot .btn{margin-top:0;text-decoration:none}
.mgr__dots{display:flex;gap:2px}
.mgr__dots[hidden]{display:none}
.mgr__dots button{width:24px;height:28px;padding:0;border:0;background:none;cursor:pointer}
.mgr__dots button::before{content:"";display:block;width:9px;height:9px;margin:auto;border-radius:5px;background:var(--ink);opacity:.35;transition:width .2s,opacity .2s}
.mgr__dots button[aria-current="true"]::before{width:18px;opacity:1}
@media(prefers-reduced-motion:reduce){.mgr__i,.mgr__dots button::before{transition:none}}
/* three rows on one line across the menu: "Visi produkti" under the first column, "Akcijas" under the second, the gift box in the side column */
.mg__rows{display:grid;gap:6px}
.mg__rows--h{grid-template-columns:repeat(3,minmax(0,1fr));gap:2px 8px;margin-top:auto;padding-top:18px}
.mg__rows--box{margin-top:auto;padding-top:18px}
.mg__rows a{display:flex;align-items:center;gap:12px;min-height:48px;padding:6px 12px 6px 10px;border-radius:14px;background:#fff;font:700 17px/1.2 var(--display);text-decoration:none}
.mg__rows a:hover{background:var(--honey)}
.mg__rows span{flex:1}
.mg__rows a>svg:first-child{width:26px;height:26px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hx .mg__rows .salemark{width:26px;flex:none;font-size:14px}
.mg__rows .chev{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}

/* ================= layers: shade, phone side menu ================= */
.hf-shade{position:fixed;inset:0;z-index:45;background:rgba(18,12,6,.5);opacity:0;pointer-events:none;transition:opacity .2s}
.hf-shade.on{opacity:1;pointer-events:auto}
html.hf-lock .hf-shade{z-index:75}
.mx{position:fixed;top:0;right:0;bottom:0;z-index:80;width:min(90vw,410px);display:flex;flex-direction:column;background:var(--cream);box-shadow:-6px 0 0 rgba(18,12,6,.25);transform:translateX(105%);transition:transform .26s cubic-bezier(.3,1,.4,1)}
.mx.open{transform:none}
.mx__top{flex:none;display:flex;align-items:center;justify-content:space-between;height:58px;padding-inline:var(--pad) calc(var(--pad) - 10px);box-shadow:0 2px 0 rgba(58,30,5,.08)}
.mx__title{font:700 24px/1 var(--display)}
.mx__body{flex:1;overflow:auto;overscroll-behavior:contain;padding:14px var(--pad) calc(26px + env(safe-area-inset-bottom))}
.mx__h{margin:22px 0 10px}
.sx-fake{display:flex;align-items:center;gap:10px;width:100%;height:48px;margin-bottom:12px;padding:0 16px;border:0;border-radius:999px;background:#fff;box-shadow:inset 0 0 0 2px var(--ink);font:400 17px/1 var(--body);color:var(--ink);text-align:left;cursor:pointer}
.sx-fake svg{flex:none;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
.sx-fake span{opacity:.7;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mx__xmas{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:16px;background:var(--honey) var(--combs);text-decoration:none}
.mx__xmas>svg:first-child{flex:none;width:30px;height:30px;fill:none;stroke:var(--red);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.mx__xmas span{flex:1;min-width:0}
.mx__xmas b{display:block;font:700 22px/1.1 var(--display);color:var(--red-d)}
.mx__xmas small{display:block;font-size:14px;line-height:1.3}
/* section tiles: white, one picture, two across */
.cv-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mx .cm{position:relative;display:flex;flex-direction:column;height:100%;border-radius:18px;overflow:hidden;background:#fff;color:var(--ink);text-decoration:none;container-type:inline-size}
.mx .cm:hover{box-shadow:inset 0 0 0 2px var(--ink)}
.cm__p{position:relative;display:grid;place-items:center;aspect-ratio:1/.78}
/* the picture area has one fixed shape, so a tall product (a candle) cannot make its tile taller than its neighbour */
.cm__p img{position:absolute;left:19%;top:10%;width:62%;height:80%;max-width:none;max-height:none;object-fit:contain}
.cm__p img.is-tex{left:25%;top:11%;width:50%;height:auto}
.cm__t{display:flex;align-items:flex-start;justify-content:space-between;gap:6px;padding:0 7cqi 7cqi}
.cm__t b{font:700 clamp(15.5px,11cqi,19px)/1.1 var(--display);text-wrap:balance}
.cm__t small{flex:none;font:500 13px/1.5 var(--body);opacity:.7}
.mx .cm--sale b{color:var(--red-d)}
.mx__all{display:flex;align-items:center;justify-content:center;gap:10px;min-height:50px;margin-top:14px;border-radius:14px;box-shadow:inset 0 0 0 2px var(--ink);font:700 18px/1 var(--display);text-decoration:none}
.mx__all svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.mx__all:hover{background:var(--ink);color:var(--cream)}
/* the pages in large letters, as in the old menu */
.mx__bigl{margin-top:20px;border-top:2px solid rgba(58,30,5,.08);padding-top:10px}
.mx__bigl a{display:flex;align-items:center;min-height:50px;font:700 clamp(23px,7.2vw,29px)/1.15 var(--display);text-decoration:none}
.mx__bigl a:hover,.mx__bigl a[aria-current="page"]{text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:2px}
.mx__panel{margin-top:20px;padding:14px;border-radius:18px;background:#fff}
.mx__lines{display:grid;gap:2px}
.mx__lines a{display:flex;align-items:center;gap:10px;min-height:44px;font:700 18px/1.2 var(--display);text-decoration:none}
.mx__lines svg{width:21px;height:21px;flex:none;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.mx__lines span{min-width:0;overflow-wrap:anywhere}
.mx__lines small{font-size:14px;opacity:.8}

/* ================= search ================= */
.sx-field{display:flex;align-items:center;gap:10px;height:48px;margin:0;padding:0 6px 0 16px;border-radius:999px;background:#fff;box-shadow:inset 0 0 0 2px var(--ink)}
.sx-field:focus-within{box-shadow:inset 0 0 0 2px var(--ink),0 0 0 4px var(--honey)}
.sx-field>svg{flex:none;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
.sx-field input[type="search"]{flex:1;min-width:0;height:100%;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;font:500 17px/1 var(--body);color:var(--ink);outline:0;-webkit-appearance:none;appearance:none}
.sx-field input::-webkit-search-cancel-button{display:none}
.sx-field input::placeholder{color:var(--ink);opacity:.72}
.sx-clear{display:grid;place-items:center;flex:none;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:var(--cream);cursor:pointer}
.sx-clear svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round}
.sx{position:fixed;inset:0;z-index:85;background:var(--cream);overflow:auto;overscroll-behavior:contain;transform:translateY(-12px);opacity:0;transition:transform .2s,opacity .2s}
.sx.open{transform:none;opacity:1}
.sx__in{padding-block:10px calc(30px + env(safe-area-inset-bottom))}
.sx__bar{display:flex;align-items:center;gap:6px;position:sticky;top:0;z-index:1;padding-block:4px 10px;background:var(--cream)}
.sx__bar .sx-field{flex:1;min-width:0}
.sx__close{flex:none;height:44px;padding:0 8px;border:0;background:none;color:var(--ink);font:700 16px/1 var(--body);text-decoration:underline;text-underline-offset:4px;cursor:pointer}
@media(min-width:1100px){
  .sx{bottom:auto;max-height:88vh;box-shadow:0 8px 0 rgba(58,30,5,.16)}
  .sx__in{max-width:980px;padding-block:20px 30px}
  .sx__bar .sx-field{height:56px}
  .sx__bar .sx-field input[type="search"]{font-size:20px}
}
.sr__h{margin:14px 6px 8px}
.sr__h:first-child{margin-top:4px}
.sx .sr{display:flex;align-items:center;gap:12px;padding:7px 8px;border-radius:14px;text-decoration:none}
.sx .sr:hover,.sx .sr:focus-visible{background:var(--honey)}
.sx .sr:focus-visible{outline-offset:-3px}   /* keeps the global ink ring (fable.css) inside the scrolling list; honey alone was 1.5:1 (modern-web review 17.11) */
.sx .sr img{flex:none;width:56px;height:56px;border-radius:12px;background:#fff;object-fit:cover}
.sr__t{flex:1;min-width:0}
.sr__t b{display:block;font:700 18px/1.2 var(--display)}
.sr__t small{display:block;font-size:14px;line-height:1.3;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sr__p{flex:none;font:700 17px/1 var(--display);white-space:nowrap}
.sr__p.is-out{font:500 13px/1 var(--body);opacity:.7}
.sx .sr--line{justify-content:space-between;min-height:46px}
.sx .sr--line b{font:700 17px/1.2 var(--display)}
.sx .sr--line small{font-size:13.5px;opacity:.75;white-space:nowrap}
.sx .sr-all{width:100%;margin-top:14px}
.sr-cats{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(210px,100%),1fr));gap:2px 8px}
.sr-cats .cx b{font-size:17px}
.sr-none{display:grid;justify-items:center;gap:10px;padding:18px 6px 8px;text-align:center}
.sr-none h3{font-size:22px;overflow-wrap:anywhere}
.sr-none .chips{justify-content:center}
.sr-none__help{margin-top:8px;font-size:15px}
.sr-wait{padding:18px 6px;opacity:.75}
@media(min-width:1100px){
  .sr-wrap.has-side{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:0 34px;align-items:start}
  .sr-wrap.has-side>.sr__h:first-child,.sr-wrap.has-side>.sr-list,.sr-wrap.has-side>.sr-all{grid-column:1}
  .sr-wrap.has-side>.sr-side{grid-column:2;grid-row:1/span 3}
}

/* ================= favourites ================= */
/* the heart on product cards is added by the script (article.pc[data-product-id]); the card's own file is not touched */
.favb{position:absolute;z-index:3;top:calc(4cqi + 6px);right:calc(4cqi + 6px);display:grid;place-items:center;width:clamp(40px,19cqi,44px);height:clamp(40px,19cqi,44px);padding:0;border:0;border-radius:50%;background:#fff;box-shadow:0 0 0 2px rgba(58,30,5,.14);color:var(--ink);cursor:pointer}
.favb svg{width:58%;height:58%;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linejoin:round}
.favb:hover{box-shadow:0 0 0 2px var(--ink)}
.favb[aria-pressed="true"] svg{fill:var(--red);stroke:var(--red)}
.favb.pop svg{animation:hf-pop .45s cubic-bezier(.3,1.7,.5,1)}
@keyframes hf-pop{0%{transform:scale(.5)}60%{transform:scale(1.3)}}
/* a card with a discount sticker in its top right corner: the heart sits under the sticker */
.pc:has(.bdg--sale) .favb{top:calc(4cqi + 6px + clamp(30px,17cqi,42px))}
/* a heart placed by another template (for example the product page): <span data-fav-slot data-id="123"></span> */
[data-fav-slot] .favb{position:static}
.fv{position:fixed;z-index:90;top:0;right:0;bottom:0;width:min(100vw,440px);display:flex;flex-direction:column;background:var(--cream);transform:translateX(105%);transition:transform .26s cubic-bezier(.3,1,.4,1)}
.fv.open{transform:none}
.fv__top{flex:none;display:flex;align-items:center;justify-content:space-between;height:58px;padding-inline:var(--pad) 10px;box-shadow:0 2px 0 rgba(58,30,5,.08)}
.fv__top h2{font-size:26px}
.fv__top h2 i{font:500 17px/1 var(--body);font-style:normal}
.fv__body{flex:1;display:flex;flex-direction:column;overflow:auto;overscroll-behavior:contain}
.fv__list{flex:1;padding:8px var(--pad)}
.fv__list li{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:2px solid rgba(58,30,5,.08)}
.fv__pic{flex:none}
.fv__pic img{display:block;width:72px;height:72px;border-radius:14px;background:#fff;object-fit:cover}
.fv__t{flex:1;min-width:0;display:grid;gap:1px}
.fv__t a{display:flex;align-items:center;min-height:40px;text-decoration:none}
.fv__t b{font:700 18px/1.2 var(--display)}
.fv__t small{font-size:13.5px;line-height:1.3;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fv__t span{font:700 17px/1.3 var(--display)}
.fv__t .is-out{font:500 14px/1.3 var(--body);opacity:.75}
.fv__act{flex:none;display:flex;align-items:center;gap:2px}
.fv__act .btn{min-height:42px;padding:0 14px;font-size:15px}
.fv__rm{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:none;color:var(--ink);cursor:pointer}
.fv__rm:hover{background:var(--honey)}
.fv__rm svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round}
.fv__foot{position:sticky;bottom:0;padding:14px var(--pad) calc(16px + env(safe-area-inset-bottom));background:var(--cream);box-shadow:0 -2px 0 rgba(58,30,5,.08);text-align:center}
.fv__foot .btn{width:100%}
.fv__foot p{margin-top:12px;font-size:13.5px;opacity:.85}
.fv__empty{display:grid;justify-items:center;gap:12px;margin:auto;padding:30px var(--pad);text-align:center}
.fv__empty h3{font-size:28px}
.fv__empty p{max-width:22em}
/* the button says "Ielikt grozā" (owner 17.11): on phones it gets a line of its own under the name, the X stays in the corner */
@media(max-width:479px){
  .fv__list li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;column-gap:12px;row-gap:8px;align-items:center}
  .fv__act{display:contents}
  .fv__act .fv__rm{grid-column:3;grid-row:1;align-self:start}
  .fv__act .btn{grid-column:2 / 4;grid-row:2;justify-self:start;min-width:150px}
  .fv__pic{grid-row:1 / span 2;align-self:start}
}
@media(max-width:379px){.fv__pic img{width:60px;height:60px}}

.hf-tz{position:fixed;z-index:120;left:50%;bottom:calc(var(--bar-h,0px) + 18px);max-width:calc(100vw - 32px);padding:10px 16px;border-radius:12px;background:var(--ink);color:var(--cream);font-size:15px;font-weight:600;transform:translate(-50%,16px);opacity:0;pointer-events:none;transition:.2s}
.hf-tz.on{transform:translate(-50%,0);opacity:1}

/* a logged-in owner sees the WordPress bar on top: the script moves the layers under it (it knows where the bar is right now) */

/* ================= footer ================= */
.fx-trust{background:var(--honey)}
.fx-trust ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:14px 22px;padding-block:22px}
.fx-trust li{display:flex;align-items:center;gap:12px}
.fx-trust svg{flex:none;width:46px;height:46px;padding:10px;border-radius:50%;background:var(--cream);fill:none;stroke:var(--ink);stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
.fx-trust b{display:block;font:700 17.5px/1.2 var(--display)}
.fx-trust small{display:block;font-size:14px;line-height:1.3}
.fx a{text-underline-offset:4px}
.fx h3{font-size:20px}
.fx-soc{display:flex;flex-wrap:wrap;gap:8px}
.fx-soc a{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:999px;box-shadow:inset 0 0 0 2px currentColor;font-size:15px;font-weight:700;text-decoration:none}
.fx-soc a:hover{background:var(--honey);color:var(--ink);box-shadow:none}
.fx-car{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.fx-car li{display:grid;place-items:center;height:42px;padding:0 12px;border-radius:10px;background:#fff}
.fx-car img{display:block;height:22px;width:auto;max-width:92px}
.fx-car--pay{gap:6px}
.fx-car--pay li{display:flex;align-items:center;gap:7px;height:34px;padding-inline:10px;border-radius:8px;color:var(--ink);font:700 13px/1 var(--body);white-space:nowrap}
.fx-car--pay li.is-brand{letter-spacing:.01em}
.fx-car--pay svg{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.fx-ways{display:flex;flex-wrap:wrap;gap:16px 40px;min-width:0}
.fx-ways>div{min-width:0}
.fx-ways>div:last-child{flex:1 1 420px}
.fx-ways .fx-h{margin-bottom:8px}
.fx-facts{font-size:14px;line-height:1.6}
.fx-facts span{white-space:nowrap}
.fx-facts span+span::before{content:"· ";white-space:pre}
.fx-facts span:last-child{white-space:normal}
.fx-copy{font-size:13px;line-height:1.5;opacity:.72}
.fx-legal [data-cookie-open]{display:inline-block;padding:6px 0;font-size:14px;text-decoration:underline;text-underline-offset:4px}   /* cookie settings link (cookie window session, 23.11): a 32 px tall tap area */
.fx-still{padding:6px 0;border:0;background:none;color:inherit;font-size:14px;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.fx1{background:var(--night);color:var(--cream);padding:44px 0 30px;font-size:16px}
.fx1__grid{display:grid;gap:8px}
.fx1__brand{order:-2;display:grid;gap:14px;justify-items:start;align-content:start;margin-bottom:18px}
.fx1__brand img{display:block;height:30px;width:auto}
.fx1__brand p{max-width:26em;opacity:.9}
.fx1__brand .fx-h{margin-top:6px}
.fx1__contact{order:-1;display:grid;gap:8px;margin-bottom:20px;padding:18px;border-radius:18px;background:rgba(255,246,227,.08)}
.fx1__contact address{font-style:normal;font-size:15px;opacity:.85}
.fx-big{font:700 26px/1.2 var(--display);text-decoration:none}
.fx1__contact small{display:block;font-size:14px;opacity:.8}
/* link lists: a heading with a button (it folds the list on phones only) */
.fx-acc{border-bottom:2px solid rgba(255,246,227,.14)}
.fx-acc__b{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:56px;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.fx-acc__b[aria-expanded="true"] .chev{transform:rotate(180deg)}
.fx-acc ul{padding-bottom:14px}
.fx-acc a{display:block;padding:7px 0;text-decoration:none}
.fx-acc a:hover,.fx-acc a[aria-current="page"]{text-decoration:underline}
.fx1__bar{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:14px 24px;margin-top:28px}
.fx-legal{display:grid;gap:8px;margin-top:22px;padding-top:20px;border-top:2px solid rgba(255,246,227,.14)}
@media(max-width:599px){
  .fx-car{gap:6px}
  .fx-car li{height:30px;padding:0 8px;border-radius:8px}
  .fx-car img{height:14px;max-width:58px}
  .fx-car--pay li{height:30px;padding-inline:8px;font-size:12px;gap:5px}
  .fx-car--pay svg{width:16px;height:16px}
  .fx-facts span{display:block;white-space:normal}
  .fx-facts span+span::before{content:none}
}
@media(min-width:800px){
  .fx1{padding-top:56px}
  .fx1__grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:"brand brand contact" "shop help about";gap:34px 30px}
  .fx1__grid>*{order:0;margin:0}
  .fx1__brand{grid-area:brand}
  .fx1__contact{grid-area:contact;align-self:start}
  .fx1__grid>nav:nth-of-type(1){grid-area:shop}.fx1__grid>nav:nth-of-type(2){grid-area:help}.fx1__grid>nav:nth-of-type(3){grid-area:about}
  .fx-acc{border:0}
  .fx-acc__b{min-height:0;margin-bottom:8px;cursor:default;pointer-events:none}
  .fx-acc__b .chev{display:none}
  .fx-acc a{padding:5px 0}
  .fx-acc ul[hidden]{display:block!important}   /* from tablet width up the lists are always open, whatever the script did on a phone */
}
@media(min-width:1100px){
  .fx1__grid{grid-template-columns:1.5fr 1fr 1fr 1fr 1.3fr;grid-template-areas:"brand shop help about contact"}
}
@media print{.hx,.strip,.mx,.sx,.fv,.hf-shade,.hf-tz,.fx,.fx-trust{display:none!important}}
@media(prefers-reduced-motion:reduce){.mx,.sx,.fv,.hf-shade,.hf-tz,.mg{transition:none;animation:none}}

/* ---------- sign-up form for news and offers (parts/site-signup.php, round 14, 23.11): look N1 "Vēstule" ---------- */
.nl{--f-bg:#fff;--f-ring:var(--ink);--f-ink:var(--ink);--e:var(--red-d)}
.nl h2{font:700 clamp(24px,2.5vw,32px)/1.12 var(--display);text-wrap:balance}
.nl__txt p{margin-top:8px;font-size:16.5px;line-height:1.45;max-width:34em}
.nl__in,.nl--3{display:grid;gap:18px}
.nl__form{display:grid;gap:14px;min-width:0}
.nl__f{display:grid;gap:6px;min-width:0}
.nl__f[hidden],.nl__more[hidden],.nl__form[hidden],.nl__ok[hidden],.nl__e[hidden]{display:none}
.nl label{font:700 15px/1.3 var(--body)}
.nl label span{font-weight:500}
.nl input{width:100%;min-width:0;height:52px;margin:0;padding:0 16px;border:0;border-radius:12px;background:var(--f-bg);color:var(--f-ink);box-shadow:inset 0 0 0 2px var(--f-ring);font:500 17px/1 var(--body);-webkit-appearance:none;appearance:none}
.nl input::placeholder{color:var(--ink);opacity:.62}
.nl input:focus-visible{outline:3px solid var(--honey);outline-offset:2px}
.nl input[aria-invalid="true"]{box-shadow:inset 0 0 0 3px var(--red);background:#FFF1F1}
.nl__e{display:flex;align-items:flex-start;gap:6px;font:700 14.5px/1.35 var(--body);color:var(--e)}
.nl__e svg,.nl__ok svg{flex:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.nl__go{width:100%;min-height:52px;font-style:normal;cursor:pointer;white-space:nowrap}
.nl__note{font-size:14px;line-height:1.4;opacity:.85}
.nl__note a{text-underline-offset:3px}
.nl__link{padding:8px 0;border:0;background:none;color:inherit;font:700 15px/1.3 var(--body);text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.nl__more{margin-top:-6px}
.nl__ok{display:flex;align-items:center;gap:14px}
.nl .nw{white-space:nowrap}
.nl__ok svg{width:44px;height:44px;stroke-width:1.8}
.nl__ok p{font:700 19px/1.35 var(--display);max-width:26em}
@media(min-width:700px){
  .nl__form{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:6px 12px;align-items:start}
  .nl__form--short{grid-template-columns:minmax(0,1fr) auto}
  .nl__f:not([hidden]){display:contents}
  .nl__f--mail>*{grid-column:1}
  .nl__f--tel>*{grid-column:2}
  .nl__f>label{grid-row:1;align-self:end}
  .nl__f>input{grid-row:2}
  .nl__f>.nl__e{grid-row:3}
  .nl__go{grid-row:2;grid-column:3;width:auto;padding-inline:28px}
  .nl__form--short .nl__go{grid-column:2}
  .nl__form--short .nl__more{grid-row:3;grid-column:1/-1;margin-top:0}
  .nl__form--short .nl__f--tel>*{grid-column:1}
  .nl__form--short .nl__f--tel>label{grid-row:4}
  .nl__form--short .nl__f--tel>input{grid-row:5}
  .nl__form--short .nl__f--tel>.nl__e{grid-row:6}
  .nl__note{grid-column:1/-1;margin-top:6px}
}
@media(min-width:1100px){
  .nl__in,.nl--3{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:14px 48px;align-items:center}
}
/* 1 "Vēstule": a white card with the ink outline, on the page's own ground, above the yellow strip */
.nl--1{padding:34px 0 40px}
.nl--1 .nl__in{position:relative;padding:22px 20px 24px;border-radius:24px;background:#fff;box-shadow:0 0 0 2px var(--ink),0 7px 0 var(--ink)}
.nl--1 .nl__txt{display:flex;align-items:center;gap:14px}
.nl__bee{flex:none;width:74px;height:auto;rotate:-6deg}
.nl--1 .nl__go{background:var(--red);color:#fff;box-shadow:0 5px 0 var(--red-d)}
.nl--1 .nl__go:hover{background:#F0143C}
.nl--1 .nl__ok svg{stroke:var(--pine)}
@media(min-width:700px){.nl--1 .nl__in{padding:30px 34px 32px}.nl__bee{width:96px}}
.nl--low.nl--1{background:var(--cream)}
.nl__hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}   /* a field for robots only */
.nl__e--all{grid-column:1/-1}
.nl[data-nl-preview] .nl__in::before{content:"Priekšskatījums: šī forma neko nesūta";position:absolute;top:-13px;left:24px;padding:2px 10px;border-radius:999px;background:var(--ink);color:var(--cream);font:700 12px/1.6 var(--body)}
html.jb-red .nl .new{color:var(--red);text-decoration:underline dotted 1.5px;text-underline-offset:3px}   /* new text, shown red only with ?red=1 */
@media print{.nl{display:none!important}}
/* Customer Reviews (CusRev) prints its photo viewer markup (PhotoSwipe, .pswp) on every page; where its own styles are not loaded the six viewer buttons showed as small empty boxes under the footer (owner 24.11). Hidden until the viewer opens. */
.pswp:not(.pswp--open){display:none!important}

/* Big "Veikals" menu, shorter (owner 24.11, option A): "Visi produkti", "% Atlaides" and the gift box link in one row under the
   sections, less padding, smaller price pills. Menu about 460 -> 360 px high at 1440 px. */
.mg__in{padding-block:18px 22px;gap:32px}
.mg__rows--h{grid-template-columns:repeat(3,minmax(0,1fr));padding-top:10px;margin-top:6px}
.mg__rows a{min-height:40px;padding:4px 10px;font-size:15px;gap:8px}
.mg__rows a>svg:first-child{width:22px;height:22px}
.mg .chips{gap:6px}
.mg .chips a{min-height:32px;padding:0 11px;font-size:13px}
.mg__side .mg__h{margin-top:14px}
.mg .cx{padding:6px 8px}
/* footer payment logos (owner 24.11): same white boxes as the carrier logos, official files unchanged */
.fx-car--pay li.is-logo{box-sizing:border-box;width:72px;height:42px;padding:0;justify-content:center}
.fx-car--pay li.is-logo img{display:block;width:62px;height:28px;max-width:none;object-fit:contain;object-position:center}
.fx-car--pay li.is-logo img[src*="web_citadele"]{height:25px}
.fx-car--pay li.is-logo img[src*="web_seb"]{height:22px;width:52px}
.fx-car--pay li.is-logo img[src*="ESTO_3"]{height:26px}
@media(max-width:599px){.fx-car--pay li.is-logo{width:56px;height:34px}
.fx-car--pay li.is-logo img{width:48px;height:22px}
.fx-car--pay li.is-logo img[src*="web_citadele"]{height:20px}
.fx-car--pay li.is-logo img[src*="web_seb"]{height:17px;width:40px}
.fx-car--pay li.is-logo img[src*="ESTO_3"]{height:21px}}
