/* Briogen theme: direction D, "Баланс" (design/directions/README.md).
   Tokens live in theme.json; the short names below point at them so the components read like the mock-up. */
:root {
  --color-navy: var(--wp--preset--color--navy);
  --color-blue: var(--wp--preset--color--blue);
  --color-blue-deep: var(--wp--preset--color--blue-deep);
  --color-blue-tint: var(--wp--preset--color--blue-tint);
  --color-white: var(--wp--preset--color--white);
  --color-mist: var(--wp--preset--color--mist);
  --color-mist-deep: var(--wp--preset--color--mist-deep);
  --color-muted: var(--wp--preset--color--muted);
  --color-line: var(--wp--preset--color--line);
  --color-control: var(--wp--preset--color--control);
  --color-on-navy-soft: #c9d1ee;
  --color-error: #b3261e;
  --color-error-tint: #fdecea;
  --color-success: #1d6b3a;
  --color-success-tint: #e7f4ec;
  --color-blue-shade: #2b49b8;
  --tint-indigo: 104 68 226;
  --tint-azure: 48 176 246;
  --tint-magenta: 208 92 204;
  --label-red: 255 106 92;
  --label-orange: 255 154 61;
  --label-lime: 190 226 80;
  --label-pink: 255 163 186;
  --label-sky: 134 197 245;
  --grain: url("../images/grain.png?v=3");
  --font-display: var(--wp--preset--font-family--display);
  --font-body: var(--wp--preset--font-family--body);
  --font-size-xs: var(--wp--preset--font-size--xs);
  --font-size-s: var(--wp--preset--font-size--s);
  --font-size-m: var(--wp--preset--font-size--m);
  --font-size-l: var(--wp--preset--font-size--l);
  --font-size-display-s: var(--wp--preset--font-size--display-s);
  --font-size-display-m: var(--wp--preset--font-size--display-m);
  --font-size-display-l: var(--wp--preset--font-size--display-l);
  --line-display: 0.92;
  --line-snug: 1.25;
  --space-10: 0.25rem; --space-20: 0.5rem; --space-30: 0.75rem; --space-40: 1rem;
  --space-50: 1.5rem; --space-60: 2rem; --space-70: 3rem; --space-80: 4rem;
  --space-section: var(--wp--preset--spacing--section);
  --gutter: var(--wp--custom--gutter);
  --content-width: 77.5rem;
  --radius-s: var(--wp--custom--radius--s);
  --radius-m: var(--wp--custom--radius--m);
  --radius-l: var(--wp--custom--radius--l);
  --radius-pill: 999px;
  --shadow-pack: var(--wp--preset--shadow--pack);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; padding-bottom: var(--briogen-consent-space, 0px); }
img { height: auto; }
:where(.wp-site-blocks) :focus-visible { outline: 3px solid var(--color-blue); outline-offset: 3px; border-radius: 6px; }
.visually-hidden, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link.screen-reader-text:focus { position: fixed !important; left: var(--space-40); top: var(--space-40); z-index: 100000; width: auto; height: auto; clip-path: none; padding: var(--space-30) var(--space-40); background: var(--color-navy); color: var(--color-white); border-radius: var(--radius-s); }
.wrap { width: min(100% - 2 * var(--gutter), var(--content-width)); margin-inline: auto; }
.icon { width: 1.375rem; height: 1.375rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--s { width: 1rem; height: 1rem; stroke-width: 2; }
.display { font-family: var(--font-display); font-weight: 800; line-height: var(--line-display); letter-spacing: 0.004em; text-transform: uppercase; text-wrap: balance; }
:where(h1, h2) { text-wrap: balance; }
.wp-site-blocks > main { margin-block-start: 0; }
.site-main { padding-bottom: var(--space-section); }

/* ---------- Buttons and links ---------- */
.btn, .woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-20);
  min-height: 3.25rem; padding: 0 var(--space-60);
  border: 0; border-radius: var(--radius-pill);
  background: var(--color-blue); color: var(--color-white);
  font: 600 var(--font-size-m) / 1.2 var(--font-body); letter-spacing: -0.015em; text-decoration: none;
  cursor: pointer; transition: background-color 0.18s ease;
}
.btn:hover, .woocommerce .button:hover { background: var(--color-blue-deep); color: var(--color-white); }
.btn[disabled], .woocommerce .button:disabled, .woocommerce .button.disabled { opacity: 0.55; cursor: not-allowed; }
.btn--block { width: 100%; }
.btn--light { background: var(--color-white); color: var(--color-navy); }
.btn--light:hover { background: var(--color-blue-tint); color: var(--color-navy); }
.btn--outline, .woocommerce a.button.wc-backward { background: none; color: var(--color-navy); box-shadow: inset 0 0 0 1.5px var(--color-navy); }
.btn--outline:hover, .woocommerce a.button.wc-backward:hover { background: var(--color-navy); color: var(--color-white); }
.text-link { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--color-blue-deep); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.3em; }
.text-link:hover { color: var(--color-navy); }
.text-link--light, .text-link--light:hover { color: var(--color-white); }
.btn-add {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
  width: 100%; min-height: 2.75rem; padding: 0 var(--space-40);
  border: 0; border-radius: var(--radius-pill);
  background: var(--color-blue-tint); color: var(--color-blue-deep);
  font: 600 var(--font-size-s) / 1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.btn-add:hover { background: var(--color-blue); color: var(--color-white); }
.btn-add[aria-busy="true"] { color: transparent; pointer-events: none; }
.btn-add[aria-busy="true"]::after, .btn[aria-busy="true"]::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 1.1rem; height: 1.1rem;
  border: 2px solid var(--color-blue-deep); border-right-color: transparent; border-radius: 50%;
  animation: briogen-spin 0.7s linear infinite;
}
.btn[aria-busy="true"] { position: relative; color: transparent; pointer-events: none; }
.btn[aria-busy="true"]::after { border-color: var(--color-white); border-right-color: transparent; }
.btn-add.is-added { background: var(--color-navy); color: var(--color-white); }
.btn-add.is-error { background: var(--color-error-tint); color: var(--color-error); }
@keyframes briogen-spin { to { rotate: 360deg; } }
.card-status { margin: 0; min-height: 1.2em; font-size: var(--font-size-xs); font-weight: 600; }
.card-status:empty { display: none; }
.card-status.is-error { color: var(--color-error); }
.card-status.is-added { color: var(--color-success); }
.card-status a { color: inherit; }

/* ---------- Announcement and header ---------- */
.announce { background: var(--color-navy); color: var(--color-white); font-size: var(--font-size-xs); padding-block: 0.5rem; }
.announce__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.15rem 1.5rem; margin: 0 auto; text-align: center; }
.announce p { margin: 0; }
.announce a { color: inherit; font-weight: 600; text-underline-offset: 0.2em; }
/* The showcase's note (briogen-core Shop\Showcase): orders are not open yet. */
.announce__note { font-weight: 600; font-size: var(--font-size-s); }
.site-header { position: relative; z-index: 20; background: rgb(255 255 255 / 0.94); }
.header-bar { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: var(--space-40); padding-block: 0.625rem 0; }
.brand { display: inline-flex; align-items: center; min-height: 2.75rem; }
.brand img { display: block; width: 6.75rem; height: auto; }
.header-tools { grid-row: 1; grid-column: 2; display: flex; align-items: center; justify-content: flex-end; gap: 0.125rem; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--color-navy); cursor: pointer; transition: background-color 0.18s ease; }
.icon-btn:hover { background: var(--color-mist); color: var(--color-navy); }
.cart-count { position: absolute; top: 0.3rem; right: 0.2rem; min-width: 1.125rem; height: 1.125rem; padding: 0 0.25rem; border-radius: var(--radius-pill); background: var(--color-blue); color: var(--color-white); font-size: 0.6875rem; font-weight: 700; line-height: 1.125rem; text-align: center; letter-spacing: 0; }
.cart-count:empty { display: none; }
.lang { display: inline-flex; align-items: center; margin-inline: 0.25rem; padding: 0.1875rem; border-radius: var(--radius-pill); background: var(--color-mist); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; }
.lang a { display: grid; place-items: center; min-width: 2.25rem; height: 2rem; padding: 0 0.4rem; border-radius: var(--radius-pill); color: var(--color-muted); text-decoration: none; }
.lang a[aria-current] { background: var(--color-navy); color: var(--color-white); }
.header-search { display: none; }
.primary-nav { grid-row: 2; grid-column: 1 / -1; margin-inline: calc(-1 * var(--gutter)); }
.primary-nav ul { display: flex; justify-content: space-between; gap: var(--space-40); margin: 0; padding: 0 var(--gutter); list-style: none; overflow-x: auto; scrollbar-width: none; }
.primary-nav a { display: flex; align-items: center; min-height: 2.75rem; color: var(--color-navy); font-size: var(--font-size-s); font-weight: 600; white-space: nowrap; text-decoration: none; border-bottom: 2px solid transparent; }
.primary-nav a:hover, .primary-nav a[aria-current] { border-bottom-color: var(--color-navy); }
@media (max-width: 27.99rem) { .primary-nav__wide { display: none; } }
.search-panel { padding: var(--space-20) 0 var(--space-40); }
.search-panel[hidden] { display: none; }
.search-field { display: flex; align-items: center; gap: var(--space-20); height: 2.75rem; padding: 0 var(--space-40); border-radius: var(--radius-pill); background: var(--color-mist); box-shadow: inset 0 0 0 1px var(--color-control); color: var(--color-muted); }
.search-field:focus-within { outline: 3px solid var(--color-blue); outline-offset: 2px; }
.search-field input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: var(--font-size-s); color: var(--color-navy); outline: none; }
.search-field input::placeholder { color: var(--color-muted); opacity: 1; }
.search-field button { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; margin-right: -0.5rem; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--color-navy); cursor: pointer; }
@media (min-width: 62rem) {
  .site-header { position: sticky; top: 0; -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); }
  .admin-bar .site-header { top: 32px; }
  .header-bar { grid-template-columns: auto 1fr auto; column-gap: var(--space-70); padding-block: 0; min-height: 4.5rem; }
  .brand img { width: 8.75rem; }
  .primary-nav { grid-row: 1; grid-column: 2; margin: 0; }
  .primary-nav ul { justify-content: flex-start; gap: var(--space-60); padding: 0; overflow: visible; }
  .primary-nav a { min-height: 4.5rem; font-size: var(--font-size-m); }
  .header-tools { grid-column: 3; gap: 0.25rem; }
  .search-toggle { display: none; }
  .header-search { display: block; width: 13rem; margin-right: var(--space-20); }
  .header-search .search-field { height: 2.5rem; }
  .search-panel { display: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space-section); }
.section--tight { padding-block: calc(var(--space-section) * 0.55); }
.section--mist { background: var(--color-mist); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-20) var(--space-50); margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.section-head > * { margin: 0; }
.section-head h2 { font-size: var(--font-size-display-m); }
.lede { max-width: 36rem; font-size: var(--font-size-l); line-height: 1.4; letter-spacing: -0.02em; }

/* ---------- Home hero ---------- */
.hero { padding-top: var(--space-30); overflow-x: clip; }
.hero-panel {
  --pad: clamp(1.25rem, 0.4rem + 4vw, 4.5rem);
  --focus-x: 50%; --focus-y: 93%; --glow-w: 75%; --glow-h: 13%; --field-w: 135%; --field-h: 34%;
  --violet-at: 0% 100%; --violet-size: 85% 30%;
  --azure-at: 100% 100%; --azure-size: 85% 26%;
  --magenta-at: 100% 78%; --magenta-size: 0% 0%;
  --sweep: none; --orbit-dots: none;
  position: relative; display: grid; gap: var(--space-50);
  padding: var(--pad) var(--pad) 0;
  border-radius: var(--radius-l);
  color: var(--color-white);
  background:
    var(--grain), var(--sweep),
    radial-gradient(var(--glow-w) var(--glow-h) at var(--focus-x) var(--focus-y), rgb(150 178 250 / 0.72), rgb(150 178 250 / 0)),
    radial-gradient(var(--field-w) var(--field-h) at var(--focus-x) var(--focus-y), #4770db, rgb(71 112 219 / 0)),
    radial-gradient(var(--magenta-size) at var(--magenta-at), rgb(var(--tint-magenta) / 0.36), rgb(var(--tint-magenta) / 0)),
    radial-gradient(var(--violet-size) at var(--violet-at), rgb(var(--tint-indigo) / 0.74), rgb(var(--tint-indigo) / 0)),
    radial-gradient(var(--azure-size) at var(--azure-at), rgb(var(--tint-azure) / 0.56), rgb(var(--tint-azure) / 0)),
    var(--color-blue-shade);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.32), inset 0 0 0 1px rgb(255 255 255 / 0.08),
    -2.5rem 2.75rem 4rem -3rem rgb(var(--tint-indigo) / 0.75), 2.5rem 2.75rem 4rem -3rem rgb(var(--tint-azure) / 0.65);
}
/* The rings: SVG circles (briogen_rings()), centred where the packs stand. */
.rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; border-radius: inherit; pointer-events: none; }
.rings circle { cx: var(--focus-x); cy: var(--focus-y); }
.poster .rings { color: rgb(var(--label)); }
.poster--light .rings { display: none; }
.hero-panel::after, .poster::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: var(--orbit-dots); }
.hero-panel { --ring-colours: conic-gradient(from 235deg at var(--focus-x) var(--focus-y), rgb(var(--label-sky)), rgb(var(--label-lime)) 30%, rgb(var(--label-pink)) 60%, rgb(255 255 255) 82%, rgb(var(--label-sky))); }
.hero-copy { position: relative; z-index: 1; }
.hero h1 { margin: 0; font-size: var(--font-size-display-l); line-height: 0.86; color: inherit; }
.hero .lede { margin: var(--space-50) 0 0; max-width: 30rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-20) var(--space-50); margin-top: var(--space-50); }
.hero-start { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--space-40); margin: var(--space-50) 0 0; font-size: var(--font-size-s); }
.hero-start a { display: inline-flex; align-items: center; min-height: 2.75rem; color: inherit; font-weight: 600; text-decoration-thickness: 1.5px; text-underline-offset: 0.3em; }
.lineup { position: relative; display: flex; justify-content: center; align-items: flex-end; margin-bottom: -1.75rem; }
.lineup::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: 3%; height: 14%; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgb(8 16 50 / 0.42), rgb(8 16 50 / 0)); }
.lineup img { position: relative; z-index: 1; flex: none; width: 64%; height: auto; margin-inline: -17%; filter: drop-shadow(var(--shadow-pack)); animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.lineup img:nth-child(2) { z-index: 2; scale: 1.14; transform-origin: 50% 100%; animation-delay: 0.06s; }
.lineup img:nth-child(3) { animation-delay: 0.12s; }
@keyframes rise { from { translate: 0 1.75rem; } to { translate: 0 0; } }
@media (min-width: 62rem) {
  .hero-panel {
    --violet-at: 0% 100%; --violet-size: 72% 80%;
    --azure-at: 100% 0%; --azure-size: 55% 72%;
    --magenta-at: 100% 100%; --magenta-size: 46% 44%;
    --sweep: linear-gradient(104deg, rgb(255 255 255 / 0) 57%, rgb(255 255 255 / 0.1) 64%, rgb(255 255 255 / 0.03) 66.5%, rgb(255 255 255 / 0) 76%);
    --orbit-dots:
      radial-gradient(circle at calc(var(--focus-x) + 6.28rem) calc(var(--focus-y) - 11.81rem), rgb(var(--label-lime)) 0 0.25rem, rgb(var(--label-lime) / 0.32) 0.29rem 0.62rem, rgb(var(--label-lime) / 0) 0.66rem),
      radial-gradient(circle at calc(var(--focus-x) - 10.63rem) calc(var(--focus-y) - 17.01rem), rgb(var(--label-sky)) 0 0.22rem, rgb(var(--label-sky) / 0.3) 0.26rem 0.56rem, rgb(var(--label-sky) / 0) 0.6rem),
      radial-gradient(circle at calc(var(--focus-x) + 15.5rem) calc(var(--focus-y) - 6.26rem), rgb(var(--label-pink)) 0 0.22rem, rgb(var(--label-pink) / 0.32) 0.26rem 0.56rem, rgb(var(--label-pink) / 0) 0.6rem),
      radial-gradient(circle at calc(var(--focus-x) + 0.82rem) calc(var(--focus-y) - 23.39rem), rgb(255 255 255) 0 0.16rem, rgb(255 255 255 / 0.28) 0.2rem 0.44rem, rgb(255 255 255 / 0) 0.48rem),
      radial-gradient(circle at calc(var(--focus-x) + 17.93rem) calc(var(--focus-y) - 15.05rem), rgb(var(--tint-azure)) 0 0.2rem, rgb(var(--tint-azure) / 0.34) 0.24rem 0.52rem, rgb(var(--tint-azure) / 0) 0.56rem),
      radial-gradient(circle at calc(var(--focus-x) - 8.69rem) calc(var(--focus-y) - 5.02rem), rgb(var(--label-sky)) 0 0.2rem, rgb(var(--label-sky) / 0.32) 0.24rem 0.52rem, rgb(var(--label-sky) / 0) 0.56rem);
    --focus-x: 73%; --focus-y: 66%; --glow-w: 28%; --glow-h: 52%; --field-w: 55%; --field-h: 100%;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); align-items: end; column-gap: var(--space-40); min-height: 38rem;
  }
  .hero-copy { align-self: center; padding-block: var(--space-40) var(--pad); }
  .lineup { margin-bottom: -3rem; margin-right: calc(var(--pad) * -0.35); }
  .lineup img { width: 60%; margin-inline: -15%; }
}

/* ---------- Product cards ---------- */
.tile { position: relative; display: block; overflow: hidden; isolation: isolate; aspect-ratio: 1; border-radius: var(--radius-m); background: var(--color-mist); }
.tile img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.badge { position: absolute; z-index: 1; top: var(--space-30); left: var(--space-30); padding: 0.25rem 0.6rem; border-radius: var(--radius-pill); background: var(--color-navy); color: var(--color-white); font-size: var(--font-size-xs); font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-60) var(--space-30); margin: 0; padding: 0; list-style: none; }
.product-grid > li { display: flex; }
.product-card { display: flex; flex: 1; flex-direction: column; gap: var(--space-30); min-width: 0; }
.product-card__body { display: flex; flex: 1; flex-direction: column; gap: var(--space-10); }
.product-card :is(h2, h3) { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); line-height: 0.95; letter-spacing: 0.004em; text-transform: uppercase; overflow-wrap: anywhere; }
.product-card :is(h2, h3) a { color: inherit; text-decoration: none; }
.product-card :is(h2, h3) a:hover { color: var(--color-blue-deep); }
.product-card__brand { color: var(--color-navy); font-weight: 600; }
.product-card__price { display: grid; gap: 0.1rem; }
.per-day { margin: 0; color: var(--color-blue-deep); font-size: var(--font-size-xs); font-weight: 600; }
.price-lowest { margin: 0; color: var(--color-muted); font-size: var(--font-size-xs); }
.facts { margin: 0; color: var(--color-muted); font-size: var(--font-size-xs); line-height: 1.45; }
.product-card__buy { display: flex; flex-direction: column; gap: var(--space-30); margin-top: auto; padding-top: var(--space-30); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--space-20); margin: 0; font-variant-numeric: tabular-nums; }
.price ins { text-decoration: none; font-weight: 700; font-size: var(--font-size-m); }
.price del { color: var(--color-muted); font-size: var(--font-size-xs); }
.out-of-stock { margin: 0; color: var(--color-muted); font-size: var(--font-size-s); font-weight: 600; }
@media (min-width: 48rem) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-60) var(--space-50); }
  .facts { font-size: var(--font-size-s); }
  .badge { top: var(--space-40); left: var(--space-40); }
}
@media (min-width: 62rem) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-card__buy { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .btn-add { width: auto; }
  .card-status { flex-basis: 100%; }
  .price ins { font-size: var(--font-size-l); }
}

/* ---------- Collections and ingredients ---------- */
.browse { display: grid; gap: var(--space-60); }
.browse__title { margin: 0 0 var(--space-30); color: var(--color-muted); font: 600 var(--font-size-s) / 1.3 var(--font-body); letter-spacing: -0.01em; text-transform: none; }
.collection-list { display: grid; column-gap: var(--space-70); margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--color-control); }
.collection-list a { display: flex; align-items: center; gap: var(--space-40); min-height: 4.25rem; padding-block: var(--space-30); border-top: 1px solid var(--color-control); color: var(--color-navy); font-family: var(--font-display); font-weight: 800; font-size: var(--font-size-display-s); line-height: 1; letter-spacing: 0.004em; text-transform: uppercase; text-decoration: none; transition: color 0.18s ease, padding-left 0.18s ease; }
.collection-list a:hover { color: var(--color-blue-deep); padding-left: var(--space-20); }
.collection-list .icon { width: 1.625rem; height: 1.625rem; color: var(--color-blue-deep); }
.ingredient-list { display: flex; flex-wrap: wrap; gap: var(--space-20); margin: 0; padding: 0; list-style: none; }
.ingredient-list a { display: inline-flex; align-items: center; min-height: 3.25rem; padding: 0 var(--space-50); border-radius: var(--radius-pill); background: var(--color-white); box-shadow: inset 0 0 0 1.5px var(--color-control); color: var(--color-navy); font-weight: 600; text-decoration: none; transition: background-color 0.18s ease, color 0.18s ease; }
.ingredient-list a:hover { background: var(--color-navy); color: var(--color-white); }
@media (min-width: 48rem) { .collection-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .collection-list a { min-height: 5.25rem; } }
@media (min-width: 62rem) { .browse { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); column-gap: var(--space-80); } }

/* ---------- Benefit rows (trust strip) and fact list ---------- */
.trust { padding-top: clamp(3.5rem, 2.6rem + 3vw, 5.5rem); }
.trust ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-20); margin: 0; padding: 0; list-style: none; }
.trust li { display: flex; align-items: center; gap: var(--space-30); min-height: 3.75rem; padding: var(--space-30) var(--space-40); border-radius: var(--radius-m); background: var(--color-mist); font-size: var(--font-size-s); font-weight: 600; line-height: 1.3; }
.trust li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.trust .icon { color: var(--color-blue-deep); }
@media (min-width: 62rem) { .trust ul { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); } .trust li:last-child:nth-child(odd) { grid-column: auto; } }
.why-grid { display: grid; gap: var(--space-70); }
.why-intro { display: grid; gap: var(--space-50); justify-items: start; align-content: start; }
.why-intro > * { margin: 0; }
.why-intro .lede { color: var(--color-muted); }
.quote { margin: 0; }
.quote blockquote { margin: 0; max-width: 30rem; font-size: var(--font-size-l); font-weight: 500; line-height: 1.4; letter-spacing: -0.02em; }
.quote figcaption { margin-top: var(--space-30); color: var(--color-muted); font-size: var(--font-size-s); }
.fact-list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--color-line); }
.fact-list li { display: grid; gap: var(--space-10); padding-block: var(--space-50); border-top: 1px solid var(--color-line); }
.fact-list strong { font-family: var(--font-display); font-weight: 800; font-size: var(--font-size-display-s); line-height: 1; letter-spacing: 0.004em; text-transform: uppercase; }
.fact-list span { color: var(--color-muted); font-size: var(--font-size-s); line-height: 1.5; }
.why-contact { margin-top: var(--space-50); font-style: normal; color: var(--color-muted); font-size: var(--font-size-s); line-height: 1.7; }
.why-contact strong { color: var(--color-navy); font-weight: 600; }
.why-more { margin-top: var(--space-50); }
@media (min-width: 62rem) {
  .why-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); column-gap: var(--space-80); }
  .fact-list li { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: baseline; gap: var(--space-50); }
  .fact-list span { font-size: var(--font-size-m); }
}

/* ---------- Articles (core query loop) ---------- */
.article-cards .wp-block-post-template { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: var(--space-40); margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.article-cards .wp-block-post { position: relative; display: flex; flex-direction: column; gap: var(--space-30); margin: 0; scroll-snap-align: start; }
.article-cards .wp-block-post > * { margin: 0; }
.article-cards .wp-block-post-featured-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-m); background: var(--color-mist); }
.article-cards .wp-block-post-title { font: 600 var(--font-size-l) / 1.22 var(--font-body); letter-spacing: -0.025em; text-transform: none; }
.article-cards .wp-block-post-title a { color: inherit; text-decoration: none; }
.article-cards .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; }
.article-cards .wp-block-post:hover .wp-block-post-title { color: var(--color-blue-deep); }
.article-cards .wp-block-post-date { color: var(--color-muted); font-size: var(--font-size-xs); }
.article-cards .wp-block-post-excerpt { color: var(--color-muted); font-size: var(--font-size-s); }
.article-cards .wp-block-post-excerpt__more-text { display: none; }
@media (min-width: 48rem) {
  .article-cards .wp-block-post-template { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-60) var(--space-50); margin: 0; padding: 0; overflow: visible; }
}
.wp-block-query-pagination { margin-top: var(--space-60); gap: var(--space-20); font-weight: 600; }
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0 var(--space-30); border-radius: var(--radius-pill); color: var(--color-navy); text-decoration: none; }
.wp-block-query-pagination .current { background: var(--color-navy); color: var(--color-white); }
.wp-block-query-no-results > * { margin: 0; }

/* ---------- Article and page ---------- */
.entry-head { padding-block: var(--space-60) var(--space-50); }
.entry-head > * { margin: 0; }
.entry-head .wp-block-post-title { font-size: var(--font-size-display-m); }
.entry-meta { display: flex; flex-wrap: wrap; gap: var(--space-20) var(--space-40); margin-top: var(--space-40) !important; color: var(--color-muted); font-size: var(--font-size-s); }
.entry-content { font-size: var(--font-size-m); }
.entry-content h2 { margin-top: 1.6em; font-size: var(--font-size-display-s); line-height: 1; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content img { border-radius: var(--radius-m); }
.entry-content li + li { margin-top: 0.35em; }
.entry-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-l); }
.entry-content table, .prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: var(--font-size-s); -webkit-overflow-scrolling: touch; }
/* A wide table scrolls inside its own box instead of widening the page on phones (29 November 2026). */
@media (min-width: 48rem) { .entry-content table, .prose table { display: table; width: 100%; } }
.entry-content th, .entry-content td { padding: 0.75rem 0.5rem; border-bottom: 1px solid var(--color-control); text-align: left; }

/* ---------- Newsletter ---------- */
.newsletter { display: grid; gap: var(--space-50); padding: clamp(1.75rem, 1rem + 4.5vw, 4.5rem); border-radius: var(--radius-l); background: var(--color-navy); color: var(--color-white); }
.newsletter h2 { margin: 0; color: inherit; }
.newsletter p { margin: var(--space-30) 0 0; color: var(--color-on-navy-soft); }
.newsletter-form { display: grid; gap: var(--space-30); }
.newsletter-form input[type="email"] { width: 100%; min-height: 3.25rem; padding: 0 var(--space-50); border: 0; border-radius: var(--radius-pill); background: var(--color-white); color: var(--color-navy); font: inherit; }
.newsletter-form small { color: var(--color-on-navy-soft); font-size: var(--font-size-xs); }
@media (min-width: 62rem) {
  .newsletter { grid-template-columns: 1.1fr 1fr; align-items: center; column-gap: var(--space-80); }
  .newsletter-form { grid-template-columns: 1fr auto; }
  .newsletter-form small, .newsletter-form .form-status { grid-column: 1 / -1; }
}

/* ---------- FAQ (core details block) ---------- */
.faq { border-top: 2px solid var(--color-navy); }
.faq > .wp-block-details { margin: 0; border-bottom: 1px solid var(--color-control); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-40); min-height: 3.75rem; padding-block: var(--space-30); font-size: var(--font-size-l); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 0.875rem; height: 0.875rem; background: linear-gradient(var(--color-navy), var(--color-navy)) center / 100% 2px no-repeat, linear-gradient(var(--color-navy), var(--color-navy)) center / 2px 100% no-repeat; transition: rotate 0.2s ease; }
.faq details[open] summary::after { rotate: 45deg; }
.faq .wp-block-details > :not(summary) { max-width: 44rem; margin: 0; padding-bottom: var(--space-50); color: var(--color-muted); }
.split { display: grid; gap: var(--space-50); }
@media (min-width: 62rem) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); column-gap: var(--space-70); }
  .split > .section-head { margin: 0; align-self: start; }
}

/* ---------- Reviews ---------- */
.reviews-summary { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-40) var(--space-60); margin-bottom: var(--space-60); }
.rating { display: flex; align-items: center; gap: var(--space-40); }
.rating__score { font-family: var(--font-display); font-weight: 800; font-size: var(--font-size-display-l); line-height: 0.8; }
.stars { display: flex; gap: 0.1rem; color: var(--color-blue); }
.stars .icon { width: 1.125rem; height: 1.125rem; fill: currentColor; stroke: none; }
.stars .icon.is-empty { fill: var(--color-line); }
.rating__count { margin: 0; color: var(--color-muted); font-size: var(--font-size-s); }
.review-grid { display: grid; margin: 0; padding: 0; list-style: none; }
.review { display: flex; flex-direction: column; gap: var(--space-30); padding-block: var(--space-50); border-top: 1px solid var(--color-control); }
.review blockquote { margin: 0; font-size: var(--font-size-l); font-weight: 500; letter-spacing: -0.02em; line-height: 1.35; }
.review footer { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-20) var(--space-30); margin-top: auto; color: var(--color-muted); font-size: var(--font-size-s); }
.verified { display: inline-flex; align-items: center; gap: 0.25rem; color: var(--color-blue-deep); font-size: var(--font-size-xs); font-weight: 600; }
.verified .icon { width: 1rem; height: 1rem; stroke-width: 2.2; }
@media (min-width: 48rem) { .review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--space-60); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-mist); color: var(--color-muted); font-size: var(--font-size-s); }
.footer-grid { display: grid; gap: var(--space-60); padding-block: var(--space-70) var(--space-60); }
.site-footer h2 { margin: 0 0 var(--space-30); color: var(--color-navy); font: 600 var(--font-size-s) / var(--line-snug) var(--font-body); letter-spacing: -0.01em; text-transform: none; }
.site-footer .footer-logo { display: block; width: 7.5rem; height: auto; margin-bottom: var(--space-40); }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-links { display: grid; gap: 0.1rem; margin: 0; padding: 0; list-style: none; }
.footer-links a, .site-footer address a { display: inline-flex; align-items: center; min-height: 2rem; color: var(--color-navy); text-decoration: none; }
.footer-links a:hover, .site-footer address a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* The withdrawal function's link: a plain legal link, slightly bolder so it stays clearly visible (ЗЗП чл. 52а). */
.footer-links .withdraw { font-weight: 600; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-20) var(--space-50); padding-block: var(--space-50); border-top: 1px solid var(--color-line); font-size: var(--font-size-xs); }
.footer-base p { margin: 0; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.3fr 0.8fr 1.3fr; column-gap: var(--space-70); } }

/* ==================== Product page ==================== */
.breadcrumb { padding-block: var(--space-40); color: var(--color-muted); font-size: var(--font-size-xs); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-20); margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: var(--space-20); opacity: 0.6; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 1.5rem; color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: var(--color-navy); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--color-navy); }
.product-layout { display: grid; gap: var(--space-50); padding-bottom: var(--space-section); }
.poster {
  --focus-x: 50%; --focus-y: 60%; --glow-w: 58%; --glow-h: 38%; --field-w: 105%; --field-h: 62%;
  --label: var(--label-sky);
  --ring-colours: linear-gradient(rgb(var(--label)), rgb(var(--label)));
  --orbit-dots:
    radial-gradient(circle at calc(var(--focus-x) + 8.22rem) calc(var(--focus-y) - 5.75rem), rgb(var(--label)) 0 0.25rem, rgb(var(--label) / 0.32) 0.29rem 0.62rem, rgb(var(--label) / 0) 0.66rem),
    radial-gradient(circle at calc(var(--focus-x) - 8.22rem) calc(var(--focus-y) - 5.75rem), rgb(255 255 255) 0 0.16rem, rgb(255 255 255 / 0.28) 0.2rem 0.44rem, rgb(255 255 255 / 0) 0.48rem);
  container-type: inline-size;
  position: relative; overflow: hidden; isolation: isolate;
  margin: 0;
  padding: clamp(1rem, 0.6rem + 1.8vw, 2rem);
  border-radius: var(--radius-l);
  color: var(--color-white);
  background:
    var(--grain),
    linear-gradient(110deg, rgb(255 255 255 / 0) 58%, rgb(255 255 255 / 0.09) 67%, rgb(255 255 255 / 0.02) 70%, rgb(255 255 255 / 0) 80%),
    radial-gradient(var(--glow-w) var(--glow-h) at var(--focus-x) var(--focus-y), rgb(150 178 250 / 0.72), rgb(150 178 250 / 0)),
    radial-gradient(var(--field-w) var(--field-h) at var(--focus-x) var(--focus-y), #4770db, rgb(71 112 219 / 0)),
    radial-gradient(70% 40% at 100% 100%, rgb(var(--tint-magenta) / 0.34), rgb(var(--tint-magenta) / 0)),
    radial-gradient(85% 60% at 0% 100%, rgb(var(--tint-indigo) / 0.74), rgb(var(--tint-indigo) / 0)),
    radial-gradient(70% 42% at 100% 0%, rgb(var(--tint-azure) / 0.46), rgb(var(--tint-azure) / 0)),
    var(--color-blue-shade);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.32), inset 0 0 0 1px rgb(255 255 255 / 0.08);
}
.poster--orange { --label: var(--label-orange); }
.poster--red { --label: var(--label-red); }
.poster--pink { --label: var(--label-pink); }
.poster--lime { --label: var(--label-lime); }
.poster__glow { position: absolute; left: 6%; right: 6%; top: 30%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgb(var(--label) / 0.5), rgb(var(--label) / 0) 82%); }
.poster .badge { top: clamp(1rem, 0.6rem + 1.8vw, 2rem); right: clamp(1rem, 0.6rem + 1.8vw, 2rem); left: auto; background: var(--color-white); color: var(--color-navy); }
.poster__kind { position: relative; margin: 0; font-size: var(--font-size-s); font-weight: 600; }
.poster__name { position: relative; margin: var(--space-20) 0 0; font-size: min(calc(100cqi / (var(--name-len, 8) * 0.455)), 34cqi); line-height: 0.84; white-space: nowrap; }
.poster__pack { position: relative; display: block; width: 100%; height: auto; margin: -14cqi auto 0; filter: drop-shadow(var(--shadow-pack)); }
.quick-facts { position: relative; display: grid; grid-template-columns: repeat(var(--facts, 3), minmax(0, 1fr)); gap: var(--space-20); margin: -6cqi 0 0; padding: 0; list-style: none; }
.quick-facts li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.1rem; min-height: 4rem; padding: var(--space-20); border-radius: var(--radius-s); background: var(--color-white); color: var(--color-navy); text-align: center; line-height: 1.2; }
.quick-facts strong { font-family: var(--font-display); font-weight: 800; font-size: var(--font-size-display-s); line-height: 0.95; }
.quick-facts span { color: var(--color-muted); font-size: var(--font-size-xs); }
/* Packs without a cut-out: the light poster. Name above, the ordinary photo on the pale tile, so one
   picture looks intended. */
.poster--light { background: var(--color-mist); color: var(--color-navy); box-shadow: none; }
.poster--light::after, .poster--light .poster__glow { display: none; }
.poster--light .badge { background: var(--color-navy); color: var(--color-white); }
.poster--light .poster__name { font-size: min(calc(100cqi / (var(--name-len, 8) * 0.455)), 22cqi); }
.poster--light .poster__pack { margin-top: var(--space-40); filter: none; mix-blend-mode: multiply; aspect-ratio: 1; object-fit: contain; }
.poster--light .quick-facts { margin-top: var(--space-40); }
.gallery { display: grid; gap: var(--space-30); min-width: 0; }
.gallery__stage { display: grid; }
.view { grid-area: 1 / 1; min-width: 0; }
.gallery--multi .view { visibility: hidden; opacity: 0; transition: opacity 0.2s ease; }
.photo { display: grid; place-items: center; margin: 0; overflow: hidden; border-radius: var(--radius-l); background: var(--color-mist); }
.photo img { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-20); margin: 0; padding: 0; border: 0; }
.thumb { position: relative; display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-s); background: var(--color-mist); cursor: pointer; transition: box-shadow 0.18s ease; }
.thumb img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.thumb:hover { box-shadow: 0 0 0 2px var(--color-control); }
.thumb--poster { background: radial-gradient(70% 70% at 50% 60%, #4770db, var(--color-blue-shade)); }
.thumb--poster img { mix-blend-mode: normal; scale: 1.25; }
.buy__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-20) var(--space-40); margin-bottom: var(--space-30); }
.pill-tag { display: inline-flex; align-items: center; min-height: 1.75rem; padding: 0 0.7rem; border-radius: var(--radius-pill); background: var(--color-navy); color: var(--color-white); font-size: var(--font-size-xs); font-weight: 600; text-decoration: none; }
a.pill-tag:hover { background: var(--color-blue-deep); color: var(--color-white); }
.rating-link { display: inline-flex; align-items: center; gap: var(--space-20); min-height: 1.75rem; color: var(--color-navy); font-size: var(--font-size-s); font-weight: 500; }
.product-title { margin: 0; font-size: inherit; }
.product-title__generic { display: block; font-size: clamp(2.25rem, 1.7rem + 2.2vw, 3.5rem); }
.product-title__sub { display: block; margin-top: var(--space-20); font-family: var(--font-body); font-size: var(--font-size-l); font-weight: 500; line-height: 1.35; letter-spacing: -0.02em; text-transform: none; color: var(--color-muted); }
.product-title__sub b { color: var(--color-navy); font-weight: 600; }
.price-block { display: grid; gap: var(--space-10); margin-top: var(--space-30); }
.price-block .price ins { font-family: var(--font-display); font-variant-numeric: normal; font-weight: 800; font-size: var(--font-size-display-m); line-height: 1; letter-spacing: 0.004em; }
.price-block .price { align-items: center; gap: var(--space-20) var(--space-30); }
.price-block .price .badge { position: static; }
.price-was { margin: 0; color: var(--color-muted); font-size: var(--font-size-s); }
.price-note { margin: 0; color: var(--color-muted); font-size: var(--font-size-xs); }
.dose-line { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-10) 0; margin: var(--space-20) 0 0 -1.5rem; padding: 0; list-style: none; clip-path: inset(0 0 0 1.5rem); font-size: var(--font-size-m); }
.dose-line li { display: flex; align-items: center; white-space: nowrap; }
.dose-line li::before { content: ""; flex: none; width: 0.3rem; height: 0.3rem; margin-inline: 0.6rem; border-radius: 50%; background: var(--color-control); }
.dose-line strong { color: var(--color-blue-deep); font-weight: 700; }
.purchase { display: grid; gap: var(--space-30); margin: var(--space-50) 0 0; padding: 0; border: 0; min-width: 0; }
.purchase legend { margin-bottom: var(--space-30); padding: 0; font-size: var(--font-size-s); font-weight: 600; }
.option { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 0 var(--space-30); padding: var(--space-40); border-radius: var(--radius-m); background: var(--color-mist); box-shadow: inset 0 0 0 1.5px transparent; cursor: pointer; transition: box-shadow 0.18s ease, background-color 0.18s ease; }
.option:hover { box-shadow: inset 0 0 0 1.5px var(--color-control); }
.option__title { font-weight: 600; letter-spacing: -0.015em; }
.option__meta { grid-column: 2 / -1; margin-top: var(--space-10); color: var(--color-muted); font-size: var(--font-size-s); line-height: 1.45; }
.option__price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.option__save { display: inline-block; margin-left: var(--space-20); padding: 0.1rem 0.5rem; border-radius: var(--radius-pill); background: var(--color-navy); color: var(--color-white); font-size: var(--font-size-xs); font-weight: 700; letter-spacing: 0; }
.option__note { grid-column: 2 / -1; margin-top: var(--space-20); color: var(--color-blue-deep); font-size: var(--font-size-s); font-weight: 600; }
.buy-actions { margin-top: var(--space-40); }
.delivery { margin: var(--space-50) 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--color-line); font-size: var(--font-size-s); }
.delivery li { display: flex; align-items: center; gap: var(--space-30); padding-block: 0.75rem; border-top: 1px solid var(--color-line); }
.delivery .icon { color: var(--color-blue-deep); }
.phone-order { margin: var(--space-40) 0 0; font-size: var(--font-size-s); }
.unavailable { margin: var(--space-50) 0 0; padding: var(--space-40) var(--space-50); border-radius: var(--radius-m); background: var(--color-mist); font-weight: 600; }
@media (min-width: 40rem) and (max-width: 61.99rem) { .gallery { width: 100%; max-width: 36rem; margin-inline: auto; } }
@media (min-width: 62rem) {
  .product-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: clamp(2.5rem, 5vw, 5.5rem); align-items: start; }
  .gallery { position: sticky; top: 5.75rem; }
  .buy { padding-top: var(--space-40); }
}
.prose { display: grid; gap: var(--space-40); max-width: 41rem; font-size: var(--font-size-l); line-height: 1.5; letter-spacing: -0.018em; }
.prose > * { margin: 0; }
.prose h2, .prose h3 { margin-top: var(--space-50); font-family: var(--font-display); font-weight: 800; font-size: var(--font-size-display-s); line-height: 1; letter-spacing: 0.004em; text-transform: uppercase; }
.prose ul, .prose ol { padding-left: 1.2em; }

/* Label table from briogen-core, in the D look */
.label-section .briogen-label { font-size: var(--font-size-m); }
.label-section table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.label-section caption { margin-bottom: var(--space-40); text-align: left; font-size: var(--font-size-l); font-weight: 600; }
.label-section th, .label-section td { padding: 0.85rem 0; border-bottom: 1px solid var(--color-control); text-align: right; vertical-align: baseline; }
.label-section th:first-child { text-align: left; padding-right: var(--space-30); }
.label-section td { padding-left: var(--space-30); }
.label-section thead th { padding-top: 0; border-bottom: 2px solid var(--color-navy); color: var(--color-muted); font-size: var(--font-size-xs); font-weight: 500; }
.label-section dl { margin: var(--space-60) 0 0; border-top: 2px solid var(--color-navy); }
.label-section dl > div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-40); padding-block: 0.85rem; border-bottom: 1px solid var(--color-control); }
.label-section dt { color: var(--color-muted); font-size: var(--font-size-s); }
.label-section dd { margin: 0; font-size: var(--font-size-s); font-weight: 500; }
.label-section h3 { margin: var(--space-50) 0 var(--space-20); font-size: var(--font-size-m); }

/* Comparison table */
.table-scroll { overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.compare { width: 100%; min-width: 32rem; border-collapse: collapse; font-size: var(--font-size-s); font-variant-numeric: tabular-nums; }
.compare th, .compare td { padding: 0.9rem 0.75rem; border-bottom: 1px solid var(--color-control); text-align: left; vertical-align: baseline; }
.compare th:first-child, .compare td:first-child { padding-left: 0; }
.compare thead th { border-bottom: 2px solid var(--color-navy); color: var(--color-muted); font-size: var(--font-size-xs); font-weight: 500; }
.compare tbody th { font-weight: 600; }
.compare td:last-child { font-weight: 700; }
.compare__here { display: block; color: var(--color-blue-deep); font-size: var(--font-size-xs); font-weight: 600; }

/* Buy bar on phones */
.buybar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: var(--space-40); padding: var(--space-30) var(--gutter) calc(var(--space-30) + env(safe-area-inset-bottom)); background: rgb(255 255 255 / 0.96); box-shadow: 0 -1px 0 var(--color-line); }
.buybar__name { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; line-height: 1; text-transform: uppercase; }
.buybar__price { display: block; margin-top: 0.15rem; color: var(--color-muted); font-size: var(--font-size-xs); font-variant-numeric: tabular-nums; }
.buybar__price b { color: var(--color-navy); font-weight: 700; }
.buybar .btn { min-height: 2.875rem; padding-inline: var(--space-50); font-size: var(--font-size-s); white-space: nowrap; }
body.has-buybar { padding-bottom: calc(5rem + var(--briogen-consent-space, 0px)); }

@media (min-width: 62rem) { .buybar { display: none; } body.has-buybar { padding-bottom: 0; } }

/* ==================== Shop, category and search ==================== */
.archive-head { display: grid; gap: var(--space-30); padding-block: var(--space-50); }
.archive-head > * { margin: 0; }
.archive-head h1 { font-size: var(--font-size-display-m); }
.archive-head p { max-width: 40rem; color: var(--color-muted); }
.archive-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-30) var(--space-50); margin-bottom: var(--space-60); }
.archive-count { margin: 0; color: var(--color-muted); font-size: var(--font-size-s); }
.chips { display: flex; gap: var(--space-20); margin: 0 calc(-1 * var(--gutter)) var(--space-40); padding: 0 var(--gutter); list-style: none; overflow-x: auto; scrollbar-width: none; }
.chips a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 var(--space-40); border-radius: var(--radius-pill); background: var(--color-mist); color: var(--color-navy); font-size: var(--font-size-s); font-weight: 600; white-space: nowrap; text-decoration: none; }
.chips a:hover { background: var(--color-blue-tint); }
.chips a[aria-current] { background: var(--color-navy); color: var(--color-white); }
.sort-form { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-20); font-size: var(--font-size-s); }
.sort-form label { color: var(--color-muted); white-space: nowrap; }
.sort-form select { min-height: 2.75rem; padding: 0 2.25rem 0 var(--space-40); border: 0; border-radius: var(--radius-pill); background: var(--color-mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%230e1b4d' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 0.9rem center; box-shadow: inset 0 0 0 1px var(--color-control); color: var(--color-navy); font: inherit; font-weight: 600; appearance: none; }
.sort-form .btn { min-height: 2.75rem; padding: 0 var(--space-40); font-size: var(--font-size-s); }
.js .sort-form .btn { display: none; }
.empty-state { display: grid; justify-items: start; gap: var(--space-40); padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); border-radius: var(--radius-l); background: var(--color-mist); }
.empty-state > * { margin: 0; }
.empty-state h2 { font-size: var(--font-size-display-s); line-height: 1; }
.empty-state p { max-width: 36rem; color: var(--color-muted); }
.empty-state .icon { width: 2.5rem; height: 2.5rem; stroke-width: 1.3; color: var(--color-blue-deep); }
.empty-state .search-field { width: min(100%, 28rem); background: var(--color-white); }
.pagination { margin-top: var(--space-70); }
.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-20); margin: 0; padding: 0; list-style: none; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0 var(--space-30); border-radius: var(--radius-pill); color: var(--color-navy); font-weight: 600; text-decoration: none; }
.pagination a:hover { background: var(--color-mist); }
.pagination .current { background: var(--color-navy); color: var(--color-white); }

/* ==================== WooCommerce: notices, forms, cart, account ==================== */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .briogen-notice {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-30) var(--space-50);
  margin: 0 0 var(--space-50); padding: var(--space-40) var(--space-50);
  border-radius: var(--radius-m); background: var(--color-blue-tint); color: var(--color-navy);
  font-size: var(--font-size-s); font-weight: 500; list-style: none;
}
.woocommerce-message { background: var(--color-success-tint); }
.woocommerce-error, .briogen-notice--error { display: block; background: var(--color-error-tint); color: #5c140f; }
.woocommerce-error li + li { margin-top: var(--space-20); }
.woocommerce-message .button, .woocommerce-info .button { order: 2; min-height: 2.75rem; padding: 0 var(--space-50); font-size: var(--font-size-s); }
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button), .woocommerce-error a { color: inherit; font-weight: 600; }
.woocommerce form .form-row { display: grid; gap: var(--space-10); margin: 0 0 var(--space-40); padding: 0; }
.woocommerce form .form-row label { font-size: var(--font-size-s); font-weight: 600; }
.woocommerce form .form-row .required { color: var(--color-error); text-decoration: none; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce .quantity .qty, .woocommerce-cart .coupon .input-text {
  width: 100%; min-height: 3rem; padding: 0.7rem 1rem; border: 1.5px solid var(--color-control); border-radius: var(--radius-s);
  background: var(--color-white); color: var(--color-navy); font: inherit; font-size: var(--font-size-m); line-height: 1.4;
}
.woocommerce form .form-row input:focus, .woocommerce form .form-row textarea:focus { border-color: var(--color-blue); outline: 3px solid var(--color-blue-tint); outline-offset: 0; }
.woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: var(--color-error); }
.woocommerce form .woocommerce-form__label-for-checkbox { display: inline-flex; align-items: center; gap: var(--space-20); font-weight: 500; }
.woocommerce form input[type="checkbox"] { width: 1.25rem; height: 1.25rem; accent-color: var(--color-blue); }
.woocommerce .quantity .qty { width: 5rem; min-height: 2.75rem; padding: 0.4rem 0.5rem; text-align: center; }
.woocommerce .woocommerce-form-login, .woocommerce .woocommerce-form-register, .woocommerce .woocommerce-ResetPassword {
  max-width: 30rem; margin: 0 0 var(--space-60); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); border: 0; border-radius: var(--radius-l); background: var(--color-mist);
}
.woocommerce .u-columns.col2-set { display: grid; gap: var(--space-60); }
.woocommerce .u-columns h2, .woocommerce-account .woocommerce h2, .woocommerce-cart .woocommerce h2, .woocommerce-account .woocommerce h3 { font-size: var(--font-size-display-s); line-height: 1; }
@media (min-width: 62rem) { .woocommerce .u-columns.col2-set { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.woocommerce-LostPassword { margin: var(--space-30) 0 0; font-size: var(--font-size-s); }
.woocommerce-privacy-policy-text { color: var(--color-muted); font-size: var(--font-size-xs); }

/* Classic cart */
.woocommerce-cart .woocommerce { display: grid; gap: var(--space-60); }
@media (min-width: 62rem) { .woocommerce-cart .woocommerce:has(.cart-collaterals) { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; } .woocommerce-cart .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; } }
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; font-size: var(--font-size-s); }
.woocommerce table.shop_table th { padding: 0 0 var(--space-30); border-bottom: 2px solid var(--color-navy); color: var(--color-muted); font-size: var(--font-size-xs); font-weight: 500; text-align: left; }
.woocommerce table.shop_table td { padding: var(--space-40) var(--space-20) var(--space-40) 0; border-bottom: 1px solid var(--color-line); vertical-align: middle; }
.woocommerce table.shop_table .product-thumbnail img { width: 4.5rem; height: 4.5rem; object-fit: contain; border-radius: var(--radius-s); background: var(--color-mist); }
.woocommerce table.shop_table .product-name a { color: var(--color-navy); font-weight: 600; text-decoration: none; }
.woocommerce table.shop_table dl.variation { margin: var(--space-10) 0 0; color: var(--color-blue-deep); font-size: var(--font-size-xs); font-weight: 600; }
.woocommerce table.shop_table dl.variation dt, .woocommerce table.shop_table dl.variation dd, .woocommerce table.shop_table dl.variation p { display: inline; margin: 0; }
.woocommerce table.shop_table del { color: var(--color-muted); font-size: var(--font-size-xs); }
.woocommerce table.shop_table ins { text-decoration: none; }
.woocommerce a.remove { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; color: var(--color-muted); font-size: 1.5rem; text-decoration: none; }
.woocommerce a.remove:hover { background: var(--color-error-tint); color: var(--color-error); }
.woocommerce table.shop_table td.actions { padding-top: var(--space-50); border: 0; }
.woocommerce table.shop_table td.actions .coupon { display: flex; flex-wrap: wrap; gap: var(--space-20); margin-bottom: var(--space-30); }
.woocommerce table.shop_table td.actions .coupon label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.woocommerce table.shop_table td.actions .coupon .input-text { width: auto; flex: 1 1 12rem; }
.woocommerce table.shop_table td.actions > .button { background: none; color: var(--color-navy); box-shadow: inset 0 0 0 1.5px var(--color-navy); }
.cart-collaterals .cart_totals { padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); border-radius: var(--radius-l); background: var(--color-mist); }
.cart-collaterals .cart_totals h2 { margin: 0 0 var(--space-40); }
.cart-collaterals .cart_totals table th { padding: var(--space-30) var(--space-20) var(--space-30) 0; border-bottom: 1px solid var(--color-line); color: var(--color-muted); font-size: var(--font-size-s); font-weight: 500; }
.cart-collaterals .cart_totals table td { text-align: right; }
.cart-collaterals .order-total td strong { font-family: var(--font-display); font-size: var(--font-size-display-s); font-weight: 800; }
.cart-collaterals .order-total .includes_tax { display: block; color: var(--color-muted); font-size: var(--font-size-xs); }
.wc-proceed-to-checkout { margin-top: var(--space-50); }
.wc-proceed-to-checkout .checkout-button { width: 100%; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { font-size: var(--font-size-xs); }
.woocommerce-shipping-methods { margin: 0; padding: 0; list-style: none; }
@media (max-width: 47.99rem) {
  .woocommerce table.shop_table_responsive thead { display: none; }
  .woocommerce table.shop_table_responsive tr.cart_item { display: grid; grid-template-columns: 4.5rem 1fr auto; column-gap: var(--space-30); padding-block: var(--space-40); border-bottom: 1px solid var(--color-line); }
  .woocommerce table.shop_table_responsive tr.cart_item td { display: block; padding: 0; border: 0; }
  .woocommerce table.shop_table_responsive td.product-thumbnail { grid-row: 1 / span 3; }
  .woocommerce table.shop_table_responsive td.product-remove { grid-column: 3; grid-row: 1; }
  .woocommerce table.shop_table_responsive td.product-name { grid-column: 2; grid-row: 1; }
  .woocommerce table.shop_table_responsive td.product-price { display: none; }
  .woocommerce table.shop_table_responsive td.product-quantity, .woocommerce table.shop_table_responsive td.product-subtotal { grid-column: 2 / -1; display: flex; align-items: center; justify-content: space-between; margin-top: var(--space-20); }
  .woocommerce table.shop_table_responsive td.product-quantity::before, .woocommerce table.shop_table_responsive td.product-subtotal::before { content: attr(data-title); color: var(--color-muted); font-size: var(--font-size-xs); }
  .woocommerce table.shop_table_responsive tr:not(.cart_item) { display: block; }
  .woocommerce table.shop_table_responsive td.actions { display: block; }
  .cart-collaterals .cart_totals table tr { display: flex; justify-content: space-between; }
  .cart-collaterals .cart_totals table td::before { content: none; }
}
.woocommerce .blockUI.blockOverlay { position: relative; background: rgb(255 255 255 / 0.7) !important; opacity: 1 !important; }
.woocommerce .blockUI.blockOverlay::after { content: ""; position: absolute; top: 50%; left: 50%; width: 1.75rem; height: 1.75rem; margin: -0.875rem; border: 3px solid var(--color-blue); border-right-color: transparent; border-radius: 50%; animation: briogen-spin 0.7s linear infinite; }
.woocommerce-cart .cart-empty, .woocommerce-cart .return-to-shop { display: none; }

/* Account */
.woocommerce-account .woocommerce { display: grid; gap: var(--space-60); }
@media (min-width: 62rem) { .woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) { grid-template-columns: 15rem minmax(0, 1fr); align-items: start; } }
.woocommerce-MyAccount-navigation ul { display: flex; gap: var(--space-20); margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); list-style: none; overflow-x: auto; scrollbar-width: none; }
.woocommerce-MyAccount-navigation a { display: flex; align-items: center; min-height: 2.75rem; padding: 0 var(--space-40); border-radius: var(--radius-pill); background: var(--color-mist); color: var(--color-navy); font-size: var(--font-size-s); font-weight: 600; white-space: nowrap; text-decoration: none; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--color-navy); color: var(--color-white); }
@media (min-width: 62rem) {
  .woocommerce-MyAccount-navigation ul { display: grid; margin: 0; padding: 0; overflow: visible; }
  .woocommerce-MyAccount-navigation a { border-radius: var(--radius-s); background: none; }
  .woocommerce-MyAccount-navigation a:hover { background: var(--color-mist); }
}
.woocommerce-MyAccount-content .button { min-height: 2.5rem; padding: 0 var(--space-40); font-size: var(--font-size-s); }
.woocommerce-Addresses { display: grid; gap: var(--space-50); }
@media (min-width: 48rem) { .woocommerce-Addresses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.woocommerce-Address { padding: var(--space-50); border-radius: var(--radius-m); background: var(--color-mist); }
.woocommerce-Address address { font-style: normal; }

/* Classic checkout (phase 4): contact details, then delivery and payment beside the order summary */
.woocommerce-checkout .woocommerce { display: grid; gap: var(--space-50); }
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info, .woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info { margin: 0; background: var(--color-mist); }
.woocommerce-checkout form.checkout_coupon { display: flex; flex-wrap: wrap; align-items: end; gap: var(--space-20); margin: 0; padding: var(--space-40); border-radius: var(--radius-m); background: var(--color-mist); }
.woocommerce-checkout form.checkout_coupon > p:first-child { flex-basis: 100%; margin: 0; font-size: var(--font-size-s); }
.woocommerce-checkout form.checkout_coupon .form-row { flex: 1 1 12rem; margin: 0; }
.woocommerce-checkout form.checkout_coupon .form-row-last { flex: 0 0 auto; }
.woocommerce-checkout form.checkout_coupon .clear { display: none; }
form.checkout { display: grid; gap: var(--space-60); }
@media (min-width: 62rem) {
  form.checkout { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; column-gap: var(--space-70); }
  form.checkout > #wc-stripe-express-checkout-element, form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
  form.checkout > #customer_details { grid-column: 1; grid-row: span 2; }
  form.checkout > #order_review_heading, form.checkout > #order_review { grid-column: 2; }
  form.checkout > #order_review { position: sticky; top: var(--space-50); }
}
form.checkout h3, #order_review_heading { margin: 0 0 var(--space-40); font-family: var(--font-body); font-size: var(--font-size-l); font-weight: 700; letter-spacing: -0.01em; text-transform: none; }
#order_review_heading { margin: 0; }
#customer_details.col2-set { display: grid; gap: var(--space-50); }
#customer_details .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-30); }
#customer_details .woocommerce-billing-fields__field-wrapper > .form-row { grid-column: 1 / -1; }
#customer_details .woocommerce-billing-fields__field-wrapper > .form-row-first { grid-column: 1; }
#customer_details .woocommerce-billing-fields__field-wrapper > .form-row-last { grid-column: 2; }
@media (max-width: 29.99rem) { #customer_details .woocommerce-billing-fields__field-wrapper > .form-row-first, #customer_details .woocommerce-billing-fields__field-wrapper > .form-row-last { grid-column: 1 / -1; } }
.woocommerce form .form-row .description { color: var(--color-muted); font-size: var(--font-size-xs); }
.woocommerce form .form-row .optional { color: var(--color-muted); font-weight: 400; }
/* Bulgaria only: the country is sent with the form but not shown. WooCommerce's address script shows the row
   with an inline style, hence !important. */
.woocommerce form #billing_country_field, .woocommerce form #shipping_country_field { display: none !important; }
.briogen-field-error, .woocommerce form .form-row .checkout-inline-error-message { color: var(--color-error); font-size: var(--font-size-xs); font-weight: 600; }
.woocommerce form .form-row.woocommerce-invalid input.input-text, .woocommerce form .form-row.woocommerce-invalid select { border-color: var(--color-error); }
.woocommerce-account-fields { padding: var(--space-40); border-radius: var(--radius-m); background: var(--color-mist); }
.woocommerce-account-fields .form-row { margin: 0; }
#order_review { display: grid; gap: var(--space-50); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); border-radius: var(--radius-l); background: var(--color-mist); }
#order_review table.shop_table td, #order_review table.shop_table th { padding: var(--space-30) var(--space-20) var(--space-30) 0; border-bottom: 1px solid var(--color-line); vertical-align: top; }
#order_review table.shop_table thead th { border-bottom: 2px solid var(--color-navy); }
#order_review table.shop_table td:last-child, #order_review table.shop_table th.product-total { text-align: right; }
#order_review tfoot th { color: var(--color-muted); font-size: var(--font-size-s); font-weight: 500; text-align: left; }
#order_review .order-total td strong { font-family: var(--font-display); font-size: var(--font-size-display-s); font-weight: 800; }
#order_review .order-total .includes_tax { display: block; color: var(--color-muted); font-size: var(--font-size-xs); font-weight: 400; }
#order_review .woocommerce-shipping-totals td, #order_review .woocommerce-shipping-totals th { text-align: left; }
#order_review .woocommerce-shipping-methods li { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-10) var(--space-20); padding-block: var(--space-10); }
#order_review .woocommerce-shipping-methods input[type="radio"] { width: 1.25rem; height: 1.25rem; accent-color: var(--color-blue); }
.briogen-free-delivery { margin: 0; padding: var(--space-30) var(--space-40); border-radius: var(--radius-s); background: var(--color-blue-tint); color: var(--color-navy); font-size: var(--font-size-s); font-weight: 600; }
.briogen-free-delivery.is-reached { background: var(--color-success-tint); }
.cart-collaterals .briogen-free-delivery { margin-bottom: var(--space-40); }
#order_review .briogen-free-delivery-row td { padding-right: 0; border-bottom: 0; }
#payment ul.payment_methods { display: grid; gap: var(--space-20); margin: 0 0 var(--space-50); padding: 0; list-style: none; }
#payment ul.payment_methods > li { padding: var(--space-30) var(--space-40); border: 1.5px solid var(--color-line); border-radius: var(--radius-m); background: var(--color-white); }
#payment ul.payment_methods > li:has(> input:checked) { border-color: var(--color-blue); }
#payment ul.payment_methods > li > input { width: 1.25rem; height: 1.25rem; margin: 0 var(--space-20) 0 0; vertical-align: middle; accent-color: var(--color-blue); }
#payment ul.payment_methods > li > label { font-weight: 600; cursor: pointer; }
#payment ul.payment_methods > li > label img { display: inline-block; max-height: 1.5rem; margin-left: var(--space-20); vertical-align: middle; }
#payment .payment_box { margin-top: var(--space-30); color: var(--color-muted); font-size: var(--font-size-s); }
#payment .payment_box p { margin: 0; }
#payment .place-order { display: grid; gap: var(--space-40); margin: 0; padding: 0; }
.briogen-consents { display: grid; gap: var(--space-30); }
.briogen-consents .form-row { margin: 0; }
.woocommerce form .briogen-consents .woocommerce-form__label-for-checkbox { align-items: flex-start; font-size: var(--font-size-s); line-height: 1.45; }
.briogen-consents input[type="checkbox"] { flex: none; margin-top: 0.1rem; }
.briogen-consents a { color: var(--color-blue-deep); font-weight: 600; }
#place_order { width: 100%; min-height: 3.5rem; }
#wc-stripe-express-checkout-element { margin: 0; }
/* BG Couriers prints its own free-delivery banner; briogen-core's note in the order summary says the same. */
.bgc-free-notice { display: none !important; }
#wc-stripe-express-checkout-button-separator { color: var(--color-muted); font-size: var(--font-size-s); }

/* "Buy now" and "Add to cart" on the product page */
.buy-actions { display: grid; gap: var(--space-20); }
.summary-card__actions { display: grid; gap: var(--space-20); }

/* Contact form from briogen-core */
.briogen-contact-form { display: grid; gap: var(--space-30); max-width: 36rem; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); border-radius: var(--radius-l); background: var(--color-mist); }
.briogen-contact-form input:not([type="checkbox"]):not([type="submit"]), .briogen-contact-form textarea { width: 100%; min-height: 3rem; padding: 0.7rem 1rem; border: 1.5px solid var(--color-control); border-radius: var(--radius-s); background: var(--color-white); color: var(--color-navy); font: inherit; }
.briogen-contact-form [aria-invalid="true"] { border-color: var(--color-error) !important; }

/* 404 */
.not-found { display: grid; gap: var(--space-50); justify-items: start; padding-block: var(--space-60); }
.not-found > * { margin: 0; }
.not-found h1 { font-size: var(--font-size-display-l); line-height: 0.86; }
.not-found .search-field { width: min(100%, 28rem); }

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

/* ---------- Additions for WordPress markup ---------- */
.trust .benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-20); margin: 0; padding: 0; list-style: none; }
.trust .benefits li::before { content: ""; flex: none; width: 1.375rem; height: 1.375rem; background: var(--color-blue-deep); -webkit-mask: var(--benefit-icon, none) center / contain no-repeat; mask: var(--benefit-icon, none) center / contain no-repeat; }
.is-icon-pin { --benefit-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.6'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M12%2021s7-6.2%207-11.4A7%207%200%200%200%205%209.6C5%2014.8%2012%2021%2012%2021Z'%2F%3E%3Ccircle%20cx%3D'12'%20cy%3D'9.6'%20r%3D'2.5'%2F%3E%3C%2Fsvg%3E"); }
.is-icon-flask { --benefit-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.6'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M9%203h6M10%203v6l-5%209a2%202%200%200%200%201.8%203h10.4A2%202%200%200%200%2019%2018l-5-9V3'%2F%3E%3Cpath%20d%3D'M7.5%2015h9'%2F%3E%3C%2Fsvg%3E"); }
.is-icon-truck { --benefit-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.6'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M2.5%206h11v10h-11zM13.5%209.5h4l3.5%203.5v3h-7.5'%2F%3E%3Ccircle%20cx%3D'7'%20cy%3D'17.5'%20r%3D'1.9'%2F%3E%3Ccircle%20cx%3D'17'%20cy%3D'17.5'%20r%3D'1.9'%2F%3E%3C%2Fsvg%3E"); }
.is-icon-card { --benefit-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.6'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Crect%20x%3D'3'%20y%3D'6'%20width%3D'18'%20height%3D'12'%20rx%3D'2.2'%2F%3E%3Cpath%20d%3D'M3%2010.5h18'%2F%3E%3C%2Fsvg%3E"); }
.is-icon-cash { --benefit-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.6'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Crect%20x%3D'3'%20y%3D'6'%20width%3D'18'%20height%3D'12'%20rx%3D'2.2'%2F%3E%3Ccircle%20cx%3D'12'%20cy%3D'12'%20r%3D'2.6'%2F%3E%3Cpath%20d%3D'M6.5%209.5v5M17.5%209.5v5'%2F%3E%3C%2Fsvg%3E"); }
.is-icon-check { --benefit-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.6'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'm5%2012.5%204.2%204.2L19%207'%2F%3E%3C%2Fsvg%3E"); }
@media (min-width: 62rem) { .trust .benefits { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); } }
.section-title { margin: 0 0 clamp(1.5rem, 1rem + 2vw, 2.75rem); font-size: var(--font-size-display-m); }
.company__name { margin: 0 0 var(--space-20); color: var(--color-navy); }
.why-contact .company__name { margin: 0; }
.why-contact address { font-style: normal; }
.wp-block-quote.quote { margin: 0; padding: 0; border: 0; }
.wp-block-quote.quote p { margin: 0; max-width: 30rem; font-size: var(--font-size-l); font-weight: 500; line-height: 1.4; letter-spacing: -0.02em; }
.wp-block-quote.quote cite { display: block; margin-top: var(--space-30); color: var(--color-muted); font-size: var(--font-size-s); font-style: normal; }
.fact-list li strong { display: block; }
.wp-block-buttons { gap: var(--space-20) var(--space-50); }
.wp-block-button .wp-block-button__link { display: inline-flex; align-items: center; min-height: 3.25rem; padding: 0 var(--space-60); text-decoration: none; }
.wp-block-button.is-style-light .wp-block-button__link { background: var(--color-white); color: var(--color-navy); }
.wp-block-button.is-style-light .wp-block-button__link:hover { background: var(--color-blue-tint); }
.wp-block-button.is-style-outline .wp-block-button__link { border: 0; background: none; color: var(--color-navy); box-shadow: inset 0 0 0 1.5px var(--color-navy); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--color-navy); color: var(--color-white); }
.wp-block-button.is-style-link-light .wp-block-button__link { min-height: 2.75rem; padding: 0; background: none; color: var(--color-white); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.3em; }
.hero-actions { margin-top: var(--space-50); }
.section-head p { margin: 0; }
.not-found .display { margin: 0; color: var(--color-blue-deep); font-size: var(--font-size-display-m); }
.wp-block-post-terms a { color: var(--color-blue-deep); font-size: var(--font-size-s); font-weight: 600; text-decoration: none; }
.archive-head .wp-block-query-title { margin: 0; font-size: var(--font-size-display-m); }
.entry-content--wide { max-width: none; }
/* Gallery: the small pictures switch the big view. */
.poster--light .poster__name { white-space: normal; font-size: var(--font-size-display-m); line-height: 0.9; }
/* Label section: the table and its notes on the left, the facts on the right on wide screens. */
.label-section .briogen-label { display: grid; gap: 0 var(--space-80); margin: 0; }
.label-section .briogen-label__heading { margin: 0 0 clamp(1.5rem, 1rem + 2vw, 2.75rem); font-size: var(--font-size-display-m); }
.label-section .briogen-label__facts { display: block; margin: 0 0 var(--space-60); border-top: 2px solid var(--color-navy); }
.label-section .briogen-label__fact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-40); padding-block: 0.85rem; border-bottom: 1px solid var(--color-control); }
.label-section .briogen-label__fact dt { font-weight: 400; }
.label-section .briogen-label__ingredients { margin: 0; }
.label-section .briogen-label__ingredients td { white-space: nowrap; }
.label-section .briogen-label__note { margin: var(--space-30) 0 0; color: var(--color-muted); font-size: var(--font-size-xs); }
.label-section .briogen-label__section h3 { margin: var(--space-50) 0 var(--space-10); font-size: var(--font-size-s); color: var(--color-muted); font-weight: 500; }
.label-section .briogen-label__section p { font-size: var(--font-size-m); }
.label-section .briogen-label__statements { display: grid; gap: var(--space-20); margin: var(--space-50) 0 0; padding: var(--space-50); border-radius: var(--radius-m); background: var(--color-navy); color: var(--color-white); list-style: none; }
.label-section abbr { text-decoration: none; }
@media (min-width: 62rem) {
  .label-section .briogen-label { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .label-section .briogen-label__heading { grid-column: 1 / -1; }
  .label-section .briogen-label__facts { grid-column: 2; grid-row: 2 / span 12; }
  .label-section .briogen-label > :not(.briogen-label__heading):not(.briogen-label__facts) { grid-column: 1; }
}
/* WooCommerce's "show password" button, as an eye inside the field. */
.woocommerce .password-input { position: relative; display: block; }
.woocommerce .password-input input { padding-right: 3rem; }
.woocommerce .show-password-input { position: absolute; top: 50%; right: 0.25rem; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; translate: 0 -50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='22' height='22' fill='none' stroke='%230e1b4d' stroke-width='1.6'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center no-repeat; cursor: pointer; }
.woocommerce .show-password-input.display-password { background-color: var(--color-blue-tint); }
.woocommerce .show-password-input::after { content: none; }
/* The phone buy bar slides in once the main button has left the screen (assets/js/theme.js watches it).
   Without script it simply stays visible. */
.js .buybar { translate: 0 110%; transition: translate 0.2s ease; }
.js .buybar.is-shown { translate: 0 0; }

/* Pack choice: the radio comes before its label (no :has(), which is costly on slow phones). */
.option-input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.option::before { content: ""; width: 1.375rem; height: 1.375rem; margin-top: 0.1rem; border: 1.5px solid var(--color-control); border-radius: 50%; background: var(--color-white); }
.option-input:checked + .option { background: var(--color-blue-tint); box-shadow: inset 0 0 0 2px var(--color-blue); }
.option-input:checked + .option::before { border: 0.4rem solid var(--color-blue); }
.option-input:focus-visible + .option { outline: 3px solid var(--color-blue); outline-offset: 3px; }
/* Gallery: the radios come first, so sibling selectors switch the view and mark the small picture. */
.gallery { position: relative; }
.view-input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; }
.view-input:nth-of-type(1):checked ~ .gallery__stage .view--1 { visibility: visible; opacity: 1; }
.view-input:nth-of-type(1):checked ~ .thumbs .thumb:nth-child(1) { box-shadow: 0 0 0 2px var(--color-white), 0 0 0 4px var(--color-blue); }
.view-input:nth-of-type(1):focus-visible ~ .thumbs .thumb:nth-child(1) { outline: 3px solid var(--color-blue); outline-offset: 5px; }
.view-input:nth-of-type(2):checked ~ .gallery__stage .view--2 { visibility: visible; opacity: 1; }
.view-input:nth-of-type(2):checked ~ .thumbs .thumb:nth-child(2) { box-shadow: 0 0 0 2px var(--color-white), 0 0 0 4px var(--color-blue); }
.view-input:nth-of-type(2):focus-visible ~ .thumbs .thumb:nth-child(2) { outline: 3px solid var(--color-blue); outline-offset: 5px; }
.view-input:nth-of-type(3):checked ~ .gallery__stage .view--3 { visibility: visible; opacity: 1; }
.view-input:nth-of-type(3):checked ~ .thumbs .thumb:nth-child(3) { box-shadow: 0 0 0 2px var(--color-white), 0 0 0 4px var(--color-blue); }
.view-input:nth-of-type(3):focus-visible ~ .thumbs .thumb:nth-child(3) { outline: 3px solid var(--color-blue); outline-offset: 5px; }
.view-input:nth-of-type(4):checked ~ .gallery__stage .view--4 { visibility: visible; opacity: 1; }
.view-input:nth-of-type(4):checked ~ .thumbs .thumb:nth-child(4) { box-shadow: 0 0 0 2px var(--color-white), 0 0 0 4px var(--color-blue); }
.view-input:nth-of-type(4):focus-visible ~ .thumbs .thumb:nth-child(4) { outline: 3px solid var(--color-blue); outline-offset: 5px; }
.view-input:nth-of-type(5):checked ~ .gallery__stage .view--5 { visibility: visible; opacity: 1; }
.view-input:nth-of-type(5):checked ~ .thumbs .thumb:nth-child(5) { box-shadow: 0 0 0 2px var(--color-white), 0 0 0 4px var(--color-blue); }
.view-input:nth-of-type(5):focus-visible ~ .thumbs .thumb:nth-child(5) { outline: 3px solid var(--color-blue); outline-offset: 5px; }
.view-input:nth-of-type(6):checked ~ .gallery__stage .view--6 { visibility: visible; opacity: 1; }
.view-input:nth-of-type(6):checked ~ .thumbs .thumb:nth-child(6) { box-shadow: 0 0 0 2px var(--color-white), 0 0 0 4px var(--color-blue); }
.view-input:nth-of-type(6):focus-visible ~ .thumbs .thumb:nth-child(6) { outline: 3px solid var(--color-blue); outline-offset: 5px; }
.view-input:nth-of-type(7):checked ~ .gallery__stage .view--7 { visibility: visible; opacity: 1; }
.view-input:nth-of-type(7):checked ~ .thumbs .thumb:nth-child(7) { box-shadow: 0 0 0 2px var(--color-white), 0 0 0 4px var(--color-blue); }
.view-input:nth-of-type(7):focus-visible ~ .thumbs .thumb:nth-child(7) { outline: 3px solid var(--color-blue); outline-offset: 5px; }
.view-input:nth-of-type(8):checked ~ .gallery__stage .view--8 { visibility: visible; opacity: 1; }
.view-input:nth-of-type(8):checked ~ .thumbs .thumb:nth-child(8) { box-shadow: 0 0 0 2px var(--color-white), 0 0 0 4px var(--color-blue); }
.view-input:nth-of-type(8):focus-visible ~ .thumbs .thumb:nth-child(8) { outline: 3px solid var(--color-blue); outline-offset: 5px; }
/* Empty cart: the theme's message replaces WooCommerce's one-liner; the bestsellers line up with it. */
.woocommerce-cart .wc-empty-cart-message { display: none; }
.woocommerce-cart .woocommerce .wp-block-briogen-product-grid { padding-inline: 0; }
.woocommerce-cart .woocommerce .wp-block-briogen-product-grid .wrap { width: 100%; }
/* WooCommerce's notice banners (its newer notice markup): success, information, error. */
.wc-block-components-notice-banner { display: flex; align-items: flex-start; gap: var(--space-30); margin: 0 0 var(--space-50); padding: var(--space-40) var(--space-50); border: 0; border-radius: var(--radius-m); background: var(--color-blue-tint); color: var(--color-navy); font-size: var(--font-size-s); font-weight: 500; }
.wc-block-components-notice-banner > svg { flex: none; width: 1.375rem; height: 1.375rem; margin-top: 0.05rem; fill: currentColor; }
.wc-block-components-notice-banner.is-success { background: var(--color-success-tint); }
.wc-block-components-notice-banner.is-success > svg { color: var(--color-success); }
.wc-block-components-notice-banner.is-error { background: var(--color-error-tint); color: #5c140f; }
.wc-block-components-notice-banner.is-error > svg { color: var(--color-error); }
.wc-block-components-notice-banner__content { flex: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-30) var(--space-50); }
.wc-block-components-notice-banner__content .button, .wc-block-components-notice-banner__content .wc-forward { order: 2; min-height: 2.75rem; padding: 0 var(--space-50); font-size: var(--font-size-s); }
.wc-block-components-notice-banner__content a:not(.button) { color: inherit; font-weight: 600; }
/* Products offered on request only (briogen-core SaleMode). */
.badge--soft { background: var(--color-white); color: var(--color-navy); box-shadow: inset 0 0 0 1px var(--color-control); }
.on-request { margin: 0; color: var(--color-blue-deep); font-size: var(--font-size-s); font-weight: 600; }
.pill-tag--soft { margin: 0; background: var(--color-blue-tint); color: var(--color-blue-deep); }
.enquiry-box { display: grid; gap: var(--space-40); justify-items: start; margin-top: var(--space-50); padding: var(--space-50); border-radius: var(--radius-m); background: var(--color-mist); }
.enquiry-box > p { margin: 0; }
.enquiry-box .buy-actions { width: 100%; margin: 0; }
.buy-about { margin-top: var(--space-60); }
.enquiry .lede { color: var(--color-muted); font-size: var(--font-size-m); }
.enquiry .briogen-contact__form { display: grid; gap: var(--space-30); max-width: 36rem; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); border-radius: var(--radius-l); background: var(--color-mist); }
.briogen-contact__form p { margin: 0; }
.briogen-contact__field { display: grid; gap: var(--space-10); }
.briogen-contact__field label { font-size: var(--font-size-s); font-weight: 600; }
.briogen-contact__field input, .briogen-contact__field textarea { width: 100%; min-height: 3rem; padding: 0.7rem 1rem; border: 1.5px solid var(--color-control); border-radius: var(--radius-s); background: var(--color-white); color: var(--color-navy); font: inherit; }
.briogen-contact__field [aria-invalid="true"] { border-color: var(--color-error); }
.briogen-contact__error { color: var(--color-error); font-size: var(--font-size-xs); font-weight: 600; }
.briogen-contact__status { margin: 0 0 var(--space-40); padding: var(--space-40) var(--space-50); border-radius: var(--radius-m); background: var(--color-success-tint); font-weight: 600; }
.briogen-contact__status--error { background: var(--color-error-tint); color: #5c140f; }
.briogen-contact__privacy { color: var(--color-muted); font-size: var(--font-size-xs); }
/* Page and article text line up with their heading: the content box gets no second page padding. */
.entry-content.has-global-padding { padding-inline: 0; }
/* Pages and articles: one centred reading column for the heading and the text; the lines stay left-aligned. */
.wrap.reading { width: min(100% - 2 * var(--gutter), 46rem); }
.wrap.reading .entry-content > * { max-width: none; }
/* The hero headline on wide screens: a little smaller than the mock-up's largest size, so the longer
   English words ("ENERGY AND BALANCE FOR EVERYONE") also settle on three lines. */
@media (min-width: 62rem) { .hero h1 { font-size: min(var(--font-size-display-l), 6.5rem); } }
/* Small flags in the language switch, so visitors from abroad find it at a glance. */
.lang a { gap: 0.3rem; }
.lang a { display: inline-flex; align-items: center; }
.lang .flag { display: block; width: 1rem; height: 0.6875rem; border-radius: 2px; box-shadow: 0 0 0 1px rgb(14 27 77 / 0.15); }
/* On phones only the flags show (the codes stay for screen readers), so the header fits. */
@media (max-width: 29.99rem) {
  .lang a { min-width: 2.5rem; padding: 0 0.5rem; justify-content: center; }
  .lang .flag { width: 1.25rem; height: 0.875rem; }
  .lang__code { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
/* "Бриоген в цифри": big numbers on the navy panel, with the logo's rings faintly behind. */
.numbers { position: relative; overflow: hidden; display: grid; gap: var(--space-60); padding: clamp(1.75rem, 1rem + 4vw, 4rem); border-radius: var(--radius-l); background: var(--color-navy); color: var(--color-white); }
.numbers::before { content: ""; position: absolute; right: -12rem; top: -12rem; width: 32rem; height: 32rem; border-radius: 50%; pointer-events: none; background: repeating-radial-gradient(circle, rgb(255 255 255 / 0) 0 3.2rem, rgb(134 165 246 / 0.22) 3.2rem calc(3.2rem + 1.5px)); }
.numbers__title { position: relative; margin: 0; color: inherit; font-size: var(--font-size-display-m); }
.numbers__list { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-50) var(--space-40); margin: 0; padding: 0; list-style: none; }
.numbers__list li { display: grid; gap: var(--space-10); color: var(--color-on-navy-soft); font-size: var(--font-size-s); line-height: 1.4; }
.numbers__list strong { color: var(--color-white); font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 2rem + 4vw, 5rem); line-height: 0.9; }
@media (min-width: 62rem) { .numbers__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* The lifestyle photo (shown once an image is chosen). */
.lifestyle__frame { position: relative; overflow: hidden; border-radius: var(--radius-l); background: var(--color-mist); }
.lifestyle__image { display: block; width: 100%; height: clamp(22rem, 40vw, 36rem); object-fit: cover; }
.lifestyle__copy { position: absolute; inset: auto 0 0 0; display: grid; justify-items: start; gap: var(--space-40); padding: clamp(1.25rem, 1rem + 3vw, 3rem); background: linear-gradient(to top, rgb(14 27 77 / 0.75), rgb(14 27 77 / 0)); color: var(--color-white); }
.lifestyle__copy h2 { margin: 0; color: inherit; font-size: var(--font-size-display-m); }
/* Beside "За продукта": a summary card that stays in view while reading (wide screens; phones have the buy bar). */
.about-aside { display: grid; gap: var(--space-50); align-content: start; }
.about-aside .section-head { margin: 0; }
.summary-card { display: none; }
@media (min-width: 62rem) {
  .about-aside { align-self: stretch; }
  .summary-card { position: sticky; top: 6.5rem; }
  .summary-card { overflow: hidden; display: grid; gap: var(--space-30); max-width: 22rem; padding: var(--space-50); border-radius: var(--radius-l); background: var(--color-mist); }
  .summary-card::before { content: ""; position: absolute; right: -7rem; bottom: -7rem; width: 16rem; height: 16rem; border-radius: 50%; pointer-events: none; background: repeating-radial-gradient(circle, rgb(71 112 219 / 0) 0 2.2rem, rgb(71 112 219 / 0.18) 2.2rem calc(2.2rem + 1.5px)); }
  .summary-card > * { position: relative; margin: 0; }
  .summary-card__name { font-family: var(--font-display); font-weight: 800; font-size: var(--font-size-display-s); line-height: 1; text-transform: uppercase; }
  .summary-card .price ins { font-size: var(--font-size-l); }
  .summary-card__facts { display: grid; gap: 0.15rem; color: var(--color-muted); font-size: var(--font-size-s); }
  .summary-card__facts strong { color: var(--color-blue-deep); }
  .summary-card__points { display: grid; gap: var(--space-20); padding: 0; list-style: none; font-size: var(--font-size-xs); }
  .summary-card__points li { display: flex; align-items: center; gap: var(--space-20); }
  .summary-card__points .icon { color: var(--color-blue-deep); }
}
#order_review tr.briogen-delivery-cost th { color: var(--color-muted); font-size: var(--font-size-s); font-weight: 500; text-align: left; }
/* BG Couriers greys out an unchosen delivery price in #9aa0a6, too faint to read (WCAG 1.4.3): the theme's muted
   colour instead. */
form.checkout label.bgc-rate-inactive, form.checkout label.bgc-rate-inactive .amount, form.checkout label.bgc-rate-inactive .woocommerce-Price-amount { color: var(--color-muted) !important; }

/* The EU's notice on the legal guarantee (inc/guarantee.php). The picture is the official file: never cropped,
   recoloured or squeezed out of proportion, at least 40rem wide where there is room. On phones it fits the screen's
   width, whole and zoomable, instead of opening on its empty top-left corner (owner, 29 November 2026). */
.guarantee-line { display: flex; align-items: center; gap: var(--space-20); margin-top: var(--space-40); font-size: var(--font-size-s); font-weight: 600; }
.guarantee-line .icon { flex: none; width: 1.375rem; height: 1.375rem; color: var(--color-blue-deep); }
.guarantee-link { text-underline-offset: 0.2em; }
.guarantee-notice { overflow: auto; background: var(--color-white); -webkit-overflow-scrolling: touch; }
.guarantee-notice img { display: block; width: 100%; min-width: 40rem; height: auto; aspect-ratio: 210 / 297; }
@media (max-width: 47.99rem) { .guarantee-notice img { min-width: 0; } }
.guarantee-dialog { width: min(100vw - 2rem, 54rem); max-width: none; max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: var(--radius-m) var(--radius-m) 0 0; color: var(--color-navy); background: var(--color-white); }
.guarantee-dialog[open] { display: flex; flex-direction: column; }
.guarantee-dialog::backdrop { background: rgb(14 27 77 / 0.6); }
.guarantee-dialog__bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-30); padding: var(--space-20) var(--space-40); border-bottom: 1px solid var(--color-line); }
.guarantee-portal { font-weight: 600; text-underline-offset: 0.2em; overflow-wrap: anywhere; }
.guarantee-page { margin: 0; max-width: 54rem; }
.guarantee-page figcaption { margin-top: var(--space-20); }
