/* ============================================================
   BIOSCHA design system, adapted for Shoptet template-12.
   Loaded after the template CSS, overrides only.
   Custom homepage sections are scoped under .bio- classes.
   ============================================================ */

:root {
  --bio-ink: #000000;
  --bio-paper: #ffffff;
  --bio-ease: cubic-bezier(0.33, 1, 0.68, 1);
}

/* self-hosted variable font under a unique family name so the template's
   own font registrations can never hijack weight matching */
@font-face {
  font-family: "Bioscha Sans";
  font-style: normal; font-weight: 300 700; font-stretch: 100%; font-display: swap;
  src: url(fonts/bioscha-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bioscha Sans";
  font-style: normal; font-weight: 300 700; font-stretch: 100%; font-display: swap;
  src: url(fonts/bioscha-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- typography: the brand font everywhere ----------
   Admin rich text carries inline font-family (Times), so text tags
   are forced individually. <i> and icon classes stay untouched so
   the template's icon font keeps working. */
body, input, select, textarea, button,
p, a, span:not([class*="icon"]), div, li, ul, ol, dt, dd, td, th,
h1, h2, h3, h4, h5, h6, blockquote, small, strong, b, em, label, legend,
.p-name, .price-final, #navigation, #header {
  font-family: "Bioscha Sans", "Google Sans Flex", -apple-system, "Segoe UI", sans-serif !important;
}
body {
  font-weight: 450; color: var(--bio-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1 { font-weight: 380; letter-spacing: -0.6px; }
h2, h3 { font-weight: 400; letter-spacing: -0.5px; }
h4, h5, h6 { font-weight: 430; }

/* ---------- header / navigation (full rebuild) ---------- */
#header {
  background: var(--bio-paper);
  box-shadow: none;
  border-bottom: 1px solid rgba(0,0,0,.08);
  position: sticky; top: 0; z-index: 200;
}
#header .navigation-wrapper {
  display: flex; align-items: center;
  height: 63px;
  max-width: none; width: 100%;
  padding: 0 40px;
  position: relative;
}
.menu-helper { display: none !important; }

/* wordmark instead of the image logo: absolutely centered, not flex-balanced */
.site-name {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}
.site-name a { display: inline-flex; align-items: center; text-decoration: none; color: inherit; }
.site-name img { display: none !important; }
.site-name a::after {
  content: "BIOSCHA";
  font-size: 17px; font-weight: 580; letter-spacing: 2.5px;
  white-space: nowrap;
}

/* menu left, icons right */
#navigation { order: 1; flex: 1 1 0; position: static; background: transparent; }
.navigation-in { background: transparent; }
#navigation a {
  font-size: 14px; font-weight: 450; letter-spacing: -0.2px;
  color: inherit;
  text-transform: none;
  transition: opacity 250ms var(--bio-ease);
}
#navigation a:hover { opacity: .55; background: none; }
#navigation a b, #navigation a strong { font-weight: inherit; } /* Shoptet wraps labels in <b> */
#navigation .navigationActions { display: none; }
#navigation .menu-item-39 { display: none; } /* Obchodni podminky lives in the footer */
/* design order: olejova pece, pletova sera, masky, sety, mydla */
#navigation .menu-level-1 > li.menu-item-741 { order: 1; }
#navigation .menu-level-1 > li.menu-item-766 { order: 2; }
#navigation .menu-level-1 > li.menu-item-756 { order: 3; }
#navigation .menu-level-1 > li.menu-item-753 { order: 4; }
#navigation .menu-level-1 > li.menu-item-750 { order: 5; }

.navigation-buttons {
  order: 3; flex: 1 1 0;
  display: flex; justify-content: flex-end; align-items: center;
  gap: 22px;
  position: static;
}
.navigation-buttons > a, .navigation-buttons > button {
  background: none !important;
  border: none;
  width: auto; height: auto; min-width: 0;
  padding: 0; margin: 0;
  color: inherit;
  display: inline-flex; align-items: center; gap: 5px;
  cursor: pointer;
}
.navigation-buttons > a::before, .navigation-buttons > a::after,
.navigation-buttons > button::before, .navigation-buttons > button::after {
  display: none !important;
}
.bio-icon {
  width: 19px; height: 19px;
  stroke: currentColor; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  display: block;
}
#header a.cart-count i {
  font-style: normal;
  font-size: 12px !important; letter-spacing: -0.15px;
  background: none !important; border-radius: 0 !important;
  width: auto !important; height: auto !important; min-width: 0 !important;
  line-height: 1 !important;
  position: static !important; color: inherit !important;
}

/* menu toggle: text label, hidden on desktop */
#header a[data-target="navigation"] .bio-menu-label::after { content: "Menu"; }
.bio-menu-open #header a[data-target="navigation"] .bio-menu-label::after { content: "Zav\0159\00edt"; }
#header a[data-target="navigation"] .bio-menu-label {
  font-size: 14px; letter-spacing: -0.2px;
}

@media (min-width: 768px) {
  #header a[data-target="navigation"] { display: none !important; }
  /* defeat the template's menu-fitting JS: static rail, everything visible */
  #navigation { display: flex !important; align-items: center !important; height: 100% !important; overflow: visible !important; }
  .navigation-in.menu { display: flex; align-items: center; }
  #navigation .navigation-in { position: static !important; width: auto !important; height: auto !important; }
  #navigation .menu-level-1 { display: flex; align-items: center; gap: 24px; position: static !important; width: auto !important; }
  #navigation .menu-level-1 > li { border: none; visibility: visible !important; }
  #navigation .menu-level-1 > li > a { padding: 0; background: none; visibility: visible !important; white-space: nowrap; }
}

/* homepage: transparent header over the hero, white text */
.type-index #header {
  position: absolute; left: 0; right: 0; top: 0;
  background: transparent;
  border-bottom: none;
  color: #fff;
}
.type-index #header a, .type-index #header button { color: #fff; }
.type-index #header .navigation-buttons > a { color: #fff !important; }
.type-index #header .popup-widget,
.type-index #header .search-window,
.type-index #header [class*="window"] { color: var(--bio-ink); }
/* kill the empty homepage banner wrappers whose margins pushed the hero down */
.type-index .index-content-wrapper > .banners-content,
.type-index .index-content-wrapper > .shp-tabs-wrapper { display: none !important; margin: 0 !important; }
/* and the trailing spacing that opened a white gap above the footer */
.type-index .homepage-texts-wrapper { margin-bottom: 0 !important; }
.type-index #content { padding-bottom: 0 !important; }
.type-index #content > .row, .type-index #content > .container { display: none; }
.type-index #content-wrapper { padding-bottom: 0 !important; margin-bottom: 0 !important; }

@media (max-width: 767px) {
  .overall-wrapper { padding-top: 0 !important; } /* template reserves 40px for its own mobile bar */
  /* inner pages: solid white header, dark icons */
  #header {
    position: sticky !important; top: 0;
    background: var(--bio-paper) !important;
    border-bottom: 1px solid rgba(0,0,0,.08) !important;
    color: var(--bio-ink) !important;
    z-index: 400; /* stays above the menu overlay */
  }
  #header a, #header button { color: var(--bio-ink) !important; }
  /* homepage: transparent header over the hero, white icons, scrolls away */
  .type-index #header {
    position: absolute !important; top: 0; left: 0; right: 0;
    background: transparent !important;
    border-bottom: none !important;
  }
  .type-index #header a, .type-index #header button { color: #fff !important; }
  /* when the mobile menu overlay is open, the header sits on white: go dark */
  .navigation-window-visible.type-index #header,
  .type-index.navigation-window-visible #header { background: var(--bio-paper) !important; }
  .navigation-window-visible.type-index #header a,
  .navigation-window-visible.type-index #header button { color: var(--bio-ink) !important; }
  #header .navigation-wrapper { height: 65px; padding: 0 20px; }
  .site-name {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    order: 0;
  }
  #header a[data-target="navigation"] { order: 0; flex: 0 0 auto; margin-right: auto; }
  .navigation-buttons { gap: 18px; flex: 0 0 auto; margin-left: auto; }
  .top-nav-button-login { display: none !important; }

  /* full-screen menu overlay, toggled by the template via body class */
  #navigation {
    display: none !important;
    position: fixed !important; top: 65px; left: 0; right: 0; bottom: 0;
    background: var(--bio-paper) !important;
    color: var(--bio-ink);
    z-index: 300; overflow: auto;
    padding: 12px 20px 40px;
  }
  .navigation-window-visible #navigation { display: block !important; }
  body.navigation-window-visible { overflow: hidden; }
  #navigation .navigation-in { position: static !important; width: auto !important; }
  #navigation .menu-level-1 { display: block; position: static !important; width: auto !important; }
  #navigation .menu-level-1 > li { visibility: visible !important; border: none; }
  #navigation .menu-level-1 > li > a {
    visibility: visible !important;
    display: block;
    font-size: 25px; letter-spacing: -0.5px; line-height: 27px;
    padding: 13px 0; background: none;
    border-bottom: 1px solid rgba(0,0,0,.07);
  }
  #navigation .menu-item-39 { display: block; } /* Obchodni podminky belongs in the overlay */
  #navigation .navigationActions { display: block; margin-top: 16px; }
  #navigation .navigationActions a { font-size: 14px; letter-spacing: -0.2px; display: block; padding: 8px 0; }
  .navigation-close { display: none !important; }
  .navigation-window-visible #header a[data-target="navigation"] .bio-menu-label::after { content: "Zav\0159\00edt"; }
}

/* ---------- buttons: black and white pills ---------- */
.btn.btn-conversion, .add-to-cart-button, .btn-primary,
button[type="submit"].btn {
  background: var(--bio-ink) !important;
  color: var(--bio-paper) !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 500 !important;
  letter-spacing: -0.2px;
  text-transform: none !important;
  box-shadow: none !important;
  transition: opacity 250ms var(--bio-ease), transform 250ms var(--bio-ease);
}
.btn.btn-conversion:hover, .add-to-cart-button:hover, .btn-primary:hover { opacity: .85; }
.btn.btn-conversion:active { transform: scale(.985); }
.btn.btn-default, .btn-secondary {
  border-radius: 8px !important;
  text-transform: none !important;
}

/* ---------- product cards ---------- */
.products-block .p, .products .p, .p {
  border: none;
  border-radius: 8px;
}
.p .image, .p .p-image-wrapper, .p a.image {
  border-radius: 8px;
  overflow: hidden;
  background: #F4F2EF;
}
.p img { transition: transform 900ms var(--bio-ease); }
.p:hover img { transform: scale(1.03); }
.p .name, .p-name {
  font-size: 14px !important; font-weight: 450 !important;
  letter-spacing: -0.2px; color: var(--bio-ink);
  text-transform: none !important;
}
.p .price-final, .price-final strong, .p .price {
  font-size: 13px !important; font-weight: 500 !important;
  letter-spacing: -0.15px; color: var(--bio-ink) !important;
}
.p .flags, .flag {
  border-radius: 6px; text-transform: uppercase;
  font-size: 11px; font-weight: 520; letter-spacing: 0.6px;
}

/* ---------- category / breadcrumb / headings ---------- */
.category-header h1, .category-title {
  font-size: 36px; font-weight: 380; letter-spacing: -0.6px; text-transform: none;
}

/* sort tabs: quiet text row instead of boxed tabs */
.listSorting { border: none !important; background: none !important; }
.listSorting__controls {
  display: flex; gap: 20px;
  border: none !important; background: none !important;
  padding: 0; margin: 8px 0 18px;
}
.listSorting__controls li { border: none !important; background: none !important; margin: 0; padding: 0; }
.listSorting__control {
  border: none !important; background: none !important; box-shadow: none !important;
  font-family: inherit;
  font-size: 14px; font-weight: 500; letter-spacing: -0.2px;
  color: var(--bio-ink) !important; opacity: .45;
  padding: 0 !important; text-transform: none; cursor: pointer;
  transition: opacity 250ms var(--bio-ease);
}
.listSorting__control--current { opacity: 1; }
.listSorting__control:hover { opacity: .8; }

/* one toolbar row: sort left, search + view + filter right */
.bio-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
  margin: 10px 0 30px;
}
.bio-toolbar .listSorting { margin: 0; }
.bio-toolbar .listSorting__controls { margin: 0; }
.bio-toolbar-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bio-search-inline {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid rgba(0,0,0,.15); border-radius: 8px;
  height: 38px; padding: 0 12px;
}
.bio-search-inline input[name="string"] {
  border: none !important; outline: none; background: none;
  font-size: 13px; letter-spacing: -0.15px; width: 130px;
  height: 100%; padding: 0; box-shadow: none !important;
}
.bio-search-inline button {
  background: none; border: none; padding: 0; cursor: pointer;
  display: flex; align-items: center; color: var(--bio-ink);
}
.bio-search-inline .bio-icon { width: 15px; height: 15px; opacity: .6; }
.bio-view-toggle { display: flex; gap: 6px; }
.bio-view-toggle button {
  width: 38px; height: 38px;
  border: 1px solid rgba(0,0,0,.15); border-radius: 8px;
  background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--bio-ink); opacity: .45;
  transition: opacity 250ms var(--bio-ease), border-color 250ms var(--bio-ease);
}
.bio-view-toggle button.active { opacity: 1; border-color: rgba(0,0,0,.6); }
.bio-view-toggle .bio-icon { width: 15px; height: 15px; }
.bio-toolbar .unveil-button {
  border: 1px solid rgba(0,0,0,.15) !important; border-radius: 8px !important;
  background: none !important; box-shadow: none !important;
  color: var(--bio-ink) !important;
  font-size: 13px !important; font-weight: 500 !important; letter-spacing: -0.15px;
  padding: 9px 18px !important; text-transform: none !important; text-decoration: none !important;
}
.filters-wrapper { margin: 0; }
.filters-unveil-button-wrapper { display: none; } /* the button itself moved into the toolbar */
.bio-toolbar .unveil-button { display: inline-block !important; }

/* products: real grid, list view alternative */
.type-category .products-block { display: grid; grid-template-columns: repeat(4, 1fr); gap: 19px; }
.type-category .products-block > .product {
  width: 100% !important; max-width: none !important;
  padding: 0 !important; margin: 0 !important; float: none !important;
}
.bio-list-view .products-block > .product { width: 100% !important; }
.bio-list-view .products-block { display: block; }
.bio-list-view .p {
  display: flex; align-items: center; gap: 22px;
  padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,.06);
}
.bio-list-view .p a.image {
  flex: 0 0 96px; aspect-ratio: 1; margin: 0;
}
.bio-list-view .p .p-in { flex: 1 1 auto; }

/* benefits strip: small, centered, quiet */
.benefitBanner {
  display: flex; justify-content: center; gap: 48px;
  padding: 26px 40px; margin-top: 40px;
  border-top: 1px solid rgba(0,0,0,.06);
}
.benefitBanner__item { display: flex; align-items: center; gap: 10px; }
.benefitBanner__item img, .benefitBanner__item svg { width: 22px; height: 22px; opacity: .6; }
.benefitBanner__title {
  font-size: 12px !important; font-weight: 500 !important; letter-spacing: -0.15px;
}
.benefitBanner__content p, .benefitBanner__content span:not(.benefitBanner__title) {
  font-size: 11px; opacity: .55; margin: 0;
}

/* listing cards: image, name left, price right. Nothing else. */
.p .p-code, .p .availability, .p .p-desc, .p .p-tools,
.p .add-to-cart, .p .btn-conversion, .p .p-cat { display: none !important; }
.p { text-align: left; padding: 0 0 8px; }
.p a.image {
  display: block; aspect-ratio: 339 / 390;
  border-radius: 8px; overflow: hidden; background: #F4F2EF;
  margin-bottom: 12px;
}
.p a.image img { width: 100%; height: 100%; object-fit: cover; position: static; transform: none; }
.p .p-in { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border: none; padding: 0; }
.p .p-in .bio-card-cat {
  font-weight: 520; letter-spacing: 0.6px; font-size: 11px; line-height: 11px;
  text-transform: uppercase; opacity: .55; margin-top: 4px;
}
.p .price-final { white-space: nowrap; }
.p .p-in-in { flex: 1 1 auto; min-width: 0; }
.p a.name {
  display: block; text-align: left;
  font-size: 14px !important; font-weight: 450 !important;
  letter-spacing: -0.2px; line-height: 17.5px;
  height: auto !important; min-height: 0 !important;
  padding: 0; margin: 0;
}
.p .p-bottom { flex: 0 0 auto; margin: 0; }
.p .p-bottom .prices, .p .price { margin: 0; text-align: right; }

/* ---------- no focus rings anywhere; quiet border shifts instead ---------- */
input:focus, textarea:focus, select:focus, button:focus, a:focus,
.form-control:focus, input:focus-visible, button:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}
input.form-control:focus, textarea.form-control:focus { border-color: rgba(0,0,0,.5) !important; }

/* ---------- toast (replaces Shoptet's message banner) ---------- */
.messages { display: none !important; }   /* native green banner, mirrored into a toast */
.bio-toast {
  position: fixed; z-index: 10000;
  left: 50%; bottom: 28px; transform: translateX(-50%) translateY(16px);
  display: flex; align-items: center; gap: 10px;
  max-width: 90vw;
  background: var(--bio-ink); color: var(--bio-paper);
  padding: 13px 20px; border-radius: 10px;
  font-size: 14px; letter-spacing: -0.2px; line-height: 1.3;
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
  opacity: 0; pointer-events: none;
  transition: opacity 300ms var(--bio-ease), transform 300ms var(--bio-ease);
}
.bio-toast, .bio-toast.show { display: flex !important; }
.bio-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.bio-toast .bio-icon { width: 16px; height: 16px; stroke: var(--bio-paper); flex: 0 0 auto; }
.bio-toast-error { background: #8a2b2b; }

/* ============================================================
   CART PAGE (.in-kosik) - minimal two-column, matches the build
   ============================================================ */
.in-kosik #content h1.sr-only { display: none; }
.in-kosik .cart-header { display: none !important; }             /* step progress */
.in-kosik .p-availability { display: none !important; }          /* Skladem */
.in-kosik .p-price { display: none !important; }                 /* unit price; show line total instead */
.in-kosik .unit-value { display: none !important; }              /* / ks */
.in-kosik .p-total .p-label { display: none !important; }        /* "Součet" label */
.in-kosik .row.summary, .in-kosik .next-step { display: none !important; } /* rebuilt in the aside */
.in-kosik .container--bannersBenefit, .in-kosik .box.box-md { display: none !important; }
.in-kosik .sidebar, .in-kosik .sidebar-left, .in-kosik .toggle-window-arr,
.in-kosik .dialog__close--arrow, .in-kosik .cart-heading + .dialog__close { display: none !important; } /* template back arrow */

/* remove control: quiet "Odstranit" text, no icon-font glyph */
.in-kosik .remove-item { font-size: 0 !important; background: none !important; border: none !important; padding: 0 !important; cursor: pointer; margin-top: 6px; }
.in-kosik .remove-item::before, .in-kosik .remove-item::after { content: none !important; }
.in-kosik .remove-item .sr-only {
  position: static !important; width: auto !important; height: auto !important;
  clip: auto !important; clip-path: none !important; overflow: visible !important;
  font-size: 11px !important; font-weight: 520; letter-spacing: 0.6px; text-transform: uppercase;
  color: var(--bio-ink); opacity: .5; white-space: nowrap;
}
.in-kosik .remove-item:hover .sr-only { opacity: 1; }

.bio-cart-head { padding: 8px 0 44px; }
.bio-cart-head .bio-micro-lab { margin-bottom: 14px; }
.bio-cart-head h1 {
  font-size: 30px; font-weight: 380; letter-spacing: -0.6px; line-height: 33px; margin: 0;
}
.in-kosik .cart-inner {
  display: grid; grid-template-columns: 1fr 380px;
  gap: 60px; align-items: start; padding-bottom: 100px;
}
.in-kosik .cart-table { display: block; grid-column: 1; }
.in-kosik .cart-table tbody, .in-kosik .cart-table thead { display: block; }
.in-kosik .cart-table thead { display: none; }
.in-kosik .cart-table tr.removeable {
  display: grid;
  grid-template-columns: 96px 1fr auto auto;
  gap: 22px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid rgba(0,0,0,.1);
}
.in-kosik .cart-table tr.removeable:first-child { border-top: 1px solid rgba(0,0,0,.1); }
.in-kosik .cart-table td { display: block; border: none; padding: 0; vertical-align: middle; }
.in-kosik .cart-p-image { width: 96px; }
.in-kosik .cart-p-image a { display: block; border-radius: 8px; overflow: hidden; background: #F4F2EF; aspect-ratio: 96/112; }
.in-kosik .cart-p-image img { width: 100%; height: 100%; object-fit: cover; }
.in-kosik .p-name a.main-link {
  font-size: 15px; font-weight: 450; letter-spacing: -0.2px; color: var(--bio-ink); text-decoration: none;
}
.bio-cart-cat {
  display: block; margin-top: 4px;
  font-size: 11px; font-weight: 520; letter-spacing: 0.6px; text-transform: uppercase; opacity: .55;
}
.in-kosik .p-total form .btn, .in-kosik .p-total form button, .in-kosik .removeItem,
.in-kosik .p-total form input[type="submit"] {
  background: none !important; border: none !important; box-shadow: none !important; color: var(--bio-ink) !important;
  font-size: 11px !important; font-weight: 520 !important; letter-spacing: 0.6px; text-transform: uppercase;
  opacity: .5; padding: 0 !important; margin-top: 8px; cursor: pointer; text-decoration: none !important;
}
.in-kosik .p-total form .btn:hover, .in-kosik .removeItem:hover { opacity: 1; }
.in-kosik .p-total { text-align: right; }
.in-kosik .p-total .price-final { display: block; font-size: 14px; font-weight: 500; letter-spacing: -0.15px; }

/* cart + checkout quantity stepper -> quiet rounded pill (ordering-process = cart AND all checkout steps) */
.ordering-process .p-quantity .p-label, .ordering-process .quantity-form .p-label { display: none; }
/* the form is wrapped in a div[data-testid=tooltip]; keep the wrapper visible, hide only the message tooltips */
.ordering-process .p-quantity > [data-testid="tooltip"] { display: block; }
.ordering-process .increase-tooltip, .ordering-process .decrease-tooltip,
.ordering-process .js-increase-tooltip, .ordering-process .js-decrease-tooltip { display: none !important; }
.ordering-process .quantity-form, .ordering-process .p-quantity .quantity {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(0,0,0,.2); border-radius: 8px; height: 40px; width: 116px; overflow: hidden;
  box-sizing: border-box; vertical-align: middle;
}
.ordering-process .p-quantity input[type="text"], .ordering-process .p-quantity input[type="number"],
.ordering-process .quantity-form input.amount, .ordering-process .quantity-form input[name="amount"] {
  flex: 0 0 auto; width: 40px; height: 38px; line-height: 38px; text-align: center; text-align-last: center;
  border: none !important; background: none !important; box-sizing: border-box;
  font-size: 14px; padding: 0 !important; margin: 0 !important; box-shadow: none !important; outline: none !important; caret-color: transparent;
  -webkit-appearance: none; -moz-appearance: textfield; appearance: none;
}
.ordering-process .p-quantity button, .ordering-process .quantity-form button,
.ordering-process .p-quantity .inc, .ordering-process .p-quantity .dec,
.ordering-process .quantity-form .increase, .ordering-process .quantity-form .decrease {
  flex: 0 0 36px; width: 36px; height: 38px; padding: 0; background: none !important; border: none !important; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; color: var(--bio-ink); font-size: 15px; line-height: 1;
}

/* summary aside */
.bio-cart-summary {
  grid-column: 2; position: sticky; top: 95px;
  border: 1px solid rgba(0,0,0,.12); border-radius: 14px; padding: 28px;
}
.bio-cart-summary h3 { font-size: 22px; font-weight: 400; letter-spacing: -0.4px; margin: 0 0 22px; }
.bio-sum-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  font-size: 14px; letter-spacing: -0.2px; margin-bottom: 14px;
}
.bio-sum-row > span:last-child { text-align: right; }
.bio-sum-total {
  border-top: 1px solid rgba(0,0,0,.12); padding-top: 16px; margin-top: 16px;
  font-size: 16px; font-weight: 500; letter-spacing: -0.15px;
}
.bio-cart-cta {
  display: block; text-align: center; width: 100%;
  background: var(--bio-ink); color: var(--bio-paper); text-decoration: none;
  border-radius: 8px; padding: 13px 0; margin-top: 20px;
  font-size: 14px; font-weight: 500; letter-spacing: -0.2px;
  transition: opacity 250ms var(--bio-ease);
}
.bio-cart-cta:hover { opacity: .85; color: var(--bio-paper); }
.bio-cart-note { font-size: 12px; letter-spacing: -0.15px; opacity: .55; margin: 14px 0 0; text-align: center; }
.bio-cart-back {
  display: block; text-align: center; margin: 18px 0 0;
  font-size: 12px; font-weight: 520; letter-spacing: 0.6px; text-transform: uppercase;
  color: var(--bio-ink); opacity: .55; text-decoration: none;
}
.bio-cart-back:hover { opacity: 1; }

/* empty cart: hide Shoptet clutter, show one clean block */
.in-kosik .cart-empty .cart-heading,
.in-kosik .cart-empty .row.cart-row { display: none !important; }
.in-kosik .cart-inner.cart-empty { display: block; padding-bottom: 90px; }
.bio-cart-empty { padding: 8px 0 40px; max-width: 460px; }
.bio-empty-lead { font-size: 20px; font-weight: 400; letter-spacing: -0.4px; margin: 0 0 8px; }
.bio-empty-sub { font-size: 14px; letter-spacing: -0.2px; opacity: .55; margin: 0 0 26px; }
.bio-cart-empty .bio-cart-cta { display: inline-block; width: auto; padding: 13px 40px; margin: 0; }

@media (max-width: 767px) {
  .bio-cart-head { padding: 4px 0 28px; }
  .in-kosik .cart-inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 64px; }
  .bio-cart-summary { position: static; grid-column: 1; }
  .in-kosik .cart-table tr.removeable {
    grid-template-columns: 76px 1fr auto;
    grid-template-rows: auto auto; gap: 6px 14px;
  }
  .in-kosik .cart-p-image { grid-row: 1 / 3; width: 76px; }
  .in-kosik .p-name { grid-column: 2; grid-row: 1; }
  .in-kosik .p-price { grid-column: 3; grid-row: 1; }
  .in-kosik .p-quantity { grid-column: 2; grid-row: 2; justify-self: start; }
  .in-kosik .p-total { grid-column: 3; grid-row: 2; align-self: end; }
}

/* ---------- full-page frosted-glass search overlay ---------- */
.bio-search-ov {
  position: fixed; inset: 0; z-index: 9999;
  display: none;
  background: #ffffff;
}
.bio-search-ov.open { display: block; animation: bio-search-in 300ms var(--bio-ease); }
@keyframes bio-search-in { from { opacity: 0; } to { opacity: 1; } }
.bio-search-close {
  position: absolute; top: 22px; right: 24px;
  width: 44px; height: 44px; border: none; background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--bio-ink); border-radius: 50%;
  transition: background 250ms var(--bio-ease);
}
.bio-search-close:hover { background: rgba(0,0,0,.05); }
.bio-search-close .bio-icon { width: 22px; height: 22px; }
.bio-search-panel {
  max-width: 640px; margin: 0 auto;
  padding: 16vh 24px 0;
}
.bio-search-field {
  display: flex; align-items: center; gap: 14px;
  border-bottom: 1px solid rgba(0,0,0,.25);
  padding: 10px 2px;
}
.bio-search-field .bio-icon { width: 22px; height: 22px; opacity: .5; flex: 0 0 auto; }
.bio-search-q {
  flex: 1 1 auto; border: none; background: none; outline: none;
  font-family: inherit; font-size: 24px; font-weight: 340; letter-spacing: -0.5px;
  color: var(--bio-ink); padding: 0;
}
.bio-search-q::placeholder { color: rgba(0,0,0,.35); }
.bio-search-results { margin-top: 20px; display: flex; flex-direction: column; }
.bio-search-hint { font-size: 14px; letter-spacing: -0.2px; color: rgba(0,0,0,.45); padding: 8px 2px; }
.bio-search-hit {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 8px; border-radius: 12px;
  color: var(--bio-ink); text-decoration: none;
  transition: background 200ms var(--bio-ease);
}
.bio-search-hit:hover { background: #f4f2ef; }
.bio-search-thumb {
  flex: 0 0 52px; width: 52px; height: 52px;
  border-radius: 8px; overflow: hidden; background: #F0EEEB;
  display: flex; align-items: center; justify-content: center;
}
.bio-search-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bio-search-thumb-empty .bio-icon { width: 18px; height: 18px; opacity: .4; }
.bio-search-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bio-search-title { font-size: 15px; font-weight: 450; letter-spacing: -0.2px; }
.bio-search-sub {
  font-size: 11px; font-weight: 520; letter-spacing: 0.5px; text-transform: uppercase;
  color: rgba(0,0,0,.45);
}
@media (max-width: 767px) {
  .bio-search-panel { padding: 12vh 20px 0; }
  .bio-search-q { font-size: 20px; }
  .bio-search-close { top: 14px; right: 14px; }
}

/* search field with its icon */
.bio-shop-search-wrap {
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid rgba(0,0,0,.2);
  margin-right: auto;
  transition: border-color 250ms var(--bio-ease);
}
.bio-shop-search-wrap:focus-within { border-color: var(--bio-ink); }
.bio-shop-search-wrap .bio-icon { width: 15px; height: 15px; opacity: .45; }
.bio-shop-search-wrap .bio-shop-search { border: none; margin: 0; }

/* ---------- product detail: the produkt.html layout ---------- */
.type-product .p-detail-inner {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.67fr) minmax(300px, 1fr);
  gap: 40px; align-items: start;
  padding: 30px 0 50px;
}
.type-product .p-detail-inner > meta { display: none; }
.type-product .p-image-wrapper {
  grid-column: 1; grid-row: 1; display: flex; gap: 14px;
  width: 100% !important; max-width: none !important; float: none !important; padding: 0 !important;
}
.type-product .p-data-wrapper {
  grid-column: 2; grid-row: 1;
  width: 100% !important; max-width: none !important; float: none !important; padding: 0 !important;
}
.type-product .p-image-wrapper > .row { order: 0; flex: 0 0 70px; margin: 0; width: 70px; }
.type-product .p-image-wrapper .p-image { order: 1; flex: 1 1 auto; margin: 0; }
.type-product .p-thumbnails-wrapper { padding: 0; }
.type-product .p-thumbnails, .type-product .p-thumbnails-horizontal {
  display: flex !important; flex-direction: column; gap: 12px;
  white-space: normal; overflow: visible;
}
/* the template's thumbnail carousel sets an absurd inline width */
.type-product .p-thumbnails-inner {
  width: auto !important; max-width: 100%;
  display: flex; flex-direction: column; gap: 12px;
  position: static !important; transform: none !important;
  left: auto !important;
}
/* no carousel arrows; the column shows every thumbnail */
.type-product .thumbnail-prev, .type-product .thumbnail-next { display: none !important; }
/* thumbnails sit in one inner strip: make it a tight flex column */
.type-product .p-thumbnails-inner > div {
  height: auto !important; width: auto !important;
  display: flex; flex-direction: column; gap: 12px;
  position: static !important; transform: none !important; top: auto !important; left: auto !important;
}
.type-product .p-thumbnails-inner a { margin: 0 !important; }
/* the zoom-lightbox anchors are empty duplicates; only real thumbnails show */
.type-product .p-thumbnails-inner a.cbox-gal { display: none !important; }
.type-product .p-thumbnails a {
  display: block; width: 70px; height: 70px; aspect-ratio: 1;
  border-radius: 6px !important; overflow: hidden; margin: 0 !important;
  border: none !important; padding: 0 !important;
  background: #F4F2EF;
}
.type-product .p-thumbnails a.active, .type-product .p-thumbnails a.highlighted {
  outline: 1px solid var(--bio-ink); outline-offset: 2px;
}
.type-product .p-thumbnails a img, .type-product .p-thumbnails img {
  width: 100% !important; height: 100% !important;
  object-fit: cover; display: block;
  margin: 0 !important; padding: 0 !important;
  border: none !important; box-shadow: none !important;
  position: static !important; box-sizing: border-box;
}
.type-product .p-thumbnails li, .type-product .p-thumbnails > div { margin: 0 !important; padding: 0 !important; }
.type-product .p-image > div, .type-product .p-main-image {
  aspect-ratio: 515 / 595; width: 100%;
  border-radius: 8px; overflow: hidden;
  border: none !important; box-shadow: none !important;
  background: #F4F2EF;
}
.type-product .p-image { border: none !important; }
.type-product .p-image img { border: none !important; }
.type-product .p-main-image img { width: 100%; height: 100%; object-fit: cover; }

/* info column ordering: micro, title+price, description, buy, badges, accordion */
.p-data-wrapper { display: flex; flex-direction: column; }
.p-data-wrapper .p-detail-inner-header { order: 1; }
.p-data-wrapper .p-short-description { order: 2; margin-top: 0; }
.p-data-wrapper .pr-action { order: 3; }
.p-data-wrapper .bio-pdp-badges { order: 4; }
.p-data-wrapper .bio-accordion { order: 5; }
.p-data-wrapper .p-param-block { display: none; }
/* price rendered inside the header once JS moves it there */
.p-detail-inner-header .p-final-price-wrapper { margin: 0 0 24px; }
.type-product .p-image, .type-product .p-image > div,
.type-product .p-main-image { width: 100%; display: block; }

.bio-pdp-micro {
  display: block; font-weight: 520; font-size: 11px; line-height: 11px;
  text-transform: uppercase; letter-spacing: 0.6px; opacity: .55;
  margin: 0 0 10px;
}
.p-detail h1 {
  font-size: 30px; font-weight: 380; letter-spacing: -0.6px; line-height: 33px;
  margin-bottom: 12px;
}
.bio-objem { margin-top: 18px; }
.bio-objem p { font-size: 14px; letter-spacing: -0.2px; margin: 0; }
.bio-pdp-badges { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 6px; }
.bio-pdp-badges span {
  font-size: 11px; line-height: 11px; text-transform: uppercase;
  font-weight: 520; letter-spacing: 0.6px; opacity: .7;
  display: inline-flex; align-items: center; gap: 5px;
}
.bio-pdp-badges .bio-icon { width: 12px; height: 12px; }
.p-data-wrapper { position: relative; }
.p-data-wrapper .bio-share-btn {
  position: absolute; top: 0; right: 0; z-index: 3;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0; margin: 0;
  border: 1px solid rgba(0,0,0,.22); border-radius: 50%;
  background: none; cursor: pointer; color: var(--bio-ink); opacity: .8;
  transition: opacity 250ms var(--bio-ease), border-color 250ms var(--bio-ease), background 250ms var(--bio-ease);
}
.p-data-wrapper .bio-share-btn:hover { opacity: 1; border-color: var(--bio-ink); background: rgba(0,0,0,.045); }
.p-data-wrapper .bio-share-btn span { display: none; }
.p-data-wrapper .bio-share-btn .bio-icon { width: 16px; height: 16px; }
/* reserve a right gutter so category/title/price never run under the share button */
.p-data-wrapper .p-detail-inner-header { padding-right: 52px; }
.bio-accordion { border-top: 1px solid rgba(0,0,0,.12); margin-top: 22px; }
.bio-accordion details { border-bottom: 1px solid rgba(0,0,0,.12); }
.bio-accordion summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
  font-size: 14px; font-weight: 450; letter-spacing: -0.2px;
}
.bio-accordion summary::-webkit-details-marker { display: none; }
.bio-accordion summary .bio-icon { width: 14px; height: 14px; transition: transform 350ms var(--bio-ease); }
.bio-accordion details[open] summary .bio-icon { transform: rotate(45deg); }
.bio-accordion .bio-acc-body {
  padding: 0 0 18px;
  font-size: 14px; font-weight: 400; letter-spacing: -0.2px; line-height: 19px;
}
.bio-accordion .bio-inci { margin: 0; font-size: 13px; line-height: 19px; color: var(--bio-ink); }
.bio-accordion .bio-inci strong { font-weight: 600; letter-spacing: 0.4px; }
.p-short-description {
  font-size: 14px; line-height: 19px; letter-spacing: -0.2px;
  color: var(--bio-ink);
  margin-bottom: 4px;
}
.p-short-description p { margin-bottom: 12px; }
.p-short-description p:empty { display: none; }
.p-short-description ul { padding-left: 20px; margin: 0 0 14px; }
.p-short-description li { margin-bottom: 6px; }
.p-basic-info-block { display: none; } /* the design keeps only micro, title, price */
.p-detail .price-final, .p-detail .price-final strong {
  font-size: 14px !important; font-weight: 500 !important; letter-spacing: -0.15px;
}
/* buy row: quantity and CTA always on one line */
.p-to-cart-block { border: none !important; margin: 8px 0 0; padding: 0; }
.p-to-cart-block .p-add-to-cart-wrapper { width: 100%; }
.p-detail .add-to-cart {
  display: flex !important; align-items: stretch; gap: 10px;
  flex-wrap: nowrap; margin: 0;
  width: 100% !important; max-width: none !important;
  float: none !important;
}
.p-detail .add-to-cart .quantity { flex: 0 0 auto; width: 124px; max-width: 124px; }
.p-detail .add-to-cart .btn { flex: 1 1 auto; }
/* kill native number spinners on every quantity field, all browsers, before + after JS rebuild */
input[name="amount"] { -moz-appearance: textfield !important; -webkit-appearance: none !important; appearance: none !important; }
input[name="amount"]::-webkit-outer-spin-button,
input[name="amount"]::-webkit-inner-spin-button { -webkit-appearance: none !important; appearance: none !important; margin: 0 !important; display: none !important; }
/* custom stepper built in JS: minus | input | plus */
.add-to-cart .bio-qty {
  display: flex !important; align-items: stretch; justify-content: flex-start;
  border: 1px solid rgba(0,0,0,.25); border-radius: 8px;
  height: 44px; width: 124px; flex: 0 0 124px;
  min-width: 124px; max-width: 124px;
  padding: 0 !important; margin: 0 !important;
  box-sizing: border-box; overflow: hidden;
  background: none;
}
.add-to-cart .bio-qty::before, .add-to-cart .bio-qty::after { content: none !important; }
.bio-qty .bio-qty-btn {
  flex: 0 0 38px; width: 38px; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
  font-size: 16px; line-height: 1; color: var(--bio-ink);
  padding: 0; margin: 0;
}
.bio-qty .bio-qty-btn:hover { opacity: .6; }
.bio-qty input[name="amount"] {
  flex: 1 1 48px; width: 48px !important; min-width: 48px !important; max-width: none !important;
  height: 100% !important; box-sizing: border-box;
  text-align: center; font-size: 14px; font-family: inherit;
  background: none !important; border: none !important; outline: none !important;
  box-shadow: none !important; border-radius: 0 !important;
  caret-color: transparent; padding: 0 !important; margin: 0 !important;
  -webkit-appearance: none !important; -moz-appearance: textfield !important; appearance: none !important;
}
.bio-qty input[name="amount"]::-webkit-outer-spin-button,
.bio-qty input[name="amount"]::-webkit-inner-spin-button { -webkit-appearance: none !important; display: none; }
/* legacy template stepper (before JS rebuild) stays hidden-ish */
.p-quantity, .quantity {
  display: flex; align-items: center;
  border: 1px solid rgba(0,0,0,.25); border-radius: 8px;
  height: 44px; overflow: hidden; background: none;
}
/* stepper order: minus, value, plus, each in its own cell */
.p-to-cart-block .quantity .decrease { order: 0; flex: 0 0 40px; }
.p-to-cart-block .quantity label { order: 1; flex: 1 1 auto; }
.p-to-cart-block .quantity .increase { order: 2; flex: 0 0 40px; }
.p-to-cart-block .quantity .increase-tooltip,
.p-to-cart-block .quantity .decrease-tooltip { display: none !important; }
.p-to-cart-block .quantity label {
  display: flex; align-items: center; justify-content: center;
  height: 100%; margin: 0; position: relative; z-index: 2;
}
.p-to-cart-block .quantity .increase,
.p-to-cart-block .quantity .decrease { position: relative; z-index: 1; }
.p-to-cart-block [class*="quantity"] * { border: none !important; box-shadow: none !important; }
.p-detail .p-to-cart-block .quantity input,
.p-detail .p-to-cart-block .quantity input.form-control,
.p-to-cart-block [class*="quantity"] input {
  width: 40px; height: 42px !important; line-height: 42px !important;
  text-align: center; font-size: 14px; font-family: inherit;
  background: none !important;
  border: 0 none !important; border-radius: 0 !important; box-shadow: none !important;
  outline: none !important;
  caret-color: transparent;
  padding: 0 !important; margin: 0 !important;
  -webkit-appearance: none !important; -moz-appearance: textfield !important; appearance: none !important;
}
.p-to-cart-block .quantity input::-webkit-outer-spin-button,
.p-to-cart-block .quantity input::-webkit-inner-spin-button { -webkit-appearance: none !important; margin: 0; display: none; }
.p-to-cart-block [class*="quantity"] input::-webkit-outer-spin-button,
.p-to-cart-block [class*="quantity"] input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.p-to-cart-block [class*="quantity"] button {
  width: 40px; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: none !important; cursor: pointer;
  font-size: 15px; color: var(--bio-ink);
  padding: 0 !important; margin: 0 !important; border: none !important;
  position: static !important;
}
.p-detail .add-to-cart .btn {
  height: 44px; min-width: 0;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 24px !important; font-size: 14px !important;
  white-space: nowrap;
}
/* tabs below carry nothing the design wants */
.type-product .p-detail-tabs-wrapper, .type-product .container--bannersBenefit { display: none; }
/* quantity stepper */
.p-detail [class*="quantity"] input, .p-detail .amount {
  border: 1px solid rgba(0,0,0,.15) !important; border-radius: 8px;
  font-size: 14px; text-align: center;
}
/* gallery */
.p-image-wrapper .p-image > div, .p-main-image {
  border-radius: 14px; overflow: hidden; background: #F4F2EF;
}
.p-thumbnails a {
  border-radius: 8px; overflow: hidden;
  border: none !important; opacity: .75; transition: opacity 250ms var(--bio-ease);
}
.p-thumbnails a:hover, .p-thumbnails a.active { opacity: 1; }
/* parameters table */
.detail-parameters td, .detail-parameters th {
  font-size: 13px; letter-spacing: -0.15px;
  border-color: rgba(0,0,0,.06) !important;
  text-transform: none;
}
/* detail tabs: quiet text row */
.p-detail-tabs-wrapper { margin-top: 40px; }
.shp-tabs, .p-detail-tabs { border: none !important; background: none; display: flex; gap: 20px; }
.shp-tabs li, .p-detail-tabs li { border: none !important; background: none !important; margin: 0; }
.shp-tabs li a, .p-detail-tabs li a {
  border: none !important; background: none !important;
  font-size: 14px; font-weight: 500; letter-spacing: -0.2px;
  color: var(--bio-ink) !important; opacity: .45;
  padding: 0 !important; text-transform: none;
}
.shp-tabs li.active a { opacity: 1; }
.tab-content {
  font-size: 15px; line-height: 25px; letter-spacing: -0.2px;
  border: none !important; padding: 18px 0 0;
}
/* social icons row: quiet */
.social-buttons-wrapper { opacity: .55; }
.container--bannersBenefit { display: none; }
.breadcrumbs, .breadcrumbs a, .breadcrumbs span {
  font-size: 11px; letter-spacing: -0.1px;
  color: rgba(0,0,0,.45) !important;
}
/* ASCII slash separator instead of the template's arrow glyph */
.breadcrumbs a::after, .breadcrumbs a::before,
.breadcrumbs span span::after { content: none !important; background: none !important; }
.breadcrumbs { align-items: center; }
.breadcrumbs > [itemprop="itemListElement"] {
  display: inline-flex; align-items: center; white-space: nowrap;
}
.breadcrumbs > [itemprop="itemListElement"]::after {
  content: "/" !important;
  background: none !important;
  width: auto !important; height: auto !important;
  margin: 0 7px; transform: none !important;
  color: rgba(0,0,0,.3);
  display: inline-block;
}
.breadcrumbs > [itemprop="itemListElement"]:last-of-type::after { content: none !important; }
.type-post .breadcrumbs { justify-content: center; }

/* ---------- footer (full rebuild, columns built by JS) ---------- */
#footer {
  background: var(--bio-paper);
  color: var(--bio-ink);
  border-top: 1px solid rgba(0,0,0,.08);
  padding: 40px 0 46px;
  margin-top: 0 !important;
}
/* dark homepage sections touch the footer directly */
.type-index #footer { border-top: none; }
#footer a { color: var(--bio-ink); font-size: 14px; letter-spacing: -0.2px; }
#footer a:hover { opacity: .55; text-decoration: none; }
#footer h4 {
  font-size: 11px; line-height: 11px; font-weight: 520; letter-spacing: 0.6px;
  text-transform: uppercase; opacity: .55;
  margin: 0 0 18px;
}
.bio-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 90px;
}
/* the template's .container clearfix pseudo would become a ghost grid cell */
.bio-footer-top::before, .bio-footer-top::after { content: none !important; }
.bio-foot-tag {
  font-weight: 420; font-size: 16px;
  letter-spacing: -0.15px; line-height: 16px;
  margin: 0;
}
.bio-footer-top ul { list-style: none; margin: 0; padding: 0; }
.bio-footer-top li { margin-bottom: 12px; }
#footer .footer-bottom {
  display: flex;
  justify-content: space-between; align-items: center;
  font-size: 12px; letter-spacing: -0.15px;
  opacity: .6;
}
#footer .footer-bottom::before, #footer .footer-bottom::after { content: none !important; }
/* one border on the footer itself, none inside */
#footer .footer-bottom, #footer .container { border: none !important; box-shadow: none !important; }
#footer .footer-bottom a { font-size: 12px; }
#footer #signature { display: none !important; }
@media (max-width: 767px) {
  #footer { padding: 32px 0 40px; }
  .bio-footer-top { grid-template-columns: 1fr; gap: 30px; padding-bottom: 44px; }
  #footer .footer-bottom { flex-direction: column; gap: 6px; }
  #footer .footer-bottom .copyright { order: -1; }
  /* the off-canvas account panel leaks 5px past the right edge */
  body:not(.user-action-visible) .user-action { display: none; }
}

/* ============================================================
   HOMEPAGE CUSTOM SECTIONS (.bio- scope, our own markup)
   ============================================================ */
/* true full-bleed regardless of template container paddings */
html { overflow-x: clip; }
.bio-home { margin: 0 calc(50% - 50vw); }
.bio-home *, .bio-home *::before, .bio-home *::after { box-sizing: border-box; }

/* shared section typography */
.bio-h2 { font-weight: 380; font-size: 30px; letter-spacing: -0.6px; line-height: 33px; margin: 0; }
.bio-micro-lab {
  display: block; font-weight: 520; font-size: 11px; line-height: 11px;
  text-transform: uppercase; letter-spacing: 0.6px; opacity: .55; margin: 0 0 16px;
}
.bio-price-tag { font-weight: 500; font-size: 13px; letter-spacing: -0.15px; margin: 0 0 26px; }

/* hero slideshow */
.bio-hero {
  position: relative;
  height: 100vh; min-height: 640px;
  overflow: hidden;
  color: var(--bio-paper);
}
.bio-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
  opacity: 0;
  transition: opacity 1200ms var(--bio-ease);
  pointer-events: none;
}
.bio-slide.active { opacity: 1; pointer-events: auto; }

/* hero copy: one intro per slide activation, matching the HTML build */
@keyframes bio-hero-in {
  from { opacity: 0; transform: translateY(28px); filter: blur(12px); }
  to   { opacity: 1; transform: none; filter: none; }
}
.bio-slide .bio-hero-inner { animation: none; }
.bio-slide.active .bio-hero-inner { animation: bio-hero-in 1400ms var(--bio-ease) 150ms backwards; }
.bio-slide::before, .bio-slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
}
.bio-slide::before {
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  mask-image: radial-gradient(110% 95% at 0% 100%, rgba(0,0,0,1) 25%, rgba(0,0,0,0) 68%);
  -webkit-mask-image: radial-gradient(110% 95% at 0% 100%, rgba(0,0,0,1) 25%, rgba(0,0,0,0) 68%);
}
.bio-slide::after {
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  background: rgba(0,0,0,.05);
  mask-image: radial-gradient(75% 65% at 0% 100%, rgba(0,0,0,1) 15%, rgba(0,0,0,0) 60%);
  -webkit-mask-image: radial-gradient(75% 65% at 0% 100%, rgba(0,0,0,1) 15%, rgba(0,0,0,0) 60%);
}
.bio-hero-inner { position: relative; z-index: 2; width: 100%; padding: 0 40px 38px; }
/* slide 3 carries a manual break; line two needs the room */
.bio-hero .bio-slide:nth-child(3) .bio-hero-inner h2 { max-width: 560px; }
.bio-hero-inner .bio-micro {
  font-size: 11px; font-weight: 520; letter-spacing: 0.6px;
  text-transform: uppercase; margin: 0 0 12px; opacity: .9;
}
.bio-hero-inner h1, .bio-hero-inner h2 {
  font-size: 46px; font-weight: 340; letter-spacing: -1px; line-height: 48px;
  color: var(--bio-paper); margin: 0 0 21px; max-width: 420px; text-transform: none;
}
.bio-btn {
  display: inline-block; padding: 10px 36px;
  border-radius: 8px; background: var(--bio-paper); color: var(--bio-ink);
  font-size: 14px; font-weight: 500; letter-spacing: -0.2px;
  text-decoration: none;
  transition: opacity 250ms var(--bio-ease);
}
.bio-btn:hover { opacity: .85; color: var(--bio-ink); text-decoration: none; }
.bio-dots {
  position: absolute; right: 40px; bottom: 42px; z-index: 3;
  display: flex; gap: 10px;
}
.bio-dots button, .bio-dots a {
  display: block;
  width: 8px; height: 8px; border-radius: 50%;
  border: none; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.45);
  transition: background 250ms var(--bio-ease);
}
.bio-dots button.active, .bio-dots a.active { background: var(--bio-paper); }

/* value strip */
.bio-values {
  display: flex; flex-wrap: wrap; gap: 14px 26px;
  padding: 56px 40px 8px;
  align-items: center; justify-content: space-between;
}
.bio-values .bio-values-label { opacity: 1; }
.bio-values span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 520; letter-spacing: 0.6px;
  text-transform: uppercase; opacity: .6;
}
.bio-values .bio-icon { width: 13px; height: 13px; opacity: .85; }

/* Doporucujeme product grid */
.bio-section { padding: 100px 40px 8px; }
.bio-section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 28px;
}
.bio-section-head h3 { font-size: 25px; font-weight: 400; letter-spacing: -0.5px; margin: 0; }
.bio-link-arrow { font-size: 14px; letter-spacing: -0.2px; white-space: nowrap; color: var(--bio-ink); text-decoration: none; }
.bio-link-arrow:hover { opacity: .55; }
.bio-link-arrow .bio-icon { width: 15px; height: 15px; vertical-align: -3px; margin-left: 2px; display: inline-block; }
.bio-tabs { display: flex; gap: 20px; margin-bottom: 24px; }
.bio-tabs a {
  font-weight: 500; font-size: 14px; letter-spacing: -0.2px;
  color: var(--bio-ink); opacity: .45; text-decoration: none;
  transition: opacity 250ms var(--bio-ease);
}
.bio-tabs a.active { opacity: 1; }
.bio-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  transition: opacity 350ms var(--bio-ease);
}
.bio-card { position: relative; }
.bio-card > a { color: var(--bio-ink); text-decoration: none; display: block; }
.bio-card-img {
  aspect-ratio: 339 / 390;
  border-radius: 8px;
  background: #F4F2EF;
  margin-bottom: 12px;
  position: relative; overflow: hidden;
  display: block;
}
.bio-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1000ms var(--bio-ease);
}
@media (hover: hover) and (pointer: fine) {
  .bio-card:hover .bio-card-img img { transform: scale(1.03); }
}
.bio-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--bio-paper); color: var(--bio-ink);
  border-radius: 6px; padding: 5px 9px;
  font-size: 11px; line-height: 11px;
  text-transform: uppercase; font-weight: 520; letter-spacing: 0.6px;
  z-index: 2;
}
.bio-card-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bio-card-name { font-weight: 450; font-size: 14px; letter-spacing: -0.2px; line-height: 17.5px; margin: 0; }
.bio-card-cat { font-weight: 520; letter-spacing: 0.6px; font-size: 11px; line-height: 11px; text-transform: uppercase; opacity: .55; margin: 4px 0 0; }
.bio-card-price { font-weight: 500; font-size: 13px; letter-spacing: -0.15px; white-space: nowrap; margin: 0; }

/* category tiles */
.bio-cats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; padding: 0 0 12px; /* gutters come from .bio-section */
}
.bio-cat {
  position: relative; aspect-ratio: 459 / 624;
  border-radius: 14px; overflow: hidden;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
  color: var(--bio-paper); text-decoration: none;
}
.bio-cat::after {
  content: ""; position: absolute; inset: 55% 0 0 0;
  background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.4));
}
.bio-cat span {
  position: relative; z-index: 1; width: 100%;
  padding: 20px 22px; font-size: 14px; font-weight: 450; letter-spacing: -0.2px;
}
.bio-cat:hover { color: var(--bio-paper); text-decoration: none; }

/* split banners */
.bio-split {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; padding: 50px 8px;
}
.bio-split .bio-split-img {
  height: 752px; border-radius: 14px;
  background-color: #F4F2EF;
  background-size: cover; background-position: center;
}
.bio-split .bio-split-body { padding: 0 96px; max-width: 640px; }
.bio-split.reverse .bio-split-img { order: 2; }
.bio-split h3 {
  font-size: 30px; font-weight: 380; letter-spacing: -0.6px; line-height: 33px;
  margin: 0 0 16px; text-transform: none;
}
.bio-split p { font-size: 14px; font-weight: 400; letter-spacing: -0.2px; line-height: 18px; margin: 0 0 24px; }
.bio-btn-dark {
  display: inline-block; padding: 10px 36px;
  border-radius: 8px; background: var(--bio-ink); color: var(--bio-paper);
  font-size: 14px; font-weight: 500; letter-spacing: -0.2px; text-decoration: none;
  transition: opacity 250ms var(--bio-ease);
}
.bio-btn-dark:hover { opacity: .85; color: var(--bio-paper); text-decoration: none; }

/* large promo tiles */
.bio-large {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; padding: 30px 40px 60px;
}
.bio-large a {
  position: relative; height: 620px; border-radius: 14px; overflow: hidden;
  background-size: cover; background-position: center;
  display: flex; flex-direction: column; justify-content: flex-end;
  align-items: flex-start;
  padding: 34px; color: var(--bio-paper); text-decoration: none;
}
/* legibility scrim: light product shots need it, dark ones don't mind */
.bio-large a::before {
  content: ""; position: absolute; inset: 35% 0 0 0;
  background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.55));
  pointer-events: none;
}
.bio-large a > span { position: relative; z-index: 1; }
.bio-large a:hover { color: var(--bio-paper); text-decoration: none; }
.bio-large h3 { font-size: 25px; font-weight: 400; letter-spacing: -0.5px; color: var(--bio-paper); margin: 0 0 10px; }
.bio-large p { font-size: 14px; font-weight: 400; letter-spacing: -0.2px; margin: 0 0 18px; max-width: 380px; }
/* TinyMCE ejects block tags out of anchors, so tiles use spans */
.bio-large a .bio-lt-name {
  display: block; font-size: 25px; font-weight: 400; letter-spacing: -0.5px;
  color: var(--bio-paper); margin: 0 0 10px;
}
.bio-large a .bio-lt-desc {
  display: block; font-size: 14px; font-weight: 400; letter-spacing: -0.2px;
  margin: 0 0 18px; max-width: 380px;
}

/* articles */
.bio-articles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.bio-article { color: var(--bio-ink); }
.bio-article a { color: inherit; text-decoration: none; display: block; }
.bio-article-img {
  aspect-ratio: 459 / 300; border-radius: 8px;
  background-size: cover; background-position: center;
  margin-bottom: 14px; overflow: hidden;
}
.bio-article .bio-micro-lab { margin-bottom: 8px; }
.bio-article h4 {
  font-size: 18px; font-weight: 430; letter-spacing: -0.3px; line-height: 22px;
  margin: 0 0 6px; text-transform: none;
}
.bio-article .bio-read { font-size: 12px; letter-spacing: -0.15px; opacity: .55; margin: 0; }

/* featured full-bleed product band */
.bio-featured {
  position: relative;
  height: 100vh; min-height: 640px;
  background-size: cover; background-position: center;
  color: var(--bio-paper);
  display: flex; align-items: flex-end;
}
.bio-featured-inner { padding: 0 40px 46px; }
.bio-featured-inner .bio-micro {
  display: block; font-weight: 520; font-size: 11px; line-height: 11px;
  text-transform: uppercase; letter-spacing: 0.6px; opacity: .9; margin: 0 0 12px;
}
.bio-featured-inner h2 {
  font-size: 46px; font-weight: 340; letter-spacing: -1px; line-height: 1.08;
  color: var(--bio-paper); margin: 0 0 20px; max-width: 430px; text-transform: none;
}

/* countdown */
.bio-countdown { padding: 30px 40px; }
.bio-countdown-media {
  border-radius: 14px; height: 531px;
  color: var(--bio-paper);
  background-size: cover; background-position: center;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  gap: 14px;
}
.bio-countdown-media h2 {
  font-size: 30px; font-weight: 380; letter-spacing: -0.6px; line-height: 33px;
  color: var(--bio-paper); margin: 0; text-transform: none;
}
.bio-countdown-media .bio-sub { font-size: 12px; letter-spacing: -0.15px; opacity: .85; margin: 0; }
.bio-countdown-media .bio-micro {
  display: block; font-weight: 520; font-size: 11px; line-height: 11px;
  text-transform: uppercase; letter-spacing: 0.6px; opacity: .9; margin: 0;
}
.bio-count-row { display: flex; gap: 28px; margin: 18px 0 8px; }
.bio-count-cell { text-align: center; }
.bio-count-num { font-size: 30px; letter-spacing: -0.15px; line-height: 31.5px; }
.bio-count-lab { font-size: 11px; line-height: 11px; text-transform: uppercase; opacity: .7; margin-top: 6px; }

/* testimonials */
.bio-testi-wrap { padding: 70px 40px 30px; }
.bio-testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px; margin-top: 44px;
}
.bio-testi {
  background: #F2F0ED; border-radius: 14px; padding: 28px;
}
.bio-testi h4 { font-weight: 430; font-size: 18px; letter-spacing: -0.3px; line-height: 18px; margin: 0 0 14px; text-transform: none; }
.bio-testi .bio-quote { font-weight: 410; font-size: 16px; letter-spacing: -0.2px; line-height: 23.2px; margin: 0 0 18px; }
.bio-testi-prod { display: flex; align-items: center; gap: 12px; }
.bio-testi-thumb { width: 44px; height: 44px; border-radius: 8px; overflow: hidden; flex: 0 0 44px; }
.bio-testi-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bio-testi-prod p { margin: 0; font-size: 12px; letter-spacing: -0.15px; }
.bio-testi-prod .bio-micro-lab { margin: 4px 0 0; }

/* instagram */
.bio-ig-wrap { padding: 70px 40px 30px; }
.bio-ig {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 24px; margin-top: 30px;
}
.bio-ig-tile {
  aspect-ratio: 1; border-radius: 8px; overflow: hidden;
  background-size: cover; background-position: center;
  cursor: pointer;
}

/* newsletter band */
.bio-news {
  height: 592px;
  background-size: cover; background-position: center;
  color: var(--bio-paper);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  gap: 18px; padding: 0 40px;
  margin-top: 70px;
}
.bio-news h2 {
  font-size: 46px; font-weight: 340; letter-spacing: -1px; line-height: 1.08;
  color: var(--bio-paper); margin: 0; text-transform: none;
}
.bio-news p { font-size: 14px; letter-spacing: -0.2px; line-height: 18px; max-width: 420px; margin: 0; }
.bio-news-form { width: 300px; margin-top: 10px; }
.bio-news-form form {
  display: flex; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.6);
  position: relative;
}
.bio-news-form input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--bio-paper); font-family: inherit; font-size: 14px; height: 40px;
  padding: 0;
}
.bio-news-form input::placeholder { color: rgba(255,255,255,.7); }
.bio-news-form button {
  background: none; border: none; color: var(--bio-paper);
  cursor: pointer; padding: 0 2px;
}
.bio-news-form .bio-icon { width: 16px; height: 16px; }

/* category tiles: label row with arrow */
.bio-cat-label {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; letter-spacing: -0.2px;
}
.bio-cat-label .bio-icon { width: 15px; height: 15px; }

/* reveals */
.bio-reveal {
  opacity: 0; transform: translateY(26px); filter: blur(10px);
  transition: opacity 1100ms var(--bio-ease), transform 1100ms var(--bio-ease), filter 1100ms var(--bio-ease);
}
.bio-reveal.in-view { opacity: 1; transform: none; filter: none; }

/* ---------- unified shop page (/obchod/): 250px sidebar + grid ---------- */
/* the bio-shop head carries the only visible title; template spacing collapses */
.in-obchod #content h1 { display: none; }
.in-obchod #content .bio-shop-head h1 { display: block; }
.in-obchod #content { padding-top: 0; }
.in-obchod .content-inner > *:not(.bio-shop) { margin-top: 0; }
/* a shop page is not a discussion thread */
.in-obchod #discussion, .in-obchod .discussion-form,
.in-obchod .add-comment, .in-obchod [class*="discussion"], .in-obchod [class*="Discussion"],
.in-obchod article ~ h2 { display: none !important; }
.in-obchod .bio-news { margin-top: 0; }
.bio-shop { text-align: left; }
.bio-shop-head { padding: 8px 0 44px; }
.bio-shop-head .bio-micro-lab { margin-bottom: 14px; }
.bio-shop-head h1 {
  font-size: 30px; font-weight: 380; letter-spacing: -0.6px; line-height: 33px;
  margin: 0; max-width: 660px;
}
.bio-listing {
  display: grid; grid-template-columns: 250px 1fr;
  gap: 20px; align-items: start;
  padding-bottom: 100px;
}
.bio-filter-col { position: sticky; top: 95px; }
.bio-filter-col h6 {
  font-size: 11px; line-height: 11px; text-transform: uppercase;
  font-weight: 520; letter-spacing: 0.6px;
  opacity: .55; margin: 26px 0 14px;
}
.bio-filter-col h6:first-of-type { margin-top: 0; }
.bio-filter-col ul { list-style: none; margin: 0; padding: 0; }
.bio-filter-col li { margin-bottom: 11px; }
.bio-filter-col a {
  font-size: 14px; letter-spacing: -0.2px; line-height: 17.5px;
  color: var(--bio-ink); text-decoration: none;
}
.bio-filter-col a.active { text-decoration: underline; text-underline-offset: 3px; }
.bio-sort-bar {
  display: flex; justify-content: flex-end; align-items: center;
  gap: 24px; margin-bottom: 22px;
  font-size: 14px; letter-spacing: -0.2px;
}
.bio-shop-search {
  margin-right: auto;
  border: none; border-bottom: 1px solid rgba(0,0,0,.2);
  background: none; outline: none;
  font-family: inherit; font-size: 14px; letter-spacing: -0.2px;
  padding: 4px 0; width: 200px;
  transition: border-color 250ms var(--bio-ease);
}
.bio-shop-search:focus { border-color: var(--bio-ink); }
.bio-shop-search::placeholder { color: rgba(0,0,0,.4); }
.bio-sort-bar .bio-results { opacity: .55; }
.bio-sort-bar select {
  border: none; background: none; font-family: inherit;
  font-size: 14px; font-weight: 500; letter-spacing: -0.2px;
  color: var(--bio-ink); cursor: pointer; outline: none;
}
.bio-shop-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 19px;
  transition: opacity 350ms var(--bio-ease);
}
.bio-shop-grid .bio-card-img { aspect-ratio: 272 / 312; }
.bio-empty-note { font-size: 14px; letter-spacing: -0.2px; opacity: .55; padding: 40px 0; }
@media (max-width: 1080px) {
  .bio-shop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .bio-shop-head { padding: 36px 0 40px; }
  .bio-listing { grid-template-columns: 1fr; gap: 8px; padding-bottom: 64px; }
  .bio-filter-col { position: static; min-width: 0; max-width: 100%; }
  .bio-listing > * { min-width: 0; }
  .bio-filter-col h6 { display: none; }
  .bio-filter-col ul {
    display: flex; gap: 18px; overflow-x: auto; overflow-y: hidden;
    margin: 0 -20px 6px; padding: 0 20px 10px;
    scrollbar-width: none;
  }
  .bio-filter-col ul::-webkit-scrollbar { display: none; }
  .bio-filter-col li { margin: 0; white-space: nowrap; }
  .bio-shop-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  /* mobile: search on its own row, then results + sort on a clean second row */
  .bio-sort-bar {
    flex-wrap: wrap; gap: 16px 12px; align-items: center;
  }
  .bio-shop-search-wrap { flex: 1 1 100%; margin-right: 0; }
  .bio-sort-bar .bio-results { order: 2; }
  .bio-sort-bar .bio-sort-slot { order: 3; margin-left: auto; }
  .bio-sort-bar .bio-sort-slot label { white-space: nowrap; }
}

/* ---------- article pages (type-post): readable luxury column ---------- */
.type-post #content {
  max-width: 860px; margin: 0 auto; float: none;
  padding-top: 20px; padding-bottom: 40px;
}
.type-post #content h1 {
  font-size: 36px; font-weight: 380; letter-spacing: -0.6px; line-height: 1.15;
  margin-bottom: 6px;
}
.type-post #content h3 {
  font-size: 20px; font-weight: 430; letter-spacing: -0.3px;
  margin: 36px 0 12px;
}
.type-post #content p {
  font-size: 15px; line-height: 25px; letter-spacing: -0.2px;
  margin-bottom: 16px;
}
.type-post #content ul { padding-left: 20px; margin: 0 0 18px; }
.type-post #content li { font-size: 15px; line-height: 25px; letter-spacing: -0.2px; margin-bottom: 8px; }
.type-post #content img { border-radius: 14px; max-width: 100%; height: auto; margin: 24px 0 8px; }
.type-post #content .bio-lead { font-size: 18px; line-height: 28px; font-weight: 420; }
.type-post #content a { text-decoration: underline; text-underline-offset: 3px; }
.type-post .btn, .type-post [class*="pagination"] a { border-radius: 8px; }

/* ---------- mobile ---------- */
@media (max-width: 767px) {
  .bio-hero { height: 100svh; min-height: 560px; }
  .bio-section { padding: 64px 20px 8px; }
  .bio-section-head { margin-bottom: 20px; }
  .bio-section-head h3 { font-size: 20px; }
  .bio-grid {
    display: flex; gap: 12px;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline-start: 20px;
    margin: 0 -20px; padding: 0 20px;
    scrollbar-width: none;
  }
  .bio-grid::-webkit-scrollbar { display: none; }
  .bio-grid::after { content: ""; flex: 0 0 8px; }
  .bio-grid .bio-card { flex: 0 0 76%; scroll-snap-align: start; }
  .bio-slide { background-image: var(--m-bg) !important; }
  .bio-slide::before {
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 12%, rgba(0,0,0,0) 52%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 12%, rgba(0,0,0,0) 52%);
  }
  .bio-slide::after {
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 6%, rgba(0,0,0,0) 38%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 6%, rgba(0,0,0,0) 38%);
  }
  .bio-hero-inner { padding: 0 20px calc(48px + env(safe-area-inset-bottom)); }
  .bio-hero-inner h1, .bio-hero-inner h2 { font-size: 28px; letter-spacing: -0.5px; line-height: 31px; max-width: 300px; }
  .bio-btn, .bio-btn-dark { display: block; text-align: center; }
  /* dots run vertically down the right edge on mobile */
  .bio-dots {
    right: 16px; bottom: auto; top: 50%;
    transform: translateY(-50%);
    flex-direction: column; gap: 9px;
  }
  .bio-values { padding: 36px 20px 0; }
  .type-category .products-block { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .type-product .p-detail-inner { display: flex; flex-direction: column; padding: 12px 0 30px; }
  .type-product .p-image-wrapper,
  .type-product .p-data-wrapper { grid-column: auto !important; grid-row: auto !important; }
  .type-product .p-image-wrapper { order: 0; flex-direction: column; gap: 12px; margin-bottom: 24px; }
  .type-product .p-data-wrapper { order: 1; }
  .type-product .p-image-wrapper > .row { order: 1; flex: none; width: 100%; margin: 0; }
  .type-product .p-image-wrapper .p-image { order: 0; width: 100%; }
  /* thumbnails: horizontal scroll strip of 64px cover squares */
  .type-product .p-thumbnails, .type-product .p-thumbnails-horizontal { flex-direction: row; }
  .type-product .p-thumbnails-inner,
  .type-product .p-thumbnails-inner > div { flex-direction: row !important; gap: 10px; }
  .type-product .p-thumbnails-inner a { width: 64px !important; height: 64px !important; flex: 0 0 64px; }
  .bio-pdp-related { padding: 40px 20px 8px; }
  .bio-toolbar { gap: 12px; margin: 6px 0 20px; }
  .bio-search-inline input[name="string"] { width: 90px; }
  .benefitBanner { flex-direction: column; gap: 14px; align-items: center; padding: 22px 20px; }
  /* same 76% snap carousel as the product cards */
  .bio-cats {
    display: flex; gap: 12px;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline-start: 20px;
    margin: 0 -20px; padding: 0 20px 8px;
    scrollbar-width: none;
  }
  .bio-cats::-webkit-scrollbar { display: none; }
  .bio-cats .bio-cat { flex: 0 0 76%; scroll-snap-align: start; }
  /* inside horizontal carousels the reveal fades only, no vertical shift
     (translateY created a vertical scroll that cut cards off) */
  .bio-grid .bio-reveal, .bio-cats .bio-reveal { transform: none !important; }
  .bio-articles { grid-template-columns: 1fr; gap: 28px; }
  .bio-featured { height: 100svh; min-height: 560px; background-image: var(--m-bg) !important; }
  .bio-featured-inner { padding: 0 20px 40px; }
  .bio-countdown { padding: 20px 20px; }
  .bio-countdown-media { height: 460px; padding: 0 20px; }
  .bio-testi-wrap { padding: 56px 20px 20px; }
  .bio-testi-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
  .bio-ig-wrap { padding: 56px 20px 20px; }
  .bio-ig { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 20px; }
  .bio-news { height: 520px; margin-top: 56px; padding: 0 20px; }
  .bio-news h2 { font-size: 28px; letter-spacing: -0.5px; }
  .bio-featured-inner h2 { font-size: 28px; letter-spacing: -0.5px; line-height: 31px; }
  .bio-split { grid-template-columns: 1fr; padding: 16px 0 0; }
  .bio-split .bio-split-img { height: 420px; border-radius: 0; }
  .bio-split.reverse .bio-split-img { order: 0; }
  .bio-split .bio-split-body { padding: 26px 20px 36px; }
  .bio-large { grid-template-columns: 1fr; padding: 8px 20px 40px; gap: 12px; }
  .bio-large a { height: 440px; padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .bio-slide, .bio-reveal, .p img { transition: none !important; }
  .bio-reveal { opacity: 1; transform: none; filter: none; }
  .bio-slide.active .bio-hero-inner { animation: none; }
}

/* ============================================================
   WISHLIST
   ============================================================ */
:root { --bio-heart: #e2374a; }

/* heart button on product images */
.bio-card-img, .p-detail .p-image, .p .p-image, .p .image { position: relative; }
.bio-heart-btn {
  position: absolute; top: 10px; right: 10px; z-index: 4;
  width: 34px; height: 34px; padding: 0; margin: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  color: var(--bio-ink); box-shadow: 0 2px 10px rgba(0,0,0,.10);
  transition: transform 220ms var(--bio-ease), background 220ms var(--bio-ease), box-shadow 220ms var(--bio-ease);
}
.bio-heart-btn:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.14); }
.bio-heart-btn .bio-icon {
  width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7;
  transition: fill 200ms var(--bio-ease), stroke 200ms var(--bio-ease);
}
.bio-heart-btn.is-active { color: var(--bio-heart); }
.bio-heart-btn.is-active .bio-icon { fill: var(--bio-heart); stroke: var(--bio-heart); }
.bio-pop .bio-icon { animation: bioHeartPop 400ms var(--bio-ease); }
@keyframes bioHeartPop { 0% { transform: scale(1); } 30% { transform: scale(1.4); } 55% { transform: scale(.85); } 100% { transform: scale(1); } }
/* bigger on the product detail gallery */
.p-detail .p-image .bio-heart-btn { top: 16px; right: 16px; width: 42px; height: 42px; }
.p-detail .p-image .bio-heart-btn .bio-icon { width: 21px; height: 21px; }

/* header wishlist button + count badge */
.bio-wishlist-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; color: var(--bio-ink); }
.bio-wishlist-btn .bio-icon { width: 19px; height: 19px; }
.bio-wishlist-count {
  position: absolute; top: -7px; right: -9px;
  min-width: 16px; height: 16px; padding: 0 4px; box-sizing: border-box;
  border-radius: 9px; background: var(--bio-heart); color: #fff;
  font-family: inherit; font-size: 10px; font-weight: 600; line-height: 16px; letter-spacing: 0; text-align: center;
}

/* full-page overlay */
.bio-wish-ov { position: fixed; inset: 0; z-index: 10001; display: none; background: var(--bio-paper); overflow-y: auto; }
.bio-wish-ov.open { display: block; animation: bio-search-in 300ms var(--bio-ease); }
.bio-wish-close {
  position: fixed; top: 22px; right: 24px; z-index: 2;
  width: 44px; height: 44px; border: none; background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--bio-ink); border-radius: 50%;
  transition: background 250ms var(--bio-ease);
}
.bio-wish-close:hover { background: rgba(0,0,0,.05); }
.bio-wish-close .bio-icon { width: 22px; height: 22px; }
.bio-wish-panel { max-width: 1080px; margin: 0 auto; padding: 92px 24px 80px; }
.bio-wish-head { margin-bottom: 34px; }
.bio-wish-kicker { display: block; font-size: 11px; font-weight: 520; letter-spacing: 0.6px; text-transform: uppercase; opacity: .5; margin-bottom: 8px; }
.bio-wish-title { font-size: 34px; font-weight: 400; letter-spacing: -0.7px; margin: 0 0 6px; }
.bio-wish-count { font-size: 13px; letter-spacing: -0.15px; opacity: .55; margin: 0; }
.bio-wish-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 26px; }
.bio-wish-card { position: relative; }
.bio-wish-card-link { display: block; text-decoration: none; color: inherit; }
.bio-wish-card-img { display: block; aspect-ratio: 1 / 1; background: #F0EEEB; border-radius: 12px; overflow: hidden; }
.bio-wish-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 900ms var(--bio-ease); }
.bio-wish-card-link:hover .bio-wish-card-img img { transform: scale(1.04); }
.bio-wish-card-meta { display: block; padding: 13px 2px 0; }
.bio-wish-card-cat { display: block; font-size: 11px; font-weight: 520; letter-spacing: 0.5px; text-transform: uppercase; color: rgba(0,0,0,.45); margin-bottom: 4px; }
.bio-wish-card-name { display: block; font-size: 15px; font-weight: 450; letter-spacing: -0.2px; }
.bio-wish-card-price { display: block; font-size: 14px; letter-spacing: -0.15px; margin-top: 5px; }
.bio-wish-remove {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 30px; height: 30px; padding: 0; border: none; border-radius: 50%; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  color: var(--bio-ink); box-shadow: 0 2px 8px rgba(0,0,0,.10); opacity: 0;
  transition: opacity 200ms var(--bio-ease), background 200ms var(--bio-ease);
}
.bio-wish-card:hover .bio-wish-remove { opacity: 1; }
.bio-wish-remove:hover { background: #fff; color: var(--bio-heart); }
.bio-wish-remove .bio-icon { width: 15px; height: 15px; }
.bio-wish-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.bio-wish-cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bio-ink); color: var(--bio-paper); border: none; border-radius: 8px;
  padding: 13px 28px; font-family: inherit; font-size: 14px; font-weight: 500; letter-spacing: -0.2px; cursor: pointer; text-decoration: none;
  transition: opacity 250ms var(--bio-ease);
}
.bio-wish-cta:hover { opacity: .85; color: var(--bio-paper); }
.bio-wish-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  background: none; color: var(--bio-ink); border: 1px solid rgba(0,0,0,.22); border-radius: 8px;
  padding: 13px 26px; font-family: inherit; font-size: 14px; font-weight: 450; letter-spacing: -0.2px; cursor: pointer;
  transition: border-color 250ms var(--bio-ease), background 250ms var(--bio-ease);
}
.bio-wish-ghost:hover { border-color: var(--bio-ink); background: rgba(0,0,0,.03); }
.bio-wish-empty { padding: 12px 0 70px; max-width: 460px; }
.bio-wish-empty-lead { font-size: 21px; font-weight: 400; letter-spacing: -0.4px; margin: 0 0 8px; }
.bio-wish-empty-sub { font-size: 14px; letter-spacing: -0.2px; opacity: .55; margin: 0 0 26px; }
.bio-wish-empty .bio-wish-cta { padding: 13px 34px; }
@media (max-width: 900px) { .bio-wish-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; } }
@media (max-width: 767px) {
  .bio-wish-panel { padding: 82px 18px 64px; }
  .bio-wish-title { font-size: 27px; }
  .bio-wish-close { top: 14px; right: 14px; }
  .bio-heart-btn { width: 32px; height: 32px; top: 8px; right: 8px; }
  .bio-heart-btn .bio-icon { width: 17px; height: 17px; }
  .bio-wish-actions .bio-wish-cta, .bio-wish-actions .bio-wish-ghost { flex: 1 1 auto; }
}

/* ============================================================
   GIFT WRAPPING option (cart)
   ============================================================ */
.in-kosik .bio-giftwrap { grid-column: 1; }
.bio-giftwrap {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid rgba(0,0,0,.16); border-radius: 12px;
  padding: 15px 18px; margin: 6px 0 10px; cursor: pointer; position: relative;
  transition: border-color 250ms var(--bio-ease);
}
.bio-giftwrap:hover { border-color: rgba(0,0,0,.34); }
.bio-giftwrap .bio-gw-check { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.bio-gw-tick {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 6px;
  border: 1px solid rgba(0,0,0,.3); display: inline-flex; align-items: center; justify-content: center;
  transition: background 200ms var(--bio-ease), border-color 200ms var(--bio-ease);
}
.bio-gw-tick .bio-icon { width: 14px; height: 14px; stroke: var(--bio-paper); opacity: 0; transition: opacity 150ms var(--bio-ease); }
.bio-giftwrap .bio-gw-check:checked ~ .bio-gw-tick { background: var(--bio-ink); border-color: var(--bio-ink); }
.bio-giftwrap .bio-gw-check:checked ~ .bio-gw-tick .bio-icon { opacity: 1; }
.bio-gw-text { flex: 1 1 auto; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bio-gw-title { font-size: 14px; font-weight: 500; letter-spacing: -0.2px; }
.bio-gw-desc { font-size: 12px; letter-spacing: -0.1px; opacity: .55; line-height: 1.4; }
.bio-gw-price { flex: 0 0 auto; font-size: 14px; font-weight: 500; letter-spacing: -0.15px; align-self: flex-start; }
.bio-giftwrap.bio-gw-busy { opacity: .5; pointer-events: none; }

/* ============================================================
   INTRO DISCOUNT  (-20 %, do 30. 9. 2026)  presentation layer
   ============================================================ */
:root { --bio-sale: #a4584a; }

/* card price: struck original + ink sale price */
.bio-card-price .bio-price-orig {
  color: var(--bio-ink); opacity: .35;
  text-decoration: line-through;
  font-weight: 450; font-size: 12px; margin-right: 7px;
}
.bio-card-price .bio-price-now { color: var(--bio-ink); font-weight: 560; }

/* the one accent: small discount tag, top-right of the card image
   (top-left is reserved for the existing Bestseller/Novinka badge) */
.bio-disc-pill {
  position: absolute; bottom: 10px; left: 10px; z-index: 2;
  background: var(--bio-sale); color: #fff;
  border-radius: 999px; padding: 5px 9px;
  font-size: 10.5px; line-height: 10.5px;
  font-weight: 560; letter-spacing: 0.4px; white-space: nowrap;
}

/* slim announcement ribbon */
.bio-annc {
  background: var(--bio-sale); color: #fff;
  text-align: center; font-size: 12px; letter-spacing: .4px;
  padding: 9px 16px; line-height: 1.35; font-weight: 480;
  position: relative; z-index: 60;
}
.bio-annc strong { font-weight: 660; letter-spacing: .6px; }

/* native product-detail price treatment, matched to the cards */
.p-final-price-wrapper .price-standard {
  color: var(--bio-ink) !important; opacity: .4;
  text-decoration: line-through; font-weight: 450 !important;
  font-size: 13px !important;
}
.p-final-price-wrapper .price-save {
  display: inline-block; background: var(--bio-sale); color: #fff !important;
  border-radius: 999px; padding: 3px 8px; margin: 0 8px;
  font-size: 10.5px; font-weight: 560; letter-spacing: .4px; vertical-align: 2px;
}
.p-detail .p-final-price-wrapper .price-final,
.p-detail .p-final-price-wrapper .price-final strong { color: var(--bio-ink) !important; }

/* hide Shoptet's default blue circular discount sticker on the product image;
   the discount is shown via the styled price + announcement ribbon instead */
.flags-extra .flag-discount, .flag.flag-discount { display: none !important; }

/* FIX (after discount went live): on the product detail Shoptet turns the
   .flags-extra container into an absolute, full-image, paper-coloured box that
   covered the product photo. Neutralise its paint + hit-area so the photo shows
   (container kept, so any real Novinka/Tip flag would still render). */
.p-image .flags-extra, .p-main-image .flags-extra {
  background: transparent !important;
  pointer-events: none !important;
}

/* FIX: keep the announcement ribbon above the transparent overlay header on the
   homepage. The header is position:absolute; top:0, so it painted over the
   in-flow ribbon. Shift it down by the ribbon's measured height (JS sets the
   var; 34px fallback). Only the index template uses the overlay header. */
body.in-index #header,
body.in-index header {
  top: var(--bio-annc-h, 34px) !important;
}
