/* BIO bar at the top on the shop and the category pages (13. 11.): the same rules as the other pages' design CSS have,
   scoped with :where(.frm-shop), which adds no weight, so the later rules below still win as on the other pages. */

  /* BIO bar at the top, the same as on the other pages (copied from their design CSS, 13. 11.): the shop and the category pages had none */
  :where(.frm-shop) .btn--plain svg, :where(.frm-shop) .hero__banner-more svg { width: 18px; height: 18px; }
  :where(.frm-shop) .link-arrow svg, :where(.frm-shop) .btn--plain svg, :where(.frm-shop) .hero__banner-more svg { position: relative; top: .12em; }   /* stred šípky = stred malých písmen */
  :where(.frm-shop) { --banner-h: 72px; }
  :where(.frm-shop) .hero__banner { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: var(--banner-h); display: flex; align-items: center; background: var(--ink); color: var(--cream); }
  :where(.frm-shop) .hero__banner-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  :where(.frm-shop) .hero__banner-txt { display: flex; align-items: center; gap: 22px; }
  /* béžové kresby v banneri – v strede medzi textom a odkazom, po bokoch len na širokých obrazovkách */
  :where(.frm-shop) .hero__banner { overflow: hidden; }
  :where(.frm-shop) .hero__banner-in { position: relative; z-index: 1; }
  :where(.frm-shop) .hero__banner .hb-ill { position: absolute; z-index: 0; pointer-events: none; opacity: .5; height: 92px; width: auto; display: none; }
  :where(.frm-shop) .hero__banner .hb-ill--m2, :where(.frm-shop) .hero__banner .hb-ill--m3 { opacity: .95; }
  :where(.frm-shop) .hero__banner .hb-ill--m2 { left: 50%; top: calc(100% - 60px); height: 120px; rotate: 8deg; }   /* croissant – vidno hornú polovicu */
  :where(.frm-shop) .hero__banner .hb-ill--m3 { left: 66%; top: -80px; height: 160px; rotate: -12deg; }   /* chlieb – vidno spodnú polovicu */
  :where(.frm-shop) .hero__banner .hb-ill--l { left: calc(var(--gutter) * .5 - 55px); top: -8px; rotate: 18deg; }
  :where(.frm-shop) .hero__banner .hb-ill--r { right: calc(var(--gutter) * .5 - 55px); top: -14px; height: 110px; rotate: -20deg; }
  @media (min-width: 1180px) { :where(.frm-shop) .hero__banner .hb-ill--m2, :where(.frm-shop) .hero__banner .hb-ill--m3 { display: block; } }
  @media (min-width: 1600px) { :where(.frm-shop) .hero__banner .hb-ill--l, :where(.frm-shop) .hero__banner .hb-ill--r { display: block; } }
  :where(.frm-shop) .hero__banner p span { font-weight: 300; }
  :where(.frm-shop) .hero__banner .nw { white-space: nowrap; }
  :where(.frm-shop) .hero__banner-more { display: inline-flex; align-items: center; gap: 8px; flex: none; color: inherit; font-size: 1.0625rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
  :where(.frm-shop) .hero__banner-more:hover { color: #fff; }
  :where(.frm-shop) .hero__banner-more { text-decoration: none; }
  :where(.frm-shop) .hero__banner-more { position: relative; }
  :where(.frm-shop) .hero__banner-more::after { content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 1.5px; background: currentColor; }   /* podčiarknutie pod textom aj šípkou */
  :where(.frm-shop) .hero__banner-more svg.icon { top: .12em; }   /* stred šípky na optický stred písmen (medzi x-výškou a verzálkami) */
  :where(.frm-shop) .hero__banner img { height: 38px; width: auto; border-radius: 4px; flex: none; }
  :where(.frm-shop) .hero__banner p { margin: 0; font-family: var(--serif); font-size: clamp(1rem, 1.35vw, 1.1875rem); font-weight: 500; line-height: 1.2; }
  @media (max-width: 640px) { :where(.frm-shop) .hero__banner p { font-size: 1rem; } :where(.frm-shop) .hero__banner-more span, :where(.frm-shop) .hero__banner-more { font-size: .9375rem; } }
  /* bio pás hore nad logom a menu */
  :where(.frm-shop) .hero__banner { position: relative; bottom: auto; }
  :where(.frm-shop) .header { top: var(--banner-h); }
  /* tenší pás, obsah na stred */
  :where(.frm-shop) { --banner-h: 68px; }
  :where(.frm-shop) .hero__banner-in { justify-content: center; gap: 40px; }
  :where(.frm-shop) .hero__banner-txt { gap: 14px; }
  :where(.frm-shop) .hero__banner img { height: 40px; border-radius: 4px; }
  :where(.frm-shop) .hero__banner p { font-size: 1.1875rem; }
  :where(.frm-shop) .hero__banner-more, :where(.frm-shop) .hero__banner-more span { font-size: .9375rem; }
  :where(.frm-shop) .hero__banner .hb-ill--m2 { left: 8%; top: calc(100% - 62px); height: 150px; }   /* ilustrácie po stranách, mimo textu */
  :where(.frm-shop) .hero__banner .hb-ill--m3 { left: auto; right: 8%; top: -70px; height: 130px; }
  @media (max-width: 1100px) { :where(.frm-shop) section.hero.hero { padding-bottom: 72px !important; } }
  @media (max-width: 640px) {
    :where(.frm-shop) { --banner-h: 72px; }
    :where(.frm-shop) .hero__banner-more span { display: none; }   /* na mobile len šípka – text sa zmestí na 2 riadky */
    :where(.frm-shop) .hero__banner p { font-size: .875rem; }
    :where(.frm-shop) .hero__banner-in { gap: 16px; }
    :where(.frm-shop) .hero__banner img { height: 44px; }   /* väčšie bio logo na mobile */
  }
  @media (max-width: 640px) { :where(.frm-shop) section.hero.hero { padding-bottom: 400px !important; background-position: 0 0, 62% 100%, 0 0 !important; } }
  /* tablet a mobil: šípka v bio páse bez podčiarknutia (podčiarknutý len text) */
  @media (max-width: 960px) {
    :where(.frm-shop) .hero__banner-more::after { content: none; }
    :where(.frm-shop) .hero__banner-more span { text-decoration: none; }   /* tablet a mobil: bez podčiarknutia */
  }
  :where(.frm-shop) .hero__banner-more::after { content: none !important; }   /* „Zistiť viac“ bez podčiarknutia na všetkých šírkach */
  :where(.frm-shop) .hero__banner-more span { text-decoration: none !important; }

/*
 * Fermentina theme: what the shop adds to the web design of 9. 11. 2026.
 * The design's own styles are in design/<view>.css (one per page type) and design/components.css,
 * first copied from 03_Working/frontend, edited in the theme since 10. 11. 2026. This file only adds what the design does not
 * have: closure notice, "Môj účet" menu, the cart page by days (one block per pickup), checkout and WooCommerce
 * forms, notices, the map after a click. Colours and fonts come from the design's custom properties.
 */

.sr-only--focusable:focus { position: fixed; top: 12px; left: 12px; z-index: 100; width: auto; height: auto; clip: auto; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); }

/* ---------- closure notice (frm/v1/kalendar) ---------- */
.closure-notice { position: relative; z-index: 25; background: var(--gold, #E2C682); color: var(--ink); font-size: 1.125rem; font-weight: 700; line-height: 1.25; }
.closure-notice__inner { display: flex; align-items: center; justify-content: center; gap: 12px; padding-block: 12px 14px; text-align: center; }
.closure-notice .icon { width: 22px; height: 22px; }

/* ---------- header: "Môj účet" menu (from js/store.js of the design), cart link ---------- */
.acc-menu { position: absolute; z-index: 50; min-width: 0; width: max-content; padding: 6px; background: var(--bg, #F3F0E8); border-radius: 16px; box-shadow: 0 6px 18px rgba(46, 33, 20, .09); animation: accIn .25s cubic-bezier(.22, 1, .36, 1); }
@keyframes accIn { from { transform: translateY(-6px); } }
.acc-menu[hidden] { display: none; }
.acc-menu a { display: block; padding: 10px 24px; border-radius: 12px; font-size: 1.0625rem; font-weight: 600; color: var(--ink, #2E2114); text-decoration: none; white-space: nowrap; }
.acc-menu a:hover { background: #F0EBDF; }
.acc-menu hr { border: 0; border-top: 1px dashed rgba(46, 33, 20, .2); margin: 6px 8px; }
.acc-menu .is-out { color: var(--red, #B11719); }
.acc-menu__who { padding: 8px 16px 6px; font-size: .875rem; color: var(--muted, #5E4A38); }
.account svg { transition: transform .25s; }
.account[aria-expanded="true"] svg { transform: rotate(180deg); }
a.cart { color: inherit; text-decoration: none; }
/* Logged-in staff see the WordPress toolbar; keep the mobile menu's close button below it. */
.admin-bar .mobile-nav { top: var(--wp-admin--admin-bar--height, 0px); }

/* ---------- buttons, prices, toast ---------- */
.btn.is-busy { opacity: .7; pointer-events: none; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.toast.is-error { background: var(--red-btn, #B11719); color: #fff; }
.price .woocommerce-Price-amount, .meta-price .woocommerce-Price-amount, .rcard__price .woocommerce-Price-amount, .citem__price .woocommerce-Price-amount, .pd__price .woocommerce-Price-amount { white-space: nowrap; }
del .woocommerce-Price-amount { margin-right: 6px; font-weight: 500; opacity: .55; }
ins { text-decoration: none; }
img.is-placeholder { opacity: .35; }

/* ---------- calendar of "Do košíka": every item has its day, a new day is a new pickup ---------- */
.picker__note { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(226, 198, 130, .35); font-size: .875rem; font-weight: 600; line-height: 1.3; }
/* A day the cart already has: its own pickup, marked under the number. */
.picker__day.is-cart { position: relative; }
.picker__day.is-cart::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--red, #B11719); }
.picker__day.is-cart.is-on::after { background: #fff; }

/* ---------- map loads only after a click (B10) ---------- */
.visit2__map.map-consent { display: grid; align-content: center; justify-items: center; gap: 10px; min-height: 200px; padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, .55); text-align: center; }
.map-consent p { font-weight: 600; }
.map-consent a { font-size: .9375rem; color: inherit; }

/* ---------- cart page (kosik.html): one block per day, one payment (assignment of 9. 11. 2026) ---------- */
.cart__list { display: grid; gap: 28px; }
.cart-day { display: grid; gap: 12px; }
.cart-day__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 20px; padding: 0 4px; }
.cart-day__n { font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #5E4A38); }
.cart-day__title { margin-top: 2px; font-family: var(--serif); font-size: 1.75rem; font-weight: 600; line-height: 1.1; }
.cart-day__note { margin-top: 4px; font-size: 1rem; color: var(--muted, #5E4A38); }
.cart-day.is-today .cart-day__note { color: var(--ink); font-weight: 700; }
.cart-day__change, .cart-row__day { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 700; }
.cart-day__change select, .cart-row__day select { font: inherit; font-weight: 600; padding: 6px 10px; border: 1.5px solid rgba(46, 33, 20, .2); border-radius: 10px; background: var(--bg); color: var(--ink); }
.cart-row__day { margin-top: 6px; font-size: .875rem; font-weight: 600; color: var(--muted, #5E4A38); }
.cart-day__problem { padding: 10px 14px; border-radius: 12px; background: rgba(194, 26, 28, .1); color: var(--red-btn, #B11719); font-weight: 700; line-height: 1.3; }
.cart-day__sum { justify-self: end; padding-right: 8px; font-size: .9375rem; font-weight: 700; color: var(--muted, #5E4A38); }
.cart__pickups { margin: 6px 0 10px; font-size: 1.0625rem; font-weight: 800; }
.cart__problem { margin: 0 0 10px; color: var(--red-btn, #B11719); font-weight: 700; }
.cart__today { margin: 10px 0 0; font-size: .875rem; font-weight: 600; color: var(--muted, #5E4A38); }
.today-note { margin: 0 0 20px; padding: 12px 16px; border-radius: 14px; background: rgba(226, 198, 130, .4); font-weight: 700; }
.today-note[hidden], .cart__pickups[hidden], .cart__problem[hidden], .cart__today[hidden] { display: none; }
.frm-pickup { margin-top: 12px; padding-top: 10px; border-top: 1px dashed rgba(46, 33, 20, .2); }
.frm-pickup__items { color: var(--muted, #5E4A38); }
.cart-row__info h3 a { color: inherit; text-decoration: none; }
.cart-row__info h3 a:hover { color: var(--red); }
.cart-row__img img { width: 100%; height: 100%; object-fit: contain; }
.cart-row.is-busy { opacity: .6; pointer-events: none; }
.cart__sum .btn.is-disabled { opacity: .5; }
.cart__loading { padding: 24px 0; color: var(--muted); }

/* ---------- checkout, plain pages, WooCommerce notices and forms ---------- */
.page-body { padding-top: clamp(24px, 3vw, 40px); padding-bottom: clamp(64px, 8vw, 120px); }
.entry { font-size: 1.125rem; line-height: 1.4; }
/* WooCommerce blocks size their text with the WordPress presets; Darker Grotesque runs small, so scale them up. */
.entry { --wp--preset--font-size--small: 1.0625rem; --wp--preset--font-size--medium: 1.375rem; --wp--preset--font-size--large: 1.875rem; --wp--preset--font-size--x-large: 2.25rem; }
.entry > * + * { margin-top: 1em; }
.entry a:not(.wc-block-components-button):not(.button):not(.wc-block-components-product-name) { color: var(--red-btn, #B11719); }
.wc-block-components-button:not(.is-link), .woocommerce .button, .woocommerce button.button, .woocommerce a.button {
  min-height: 52px; padding: 0 28px .24em; border: 0; border-radius: 999px; background: var(--red-btn, #B11719); color: #fff;
  font-family: var(--font); font-size: 1.1875rem; font-weight: 700; text-decoration: none;
}
.woocommerce .button, .woocommerce button.button, .woocommerce a.button { display: inline-flex; align-items: center; justify-content: center; line-height: 1; cursor: pointer; }
.wc-block-components-button:not(.is-link):hover, .woocommerce .button:hover { background: #8E1214; color: #fff; }
.wc-block-components-title.wc-block-components-title { font-family: var(--serif); font-weight: 600; }
.wc-block-components-product-name { font-weight: 700; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-blocks-components-select__select { border-radius: 12px !important; font-family: var(--font) !important; font-size: 1.125rem !important; }
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-error, .woocommerce-message, .woocommerce-info { list-style: none; margin: 0 0 24px; padding: 14px 18px 16px; border-radius: 14px; font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.woocommerce-error { background: rgba(194, 26, 28, .1); color: var(--red-btn, #B11719); }
.woocommerce-message, .woocommerce-info { background: rgba(226, 198, 130, .4); color: var(--ink); }
.woocommerce-error li + li { margin-top: 4px; }
.form .woocommerce-form-row, .form p.form-row { margin: 0; }
.acc-sec .woocommerce-orders-table, .acc-sec .shop_table { width: 100%; border-collapse: collapse; font-size: 1.0625rem; }
.acc-sec .shop_table th, .acc-sec .shop_table td { padding: 10px 8px; text-align: left; border-bottom: 1px dashed rgba(46, 33, 20, .2); }
.frm-order-schedule { margin-top: 20px; }

/* ---------- Môj účet and Prihlásenie: WooCommerce's wrapper must not break the design's grids ---------- */
.acc > .woocommerce, .auth > .woocommerce { display: contents; }
.auth > .woocommerce > .woocommerce-notices-wrapper, .acc > .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
/* The design's menu uses buttons; the theme's parts are links (each part has its own address). */
.acc__nav a { text-align: left; font-size: 1.125rem; font-weight: 600; padding: 12px 18px; border-radius: 14px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.acc__nav a:hover { background: #F0EBDF; }
.acc__nav a.is-on { background: var(--ink); color: var(--bg); }
.acc__nav a.is-logout { margin-top: 12px; color: var(--red); }
.order-row a, .fav-card h3 a, .fav-card__img { color: inherit; text-decoration: none; }
.order-row div span a { color: var(--red); font-weight: 700; }
.form__more summary { cursor: pointer; font-weight: 700; }
.form__more .form__row { margin-top: 12px; }
.acc__more { margin-top: 14px; }
.acc__more a { color: var(--ink); font-weight: 600; }
.acc__pages { display: flex; gap: 10px; margin-top: 20px; }
@media (max-width: 960px) {
  .acc__nav a.is-logout { margin-top: 0; }
}

@media (max-width: 640px) {
  .closure-notice { font-size: 1rem; }
  .closure-notice .icon { display: none; }
}

 * Úpravy dizajnu z 10. 11. 2026 (prenesené zo statického návrhu fermentina.opusmagnus.co)
 * ===================================================================================================== */

/* Figures on the base line everywhere: Loretta has only old-style digits, so the digits of headings come from Lora. */
:root { --serif: "Lora", "loretta", Georgia, serif; }
html, body, input, button, textarea, select { font-variant-numeric: lining-nums; }
/* Thinner underlines everywhere. */
*, *::before, *::after { text-decoration-thickness: 1px !important; }

/* Header: items a bit closer and optically the same gap between every item, the cart and the button. */
@media (min-width: 1101px) {
  :root { --hg: clamp(18px, 1.8vw, 28px); }
  .header .nav { gap: var(--hg); }
  .header .header__actions { gap: 0; }
  .header__actions .account { margin-left: calc(var(--hg) - 6px); }
  .header__actions .cart { margin-left: calc(var(--hg) - 25px); }
  .header__actions .btn { margin-left: calc(var(--hg) - 15px); }
}

/* "Môj účet" menu: rolls down in the page colour, icons, the profile on top, the page under it dims slightly. */
.acc-dim { position: fixed; inset: 0; z-index: 45; background: rgba(30, 20, 10, .28); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.acc-dim.is-on { opacity: 1; }
.acc-open .header { z-index: 46; }
.acc-menu { z-index: 50; min-width: 250px; padding: 12px; border-radius: 20px; box-shadow: 0 18px 40px rgba(46, 33, 20, .16); animation: accRoll .38s cubic-bezier(.22, 1, .36, 1); }
@keyframes accRoll { from { clip-path: inset(0 0 100% 0 round 20px); transform: translateY(-8px); } to { clip-path: inset(0 0 0 0 round 20px); transform: none; } }
.acc-menu a { display: flex; align-items: center; gap: 14px; padding: 12px 16px; font-size: 1.125rem; transition: background-color .2s, color .2s; }
.acc-menu a:hover { background: rgba(46, 33, 20, .06); color: var(--red, #B11719); }
.acc-menu a svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.acc-menu .is-out { color: var(--ink, #2E2114); }
.acc-menu hr { border: 0; border-top: 1px solid rgba(46, 33, 20, .12); margin: 8px -12px; }
.acc-menu a.acc-menu__who { gap: 14px; padding: 10px 16px 14px; font-size: inherit; }
.acc-menu__av { width: 48px; height: 48px; flex: none; border-radius: 50%; }
.acc-menu__who b { display: block; font-size: 1.0625rem; line-height: 1.2; color: var(--ink, #2E2114); }
.acc-menu__who small { display: block; margin-top: -2px; font-size: .875rem; font-weight: 500; color: var(--muted, #5E4A38); }
.acc-menu a.acc-menu__who:hover b { color: var(--red, #B11719); }

/* Prihlásenie a registrácia: the label sits in the field and moves up when typing, links next to the button. */
.auth__pane > h2 { margin-top: 0; }
.auth__pane .form { gap: 22px; margin-top: 52px; }
.form .fl { position: relative; display: block; }
.form .fl input { width: 100%; height: 64px; padding: 24px 20px 6px; border: 1px solid rgba(46, 33, 20, .22); border-radius: 16px; transition: border-color .2s; }
.form .fl span { position: absolute; left: 21px; top: 50%; transform: translateY(-50%); font-size: 1.0625rem; font-weight: 500; color: var(--muted); pointer-events: none; transition: top .2s ease, font-size .2s ease; }
.form .fl input:focus + span, .form .fl input:not(:placeholder-shown) + span { top: 20px; font-size: .875rem; }
.form .fl input:focus { border-color: var(--brown); outline: none; }
.form .fl:has(.fl__eye) input { padding-right: 56px; }
.fl__eye { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); cursor: pointer; }
.fl__eye svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fl__eye.is-on, .fl__eye:hover { color: var(--ink); }
.auth__pane .form__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin-top: -8px; }
.auth__pane .form__row .form__link { justify-self: start; text-decoration: underline; text-underline-offset: 5px; transition: color .2s; }
.auth__pane .form__row .form__link--alt { justify-self: end; }
.auth__pane .form__row .form__link:hover { color: var(--red); }
.auth__pane .form__row .btn { justify-self: center; margin-top: 0; }

/* Môj účet: the parts as tabs under the greeting, as above the cart. */
.acc-head { padding-bottom: clamp(28px, 3vw, 44px); }
.acc { grid-template-columns: minmax(0, 1fr) !important; gap: clamp(28px, 3vw, 44px) !important; }
.acc__nav { position: static !important; display: flex !important; justify-content: center; gap: clamp(8px, 2vw, 28px) !important; border-bottom: 1px solid rgba(46, 33, 20, .1); overflow-x: auto; scrollbar-width: none; }
.acc__nav::-webkit-scrollbar { display: none; }
.acc__nav a { position: relative; flex: none; padding: 14px clamp(10px, 1.6vw, 22px) 16px !important; border-radius: 0 !important; background: none !important; font-size: 1.125rem !important; font-weight: 500 !important; color: var(--muted) !important; white-space: nowrap; transition: color .2s; }
.acc__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform .3s ease; }
.acc__nav a:hover { color: var(--ink) !important; }
.acc__nav a.is-on { color: var(--ink) !important; font-weight: 700 !important; }
.acc__nav a.is-on::after { transform: scaleX(1); }
.acc__nav a.is-logout { margin-top: 0 !important; color: var(--red) !important; }
@media (max-width: 860px) { .acc__nav { justify-content: flex-start; } }

/* Obľúbené, Zakúpené produkty: cards as "Obľúbené medzi zákazníkmi" on the home page. */
.acards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px clamp(24px, 2.4vw, 36px); margin-top: -46px; }
@media (max-width: 1100px) { .acards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .acards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .acards { grid-template-columns: minmax(0, 1fr); } }
.acard { position: relative; isolation: isolate; align-items: flex-start; text-align: left; padding: 0 30px 40px; cursor: pointer; }
.acard::before { content: ""; position: absolute; z-index: -1; top: 100px; bottom: 0; left: 0; right: 0; background: url(../img/pozadie-produkt.svg?v=3) center / 100% 100% no-repeat; }
.acard .fav-card__img { height: 200px; width: calc(100% + 30px); margin-inline: -15px; align-items: flex-end; }
.acard .fav-card__img img { height: 180px; width: auto; max-width: 100%; max-height: none; object-fit: contain; transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.acard:hover .fav-card__img img { transform: rotate(-5deg) scale(1.05); }
.acard .acard__price { display: flex; align-items: center; justify-content: space-between; gap: 12px; align-self: stretch; margin-top: 20px; font-size: 1.375rem; font-weight: 700; color: var(--ink); }
.acard__price small { margin-left: 4px; font-size: 1rem; font-weight: 500; color: var(--muted); }
.acard__price .fav-btn { position: relative; top: 3px; width: 36px; height: 36px; margin-right: -6px; background-color: transparent; background-size: 24px; transition: transform .2s; }
.acard__price .fav-btn:hover { transform: scale(1.1); }
.acard h3 { margin-top: 14px; font-size: 1.5rem; }
.acard h3 a:hover { color: var(--red); }
.acard .acard__meta { margin-top: 8px; font-size: .9375rem; font-weight: 500; color: var(--muted); }
.acard .fbuy { margin-top: 18px; }
.acard .fbuy .btn { margin-top: 0; }

/* Pieces next to every "Do košíka": the red outline pill with arrows. */
.fbuy { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pdq--sm { display: inline-flex; align-items: center; height: 44px; padding: 0 2px; border: 1px solid var(--red-btn, #B11719); border-radius: 999px; color: var(--red-btn, #B11719); flex: none; }
.pdq--sm button { width: 32px; height: 100%; border: 0; background: none; color: inherit; display: grid; place-items: center; cursor: pointer; border-radius: 999px; -webkit-tap-highlight-color: transparent; }
.pdq--sm button:focus { outline: none; }
.pdq--sm .qty__num { min-width: 2ch; text-align: center; font-size: 1.0625rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums lining-nums; outline: none; position: relative; top: -1px; }
.fbuy .btn { min-height: 44px; padding: 0 22px; }

/* Nastavenie účtu: the same fields as in Prihlásenie. */
#profileForm { gap: 22px; }
#profileForm .form__more { margin-top: 6px; }
#profileForm .form__more .form__row { margin-top: 18px; }
#profileForm .btn { justify-self: start; margin-top: 8px; }

/* Môj účet, Objednávky: search, rows with number, date, total, state in the middle, photos and a cart. */
.olist { container-type: inline-size; }
.olist__search { position: relative; display: block; }
.olist__search svg { position: absolute; left: 22px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.olist__search input { width: 100%; height: 64px; padding: 0 22px 0 58px; border: 1px solid rgba(46, 33, 20, .14); border-radius: 18px; background: rgba(255, 255, 255, .45); font: inherit; font-size: 1.0625rem; color: var(--ink); }
.olist__search input::placeholder { color: var(--muted); }
.olist__search input:focus { outline: none; border-color: var(--brown); }
.olist .olist__title { margin: 40px 0 18px; font-family: var(--serif); font-size: 1.375rem; font-weight: 600; }
.olist__rows { display: grid; gap: 14px; }
.orow { display: grid; grid-template-columns: 52px 136px 112px minmax(0, 1fr) 312px 56px; align-items: center; column-gap: 0; padding: 18px 18px 18px 32px; border-radius: 22px; background: #F0EBDF; cursor: pointer; transition: background-color .2s; }
.orow[hidden] { display: none; }
.orow:hover { background: #EBE4D6; }
.orow__id { font-size: 1.0625rem; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.orow__date, .orow__sum { margin-left: 28px; }
.orow__date { color: var(--muted); }
.orow__sum { font-size: 1.125rem; font-weight: 700; }
.orow__st { justify-self: center; padding-inline: 16px; font-weight: 700; color: #3E7B3A; text-align: center; }
.orow__st.is-wait { color: var(--brown); }
.orow__thumbs { display: flex; gap: 8px; justify-content: flex-end; min-width: 0; }
.orow__th { position: relative; width: 56px; height: 56px; flex: none; border-radius: 12px; background: var(--bg); display: grid; place-items: center; }
.orow__th img { width: 48px; height: 40px; object-fit: contain; }
.orow__th i { position: absolute; right: -5px; bottom: -5px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: #fff; box-shadow: 0 0 0 2px var(--bg); font-style: normal; font-size: .75rem; font-weight: 700; line-height: 22px; text-align: center; }
.orow__th.is-more { font-weight: 700; color: var(--muted); }
.orow__cart, .odet__add { width: 56px; height: 56px; margin-left: 18px; border: 0; border-radius: 50%; background: var(--red-btn, #B11719); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .2s; }
.orow__cart:hover, .odet__add:hover { transform: scale(1.06); }
.orow__cart .icon, .odet__add .icon { width: 24px; height: 24px; }
.olist__none { padding: 28px; text-align: center; color: var(--muted); }
.olist__none[hidden] { display: none; }
@container (max-width: 860px) {
  .orow { grid-template-columns: 52px 136px 112px minmax(0, 1fr) 56px; row-gap: 14px; padding-left: 22px; }
  .orow__id, .orow__date, .orow__sum, .orow__st { grid-row: 1; }
  .orow__thumbs { grid-column: 1 / 5; grid-row: 2; justify-content: flex-start; flex-wrap: wrap; }
  .orow__cart { grid-column: 5; grid-row: 1 / 3; }
}
@container (max-width: 520px) {
  .orow { grid-template-columns: auto auto minmax(0, 1fr); }
  .orow__id { grid-column: 1; grid-row: 1; }
  .orow__date { grid-column: 2; grid-row: 1; margin-left: 16px; }
  .orow__sum { grid-column: 1; grid-row: 2; margin-left: 0; }
  .orow__st { grid-column: 3; grid-row: 1 / 3; justify-self: end; padding: 0; }
  .orow__thumbs { grid-column: 1 / -1; grid-row: 3; }
  .orow__cart { grid-column: 1 / -1; grid-row: 4; margin-left: 0; width: 100%; border-radius: 28px; }
}

/* Detail of an order. */
.odet { container-type: inline-size; }
.odet__back { display: inline-flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.odet__back:hover { color: var(--red); }
.odet svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.odet__title { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 500; }
.odet__title b { font-weight: 700; }
.odet__copy { width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.odet__copy:hover { background: rgba(46, 33, 20, .07); color: var(--ink); }
.odet__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3vw, 48px); align-items: start; margin-top: 28px; }
.odet__box { padding: 22px 26px; border-radius: 20px; background: #F0EBDF; }
.odet__box + .odet__box { margin-top: 18px; }
.odet__status { display: flex; gap: 14px; }
.odet__status::before { content: ""; width: 14px; height: 14px; margin-top: 4px; flex: none; border-radius: 50%; background: var(--brown); }
.odet__status.is-done::before { background: #3E7B3A; }
.odet__status b, .odet__pay b { display: block; font-size: 1.0625rem; }
.odet__status small { display: block; margin-top: 2px; font-size: .9375rem; color: var(--muted); }
.odet__pay { display: flex; gap: 14px; align-items: center; }
.odet__acts { display: grid; margin-top: 14px; }
.odet__acts > * { display: flex; align-items: center; gap: 14px; padding: 14px 6px; border: 0; background: none; font: inherit; font-size: 1.0625rem; color: var(--ink); text-align: left; text-decoration: none; cursor: pointer; }
.odet__acts > *:hover { color: var(--red); }
.odet__acts > * > span { flex: 1; }
.odet .frm-order-schedule { margin-top: 18px; padding: 22px 26px; border-radius: 20px; background: #F0EBDF; }
.odet__sum h4 { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.odet__line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto auto 44px; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid rgba(46, 33, 20, .08); }
.odet__line .orow__th { width: 72px; height: 72px; background: none; }
.odet__line .orow__th img { width: 62px; height: 52px; }
.odet__line a { font-weight: 600; color: var(--ink); text-decoration: none; }
.odet__line a:hover { color: var(--red); }
.odet__line small { display: block; margin-top: 2px; font-size: .875rem; color: var(--muted); }
.odet__line .q { color: var(--muted); white-space: nowrap; }
.odet__line b { min-width: 72px; text-align: right; white-space: nowrap; }
.odet__add { width: 44px; height: 44px; margin-left: 0; }
.odet__add .icon { width: 20px; height: 20px; }
.odet__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; font-size: 1.0625rem; }
.odet__total.is-sum { padding-top: 18px; font-size: 1.125rem; }
.odet__total.is-sum b { font-size: 1.5rem; }
@container (max-width: 860px) { .odet__grid { grid-template-columns: 1fr; } }
@container (max-width: 520px) {
  .odet__line { grid-template-columns: 56px minmax(0, 1fr) auto 44px; }
  .odet__line .orow__th { width: 56px; height: 56px; }
  .odet__line .q { grid-column: 2; grid-row: 2; }
  .odet__line b { grid-column: 3; grid-row: 1 / 3; }
  .odet__add { grid-column: 4; grid-row: 1 / 3; }
  .odet__box { padding: 18px; }
}

/* Home page, "Pomaly, z kvásku": pieces next to "Do košíka". */
.peek__slide .fbuy { justify-content: center; margin-top: 18px; position: relative; }
.peek__slide .fbuy .btn { margin-top: 0; }

/* Košík (design of 10. 11.): tabs for a signed-in customer, smaller gaps, suggestions under an empty cart. */
.frm-cart .acc-head { padding-bottom: 12px; }
.cart-tabs { display: flex; justify-content: center; gap: clamp(8px, 2vw, 28px); margin-top: clamp(36px, 3.6vw, 52px); border-bottom: 1px solid rgba(46, 33, 20, .1); overflow-x: auto; scrollbar-width: none; }
.cart-tabs::-webkit-scrollbar { display: none; }
.cart-tabs button { position: relative; flex: none; padding: 14px clamp(10px, 1.6vw, 22px) 16px; border: 0; background: none; font: inherit; font-size: 1.125rem; font-weight: 500; color: var(--muted); cursor: pointer; white-space: nowrap; transition: color .2s; }
.cart-tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform .3s ease; }
.cart-tabs button:hover { color: var(--ink); }
.cart-tabs button[aria-selected="true"] { color: var(--ink); font-weight: 700; }
.cart-tabs button[aria-selected="true"]::after { transform: scaleX(1); }
@media (max-width: 860px) { .cart-tabs { justify-content: flex-start; } }
.cpane[hidden], .cartpage[hidden] { display: none !important; }
.cpane { padding-top: 12px; }
.acards--cart { margin-top: 0; padding-top: 12px; }
.acc-sec:has(+ .cart-related:not([hidden])) { padding-bottom: 0; }
.cart-related { padding: clamp(64px, 6.5vw, 104px) 0 28px; background: var(--bg); overflow: hidden; }
.cart-related[hidden] { display: none; }
.cart-related .related__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cart-related h2 { font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 600; line-height: var(--lh-head); }
.cart-related .related__arrows { display: flex; gap: 10px; flex: none; }
.cart-related .related__arrows button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--brown); background: none; color: var(--brown); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, color .2s; }
.cart-related .related__arrows button:hover { background: var(--brown); color: #fff; }
.cart-related .related__arrows svg { width: 20px; height: 20px; }
.cart-related .related__track { display: flex; gap: clamp(20px, 2vw, 32px); margin-top: clamp(24px, 3vw, 40px); padding: 12px 0 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cart-related .related__track::-webkit-scrollbar { display: none; }
.cart-related .rcard { position: relative; isolation: isolate; flex: 0 0 calc((100% - 3 * clamp(20px, 2vw, 32px)) / 4); scroll-snap-align: start; display: flex; flex-direction: column; padding: 0 34px 46px; color: var(--ink); text-decoration: none; cursor: pointer; }
.cart-related .rcard::before { content: ""; position: absolute; z-index: -1; top: 110px; bottom: 0; left: 0; right: 0; background: url(../img/pozadie-produkt.svg?v=3) center / 100% 100% no-repeat; }
.cart-related .rcard__img { height: 210px; display: flex; align-items: flex-end; justify-content: center; }
.cart-related .rcard__img img { height: 180px; width: auto; max-width: 100%; object-fit: contain; transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.cart-related .rcard:hover .rcard__img img { transform: rotate(-5deg) scale(1.05); }
.cart-related .rcard__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.cart-related .rcard__price { font-size: 1.5rem; font-weight: 700; color: var(--red); }
.cart-related .rcard__price small { margin-left: 4px; font-size: 1rem; font-weight: 500; color: var(--muted); }
.cart-related .rcard__fav { width: 36px; height: 36px; flex: none; border: 0; padding: 0; background: url(../img/icons/heart.svg) center / 24px no-repeat; cursor: pointer; transition: transform .2s ease; }
.cart-related .rcard__fav:hover { transform: scale(1.1); }
.cart-related .rcard__fav.is-on { background-image: url(../img/icons/heart-full.svg); }
.cart-related .rcard h3 { margin-top: 10px; font-size: 1.5rem; font-weight: 600; line-height: 1.15; transition: color .3s ease; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cart-related .rcard h3 a { color: inherit; text-decoration: none; }
.cart-related .rcard:hover h3 { color: var(--red); }
.cart-related .rcard p { margin-top: 8px; font-size: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-related .rcard .link-arrow { margin-top: auto; padding-top: 14px; min-height: 0; font-size: 1rem; }
@media (max-width: 1100px) { .cart-related .rcard { flex-basis: calc((100% - 2 * clamp(20px, 2vw, 32px)) / 3); } }
@media (max-width: 960px) { .cart-related .rcard { flex-basis: calc((100% - clamp(20px, 2vw, 32px)) / 2); } }
@media (max-width: 560px) { .cart-related .rcard { flex-basis: 78%; } .cart-related .related__arrows { display: none; } .cart-related .rcard__img img { height: 150px; } }

/* The same cards on the cart page (cart.css has no account styles): grid, card and heart. */
.acards { display: grid; }
.acards--cart { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .acards--cart { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .acards--cart { grid-template-columns: minmax(0, 1fr); } }
.acard { display: flex; flex-direction: column; }
.acard .fav-card__img { display: flex; justify-content: center; }
.acard h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; }
.acard h3 a { color: inherit; text-decoration: none; }
.acard .fav-btn { flex: none; border: 0; padding: 0; border-radius: 50%; background: transparent url(../img/icons/heart.svg) center / 24px no-repeat; cursor: pointer; }
.acard .fav-btn.is-on { background-image: url(../img/icons/heart-full.svg); }

/* Úpravy 10. 11., druhé kolo: notices, order detail, cart, spacing. */
/* 1: the e-mail confirmation notice: text first, then the button, more room between. */
.woocommerce-info:has(> .button), .woocommerce-message:has(> .button) { display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 32px; }
.woocommerce-info > .button, .woocommerce-message > .button { flex: none; }
/* 2: the pickups block on top of the order detail. */
.odet .frm-order-schedule { margin: 0 0 18px; }
/* 4: the tax note under the total, smaller. */
.odet__total.is-sum b { text-align: right; }
.odet__total.is-sum small, .odet__total.is-sum .includes_tax { display: block; margin-top: 4px; font-size: .9375rem; font-weight: 500; color: var(--muted); }
/* 5: more room above "Zrušiť objednávku". */
.frm-order-schedule .button, .frm-order-schedule .btn { margin-top: 18px; }
/* 7: the general sentence under a cart day goes away; today's note stays. */
.cart-day:not(.is-today) .cart-day__note { display: none; }
/* 8: more room right of the arrow in "Zmeniť deň". */
.cart-day__change select, .cart-row__day select { padding-right: 34px; background-position: right 12px center; }
/* 10: the number optically in the middle between the arrows. */
.cart-row__qty.pdq .qty__num { position: relative; top: -2px; }
/* 11, 12: more room under the tabs in Zakúpené produkty and Obľúbené. */
.acards { margin-top: 12px; }
.acards:empty { display: none; }

/* Úpravy 11. 11. */
/* 1: the map at once, rounded as the preview was. */
.visit2__map iframe { display: block; width: 100%; height: 100%; min-height: 240px; border-radius: 20px; }
/* 2: the menu button looks the same on every page (the shop had a thinner, smaller icon). */
@media (max-width: 1100px) { .menu-btn svg { width: 34px; height: 34px; stroke-width: 2; } }
/* 3: Spolupráca, the phone and e-mail under each other. */
.visit2__btns--stack { flex-direction: column; align-items: flex-start; margin-top: 28px; }
/* 4: Ďalšie články, the same room above the heading and under the cards. */
.more { padding-bottom: clamp(48px, 6vw, 80px) !important; }
/* 5: pieces and "Do košíka" in the cards of "Mohlo by vám chutiť aj". */
.rcard__buy { margin-top: auto; padding-top: 16px; flex-wrap: nowrap; }
.rcard__buy .btn { padding: 0 18px; white-space: nowrap; }
/* 6: more room under the note of a cart day. */
.cart-day__head { margin-bottom: 10px; }
/* 7: a line and more room above the pickup text in the summary, the warning icon at the note. */
.cart__sum .cart__place { margin-top: 22px; padding-top: 22px; border-top: 1px dashed rgba(46, 33, 20, .2); }
.cart__today:not([hidden]), .today-note:not([hidden]) { display: flex; align-items: flex-start; gap: 10px; }
.note-ico { width: 20px; height: 20px; flex: none; margin-top: 1px; filter: brightness(0) saturate(100%) invert(19%) sepia(23%) saturate(1400%) hue-rotate(347deg) brightness(92%); }

/* Úpravy 11. 11., druhé kolo: cart and checkout. */
/* 1, 5: the warning icon in the middle of the note (one or two lines). */
.cart__today:not([hidden]), .today-note:not([hidden]) { align-items: center; }
.note-ico { margin-top: 0; }
/* 2: today's note under a cart day in the normal weight. */
.cart-day.is-today .cart-day__note { font-weight: 500; }
/* 3: price and bin in the middle of the pieces pill. */
.cart-row { align-items: center; }
.cart-row__price { top: 0 !important; align-self: center; }
.cart-row__x { align-self: center; }
/* 4: the arrow of "Zmeniť deň" further from the edge (own arrow instead of the browser's). */
.cart-day__change select, .cart-row__day select { -webkit-appearance: none; appearance: none; padding-right: 40px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E2114' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center / 16px no-repeat; }
/* 6, 8, 11: checkout fields without the white background, no red frame around the coupon field. */
.wp-block-woocommerce-checkout input[type="email"], .wp-block-woocommerce-checkout input[type="text"], .wp-block-woocommerce-checkout input[type="tel"],
.wp-block-woocommerce-checkout textarea, .wp-block-woocommerce-checkout select, .wc-block-components-totals-coupon input { background: transparent !important; }
.wc-block-components-totals-coupon input:focus, .wc-block-components-totals-coupon .has-error input { border-color: var(--brown) !important; box-shadow: none !important; outline: none !important; }
.wc-block-components-totals-coupon .wc-block-components-text-input.has-error input { border-color: rgba(46, 33, 20, .8) !important; }
/* 7: no frame around the chosen delivery and payment. */
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option { box-shadow: none !important; }
/* 9: the links to the terms underlined like other links. */
.wc-block-checkout__terms a { color: inherit !important; text-decoration: underline; text-underline-offset: 4px; }
/* 10: in the order summary only the pickup day, no description and no allergens. */
.wc-block-components-order-summary .wc-block-components-product-metadata__description,
.wc-block-components-order-summary .wc-block-components-product-details__alerg-ny { display: none; }
/* 12: the coupon button as high as the field. */
.wc-block-components-totals-coupon__form { align-items: stretch; }
.wc-block-components-totals-coupon__button { min-height: 0 !important; height: auto !important; padding: 0 22px !important; font-size: 1.0625rem !important; border-radius: 12px !important; }
/* 13: only today in the cart, so only pickup in the shop: "Poslať" is switched off. */
.wc-block-checkout__shipping-method-option.is-off { opacity: .4; pointer-events: none; cursor: not-allowed; }
/* ---------- B2B partners (NÁVRH of 10. 11. 2026): login, Môj účet, quick order, invoices ---------- */
.auth__partner, .visit2__partner { margin-top: 18px; font-size: 1rem; color: var(--muted); }
.auth__partner a, .visit2__partner a, .b2b-login__other a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.b2b-login { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.b2b-login__form .form { margin-top: 20px; }
.b2b-login__other { margin-top: 18px; color: var(--muted); }
.b2b-login__info h2 { font-family: var(--serif); font-size: clamp(1.75rem, 2.6vw, 2.25rem); font-weight: 600; line-height: var(--lh-head); }
.b2b-perks { list-style: none; display: grid; gap: 16px; margin: 20px 0 28px; padding: 0; }
.b2b-perks li { display: grid; gap: 2px; padding-left: 22px; position: relative; font-size: 1.0625rem; }
.b2b-perks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.b2b-perks span { color: var(--muted); }
.b2b-login__new h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.b2b-login__new p { margin-top: 6px; color: var(--muted); }
.b2b-login__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.acc__tile.b2b-tile--new { background: var(--red-btn); color: #fff; }
.acc__tile.b2b-tile--new span { color: #fff; font-weight: 700; }
.acc__tile.is-alert b { color: var(--red); }
.b2b-alert { margin: 16px 0 0; padding: 12px 16px; border-radius: 14px; background: rgba(194, 26, 28, .1); color: var(--red-btn); font-weight: 700; line-height: 1.3; }
.b2b-alert a { color: inherit; }
.b2b-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 20px; }
.b2b-grid .card-box h2 { font-size: clamp(1.375rem, 1.8vw, 1.625rem); }
.b2b-grid .card-box p + p { margin-top: 14px; }
.b2b-list { list-style: none; display: grid; gap: 10px; margin: 14px 0 0; padding: 0; }
.b2b-list li { display: grid; gap: 2px; }
.b2b-list span { color: var(--muted); font-size: .9375rem; }
.b2b-list a { color: var(--ink); font-weight: 700; }

.b2b-order { display: grid; gap: 20px; }
.b2b-order__intro p { margin-top: 8px; color: var(--muted); font-size: 1.0625rem; }
.b2b-order__from { color: var(--ink) !important; font-weight: 700; }
.b2b-days { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.b2b-day { font: inherit; font-size: 1rem; font-weight: 700; padding: 8px 16px; border: 1.5px solid rgba(46, 33, 20, .2); border-radius: 999px; background: var(--bg); color: var(--ink); cursor: pointer; }
.b2b-day:hover { border-color: var(--ink); }
.b2b-day.is-on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.b2b-search { display: block; margin-top: 16px; }
.b2b-search input { width: 100%; max-width: 420px; font: inherit; font-size: 1.0625rem; padding: 12px 16px; border: 1.5px solid rgba(46, 33, 20, .2); border-radius: 14px; background: var(--bg); color: var(--ink); }
.b2b-order.is-busy .b2b-rows { opacity: .55; pointer-events: none; }
.b2b-cat h3 { margin: 6px 4px 10px; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.b2b-cat[hidden], .b2b-row[hidden] { display: none; }
.b2b-rows { display: grid; gap: 8px; }
.b2b-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto 90px; gap: 16px; align-items: center; padding: 10px 16px; border-radius: 18px; background: #F0EBDF; }
.b2b-row.has-qty { background: var(--card, #FEF6DF); box-shadow: inset 0 0 0 1.5px var(--gold, #E2C682); }
.b2b-row.is-off { opacity: .6; }
.b2b-row__img img { width: 56px; height: 56px; object-fit: contain; }
.b2b-row__name { display: grid; gap: 2px; }
.b2b-row__name b { font-size: 1.125rem; line-height: 1.15; }
.b2b-row__name span { font-size: .9375rem; color: var(--muted); }
.b2b-row__note { font-style: normal; font-size: .875rem; font-weight: 700; color: var(--red); }
.b2b-row__note:empty { display: none; }
.b2b-row__price { display: grid; text-align: right; }
.b2b-row__price b { font-size: 1.125rem; }
.b2b-row__price span { font-size: .8125rem; color: var(--muted); white-space: nowrap; }
.b2b-row__qty { display: inline-flex; align-items: center; height: 44px; padding: 0 4px; border: 1px solid var(--red-btn); border-radius: 999px; color: var(--red-btn); }
.b2b-row__qty button { width: 34px; height: 100%; border: 0; background: none; color: inherit; font: inherit; font-size: 1.375rem; cursor: pointer; }
.b2b-row__qty input { width: 3ch; border: 0; background: none; text-align: center; font: inherit; font-size: 1.1875rem; font-weight: 600; color: var(--ink); -moz-appearance: textfield; }
.b2b-row__qty input::-webkit-outer-spin-button, .b2b-row__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.b2b-row__sum { text-align: right; font-size: 1.0625rem; }
.b2b-bar { position: sticky; bottom: 12px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 14px 20px; border-radius: 20px; background: var(--ink); color: var(--bg); box-shadow: 0 8px 24px rgba(46, 33, 20, .18); }
.b2b-bar p { margin: 0; font-size: 1.125rem; }
.b2b-bar span { font-size: .9375rem; opacity: .75; }
.b2b-bar .b2b-bar__problem { flex-basis: 100%; order: 3; padding: 10px 14px; border-radius: 12px; background: #fff; color: var(--red-btn); font-size: 1rem; font-weight: 700; }
.b2b-bar__problem ul { margin: 6px 0 10px 18px; font-weight: 600; }
.b2b-bar__problem[hidden] { display: none; }

.b2b-owed h2 { font-family: var(--serif); }
.b2b-owed.is-alert h2 { color: var(--red); }
.b2b-owed__pay { color: var(--ink) !important; }
.b2b-invoices { margin-top: 20px; }
.tag-bad, .tag-off { padding: 6px 14px; border-radius: 999px; font-size: .875rem !important; font-weight: 700; white-space: nowrap; }
.tag-bad { background: rgba(194, 26, 28, .12); color: var(--red-btn) !important; }
.tag-off { background: rgba(46, 33, 20, .08); color: var(--muted) !important; }
.order-row__invoice a, .order-row__repeat a { color: var(--ink); font-weight: 700; }
.b2b-demo { margin-top: 16px; font-size: .875rem; color: var(--muted); }
.frm-invoice-note { margin: 12px 0; padding: 12px 16px; border-radius: 14px; background: rgba(226, 198, 130, .4); font-weight: 600; }

.b2b-company dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 24px; margin: 16px 0; }
.b2b-company dt { font-size: .875rem; font-weight: 700; color: var(--muted); }
.b2b-company dd { margin: 2px 0 0; font-size: 1.0625rem; }
.b2b-company a { color: var(--ink); font-weight: 700; }
.b2b-company__login { margin: 28px 0 14px; font-family: var(--serif); font-size: 1.75rem; font-weight: 600; }

.inv-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.inv { background: #fff; }
.inv__demo { margin: 0 0 18px; padding: 8px 12px; border-radius: 10px; background: rgba(226, 198, 130, .4); font-size: .9375rem; font-weight: 700; }
.inv__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; }
.inv__head h2 { font-family: var(--serif); }
.inv__head p { color: var(--muted); }
.inv__parties { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; padding-top: 20px; border-top: 1px dashed rgba(46, 33, 20, .2); }
.inv__parties h3 { font-size: .875rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.inv__parties p { margin-top: 6px; }
.inv__parties dl, .inv__dates { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin-top: 8px; font-size: .9375rem; }
.inv__parties dt, .inv__dates dt { color: var(--muted); }
.inv__parties dd, .inv__dates dd { margin: 0; }
.inv__dates { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 20px; margin: 22px 0; padding: 14px 16px; border-radius: 14px; background: #F0EBDF; }
.inv__dates div { display: grid; gap: 2px; }
.inv__dates dd { font-weight: 700; }
.inv__missing { color: var(--red); font-style: italic; font-weight: 600; }
.inv__small { font-size: .8125rem; color: var(--muted); }
.inv__lines, .inv__vat { width: 100%; border-collapse: collapse; font-size: .9875rem; }
.inv__lines th, .inv__vat th { padding: 8px 6px; border-bottom: 1.5px solid var(--ink); font-size: .8125rem; text-align: left; }
.inv__lines td, .inv__vat td { padding: 8px 6px; border-bottom: 1px dashed rgba(46, 33, 20, .2); vertical-align: top; }
.inv__lines .num, .inv__vat .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.inv__day { display: block; font-size: .8125rem; color: var(--muted); }
.inv__refund td { color: var(--red-btn); font-weight: 700; }
.inv__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; margin-top: 22px; }
.inv__vat { max-width: 460px; }
.inv__total { display: grid; justify-items: end; gap: 2px; }
.inv__total span { font-weight: 700; color: var(--muted); }
.inv__total b { font-family: var(--serif); font-size: 2.25rem; line-height: 1; }

@media (max-width: 860px) {
  .b2b-login { grid-template-columns: 1fr; }
  .b2b-row { grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "img name price" "img qty sum"; gap: 8px 12px; }
  .b2b-row__img { grid-area: img; } .b2b-row__name { grid-area: name; } .b2b-row__price { grid-area: price; }
  .b2b-row__qty { grid-area: qty; justify-self: start; } .b2b-row__sum { grid-area: sum; }
  .b2b-row__img img { width: 48px; height: 48px; }
  .inv__parties, .inv__foot { grid-template-columns: 1fr; }
  .inv__total { justify-items: start; }
}
@media (max-width: 640px) {
  .inv__lines th:nth-child(3), .inv__lines td:nth-child(3) { display: none; }
  .b2b-bar { bottom: 8px; padding: 12px 14px; }
  .b2b-bar .btn { width: 100%; }
}
@media print {
  .header, .hero__banner, .acc-head, .acc__nav, .inv-tools, .footer, .closure-notice, .toast, .mobile-nav, .acc-menu, #wpadminbar { display: none !important; }
  .acc { display: block !important; }
  .acc-sec { padding: 0 !important; }
  .inv { box-shadow: none; border-radius: 0; padding: 0; }
  .inv__dates { background: none; border: 1px solid #ccc; }
}
/* ==============================================================================================
/* Mobile menu: Môj účet and Veľkoobchod open their choices. */
.mnav-acc { opacity: 0; translate: -24px 0; transition: opacity .4s, translate .5s cubic-bezier(.22, 1, .36, 1); }
.mobile-nav.is-open .mnav-acc { opacity: 1; translate: 0 0; transition-delay: .37s; }
.mnav-acc summary { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 2.25rem; font-weight: 800; cursor: pointer; list-style: none; }
.mnav-acc summary::-webkit-details-marker { display: none; }
.mnav-acc summary .icon { width: 26px; height: 26px; transition: transform .25s; }
.mnav-acc[open] summary .icon { transform: rotate(180deg); }
.mobile-nav .mnav-acc__list { display: grid; gap: 2px; padding: 6px 0 12px; }
.mobile-nav .mnav-acc__list a { display: flex; align-items: center; gap: 14px; padding: 8px 0; font-size: 1.375rem; font-weight: 600; opacity: 1; translate: 0 0; }
.mobile-nav .mnav-acc__list a svg { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
/* Prihlásenie: more room above the partner line, the link on its own line. */
.auth__partner { margin-top: 40px; text-align: center; line-height: 1.6; }
/* Pre partnerov: the form as Prihlásenie. */
.b2b-login__form .form { gap: 22px; }
.b2b-login__form .form__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.b2b-login__form .form__row .form__link { justify-self: start; text-decoration: underline; text-underline-offset: 5px; }
.b2b-login__form .form__row .btn { justify-self: center; margin-top: 0; }
.mobile-nav .mnav-acc__list hr { border: 0; border-top: 1px dashed currentColor; opacity: .3; margin: 8px 0; }

/* Pre partnerov (design of 11. 11.): login and "Ešte nie ste náš partner?" side by side, the perks under them in a row. */
.b2b-head { padding-bottom: 0; }
.acc-sec.b2b-sec { padding-top: clamp(40px, 4vw, 64px); }
.b2b-login { align-items: stretch; }
.b2b-login__new { align-self: start; }
.b2b-login__info { margin-top: clamp(48px, 6vw, 80px); }
.b2b-perks { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin: 28px 0 0; }
.b2b-perks li { padding-left: 0; gap: 6px; align-content: start; }
.b2b-perks li::before { content: none; }
.b2b-perks li svg { width: 32px; height: 32px; margin-bottom: 8px; fill: none; stroke: var(--red); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .b2b-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .b2b-perks { grid-template-columns: 1fr; } }

/* Pre partnerov, round 2 (design of 11. 11.). */
.b2b-login__form .form__row { grid-template-columns: 1fr auto; }
.b2b-login__form .form__row .btn { justify-self: end; }
.b2b-login__other { text-align: center; margin-top: 24px; }
.b2b-login__new h3 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: var(--lh-head); }
.b2b-login__info h2 { text-align: center; font-size: clamp(2rem, 3.4vw, 3rem); }
.b2b-perks { margin-top: clamp(36px, 4vw, 56px); }
.b2b-perks b { font-size: 1.375rem; line-height: 1.3; }
.b2b-perks__ico { width: 40px; height: 40px; margin-bottom: 12px; object-fit: contain; filter: brightness(0) saturate(100%) invert(19%) sepia(23%) saturate(1400%) hue-rotate(347deg) brightness(92%); }

/* Pre partnerov, round 3 (design of 11. 11.): the new partner without a card, centred; red icons. */
.b2b-login__new.card-box { background: none; box-shadow: none; border: 0; align-self: center; text-align: center; }
.b2b-login__new .b2b-login__btns { justify-content: center; }
.b2b-login__other { margin-top: 40px; }
.b2b-perks__ico { display: block; filter: none; background: var(--red); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.b2b-login__new p { font-size: 1.1875rem; line-height: 1.6; max-width: 34em; margin-inline: auto; }
.b2b-login__new .b2b-login__btns { margin-top: 32px; }
/* The four icons drawn with different padding: sizes that make them look equally big. */
.b2b-perks li { grid-template-rows: auto; }
.b2b-perks__ico { width: var(--s, 40px); height: var(--s, 40px); margin-block: calc((40px - var(--s, 40px)) / 2 + 0px) calc((40px - var(--s, 40px)) / 2 + 12px); }
.b2b-perks li:nth-child(1) .b2b-perks__ico { --s: 32px; }
.b2b-perks li:nth-child(2) .b2b-perks__ico { --s: 40px; }
.b2b-perks li:nth-child(3) .b2b-perks__ico { --s: 39px; }
.b2b-perks li:nth-child(4) .b2b-perks__ico { --s: 38px; }
/* Prihlásenie: more room under the button, the partner lines closer together (design of 11. 11.). */
.auth .auth__pane .auth__partner { margin-top: 44px; line-height: 1.35; }

/* Kategórie in the menu (design of 11. 11.): a panel with the categories, like Môj účet; no arrows in the header. */
.nav .nav__drop { cursor: pointer; }
.acc-menu--cats a { gap: 12px; }
.acc-menu__pic { width: 32px; height: 32px; object-fit: contain; flex: none; }
.mobile-nav .mnav-acc__list .acc-menu__pic { width: 28px; height: 28px; }
/* The page of one category: the panel of the shop, always as the grid. */
.cat-page .panel + .panel { margin-top: clamp(48px, 6vw, 80px); }
.cat-page__head .pd__crumbs { margin-bottom: 0; }
.cat-page__head .pd__crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9375rem; color: var(--muted); }
.cat-page__head .pd__crumbs a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
/* Môj účet without the arrow (design of 11. 11.): the same gap before it as between the menu items, room before the cart. */
@media (min-width: 1101px) {
  .header .header__actions .account { margin-left: var(--hg); margin-right: calc(var(--hg) - 4px); }
}

/* The page of one category (design of 11. 11.): photo over the whole screen under the header, name in the middle;
   the text and tags centred; the products centred, at most four in a row. */
.cat-hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; background: var(--cream-2, #EFE8DC); }
.cat-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-hero__in { position: relative; z-index: 1; text-align: center; padding-top: var(--header-h, 120px); }
.cat-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(3rem, 8vw, 7.5rem); line-height: 1.02; color: var(--ink); text-wrap: balance; }
.cat-page__intro { max-width: 760px; margin: 0 auto clamp(48px, 6vw, 88px); text-align: center; }
.cat-page__intro h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: 16px; }
.cat-page__intro p { font-size: 1.1875rem; line-height: 1.6; color: var(--muted); }
.cat-page__intro p + p { margin-top: 14px; }
.cat-page .cat-page__tags { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 14px 28px; margin-top: 28px; }
.prod-grid.cat-grid { --cols: 4; --gap: clamp(28px, 4vw, 64px); display: flex; flex-wrap: wrap; justify-content: center; gap: 72px var(--gap); }
.cat-grid .product-card { width: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
@media (max-width: 1180px) { .prod-grid.cat-grid { --cols: 3; } }
@media (max-width: 960px) { .prod-grid.cat-grid { --cols: 2; } }
@media (max-width: 560px) { .prod-grid.cat-grid { --cols: 1; } }
.cat-page + .cat-page { padding-top: 0; }
.cat-page__note { text-align: center; margin-top: 0; }
/* The name stays readable on light and dark photos: a soft shade in the middle only (the menu on top stays on the photo). */
.cat-hero:not(.is-plain)::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 40% at 50% 55%, rgba(30, 20, 12, .55), rgba(30, 20, 12, 0) 100%); pointer-events: none; }
.cat-hero:not(.is-plain) h1 { color: #FBF7F0; text-shadow: 0 2px 24px rgba(30, 20, 12, .35); }
/* Category page: three products in a row on the desktop, more room above them (design of 11. 11.). */
.prod-grid.cat-grid { --cols: 3; }
.cat-page__intro { margin-bottom: clamp(80px, 9vw, 140px); }
@media (max-width: 960px) { .prod-grid.cat-grid { --cols: 2; } }
@media (max-width: 560px) { .prod-grid.cat-grid { --cols: 1; } }
/* Four products: 2 x 2, the cards as wide as in the rows of three (design of 11. 11.). */
@media (min-width: 961px) { .prod-grid.cat-grid.is-2x2 { --cols: 2; max-width: calc((100% - 2 * var(--gap)) / 3 * 2 + var(--gap)); margin-inline: auto; } }
/* Category page: room between the cards (their backgrounds reach past the card), the same space above the text
   as between the tags and the photos of the products (the photos rise about 42px above the cards). */
.prod-grid.cat-grid { --gap: clamp(64px, 6vw, 100px); }
.cat-page:first-of-type, .cat-hero + .cat-page { padding-top: clamp(72px, 8.5vw, 120px); }
.cat-page__intro { margin-bottom: calc(clamp(72px, 8.5vw, 120px) + 42px); }
.cat-page .cat-page__note { margin-top: 56px; text-align: center; }
/* Category text: larger, its most interesting parts in bold; a bit more room above the products (design of 11. 11.). */
.cat-page__intro { max-width: 860px; margin-bottom: calc(clamp(72px, 8.5vw, 120px) + 82px); }
.cat-page__intro p { font-size: clamp(1.25rem, 1.6vw, 1.4375rem); line-height: 1.55; }
.cat-page__intro strong { color: var(--ink); font-weight: 700; }
.cat-page .cat-page__tags { margin-top: 56px; }
/* Every item of the menu, Môj účet too, in the same size (design of 11. 11.). */
@media (min-width: 1101px) { .header .nav a, .header .header__actions .account { font-size: 1.25rem; } }
@media (min-width: 1101px) and (max-width: 1280px) { .header .nav a, .header .header__actions .account { font-size: 1.125rem; } }
/* Text pages (Obchodné podmienky, Ochrana osobných údajov, Cookies; design of 11. 11.): smaller heading,
   the text left-aligned in a narrower column in the middle of the page. */
.acc-head.is-text h1 { font-size: clamp(2.25rem, 4.2vw, 3.5rem); }
.page-body.is-text .entry { max-width: 720px; margin-inline: auto; text-align: left; }
.page-body.is-text .entry h2 { font-size: clamp(1.5rem, 2.2vw, 1.875rem); }
/* Category pages: the text a bit narrower. */
.cat-page__intro { max-width: 720px; }

/* Pokladňa (design of 12. 11.). */
/* 11: a step back to the cart above Kontaktné údaje. */
.co-back { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; font-weight: 700; color: var(--ink); text-decoration: none; }
.co-back .icon { transition: transform .2s var(--ease); }
.co-back:hover .icon { transform: translateX(-4px); }
/* 9, 5: fields with a brown frame like the login (screen 13), red when clicked. */
.wp-block-woocommerce-checkout .wc-block-components-text-input input,
.wp-block-woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
.wp-block-woocommerce-checkout .wc-blocks-components-select__select,
.wp-block-woocommerce-checkout textarea { border: 1px solid rgba(46, 33, 20, .22) !important; border-radius: 16px !important; box-shadow: none !important; outline: none !important; transition: border-color .2s; }
.wp-block-woocommerce-checkout .wc-blocks-components-select__container { border-radius: 16px !important; }
.wp-block-woocommerce-checkout .wc-block-components-text-input input:focus,
.wp-block-woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
.wp-block-woocommerce-checkout .wc-blocks-components-select__select:focus,
.wp-block-woocommerce-checkout textarea:focus { border-color: var(--red) !important; }
.wp-block-woocommerce-checkout .wc-block-components-text-input label,
.wp-block-woocommerce-checkout .wc-blocks-components-select__label { color: var(--muted); }
/* 10: Poslať / Osobný odber: a fine frame, the inside like the page, the chosen one in caramel (as Súhrn in the cart). */
.wc-block-checkout__shipping-method-container { background: transparent !important; border: 1px solid rgba(46, 33, 20, .22); border-radius: 16px; padding: 6px !important; gap: 6px; }
.wc-block-checkout__shipping-method-option { border: 0 !important; border-radius: 12px !important; background: transparent; box-shadow: none !important; }
.wc-block-checkout__shipping-method-option--selected { background: #F0EBDF !important; font-weight: 700; }
/* 3: delivery and payment options without the frame. */
.wc-block-components-radio-control--highlight-checked::after, .wc-block-components-radio-control__option::after, .wc-block-components-radio-control-accordion-option::after { content: none !important; display: none !important; }
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option { padding-left: 40px !important; padding-right: 0 !important; }
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__input { left: 0 !important; }
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option-layout,
.wc-block-components-radio-control-accordion-content { padding-left: 0 !important; padding-right: 0 !important; }
.wc-block-components-radio-control-accordion-content { padding-left: 40px !important; }
/* 4: dashed brown line above the terms. */
.wc-block-checkout__terms.wc-block-checkout__terms--with-separator { border-top: 1px dashed rgba(83, 55, 29, .45) !important; }
/* 7: the order summary without the frame. */
.checkout-order-summary-block-fill, .wp-block-woocommerce-checkout-order-summary-block { border: 0 !important; }
/* 8: the whole photo in the summary. */
.wc-block-components-order-summary-item__image img { object-fit: contain; height: auto !important; max-height: 72px; }
.wp-block-woocommerce-checkout .wc-blocks-components-select__container { background: transparent !important; }

/* Pokladňa, round 2 (design of 12. 11.). */
/* 4: a smaller gap under "Späť do košíka". */
.co-back { margin-bottom: 8px; }
.co-back ~ .entry .wp-block-woocommerce-checkout { padding-top: 0 !important; }
/* 1: one pickup place only, so no radio button in front of it. */
.wc-block-components-local-pickup-select .wc-block-components-radio-control:has(> :only-child) .wc-block-components-radio-control__input { display: none; }
.wc-block-components-local-pickup-select .wc-block-components-radio-control:has(> :only-child) .wc-block-components-radio-control__option { padding-left: 0 !important; }
/* 2: the chosen radio button in red. */
.wp-block-woocommerce-checkout .wc-block-components-radio-control__input { background: transparent !important; border: 1.5px solid rgba(46, 33, 20, .5) !important; }
.wp-block-woocommerce-checkout .wc-block-components-radio-control__input:checked { border-color: var(--red) !important; }
.wp-block-woocommerce-checkout .wc-block-components-radio-control__input:checked::before { background: var(--red) !important; }
/* 3, 6: checkboxes only as a brown stroke, the inside like the page. */
.wp-block-woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] { background: transparent !important; border: 1.5px solid rgba(46, 33, 20, .5) !important; box-shadow: none !important; }
.wp-block-woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { border-color: var(--brown) !important; }
.wp-block-woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: var(--brown); }
/* 5: the lines in the summary and above the terms as the brown dashes of the footer. */
.wp-block-woocommerce-checkout .wc-block-components-totals-wrapper,
.wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block,
.wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-totals-block,
.wp-block-woocommerce-checkout .wc-block-components-checkout-order-summary__title,
.wc-block-checkout__terms.wc-block-checkout__terms--with-separator { border-image: repeating-linear-gradient(90deg, rgba(83, 55, 29, .55) 0 6px, transparent 6px 11px) 1 !important; }
/* 7: the order summary on caramel like Súhrn in the cart. */
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block { background: #F0EBDF; border-radius: 24px; padding: clamp(12px, 1.6vw, 20px) clamp(8px, 1.2vw, 16px); }
.wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title { border: 0 !important; }
/* Dodanie: the chosen option red with white text (design of 12. 11.). */
.wc-block-checkout__shipping-method-option.wc-block-checkout__shipping-method-option--selected { background: var(--red) !important; }
.wc-block-checkout__shipping-method-option--selected, .wc-block-checkout__shipping-method-option--selected .wc-block-checkout__shipping-method-option-title { color: #fff !important; }
.wc-block-checkout__shipping-method-option--selected svg { fill: #fff !important; }
/* Zhrnutie objednávky (design of 12. 11.): more room around the dashed lines, a bigger "Deň výdaja". */
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-cart-items-block { padding-bottom: 28px !important; }
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-coupon-form-block { padding-top: 24px !important; padding-bottom: 24px !important; }
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-subtotal-block { padding-top: 28px !important; }
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-totals-block { padding-bottom: 24px !important; }
.wc-block-checkout__sidebar .wc-block-components-totals-wrapper:not(.wp-block-woocommerce-checkout-order-summary-coupon-form-block):not(.wp-block-woocommerce-checkout-order-summary-subtotal-block):not(.wp-block-woocommerce-checkout-order-summary-shipping-block):not(.wp-block-woocommerce-checkout-order-summary-discount-block):not(.wp-block-woocommerce-checkout-order-summary-fee-block) { padding-top: 24px !important; }
.wc-block-components-order-summary .wc-block-components-product-details__de-v-daja { font-size: 1.0625rem; }
/* Zhrnutie objednávky: one price per product, the total of the line (design of 12. 11.). */
.wc-block-components-order-summary .wc-block-cart-item__prices { display: none !important; }
/* Zhrnutie objednávky: the pickup day stands out (design of 12. 11.). */
.wc-block-components-order-summary .wc-block-components-product-details__de-v-daja .wc-block-components-product-details__name { font-weight: 500; }
.wc-block-components-order-summary .wc-block-components-product-details__de-v-daja .wc-block-components-product-details__value { font-weight: 800; color: var(--ink); white-space: nowrap; }
/* Zhrnutie objednávky: "Výdaj:" instead of "Deň výdaja:" (design of 12. 11.); the text of the plugin stays, only shown shorter. */
.wc-block-components-order-summary .wc-block-components-product-details__de-v-daja .wc-block-components-product-details__name { font-size: 0; }
.wc-block-components-order-summary .wc-block-components-product-details__de-v-daja .wc-block-components-product-details__name::before { content: "Výdaj:"; font-size: 1.0625rem; }
/* Možnosti dopravy and platby: less room between the heading and the options (design of 12. 11.). */
#shipping-option .wc-block-components-checkout-step__heading-container, #payment-method .wc-block-components-checkout-step__heading-container { margin-bottom: 14px !important; }
#shipping-option .wc-block-components-radio-control__option:first-child, #payment-method .wc-block-components-radio-control-accordion-option:first-child .wc-block-components-radio-control__option { padding-top: 6px !important; }
#shipping-option .wc-block-components-radio-control__option:first-child .wc-block-components-radio-control__input, #payment-method .wc-block-components-radio-control-accordion-option:first-child .wc-block-components-radio-control__input { top: 20px !important; }
#shipping-option .wc-block-components-radio-control__option:first-child .wc-block-components-radio-control__input { top: 11px !important; }
/* Dodanie: the frame as round as the fields above it (16px), the chosen option inside it 11px. */
.wc-block-checkout__shipping-method-container { border-radius: 16px !important; }
.wc-block-checkout__shipping-method-option { border-radius: 11px !important; }

/* Pokladňa (design of 12. 11.): the shop's address under the pickup, the note when nothing is delivered to the postcode. */
.frm-shop-addr { display: block; margin-top: 4px; font-size: 1rem; color: var(--muted); }
.no-delivery { margin: 16px 0 0 !important; }
.no-delivery[hidden] { display: none !important; }
.no-delivery { padding: 16px 24px !important; gap: 12px !important; align-items: center !important; }
/* Zhrnutie objednávky: the photo with its number in the middle of the text on its right (design of 12. 11.). */
.wc-block-components-order-summary .wc-block-components-order-summary-item { align-items: center; }
.wc-block-components-order-summary .wc-block-components-order-summary-item__image { align-self: center; display: flex; align-items: center; justify-content: center; padding-bottom: 0 !important; }
.wc-block-components-order-summary .wc-block-components-order-summary-item__total-price { align-self: flex-start; }
/* Zhrnutie objednávky: the number of pieces in a red circle, the digit in its optical middle (design of 12. 11.). */
.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity { background: var(--red) !important; color: #fff !important; border: 0 !important; box-shadow: none !important; width: 22px !important; min-width: 22px; height: 22px !important; padding: 0 !important; display: grid !important; place-items: center; font-size: .9375rem !important; font-weight: 700; line-height: 1 !important; }
.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity span[aria-hidden] { display: block; line-height: 1; transform: translateY(-2px); }
/* Zhrnutie objednávky: the final sum stands out (design of 12. 11.). */
.wc-block-checkout__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-weight: 800 !important; font-size: 1.75rem !important; color: var(--ink); }
.wc-block-checkout__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-weight: 700 !important; }

/* Pokladňa on a tablet and a phone (design of 12. 11.): the order summary once, open, at the top (the closed one at the top
   and the copy above the button go), the note centred on two lines, more room under the dashed line, less above the title. */
.no-delivery__br { display: none; }
.wc-block-components-sidebar-layout:not(.is-large) .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__content { display: block !important; }
.wc-block-components-sidebar-layout:not(.is-large) .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title { pointer-events: none; cursor: default; border: 0 !important; padding-top: 8px !important; padding-bottom: 0 !important; margin-top: 0 !important; }
.wc-block-components-sidebar-layout:not(.is-large) .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title-price,
.wc-block-components-sidebar-layout:not(.is-large) .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title-icon { display: none !important; }
.wc-block-components-sidebar-layout:not(.is-large) .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block { background: #F0EBDF; border-radius: 24px; padding: 8px 20px 12px; }
@media (max-width: 960px) {
  .no-delivery { justify-content: center; text-align: center; }
  .no-delivery__br { display: inline; }
  .wc-block-checkout__terms.wc-block-checkout__terms--with-separator { padding-top: 18px !important; }
  .acc-head { padding-top: calc(var(--header-h, 200px) - 16px) !important; }
}
@media (max-width: 600px) { .no-delivery { flex-direction: column; align-items: center !important; gap: 8px !important; padding: 16px 20px !important; } }
/* Upozornenie o doručení: a bigger icon, the lines closer together (design of 12. 11.). */
.no-delivery .note-ico { width: 26px !important; height: 26px !important; flex: none; }
.no-delivery span { line-height: 1.35; }
/* Odberné miesta: the same gap under the heading as Možnosti dopravy and platby (design of 12. 11.). */
#pickup-options .wc-block-components-checkout-step__heading-container { margin-bottom: 14px !important; }
#pickup-options .wc-block-components-radio-control__option:first-child { padding-top: 6px !important; }

/* Pokladňa on a tablet and a phone, round 2 (design of 12. 11.): the order summary under the filled-in details, above
   the terms and the button (WooCommerce's own copy there); none at the top. */
.wc-block-components-sidebar-layout:not(.is-large) .wc-block-checkout__sidebar { display: none !important; }
.wc-block-components-sidebar-layout:not(.is-large) .wc-block-checkout__form { display: flex; flex-direction: column; }
.wc-block-components-sidebar-layout:not(.is-large) .wc-block-checkout__actions { display: contents; }
.wc-block-components-sidebar-layout:not(.is-large) .wc-block-checkout__actions > :has(.wp-block-woocommerce-checkout-order-summary-block) { order: 1; margin-bottom: 8px; }
.wc-block-components-sidebar-layout:not(.is-large) .wc-block-checkout__terms { order: 2; }
.wc-block-components-sidebar-layout:not(.is-large) .wc-block-checkout__actions > :not(:has(.wp-block-woocommerce-checkout-order-summary-block)) { order: 3; }
.wc-block-components-sidebar-layout:not(.is-large) .wc-block-checkout__actions .wp-block-woocommerce-checkout-order-summary-block { display: block !important; }
.wc-block-components-sidebar-layout:not(.is-large) .wc-block-checkout__actions .checkout-order-summary-block-fill { background: #F0EBDF; border: 0 !important; border-radius: 24px; padding: 8px 4px; }
.wc-block-checkout__actions .wp-block-woocommerce-checkout-order-summary-cart-items-block { padding-bottom: 28px !important; }
.wc-block-checkout__actions .wp-block-woocommerce-checkout-order-summary-coupon-form-block { padding-top: 24px !important; padding-bottom: 24px !important; }
.wc-block-checkout__actions .wp-block-woocommerce-checkout-order-summary-subtotal-block { padding-top: 28px !important; }
.wc-block-checkout__actions .wp-block-woocommerce-checkout-order-summary-totals-block { padding-bottom: 24px !important; }
.wc-block-checkout__actions .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-weight: 800 !important; font-size: 1.75rem !important; color: var(--ink); }
.wc-block-checkout__actions .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-weight: 700 !important; }
.wc-block-checkout__actions .wc-block-components-order-summary .wc-block-components-product-name { font-family: var(--font) !important; font-size: 1.0625rem !important; font-weight: 500 !important; }

/* Košík (design of 12. 11.): the lines in Súhrn as the brown dashes of the checkout; on a phone the price next to the pieces. */
.cart__sum .cart__total, .cart__sum .cart__place { border-top: 1px solid !important; border-image: repeating-linear-gradient(90deg, rgba(83, 55, 29, .55) 0 6px, transparent 6px 11px) 1 !important; }
@media (max-width: 600px) {
  .cart-row { grid-template-columns: 64px auto minmax(0, 1fr) 28px !important; }
  .cart-row__img { grid-row: 1; grid-column: 1; }
  .cart-row__info { grid-row: 1; grid-column: 2 / 4; }
  .cart-row__qty { grid-row: 2; grid-column: 2 !important; }
  .cart-row__price { grid-row: 2; grid-column: 3 !important; justify-self: start; text-align: left; margin-left: 8px; }
  .cart-row__x { grid-row: 1; grid-column: 4 !important; }
}
.b2b-login__other { line-height: 1.35; }

/* Design of 12. 11.: Pre partnerov, registration, footer. */
.b2b-login__we { font-weight: 700; }
/* the footer logo keeps its round shape when its column is narrower than 209px */
.footer .footer__logo { height: auto; max-width: 100%; aspect-ratio: 1; object-fit: contain; }
/* Registrácia: "Súhlasím…" a bit bigger with more room under it; the privacy text smaller and closer */
.auth .form__check { font-size: 1.125rem; margin-bottom: 12px; }
.auth .woocommerce-privacy-policy-text { margin-top: 0 !important; padding-top: 0 !important; }
.auth .woocommerce-privacy-policy-text p { font-size: 1rem !important; line-height: 1.55 !important; margin: 0 !important; }
@media (min-width: 601px) and (max-width: 960px) { .b2b-login .card-box { padding: 44px 56px !important; } }
@media (max-width: 960px) {
  .auth .form__row--reg { display: flex; flex-direction: column; align-items: center; gap: 18px; }
  .auth .form__row--reg > span { display: none; }
}
@media (max-width: 520px) {
  .b2b-perks { gap: 48px !important; }
  .b2b-perks li { justify-items: center; text-align: center; padding-inline: 20px !important; }
}
@media (max-width: 960px) { main > .acc-sec:first-child { padding-top: calc(var(--header-h, 200px) - 16px) !important; } }
.auth form wc-order-attribution-inputs { display: none; }
@media (min-width: 521px) and (max-width: 900px) { .b2b-perks { row-gap: 56px !important; } }
/* V partnerskom účte: the four icons optically the same size (measured drawing: tag 94 %, bolt 90 % × 63 %, calendar 83 %, receipt 89 % of the box). */
.b2b-perks li:nth-child(1) .b2b-perks__ico { --s: 40px; }
.b2b-perks li:nth-child(2) .b2b-perks__ico { --s: 41px; }
.b2b-perks li:nth-child(3) .b2b-perks__ico { --s: 42px; }
.b2b-perks li:nth-child(4) .b2b-perks__ico { --s: 39px; }
/* Less room above the title wherever the header is the narrow one (with the menu button, up to 1100px). */
@media (max-width: 1100px) { .acc-head, main > .acc-sec:first-child { padding-top: calc(var(--header-h, 200px) - 16px) !important; } }
/* Registrácia (design of 12. 11.): the terms box only as a brown stroke like the checkout; on a tablet and a phone the texts centred and "Prihlásiť sa" bigger. */
.auth .form__check input[type="checkbox"] { -webkit-appearance: none; appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border: 1.5px solid rgba(46, 33, 20, .5); border-radius: 6px; background: var(--bg) no-repeat center / 14px; cursor: pointer; }
.auth .form__check input[type="checkbox"]:checked { border-color: var(--brown); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2353371D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.auth .form__check input[type="checkbox"]:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
@media (max-width: 960px) {
  .auth .woocommerce-privacy-policy-text, .auth .woocommerce-privacy-policy-text p { text-align: center; }
  .auth .form__check { justify-content: center; }
  .auth .form__row--reg .form__link { font-size: 1.125rem; }
}

/* Obchod on a tablet and a phone (design of 12. 11.). */
/* 3: the tip on the back of a product photo turns only on the desktop (with a mouse) */
@media (hover: none), (max-width: 1100px) {
  .flip:hover .flip__inner, .flip:focus-visible .flip__inner, .product-card:hover .flip__inner { transform: none !important; }
}
@media (max-width: 640px) {
  /* 1, 2: the arrows stay, two categories at a time */
  .cat-strip { gap: 8px; }
  .cat-strip .cat-strip__arrow { display: grid !important; place-items: center; width: 34px; height: 34px; }
  .cat-strip .tab { flex-basis: calc((100% - var(--strip-gap)) / 2) !important; }
}
@media (max-width: 960px) {
  /* 4: more room between the products */
  #panels.is-grid .panel { row-gap: 72px; }
  /* 5: Denne čerstvé… centred, icons too */
  .order__items > div { text-align: center !important; }
  .order__items img { margin-inline: auto !important; }
  .order__items p { margin-inline: auto !important; }
}

/* Design of 12. 11.: the BIO bar on a phone, the room above "Denne čerstvé". */
@media (max-width: 640px) {
  .hero__banner .hero__banner-txt { gap: 20px !important; }
  .hero__banner .hero__banner-txt p > span { display: block; }
}
@media (max-width: 960px) { .order { padding-top: 40px !important; } }

/* Kde nás nájdete (template-parts/visit.php) the same on every page on a tablet and a phone (design of 12. 11.):
   the shop and the category pages had the desktop photo; less room above the title and under the buttons. */
@media (max-width: 960px) and (min-width: 641px) {
  .visit2 { background: #CFCAC3 url(../img/predajna-bg-tablet.jpg) calc(100vw - 1090px) center / auto 100% no-repeat; }
  .visit2__note { max-width: 36ch; }
  .visit2__note br { display: none; }
}
@media (max-width: 640px) {
  .visit2 { position: relative; isolation: isolate; background: #7F7775 !important; padding-top: 48px !important; padding-bottom: calc(78vw + 16px) !important; }
  .visit2::before { content: ""; position: absolute; inset: auto 0 0; z-index: -1; aspect-ratio: 1200 / 3183; background: url(../img/predajna-bg-mobil3.jpg) center bottom / 100% auto no-repeat;
    -webkit-mask-image: linear-gradient(to top, #000 85%, transparent); mask-image: linear-gradient(to top, #000 85%, transparent); }
}
/* Kde nás nájdete on a tablet and a phone: address and hours, and the two buttons, side by side when they fit. */
@media (max-width: 960px) {
  .visit2 .visit2__rows { display: flex !important; flex-wrap: wrap; justify-content: flex-start; column-gap: 72px; row-gap: 16px; white-space: nowrap; }
  .visit2 .visit2__btns { display: flex !important; flex-direction: row !important; flex-wrap: wrap; align-items: center; gap: 12px; }
}
@media (max-width: 640px) { .visit2 h2 + h3 { margin-top: 28px !important; } }
@media (max-width: 640px) { .visit2 { overflow: hidden; } .visit2::before { inset: 0 !important; aspect-ratio: auto !important; } }
@media (max-width: 640px) { .prod-grid .product-card { padding-inline: 44px !important; } }
@media (max-width: 640px) { .cat-strip .tab__label { margin-inline: 0 !important; white-space: normal !important; text-wrap: balance; } }
/* Obchod: the category strip never cuts a category (design of 12. 11.): 4 on a desktop, 3 on a tablet, 2 on a small
   tablet and a phone (shop.css); the photo stays inside its own box and a long name wraps instead of running out. */
.cat-strip .tab__pic { overflow: hidden !important; }
.cat-strip .tab__pic img { max-width: 100% !important; height: auto !important; max-height: 124px; object-fit: contain; }
@media (max-width: 640px) { .cat-strip .tab__pic img { max-height: 84px; } }
.cat-strip .tab:hover .tab__pic img { transform-origin: 50% 100%; transform: scale(1.04); }
@media (max-width: 1100px) { .cat-strip .tab__label { margin-inline: 0 !important; white-space: normal !important; text-wrap: balance; } }
/* Úvod na mobile (design of 12. 11.): new photo behind "Lepok pre nás…", more room under "Obľúbené medzi zákazníkmi". */
@media (max-width: 640px) {
  .about::before { background-image: url(../img/pekaren-bg-mobil3.jpg) !important; height: min(100%, 226vw) !important; }
  #oblubene-title { margin-bottom: 0; }
  .section-head:has(#oblubene-title) { margin-bottom: 0 !important; }
}
@media (max-width: 640px) {
  /* O pekárni: no fading into the darker colour at the bottom, the photo goes all the way down */
  .about::before { height: 100% !important; -webkit-mask-image: none !important; mask-image: none !important; background-position: center top !important; background-size: cover !important; }
}
@media (max-width: 640px) {
  /* Kde nás nájdete: no fading into the darker colour at the top, the photo fills the whole section */
  .visit2::before { inset: 0 !important; -webkit-mask-image: none !important; mask-image: none !important; background-position: center bottom !important; background-size: cover !important; }
}
/* Kde nás nájdete on a tablet and a phone: the address and the hours bigger. */
@media (max-width: 960px) { .visit2 .visit2__rows { font-size: 1.1875rem !important; line-height: 1.4 !important; } }
@media (max-width: 640px) { .visit2 .visit2__rows { column-gap: 36px !important; } }
@media (max-width: 960px) { .visit2 .visit2__rows { margin-top: 16px !important; } }
/* Mobile menu: the arrows in the middle of the lowercase letters next to them (x-height), not of the whole line. */
.mnav-acc summary .icon { position: relative; top: 3px; }
/* Kategórie in the menus: the whole product photo (not the square crop), a little away from the edge on a phone. */
.acc-menu__pic { object-fit: contain !important; object-position: center; }
.mobile-nav .mnav-acc__list .acc-menu__pic { width: 40px !important; height: 32px !important; }
.mobile-nav .mnav-acc--cats .mnav-acc__list { padding-left: 12px; }

/* Obchod and category pages (design of 12. 11.). */
/* 1: the pieces pill next to "Do košíka" */
.buy-row { flex-wrap: nowrap !important; align-items: center !important; gap: 8px !important; }
.buy-row .pdq--sm { height: 42px; }   /* the outline reads bigger than the filled button (44 px), so 2 px lower */
/* 2, 4: smaller photos of the breads and the everyday pastry (they are wider than the other products) */
#panel-chleby .product-card__media img, #panel-premiove-chleby .product-card__media img, #panel-drobne-pecivo .product-card__media img,
.term-chleby .cat-grid .product-card__media img, .term-premiove-chleby .cat-grid .product-card__media img, .term-drobne-pecivo .cat-grid .product-card__media img { width: 100% !important; }
/* 3: more room between the rows of products */
@media (min-width: 561px) {
  #panels.is-grid .panel { row-gap: 56px !important; }
  #panels.is-grid .prod-grid .product-card:nth-child(n+3) { margin-top: 0 !important; }
}
/* Obchod on a phone (design of 12. 11.): less room above and under the category strip. */
@media (max-width: 640px) {
  .page-head:has(+ .shop) { padding-top: calc(var(--header-h, 200px) - 24px) !important; }
  .section.shop { padding-top: 32px !important; }
  .cat-strip { margin-bottom: 20px !important; }
}

/* O pekárni on a phone (design of 12. 11.). */
@media (max-width: 640px) {
  /* 1: the hero photo turned, the products at the bottom, the shadows behind the text up to the top */
  .frm-about .coop-hero { background: #B9B3AE url(../img/o-pekarni-hero-mobil.jpg?v=3) center bottom / cover no-repeat !important; padding-bottom: 100vw !important; }
  /* 2: "Príroda. Remeslo. Vášeň." on the photo of the home page section "Lepok pre nás…": breads at the top */
  section.story--about { position: relative; isolation: isolate; background: #B0A79F !important; padding-top: 72vw !important; }
  section.story--about::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(../img/pekaren-bg-mobil3.jpg) center top / cover no-repeat; }
  /* 3, 4: the photo over the whole width with the baker and the products, the text under it on the page colour */
  section.story--bg, section.story.story--bg { position: relative; background: var(--bg) url(../img/mala-pekaren-bg.jpg?v=3) 82% 0 / auto 88vw no-repeat !important; padding-top: calc(88vw + 40px) !important; padding-bottom: 40px !important; min-height: 0 !important; display: block !important; }
  section.story--bg::before { content: none !important; }
  section.story--bgr { position: relative; background: var(--bg) url(../img/proces-bg.jpg?v=3) 80% 100% / auto 100vw no-repeat !important; padding-top: 40px !important; padding-bottom: calc(100vw + 40px) !important; }   /* text first, the photo under it */
  section.story--bgr::before { content: none !important; }
}
/* O pekárni on a phone: the photos of "Malá pekáreň" and "Chlieb ako proces" like the one of "Viac než pekáreň":
   inside the margins, rounded, 4 : 3. */
@media (max-width: 640px) {
  section.story--bg, section.story.story--bg, section.story--bgr { --ph-h: calc((100vw - 2 * var(--gutter)) * .75); background: var(--bg) !important; }
  section.story--bg, section.story.story--bg { padding-top: calc(var(--ph-h) + 40px) !important; }
  section.story--bgr { padding-bottom: calc(var(--ph-h) + 40px) !important; }
  section.story--bg::before, section.story--bgr::before { content: "" !important; position: absolute; left: var(--gutter); right: var(--gutter); height: var(--ph-h); border-radius: 28px; z-index: 0; transform: none; -webkit-mask-image: none; mask-image: none; }
  section.story--bg::before { top: 0; bottom: auto; background: url(../img/mala-pekaren-bg.jpg?v=3) 78% center / auto 100% no-repeat; }
  section.story--bgr::before { top: auto; bottom: 0; background: url(../img/proces-bg.jpg?v=3) 76% center / auto 100% no-repeat; }
}
/* BIO bar on a phone: more room between the text and the arrow. */
@media (max-width: 640px) { .hero__banner .hero__banner-in { gap: 28px !important; } }
/* Spolupráca on a phone: the hero photo turned like on O pekárni, the products at the bottom. */
@media (max-width: 640px) { .frm-cooperation .coop-hero { background: #C4BFBA url(../img/spolupraca-hero-mobil.jpg?v=3) center bottom / cover no-repeat !important; padding-bottom: 128vw !important; } }
/* Články on a phone (design of 12. 11.): less room above the title; the first article like the others, one list with the same gaps. */
@media (max-width: 640px) {
  .blog-head { padding-top: calc(var(--header-h, 200px) - 16px) !important; padding-bottom: 32px !important; }
  .post-feature { gap: 0 !important; }
  .post-feature .post-card__img { aspect-ratio: auto; height: 321px; }
  .post-feature h2 { font-size: 1.75rem !important; margin-top: 28px !important; line-height: var(--lh-head); }
  .post-feature p { font-size: 1.125rem !important; margin-top: 10px !important; }
  .post-feature .link-arrow { margin-top: 18px !important; }
  .posts { row-gap: 56px !important; margin-top: 56px !important; padding-top: 0 !important; }
  .posts .post-card { padding-top: 0 !important; }
}
@media (max-width: 640px) {
  .posts .post-card .link-arrow, .post-feature .link-arrow { margin-top: 10px !important; }
  .posts { row-gap: 36px !important; margin-top: 36px !important; }
}
@media (max-width: 640px) { .blog-head { padding-bottom: 48px !important; } }
/* BIO bar on a phone: the logo in line with the menu icon, the arrow in line with the cart icon. */
@media (max-width: 640px) {
  .hero__banner .hero__banner-in { justify-content: space-between !important; padding-inline: calc(var(--gutter) + 12px) !important; max-width: none; }
}
/* Články on a phone: the text of each article indented from the edges of its photo. */
@media (max-width: 640px) {
  .post-feature > :not(.post-card__img), .posts .post-card > :not(.post-card__img) { margin-inline: 16px; }
}
@media (max-width: 640px) { .hero__banner .hero__banner-more svg { position: relative; top: 0 !important; transform: none !important; } }   /* arrow in the vertical middle of the BIO bar */
/* Article on a phone: more room between the date, the title and the lead. */
@media (max-width: 640px) {
  .single-post .post-meta + h1 { margin-top: 16px !important; }
  .single-post h1 + .post__body { margin-top: 28px !important; }
}
/* Home page category cards (design of 12. 11.): the Moravské koláčiky photo closer. */
.cat2 { overflow: hidden; }
.cat2--moravske-kolaciky img.is-photo { transform: translateY(5%) scale(1.42); transform-origin: 50% 62%; }
/* Obľúbené medzi zákazníkmi on a tablet and a phone: the strip scrolls sideways, so it cuts what sticks out above it;
   room above the cards for the photos (they rise over the top of their card). */
@media (max-width: 960px) { #featured { padding-top: 140px !important; } }
@media (max-width: 420px) { #featured { padding-top: 90px !important; } }
/* Kde nás nájdete on a phone: bigger side margins, only in this section (design of 12. 11.). */
@media (max-width: 640px) { .visit2 > .container { padding-inline: 40px !important; } }
@media (max-width: 640px) { .statement::before { background-image: url(../img/vyrok-bg-mobil.jpg?v=2) !important; } }   /* new photo of 12. 11. */
@media (max-width: 960px) { #panels:not(.is-grid) .panel__intro { margin-bottom: 40px; } }   /* list view on a tablet and a phone: room between the category text and the first product */
/* Obchod on a tablet and a phone (design of 12. 11.): the category text over the whole width (both views),
   the tags with their icons one under another as on the desktop. */
@media (max-width: 1180px) {
  #panels .panel__tags { display: grid !important; }
  #panels .panel__tags-text { display: none !important; }
}
@media (max-width: 960px) {
  #panels .panel__intro, #panels .panel__intro p:not(.panel__tags) { max-width: none !important; }
  #panels .panel__intro { padding-inline: 4px; }
}
/* List view: the pieces pill on one level with "Do košíka" (not with the button and its note together). */
.menu-item__buy { align-items: flex-start !important; }
.menu-item__buy > .pdq--sm { height: 42px; margin-top: 1px; }
/* Product detail on a phone (design of 12. 11.): less room above and under the photo, more above the breadcrumb;
   "Pridať do košíka" without the bag icon. */
@media (max-width: 640px) {
  .pd { padding-top: calc(var(--header-h, 200px) - 40px) !important; }
  .pd .pd__left .pd__badges { margin-top: 20px !important; }
  .pd__left { margin-bottom: 24px; }
  .pd__add .icon { display: none; }
}
/* Product detail: "Na objednávku" / "Skladom" under the button bigger. */
.pd .pd__avail { font-size: 1.1875rem !important; }
.pd__crumbs--top { display: none; }
@media (max-width: 640px) {
  .pd__crumbs--top { display: flex; margin: 0 0 56px; }
  .pd__grid .pd__crumbs { display: none; }
}
/* Product detail on a phone: the add button wider (the pieces pill gives it some room). */
@media (max-width: 640px) {
  .pd__buy { grid-template-columns: auto minmax(0, 1fr) auto !important; gap: 10px !important; }
  .pd__buy .pdq { padding-inline: 4px; }
  .pd__buy .pdq button { width: 30px; }
  .pd__buy .pd__add { padding-inline: 12px !important; }
}
/* Product detail on a phone: the price closer to the title and red. */
@media (max-width: 640px) {
  .pd .pd__price { margin-top: 10px !important; }
  .pd .pd__price > .amount, .pd .pd__price > .amount * { color: var(--red) !important; }
}
/* "Mohlo by vám chutiť aj" on a phone (design of 12. 11.): less room above and under the cards, the arrows under them. */
@media (max-width: 640px) {
  .related .container { display: flex; flex-direction: column; }
  .related__head { display: contents; }
  .related__head h2 { order: 0; }
  .related__track { order: 1; margin-top: -24px; }
  .related .related__arrows { order: 2; display: flex !important; justify-content: center; gap: 16px; margin-top: 8px; }
  section.related { padding-bottom: 40px !important; }
}
/* Prihlásenie: the button in the middle between "Zabudli ste heslo?" and "Registrovať sa" (equal gaps on both sides). */
.auth__pane .form__row:not(.form__row--reg) { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

/* Môj účet (design of 12. 11.). */
/* the addresses under Nastavenie účtu, as forms like the one above */
.acc-addr { margin-top: 24px; display: grid; gap: 16px; }
.acc-addr h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 4px; }
.acc-addr .btn { justify-self: start; margin-top: 8px; }
/* the WooCommerce note about confirming the e-mail: on a phone the text over the whole width and the button under it */
@media (max-width: 640px) {
  .woocommerce-info:has(.wc-forward) { flex-direction: column !important; align-items: stretch !important; gap: 14px; padding: 20px !important; text-indent: 0 !important; }
  .woocommerce-info:has(.wc-forward) .wc-forward { order: 2; align-self: flex-start; margin: 0 !important; float: none !important; }
}
/* the orders list on a phone: number, date and price in the first row, the state under it on the left, more room under the photos */
@media (max-width: 640px) {
  .orow { grid-template-columns: auto auto minmax(0, 1fr) !important; row-gap: 10px !important; }
  .orow__sum { grid-column: 3 !important; grid-row: 1 !important; justify-self: end; margin-left: 12px !important; }
  .orow__st { grid-column: 1 / -1 !important; grid-row: 2 !important; justify-self: start !important; text-align: left; padding: 0 !important; }
  .orow__thumbs { grid-row: 3 !important; margin-top: 6px; }
  .orow__cart { grid-row: 4 !important; margin-top: 18px !important; }
}
/* Orders: the text next to the bag icon only on a phone, where the button is wide. */
.orow__cart-txt { display: none; }
@media (max-width: 640px) {
  .orow__cart { display: flex !important; align-items: center; justify-content: center; gap: 10px; font-family: var(--font); font-size: 1.0625rem; font-weight: 700; }
  .orow__cart-txt { display: inline; }
}
/* WooCommerce focuses its notices (tabindex -1) after saving, so screen readers read them: no red focus frame around them. */
.woocommerce-message:focus, .woocommerce-message:focus-visible, .woocommerce-info:focus, .woocommerce-info:focus-visible,
.woocommerce-error:focus, .woocommerce-error:focus-visible, .woocommerce-notices-wrapper:focus, .woocommerce-notices-wrapper:focus-visible { outline: none !important; box-shadow: none !important; }
/* O pekárni on a phone: the same room above and under the BIO strip. */
@media (max-width: 640px) {
  section.story--bg, section.story.story--bg { padding-bottom: 56px !important; }
  section.story--bg + .cert-strip + .story { padding-top: 56px !important; }
}
/* Kde nás nájdete on a small desktop / large tablet: the breads further right, away from the text and the map. */
@media (min-width: 961px) and (max-width: 1280px) {
  .visit2 { background-color: #CFCAC3 !important; background-size: auto 100% !important; background-position: calc(100% + 240px) center !important; }
}
/* Obchod on a tablet: the category text in a narrower column (more room on the right); on a phone over the whole width. */
@media (min-width: 641px) and (max-width: 1180px) {
  #panels .panel__intro p:not(.panel__tags) { max-width: 60ch !important; }
}
/* "Pomaly, z kvásku & vlastnými rukami" on a tablet: smaller, on two lines. */
@media (min-width: 641px) and (max-width: 960px) {
  #pecivo-title { font-size: clamp(2.25rem, 4.6vw, 3.5rem) !important; max-width: none !important; }
  #pecivo-title .br-mob { display: none !important; }
  #pecivo-title span::before { content: "\A"; white-space: pre; }
}
/* Denne čerstvé… on a tablet: more room above and under (the phone keeps the smaller gap). */
@media (min-width: 641px) and (max-width: 960px) { .order { padding-top: 88px !important; padding-bottom: 88px !important; } }
/* O pekárni on a tablet (design of 12. 11.). */
@media (min-width: 641px) and (max-width: 960px) {
  /* 1: "Príroda. Remeslo. Vášeň." like "Lepok pre nás…" on the home page: the breads at the top, the text under them */
  section.story--about { background: #B0A79F url(../img/pekaren-bg-mobil.jpg) center top / cover no-repeat !important; padding-top: 79vw !important; }
  /* 2: "Malá pekáreň": the photo behind the whole section, the text on the left above the hands */
  section.story--bg, section.story.story--bg { position: relative; background: #CAB3A3 url(../img/mala-pekaren-bg.jpg?v=3) 56% bottom / cover no-repeat !important; min-height: 100vw !important; padding-top: 72px !important; padding-bottom: 0 !important; display: block !important; }
  section.story--bg::before { content: none !important; }
  .story--bg .story__grid > div { max-width: 42% !important; }
}
/* O pekárni on a tablet: the founder's photo mirrored and on the right, her name to the left of it. */
@media (min-width: 641px) and (max-width: 960px) {
  .story--about .founder { flex-direction: row-reverse; justify-content: flex-start !important; }
  .story--about .founder img { transform: scaleX(-1); }
  .story--about .founder > div { text-align: right; }
}
@media (min-width: 641px) and (max-width: 960px) {
  /* the founder bigger, risen up next to the text, so the section is lower */
  .story--about .founder { align-items: flex-end !important; margin-top: -200px !important; pointer-events: none; }
  .story--about .founder img { height: 420px !important; }
  .story--about .founder > div { padding-bottom: 48px; }
  section.story--about { padding-bottom: 0 !important; }
}
@media (min-width: 641px) and (max-width: 960px) { .story--about .founder { gap: 44px !important; } }   /* more room between the name and the photo */
/* Spolupráca, "Chcete naše pečivo aj u vás?" on a tablet and a small desktop: the photo on the right as high as the
   section (it is lower than Kde nás nájdete), so the breads stay to the right of the text and the photo has no gap. */
@media (min-width: 641px) and (max-width: 1280px) {
  #spolupraca-kontakt { position: relative; isolation: isolate; height: 560px; min-height: 0 !important; display: flex !important; align-items: center; padding-block: 0 !important;
    background: #CBC5BE url(../img/predajna-bg-siroka.jpg) right center / cover no-repeat !important; }   /* wide photo of 12. 11.: breads on the right, light stripes behind the text */
  #spolupraca-kontakt::before { content: none !important; }
  #spolupraca-kontakt > .container { position: relative; z-index: 1; }
}
#spolupraca-kontakt .visit2__partner { margin-top: 28px !important; line-height: 1.5; }
/* O pekárni, the BIO strip: "Pozrieť certifikát" after each sentence as a white outline button (the header bar keeps
   the focusable link; these copies run in the moving strip, so they are only for the mouse and touch). */
.marquee__btn { display: inline-flex; align-items: center; margin-left: 24px; padding: 8px 20px; border: 1.5px solid currentColor; border-radius: 999px; color: #fff; font-family: var(--font); font-size: 1rem; font-weight: 700; white-space: nowrap; text-decoration: none; transition: background-color .2s, color .2s; }
.marquee__btn:hover { background: #fff; color: var(--ink); }
.cert-strip--marquee .marquee__track { pointer-events: auto; }
/* the certificate button in the colour of the strip's text (cream), the letters in the optical middle of the pill */
.marquee__btn { color: var(--cream, #FAEFD5) !important; padding: 6px 20px 10px !important; }
.marquee__btn:hover { background: var(--cream, #FAEFD5); color: var(--ink) !important; }
/* Spolupráca, "Chcete naše pečivo aj u vás?" on a tablet: the same room above and under, closer partner lines. */
@media (min-width: 641px) and (max-width: 1280px) {
  #spolupraca-kontakt { height: auto !important; padding-block: 80px !important; }
  #spolupraca-kontakt h2 { margin-top: -0.14em; }
  #spolupraca-kontakt .visit2__partner { line-height: 1.25 !important; }
  #spolupraca-kontakt .visit2__partner a { display: inline-block; margin-top: 6px; }
}
@media (min-width: 641px) and (max-width: 1280px) { #spolupraca-kontakt > .container { padding-bottom: 0 !important; } #spolupraca-kontakt { padding-block: 80px 86px !important; } }
/* BIO bar at the top: "Pozrieť certifikát" as the cream outline button of the strip on O pekárni (no arrow);
   on a phone only the arrow stays. */
@media (min-width: 641px) {
  .hero__banner .hero__banner-more { padding: 6px 20px 10px; border: 1.5px solid var(--cream, #FAEFD5); border-radius: 999px; color: var(--cream, #FAEFD5); text-decoration: none; transition: background-color .2s, color .2s; }
  .hero__banner .hero__banner-more .icon { display: none; }
  .hero__banner .hero__banner-more span { font-weight: 700; }
  .hero__banner .hero__banner-more:hover { background: var(--cream, #FAEFD5); color: var(--ink); }
  .hero__banner .hero__banner-more:hover span { color: var(--ink); }
}
.b2b-login__out { margin-top: 32px !important; }
/* Pre partnerov on a phone: the "Ste prihlásení zákazníckym účtom" card centred. */
@media (max-width: 640px) {
  .b2b-login__form:has(.b2b-login__out) { text-align: center; }
  .b2b-login__form:has(.b2b-login__out) .b2b-login__out { display: flex; justify-content: center; }
}
/* Pre partnerov: the logged-in customer card centred whenever it stands alone (the two cards are under each other below 861 px). */
@media (max-width: 860px) {
  .b2b-login__form:has(.b2b-login__out) { text-align: center; }
  .b2b-login__form:has(.b2b-login__out) .b2b-login__out { display: flex; justify-content: center; }
}
/* Orders when the card is narrow (tablet): the columns fit the card, the bag button keeps a margin on the right. */
@container (min-width: 521px) and (max-width: 860px) {
  .orow { grid-template-columns: auto auto auto minmax(0, 1fr) 56px !important; column-gap: 24px; padding-right: 28px; }
  .orow__date, .orow__sum { margin-left: 0; }
  .orow__st { justify-self: end; padding-inline: 0; }
  .orow__cart { margin-left: 0; }
}
/* Orders on a wide card: the fixed columns + the button's own margin were wider than the card, so the bag stuck out;
   the photos column shrinks instead and the button keeps the card's right padding. */
@container (min-width: 861px) {
  .orow { grid-template-columns: 52px 136px 112px minmax(0, 1fr) minmax(0, 312px) 56px !important; padding-right: 28px; }
}
/* "Pozrieť certifikát" buttons in the dark BIO strips: a finer outline. */
.hero__banner .hero__banner-more, .marquee__btn { border-width: 1px !important; }
/* Cookies on a desktop: the round cookies fill the card wider than the other products, so a bit smaller. */
@media (min-width: 961px) {
  #panel-cookies .product-card__media img, .term-cookies .cat-grid .product-card__media img { width: 100% !important; }
}
/* Šišky: three photos have almost no empty edge, so the doughnuts look bigger than the others; a bit smaller. */
.product-card:has([data-add="31"], [data-add="32"], [data-add="33"]) .product-card__media img { transform: scale(.84); transform-origin: 50% 100%; }
.product-card:has([data-add="31"], [data-add="32"], [data-add="33"]):hover .product-card__media img { transform: scale(.84); }
/* Moravské koláčiky: a bit smaller photos, like the šišky above. */
#panel-moravske-kolaciky .product-card__media img, .term-moravske-kolaciky .cat-grid .product-card__media img { transform: scale(.84); transform-origin: 50% 100%; }
.product-card:has([data-add="37"]) .product-card__media img { transform: scale(.84); transform-origin: 50% 100%; }   /* BIO Čokoládovo-višňový Fermentinabon */
.product-card:has([data-add="42"]) .product-card__media img { transform: scale(.84); transform-origin: 50% 100%; }   /* Croissant gaštanový s hruškou */
/* Zabudli ste heslo (design of 13. 11.): like Prihlásenie, centred. */
.auth__pane--lost { text-align: center; }
.auth__pane--lost .auth__lead { margin: 12px auto 28px; max-width: 46ch; color: var(--muted); font-size: 1.0625rem; }
.auth__pane--lost .fl { text-align: left; }
.auth__lost-row { display: flex; justify-content: center; margin-top: 8px; }
.auth__lost-back { margin-top: 22px; }
.auth__lost-back .form__link { text-decoration: underline; text-underline-offset: 5px; }
/* 404 (design of 13. 11.): a pastry icon above the title, the text centred under it. */
.error404 .acc-head .container { text-align: center; }
.error404 .nf__ico { display: block; width: 92px; height: auto; margin: 0 auto 24px; }
.error404 .page-body .nf__text { text-align: center; font-size: 1.1875rem; line-height: 1.6; }
/* Zabudli ste heslo: "Späť na prihlásenie" on the left, the button on the right, less room above */
.auth__pane--lost .auth__lost-row { justify-content: space-between; align-items: center; margin-top: -6px; }
.auth__pane--lost .auth__lost-row .form__link { text-decoration: underline; text-underline-offset: 5px; }
/* 404: more room above the icon, less between the title and the text */
.error404 .nf__ico { margin-top: 40px; }
.error404 .acc-head { padding-bottom: 0 !important; }
.error404 .page-body { padding-top: 16px !important; }
/* Nastavenie účtu (design of 13. 11.): Zmena hesla as its own card, the buttons centred, the two addresses side by side. */
#profileForm.acc-profile { display: grid; gap: 24px; padding: 0; background: none; }
.acc-profile__card { margin: 0 !important; }
.acc-profile__pass h2, .acc-addr h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.acc-profile__hint { margin-top: -8px; color: var(--muted); font-size: 1rem; }
.acc-profile__save { display: flex; justify-content: center; }
.acc-profile__save .btn { margin-top: 0; }
.acc-addr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; align-items: start; }
.acc-addr-grid .acc-addr { margin-top: 0; }
.acc-addr .btn { justify-self: center !important; }
@media (max-width: 860px) { .acc-addr-grid { grid-template-columns: 1fr; } }
/* Súhrn (cart) and Zhrnutie objednávky (checkout): the dashed lines over the whole width of the box. */
.cart__sum { --sum-pad: clamp(24px, 3vw, 40px); }
.cart__sum .cart__total, .cart__sum .cart__place { margin-inline: calc(var(--sum-pad) * -1); padding-inline: var(--sum-pad); }
/* checkout: the box has no side padding, each part brings its own, so the lines on the parts go edge to edge */
.wc-block-checkout .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block.wp-block-woocommerce-checkout-order-summary-block { padding-inline: 0 !important; }
.wc-block-components-sidebar-layout:not(.is-large) .wc-block-checkout__actions .checkout-order-summary-block-fill { padding-inline: 0 !important; }
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-step__heading { padding-inline: 32px !important; }
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper:not(.wp-block-woocommerce-checkout-order-summary-totals-block):not(.wp-block-woocommerce-checkout-order-summary-totals-block *) { padding-inline: 16px !important; }
.wp-block-woocommerce-checkout-order-summary-block .wp-block-woocommerce-checkout-order-summary-totals-block { padding-inline: 0 !important; }
.wp-block-woocommerce-checkout-order-summary-block .wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-wrapper { padding-inline: 16px !important; }
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title-text { margin-left: 0 !important; }
/* Objednávky: the number of pieces on the photo, red with white text (design of 13. 11.). */
.orow__th i { background: var(--red, #C8102E) !important; color: #fff !important; }

/* Nastavenie účtu (design of 13. 11.): every card has its own button inside, centred; Zmena hesla at the bottom. */
.acc-profile__card .acc-profile__save { margin-top: 8px; }
form.acc-profile__pass { margin-top: 24px !important; display: grid; gap: 16px; }
.acc-profile__pass h2 { margin-bottom: 0; }
.acc-profile__pass .acc-profile__hint { margin-top: -12px; }
/* Pokladňa (design of 13. 11.): no stroke round the addresses and the delivery options; more room left of the text in the fields. */
.wc-block-checkout .wc-block-components-address-card,
.wc-block-checkout .wc-block-components-shipping-rates-control__package { border: 0 !important; padding-inline: 0 !important; }
.wc-block-checkout .wc-block-components-text-input input,
.wc-block-checkout .wc-blocks-components-select__select,
.wc-block-checkout .wc-block-components-textarea { padding-left: 14px !important; }
.wc-block-checkout .wc-block-components-text-input label,
.wc-block-checkout .wc-blocks-components-select__label { left: 14px !important; }
/* Pokladňa (design of 13. 11.): the consent to the terms under the order button, centred. */
.wc-block-checkout__form .wc-block-checkout__terms { order: 99 !important; text-align: center; border: 0 !important; border-image: none !important; padding-top: 0 !important; margin-top: 16px !important; }
.wc-block-checkout__form.wc-block-checkout__form { display: flex; flex-direction: column; }
.wc-block-checkout__form > .wc-block-checkout__actions { margin-bottom: 0 !important; padding-bottom: 0 !important; }
/* Pokladňa (design of 13. 11.): a small pencil before every "Upraviť". */
.wc-block-checkout .wc-block-components-address-card__edit { display: inline-flex !important; align-items: center; gap: 8px; }
.wc-block-checkout .wc-block-components-address-card__edit::before { content: ""; width: 15px; height: 15px; flex: none; background: currentColor; -webkit-mask: url(../img/icons/pencil.svg) center / contain no-repeat; mask: url(../img/icons/pencil.svg) center / contain no-repeat; }
/* Pokladňa (design of 13. 11.): whole photos at the delivery days; saved addresses line by line, closer to the heading,
   and on the desktop the delivery and billing address next to each other. */
.wc-block-components-shipping-rates-control__package-thumbnails img { object-fit: contain !important; }
.wc-block-checkout .wc-block-components-address-card { padding-top: 0 !important; padding-bottom: 8px !important; }
.wc-block-checkout .wc-block-components-address-card__address-section--secondary.frm-split { display: none !important; }
.frm-addr-lines { display: block; }
.frm-addr-lines > span { display: block; }
@media (min-width: 1000px) {
  .wc-block-checkout__form.wc-block-checkout__form:has(#shipping-fields .wc-block-components-address-address-wrapper:not(.is-editing)):has(#billing-fields .wc-block-components-address-address-wrapper:not(.is-editing)) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; align-items: start; }
  .wc-block-checkout__form:has(#shipping-fields .wc-block-components-address-address-wrapper:not(.is-editing)):has(#billing-fields .wc-block-components-address-address-wrapper:not(.is-editing)) > * { grid-column: 1 / -1; }
  .wc-block-checkout__form:has(#shipping-fields .wc-block-components-address-address-wrapper:not(.is-editing)):has(#billing-fields .wc-block-components-address-address-wrapper:not(.is-editing)) > #shipping-fields { grid-column: 1; }
  .wc-block-checkout__form:has(#shipping-fields .wc-block-components-address-address-wrapper:not(.is-editing)):has(#billing-fields .wc-block-components-address-address-wrapper:not(.is-editing)) > #billing-fields { grid-column: 2; }
}
/* Pokladňa (design of 13. 11.): the delivery days on a rectangle in the colour of the summary. */
.wc-block-checkout .wc-block-components-shipping-rates-control__package { background: #F0EBDF; border-radius: 24px; padding: 24px !important; }
.wc-block-checkout .wc-block-components-shipping-rates-control__package + .wc-block-components-shipping-rates-control__package { margin-top: 16px !important; }
/* Pokladňa: "Uložiť" under an address being edited (design of 13. 11.). */
.frm-addr-save { display: none !important; margin-top: 20px; }
.wc-block-components-address-address-wrapper.is-editing .frm-addr-save { display: inline-flex !important; }
/* Pokladňa (design of 13. 11.): bigger texts on the left side. */
.wc-block-checkout__main .wc-block-components-address-card,
.wc-block-checkout__main .wc-block-components-address-card__address-section,
.wc-block-checkout__main .frm-addr-lines,
.wc-block-checkout__main .wc-block-components-address-card__edit,
.wc-block-checkout__main .wc-block-components-checkbox__label,
.wc-block-checkout__main .wc-block-components-shipping-rates-control__package-title,
.wc-block-checkout__main .wc-block-components-radio-control__label,
.wc-block-checkout__main .wc-block-components-radio-control__secondary-label,
.wc-block-checkout__main .wc-block-components-radio-control-accordion-content,
.wc-block-checkout__main .wc-block-components-text-input input,
.wc-block-checkout__main .wc-blocks-components-select__select { font-size: 1.1875rem !important; }
.wc-block-checkout__main .wc-block-components-shipping-rates-control__package-items,
.wc-block-checkout__main .wc-block-components-radio-control__description,
.wc-block-checkout__main .frm-shop-addr,
.wc-block-checkout__main .wc-block-checkout__terms { font-size: 1.0625rem !important; }
.wc-block-checkout .frm-addr-lines, .wc-block-checkout .frm-addr-lines > span { line-height: 1.35 !important; margin: 0 !important; }
.wc-block-checkout .wc-block-components-address-card__address-section--primary { margin-bottom: 6px !important; }
/* Osobný odber (design of 13. 11.): the same as Poslať, the day of pickup on a rectangle in the colour of the summary. */
.wc-block-checkout .wc-block-components-local-pickup-select { background: #F0EBDF; border: 0 !important; border-radius: 24px; padding: 24px !important; }
.wc-block-checkout .wc-block-components-local-pickup-select + .wc-block-components-local-pickup-select { margin-top: 16px !important; }
/* Pokladňa (design of 13. 11.): the name of a saved address bigger and bolder; the radio circles optically centred
   to their text; the delivery options closer together; the day of pickup stands out. */
.wc-block-checkout__main .wc-block-components-address-card__address-section--primary { font-size: 1.3125rem !important; font-weight: 600 !important; }
.wc-block-checkout__main .wc-block-components-shipping-rates-control__package .wc-block-components-radio-control__input, .wc-block-checkout__main .wc-block-components-local-pickup-select .wc-block-components-radio-control__input { top: 11px !important; transform: none !important; }
.wc-block-checkout__main .wc-block-components-shipping-rates-control__package .wc-block-components-radio-control__option,
.wc-block-checkout__main .wc-block-components-local-pickup-select .wc-block-components-radio-control__option { padding-top: 6px !important; padding-bottom: 6px !important; }
.wc-block-checkout__main .wc-block-components-shipping-rates-control__package .wc-block-components-radio-control,
.wc-block-checkout__main .wc-block-components-local-pickup-select .wc-block-components-radio-control { display: grid; gap: 10px; }
.wc-block-checkout__main .wc-block-components-shipping-rates-control__package-title { font-weight: 700 !important; }
/* Pokladňa: more room under the products of a day, the two choices closer (design of 13. 11.). */
.wc-block-checkout__main .wc-block-components-shipping-rates-control__package .wc-block-components-radio-control,
.wc-block-checkout__main .wc-block-components-local-pickup-select .wc-block-components-radio-control { margin-top: 16px !important; gap: 0 !important; }
.wc-block-checkout__main .wc-block-components-shipping-rates-control__package .wc-block-components-radio-control__option,
.wc-block-checkout__main .wc-block-components-local-pickup-select .wc-block-components-radio-control__option { padding-top: 4px !important; padding-bottom: 4px !important; }
.wc-block-checkout__main .wc-block-components-shipping-rates-control__package .wc-block-components-radio-control__input,
.wc-block-checkout__main .wc-block-components-local-pickup-select .wc-block-components-radio-control__input,
#shipping-option .wc-block-components-radio-control__option:first-child .wc-block-components-radio-control__input { top: 9px !important; }
.wc-block-checkout__main .wc-block-components-shipping-rates-control__package .wc-block-components-radio-control__option:first-child .wc-block-components-radio-control__input,
.wc-block-checkout__main .wc-block-components-local-pickup-select .wc-block-components-radio-control__option:first-child .wc-block-components-radio-control__input,
#shipping-option .wc-block-components-radio-control__option:first-child .wc-block-components-radio-control__input { top: 11px !important; }
.wc-block-checkout__main .wc-block-components-shipping-rates-control__package .wc-block-components-radio-control,
.wc-block-checkout__main .wc-block-components-local-pickup-select .wc-block-components-radio-control { margin-top: 6px !important; }
/* Obchod (design of 13. 11.): the strip arrows at the middle of the photos (shop.js); the view switch above the products
   on the tablet and the phone; on the phone the name closer to the photo. */
.cat-strip.is-top-arrows { align-items: flex-start; }
.view-toggle.is-in-panel { margin: 8px 0 24px !important; }
@media (max-width: 640px) { .cat-strip .tab { gap: 2px; } }
.view-toggle.is-in-panel { margin: -96px 0 -48px !important; }
/* Obchod on the phone: the first paragraph and "Čítať ďalej" (design of 13. 11.). */
.panel__more { display: none; }
@media (max-width: 640px) {
  .panel__intro:not(.is-open) .panel__more-p { display: none; }
  .panel__intro:not(.is-open) .panel__more { display: inline-block; margin-top: 12px; padding: 0; background: none; border: 0; font: inherit; font-weight: 600; color: var(--red-btn, #B11719); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
}
/* Obchod (design of 13. 11.): the category strip snaps to whole categories when swiped; smaller arrows on the phone. */
#tabs.is-snap { scroll-snap-type: x mandatory; }
#tabs .tab { scroll-snap-align: start; }
@media (max-width: 640px) {
  .cat-strip .cat-strip__arrow { width: 28px !important; height: 28px !important; min-width: 28px; }
  .cat-strip .cat-strip__arrow svg { width: 14px !important; height: 14px !important; }
}
/* Pokladňa on the tablet and the phone (design of 13. 11.): a bit more room between the sections. */
@media (max-width: 960px) {
  .wc-block-checkout__form > .wc-block-components-checkout-step,
  .wc-block-checkout__form > .wc-block-checkout__order-notes { margin-bottom: 40px !important; }
}
/* Košík on the phone (design of 13. 11.): the pickup days a bit closer together. */
@media (max-width: 640px) { .cart__list { gap: 16px !important; } }
/* Pokladňa (design of 13. 11.): tighter lines in the delivery choices when they wrap. */
.wc-block-checkout__main .wc-block-components-radio-control__label,
.wc-block-checkout__main .wc-block-components-radio-control__secondary-label { line-height: 1.3 !important; }
.wc-block-checkout__main .frm-shop-addr,
.wc-block-checkout__main .wc-block-components-radio-control__description,
.wc-block-checkout__main .wc-block-components-radio-control__secondary-description { line-height: 1.35 !important; }
.wc-block-checkout__main .frm-shop-addr { margin-top: 6px !important; }
.wc-block-checkout__main .wc-block-components-shipping-rates-control__package .wc-block-components-radio-control__input,
.wc-block-checkout__main .wc-block-components-local-pickup-select .wc-block-components-radio-control__input { top: 8px !important; }
.wc-block-checkout__main .wc-block-components-shipping-rates-control__package .wc-block-components-radio-control__option:first-child .wc-block-components-radio-control__input,
.wc-block-checkout__main .wc-block-components-local-pickup-select .wc-block-components-radio-control__option:first-child .wc-block-components-radio-control__input,
#shipping-option .wc-block-components-radio-control__option:first-child .wc-block-components-radio-control__input { top: 10px !important; }
#payment-method .wc-block-components-radio-control-accordion-option:first-child .wc-block-components-radio-control__input { top: 19px !important; }
/* O pekárni on the tablet and the phone (design of 13. 11.): the founder's story centred. */
@media (max-width: 960px) {
  .frm-about section.story--about .story__grid > .reveal { text-align: center; }
  .frm-about section.story--about .story__grid > .reveal h2 { margin-inline: auto; }
}
/* O pekárni (design of 13. 11.): a bit more room between the heading of a card and its list. */
.nocard > h3 + .nocard__list { margin-top: 14px !important; }
/* O pekárni on the phone (design of 13. 11.): the cards of ingredients centred, the list as one block in the middle. */
@media (max-width: 640px) {
  .nocard > h3 { text-align: center; }
  .nocard .nocard__list ul.hearts { width: fit-content; margin-inline: auto; }
  .nocard .nocard__btn, .nocard .nocard__more { width: fit-content; margin-inline: auto !important; justify-content: center; }
}
@media (max-width: 640px) {
  .nocard .nocard__list ul.hearts { width: auto; justify-items: center; }
  .nocard .nocard__list ul.hearts li { padding-left: 0 !important; text-align: center; }
  .nocard .nocard__list ul.hearts li::before { position: static !important; display: inline-block !important; vertical-align: -3px; margin-right: 10px; }
}
/* Pokladňa (design of 13. 11.): the price of the chosen delivery (or ZADARMO) bolder. */
.wc-block-checkout__main .wc-block-components-radio-control__option-checked .wc-block-components-radio-control__secondary-label,
.wc-block-checkout__main .wc-block-components-radio-control__option-checked .wc-block-components-radio-control__secondary-label * { font-weight: 700 !important; }
.wc-block-checkout__main .wc-block-components-radio-control__option-checked .wc-block-components-radio-control__label { font-weight: 700 !important; }
.wc-block-checkout__main .wc-block-components-radio-control__option-checked .frm-shop-addr { font-weight: 400 !important; }
/* Osobný odber (design of 13. 11.): the pickup place shown as just "Fermentina" with its address a bit bigger under it;
   the opening hours from the WooCommerce setting are not shown here. The place's name and texts stay in WooCommerce. */
#pickup-options .wc-block-components-radio-control__label { font-size: 0 !important; }
#pickup-options .wc-block-components-radio-control__label::before { content: "Fermentina"; font-size: 1.1875rem; }
#pickup-options .wc-block-components-radio-control__secondary-description { display: none !important; }
#pickup-options .wc-block-components-radio-control__description { font-size: 1.125rem !important; margin-top: 4px; }
#payment-method .wc-block-components-radio-control__option-checked .wc-block-components-radio-control__label,
#payment-method .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__label { font-weight: inherit !important; }
/* Osobný odber: the opening hours back under the address, written like on the rest of the web (Po–Pia od 6:00 do 16:00). */
#pickup-options .wc-block-components-radio-control__description::after { content: "Po – Pia, 6:00 – 16:00"; display: block; margin-top: 4px; padding-left: 24px; }
#pickup-options .wc-block-components-radio-control__description { flex-wrap: wrap; }
#pickup-options .wc-block-components-radio-control__description::after { flex-basis: 100%; }
#pickup-options .wc-block-components-radio-control__description::after { padding-left: 17px; margin-top: 2px; }
/* The page of one category: the photo and the BIO banner together fill the first screen (design of 13. 11.). */
.cat-hero { min-height: calc(100vh - var(--bio-h, 0px)) !important; min-height: calc(100svh - var(--bio-h, 0px)) !important; }
/* Footer (design of 13. 11.): more room under "Bezgluténová kvásková pekáreň." */
.footer__tag b { margin-bottom: 8px; }

/* ---------- consent with cookies (fermentina-core Integration/Consent, NÁVRH of 13. 11. 2026) ---------- */
.frm-consent { position: fixed; z-index: 120; right: 16px; bottom: 16px; left: 16px; display: flex; justify-content: flex-end; pointer-events: none; }
.frm-consent[hidden] { display: none; }
.frm-consent__box { pointer-events: auto; width: 100%; max-width: 540px; padding: 22px 24px; border-radius: 22px; background: var(--bg, #F3F0E8); color: var(--ink); box-shadow: 0 18px 50px rgba(46, 33, 20, .22); transform: translateY(12px); opacity: 0; transition: transform .35s cubic-bezier(.22, 1, .36, 1), opacity .35s; }
.frm-consent.is-open .frm-consent__box { transform: none; opacity: 1; }
.frm-consent h2 { font-family: var(--serif); font-size: 1.625rem; font-weight: 600; line-height: 1.1; }
.frm-consent p { margin-top: 8px; font-size: 1.0625rem; line-height: 1.35; }
.frm-consent a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.frm-consent__more { display: grid; gap: 10px; margin-top: 14px; }
.frm-consent__more[hidden] { display: none; }
.frm-consent__opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: #F0EBDF; font-size: 1rem; line-height: 1.3; cursor: pointer; }
.frm-consent__opt input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red-btn, #B11719); flex: none; }
.frm-consent__opt b { display: block; }
.frm-consent__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.frm-consent__btns .btn { min-height: 46px; padding: 0 20px; font-size: 1.0625rem; }
.frm-consent__btns [hidden] { display: none; }
.footer__cookies { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .frm-consent { right: 8px; bottom: 8px; left: 8px; }
  .frm-consent__box { padding: 18px; }
  .frm-consent__btns .btn { flex: 1 1 auto; }
}

/* ---------- legal pages (Obchodné podmienky, Ochrana osobných údajov, Cookies) ---------- */
.entry h2 { margin-top: 1.6em; font-family: var(--serif); font-size: 1.625rem; font-weight: 600; line-height: 1.15; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li + li { margin-top: .35em; }
.entry .frm-legal-note { padding: 12px 16px; border-radius: 14px; background: rgba(226, 198, 130, .4); font-size: 1rem; }
.entry table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.entry th, .entry td { padding: 10px 8px; border-bottom: 1px dashed rgba(46, 33, 20, .2); text-align: left; vertical-align: top; }
.entry th { font-size: .875rem; font-weight: 800; color: var(--muted); }
@media (max-width: 640px) { .entry table { display: block; overflow-x: auto; } }
/* O pekárni (texts of 26. 11.): the line above the list in a card of ingredients. */
.nocard__lead { margin: 0 0 14px; }
@media (max-width: 640px) { .nocard__lead { text-align: center; } }
.story .nocard p.nocard__lead { margin: 0 0 14px; font-size: 1.1875rem !important; font-weight: 500 !important; }
/* O pekárni (26. 11.): the headings of the cards of ingredients a bit bigger. */
.story .nocard h3 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); }
/* O pekárni (26. 11.): the two paragraphs under the cards of ingredients wider, two lines each on the desktop. */
.story p.story__outro { max-width: 46rem; margin-inline: auto; text-wrap: balance; }
/* O pekárni on the phone: the line breaks in the cards of ingredients are only for the desktop. */
@media (max-width: 640px) { .nocard ul.hearts li br { display: none; } }
/* Kde nás nájdete on a large tablet (26. 11.): the photo grows with the width, so it always reaches the left edge
   (photo 2048 × 1536, so its height is 0.75 of the width it needs). */
@media (min-width: 961px) and (max-width: 1280px) {
  .visit2 { background-size: auto max(100%, calc((100vw + 240px) * .75)) !important; }
}

/* Úvod (design of 26. 11.): two hero photos taking turns, with two pills to switch them. The second photo sits on
   a layer with the same size and position as the first (background: inherit) and fades in. */
section.hero .hero__alt { position: absolute; inset: 0; z-index: 0; background: inherit; background-image: url(../img/hero-chlieb.jpg); opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
section.hero.is-alt .hero__alt { opacity: 1; }
section.hero .hero__stage { position: relative; z-index: 2; }
.hero__dots { display: flex; gap: 10px; margin-top: clamp(40px, 5vw, 64px); }
.hero__dot { width: 12px; height: 12px; padding: 0; border: 1.5px solid var(--ink); border-radius: 999px; background: transparent; cursor: pointer; transition: width .3s ease, background-color .3s ease; }
.hero__dot.is-on { width: 36px; background: var(--ink); }
@media (max-width: 640px) {
  section.hero .hero__alt { background-image: linear-gradient(to bottom, #E6E1DA 0, #E6E1DA calc(100% - 540px), rgba(230, 225, 218, 0) calc(100% - 320px)), url(../img/hero-chlieb.jpg); }
  .hero__dots { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { section.hero .hero__alt { transition: none; } }
.hero__dot { border-color: var(--brown, #56361C); }
.hero__dot.is-on { background: var(--brown, #56361C); }
/* The pills at the bottom of the first screen, in the middle (26. 11.). */
section.hero .hero__dots { position: absolute; left: 50%; bottom: clamp(28px, 4vh, 48px); z-index: 2; margin: 0; transform: translateX(-50%); justify-content: center; }
/* Úvod (26. 11.): the second screen is the Christmas edition: its own text over its own photo (placeholder: the box). */
section.hero .hero__stage { display: grid; }
section.hero .hero__slide { grid-area: 1 / 1; transition: opacity .8s ease, visibility .8s; }
section.hero .hero__slide:not(.is-on) { opacity: 0; visibility: hidden; }
section.hero .hero__alt { background: #E6E1DA url(../img/hero-vianoce.jpg) right center / auto 100% no-repeat !important; }
@media (max-width: 640px) {
  section.hero .hero__alt { background: #E6E1DA url(../img/hero-vianoce.jpg) center bottom / 100% auto no-repeat !important; }
}
/* Úvod, "U nás sa nemusíte pýtať…" (26. 11.): the new photo of the baker's hands on the desktop and tablet; the phone keeps its own. */
@media (min-width: 641px) { .statement { background-image: url(../img/vyrok-bg-2.jpg?v=3) !important; } }

/* Product cards (26. 11.): a photo with a background (the Christmas edition) as a big circle. */
.product-card--photo .flip__front img { width: clamp(200px, 22vw, 260px) !important; height: clamp(200px, 22vw, 260px) !important; max-height: none !important; max-width: none !important; aspect-ratio: 1; border-radius: 50%; object-fit: cover !important; }

/* Category strip (26. 11.): a photo with a background as a circle, like the product cards. */
.tab__pic img.is-round { width: auto !important; height: 100% !important; max-width: none !important; aspect-ratio: 1; border-radius: 50%; object-fit: cover !important; }

/* Obchod, list view (26. 11.): a photo with a background (the Christmas edition) over the whole height of the text next to it. */
.menu-item--photo { align-items: stretch !important; }
.menu-item--photo .menu-item__pic { align-self: stretch; height: auto !important; display: flex; }
.menu-item--photo .menu-item__pic img { width: 100% !important; height: 100% !important; max-height: none !important; object-fit: cover !important; border-radius: 16px; }
/* Safari does not stretch a percentage height in a grid cell: the photo is laid over the cell instead. */
.menu-item--photo .menu-item__pic { position: relative; min-height: 120px; }
.menu-item--photo .menu-item__pic img { position: absolute; inset: 0; }

/* Obchod, list view (26. 11.): the heart before the number of pieces. */
.menu-item__buy .fav-btn { flex: none; width: 42px; height: 42px; background-size: 22px; margin-right: -8px; }
.menu-item__buy { gap: 12px !important; }

/* Product page (26. 11.): a photo with a background as 4:5 with round corners. */
.pd__media--photo img { width: 100% !important; height: auto !important; max-height: none !important; aspect-ratio: 4 / 5; object-fit: cover !important; border-radius: 24px; }

/* Obchod (26. 11.): the red pill above the Christmas edition. */
.panel__pill { display: inline-block; margin-bottom: 16px; padding: 7px 16px; border-radius: 999px; background: var(--red-btn, #B11719); color: #fff; font-size: .9375rem; font-weight: 600; line-height: 1.2; }

/* Product page (26. 11.): the red pill on the photo of the Christmas pastries. */
.pd__media { position: sticky; }
.pd__media .pd__pill { position: absolute; z-index: 1; top: 20px; left: 20px; padding: 8px 18px; border-radius: 999px; background: var(--red-btn, #B11719); color: #fff; font-size: 1rem; font-weight: 600; line-height: 1.2; }
/* The pill belongs to the photo (the photo box was static, so the pill sat on the page and scrolled away). */
.pd__left .pd__media { position: relative; }
/* Text optically in the middle of the pills (the font sits a little low). */
.pd__media .pd__pill { padding: 7px 18px 9px; }
.panel__pill { padding: 9px 16px 11px; }

/* Cards elsewhere (Mohlo by vám chutiť aj, Obľúbené): a photo with a background as a circle 1:1 (26. 11.). */
img.is-circle { width: clamp(180px, 18vw, 230px) !important; height: clamp(180px, 18vw, 230px) !important; max-width: none !important; max-height: none !important; aspect-ratio: 1; border-radius: 50%; object-fit: cover !important; margin-inline: auto; }
/* Safari cut the top of the bigger circles (26. 11.): a bit smaller. */
.product-card--photo .flip__front img { width: clamp(170px, 16vw, 215px) !important; height: clamp(170px, 16vw, 215px) !important; }
img.is-circle { width: clamp(170px, 16vw, 205px) !important; height: clamp(170px, 16vw, 205px) !important; }

/* Úvod, Obľúbené (26. 11.): bigger circles; the slider keeps 96 px free above the cards, so they still fit. */
#featured img.is-circle { width: clamp(220px, 22vw, 260px) !important; height: clamp(220px, 22vw, 260px) !important; }
#featured .flip__front:has(img.is-circle) { display: flex !important; align-items: flex-end; justify-content: center; height: 100%; }
/* Úvod, Obľúbené (26. 11.): the buttons of all cards on one line (pushed to the bottom of the card). */
#featured > .product-card > .btn { margin-top: auto !important; }
#featured > .product-card > p { margin-bottom: 18px; }
/* Úvod, Kategórie (26. 11.): the Christmas photo always keeps its top (light background behind the title). */
.cat2--vianocna-edicia img.is-photo { object-position: 50% 0 !important; }
/* Úvod, Obľúbené (26. 11.): the circle scales with the card (about 3/4 of its width), so with four cards in a row on
   a wide screen it stays as big as with three and does not reach the heading. */
#featured img.is-circle { width: min(290px, 90%) !important; height: auto !important; aspect-ratio: 1 / 1; }
/* Úvod, the Christmas screen (26. 11.): the wide photo over the whole hero, the box on the right, the cloth behind the text. */
section.hero .hero__alt { background: #EDE6DA url(../img/hero-vianoce-2.jpg) right bottom / cover no-repeat !important; }
@media (max-width: 640px) {
  section.hero .hero__alt { background: #EDE6DA url(../img/hero-vianoce-2.jpg) 80% bottom / auto 46% no-repeat !important; }
}
@media (min-width: 641px) {
  /* the photo at 80 % of the height, so the box stays right of the text; above it the cloth colour, faded into it */
  section.hero .hero__alt { background: #E5DDD4 url(../img/hero-vianoce-2.jpg) right bottom / cover no-repeat !important; }
}
/* Product page (26. 11.): the pill as a tab in the top left corner of the photo (same rounding as the photo). */
.pd__media .pd__pill { top: 0; left: 0; padding: 14px 24px 16px; border-radius: 24px 0 20px 0; }
.pd__media .pd__pill { padding: 17px 30px 19px; font-size: 1.125rem; font-weight: 700; }
/* Product page (26. 11.): a photo with a background starts level with the crumbs and ends level with the last line of
   the text on the right (it fills the height of the text column instead of keeping 4:5). */
@media (min-width: 961px) {
  .pd__grid:has(.pd__media--photo) { align-items: stretch !important; }
  .pd__left:has(.pd__media--photo) { display: flex; flex-direction: column; }
  .pd__left .pd__media--photo { top: 0 !important; flex: 1 1 auto; min-height: 380px; aspect-ratio: auto !important; }
  .pd__left .pd__media--photo img { position: absolute; inset: 0; height: 100% !important; aspect-ratio: auto !important; }
}

/* Kategórie menu (26. 11.): a photo with a background as a circle. */
.acc-menu__pic.is-round { border-radius: 50%; object-fit: cover !important; aspect-ratio: 1; }
/* The page of the Christmas edition (26. 11.): the photo of the home page, box on the right, the name dark on the cloth. */
.cat-hero__img--xmas { object-position: right bottom; }
.cat-hero:has(.cat-hero__img--xmas) h1 { color: var(--ink) !important; text-shadow: none !important; }
@media (min-width: 961px) { .cat-hero:has(.cat-hero__img--xmas) .cat-hero__in { text-align: left; } }
/* Less room between the text of a category and its products (26. 11.). */
.cat-page__intro { margin-bottom: clamp(56px, 6vw, 96px) !important; }
.cat-hero:has(.cat-hero__img--xmas) h1 { max-width: 6.5ch; }
@media (max-width: 960px) { .cat-hero__img--xmas { object-position: 75% bottom; } }
/* 26. 11.: the Christmas circle in the menu exactly 1:1. */
.acc-menu__pic.is-round, .mobile-nav .mnav-acc__list .acc-menu__pic.is-round { width: 34px !important; height: 34px !important; margin-inline: 3px; }
/* The page of the Christmas edition: the photo of the mixed box, the name white and centred over it. */
.cat-hero__img--xmas { object-position: center 60% !important; }
.cat-hero:has(.cat-hero__img--xmas)::after { content: ""; position: absolute; inset: 0; background: rgba(40, 26, 14, .28); pointer-events: none; }
.cat-hero:has(.cat-hero__img--xmas) .cat-hero__in { z-index: 1; text-align: center !important; }
.cat-hero:has(.cat-hero__img--xmas) h1 { color: #fff !important; max-width: none; text-shadow: 0 2px 24px rgba(0, 0, 0, .25) !important; }
/* Shop grid (26. 11.): the circles sit as high as the cutout photos, so every row has the same space above it. */
.product-card--photo .flip__front img { translate: 0 -49px; }
/* The page of the Christmas edition (26. 11.): the menu and cart icons light beige over the dark photo; the number in the cart stays red. */
body.term-vianocna-edicia .header .menu-btn, body.term-vianocna-edicia .header .cart { color: #F3EDE3 !important; }
.cat-page__intro { margin-bottom: clamp(80px, 8vw, 120px) !important; }
/* Product cards (26. 11.): "Na objednávku" always centred under the Do košíka button. */
.product-card .buy-row .btn { flex: none; }
.product-card .buy-status { width: var(--buy-btn-w, 119px); justify-content: center; text-align: center; }
/* … and the menu of the full desktop (Obchod, Kategórie, …, Môj účet) light beige too; the red Obchod button stays. */
body.term-vianocna-edicia .header .nav a, body.term-vianocna-edicia .header .account { color: #F3EDE3 !important; }
/* The page of the Christmas edition (26. 11.): a very soft brown multiply gradient at the top, behind the menu. */
.cat-hero:has(.cat-hero__img--xmas)::before { content: ""; position: absolute; inset: 0 0 auto; z-index: 1; height: 340px; background: linear-gradient(to bottom, rgba(92, 58, 30, .55), rgba(92, 58, 30, 0)); mix-blend-mode: multiply; pointer-events: none; }
/* Less room under the circles (26. 11.): the price comes up by the 49 px the circle went up. */
/* (margin removed 26. 11.: cards in one row keep the same lines) */
/* The page of one category (26. 11.): less room between the allergen note and "Príďte si po naše pečivo". */
section.cat-page:has(.cat-page__note) { padding-bottom: clamp(56px, 5vw, 80px) !important; }

/* Linecké koláčiky (26. 11.): a touch smaller, so "BIO Linecké koláčiky" fits one line and the name has 3 lines. */
.card-title h3.is-3rows { font-size: .93em; }
/* Shop grid (26. 11.): the circle stands on the bottom of the photo box like the cutouts (no shift), a bit bigger, so
   it reaches as high as they do; price, name and the rectangle stay on one line in every row. */
.product-card--photo .flip__front img { translate: none !important; width: clamp(170px, 19vw, 250px) !important; height: clamp(170px, 19vw, 250px) !important; }
.panel__pill { padding: 9px 22px 11px; }
/* Úvod, the Christmas screen (26. 11.): the wider photo with more cloth on the left. */
section.hero .hero__alt { background-image: url(../img/hero-vianoce-3.jpg) !important; }
/* Úvod, Kategórie (26. 11.): the Christmas photo a bit higher, more of the cookies, still light behind the title. */
@media (min-width: 1181px) { .cat2--vianocna-edicia img.is-photo { object-position: 50% 22% !important; } }   /* only on the full desktop */
