/* Polsino theme — generated by scripts/wp_build.py, edit design/css/* and wp/src/wp.css */
@font-face { font-family: "EB Garamond"; src: url("../fonts/eb-garamond-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/eb-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/eb-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Libre Franklin"; src: url("../fonts/libre-franklin-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Libre Franklin"; src: url("../fonts/libre-franklin-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Libre Franklin"; src: url("../fonts/libre-franklin-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
/* ---- base.css ---- */
/* Polsino — shared foundation for every direction.
   One type scale, one spacing scale, one button/interaction pattern.
   Directions only set the custom properties marked THEME + their layout. */

/* The live site's own fonts (polsino.de): Titillium Web for headings, Oxygen for text — self-hosted, no italics. */
/* ---------- scales ---------- */
:root {
  /* type scale (fluid, rem-based so it follows the user's text size) */
  --fs-xs: 0.8125rem;                                   /* 13 – labels, legal */
  --fs-sm: 0.9375rem;                                   /* 15 – meta, captions */
  --fs-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);  /* 16–17 – body */
  --fs-lg: clamp(1.1875rem, 1.1rem + 0.45vw, 1.375rem); /* 19–22 – lead */
  --fs-xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);           /* 24–32 – h3 */
  --fs-2xl: clamp(2rem, 1.55rem + 2.2vw, 3.25rem);      /* 32–52 – h2 */
  --fs-3xl: clamp(2.625rem, 1.6rem + 5vw, 5.75rem);     /* 42–92 – display */

  /* spacing scale (4px base) */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;
  --section: clamp(4rem, 2.5rem + 6vw, 8rem);          /* vertical rhythm between sections */
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);       /* page side padding */
  --max: 88rem;                                          /* content max width */
  --measure: 38rem;                                      /* comfortable line length */

  /* motion — curves from emil-design-eng / animate (fkhhb/skills) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --t-press: 120ms;
  --t-ui: 200ms;
  --t-media: 600ms;

  /* THEME (overridden per direction) */
  --bg: #fff; --surface: #f5f5f5; --ink: #111; --muted: #555; --line: #ddd;
  --brand: #003366; --on-brand: #fff; --accent: #003366;
  --font-display: "Titillium Web", system-ui, sans-serif; --font-body: "Oxygen", system-ui, sans-serif;
  --display-weight: 400; --display-track: -0.02em; --radius: 0;
  --product-bg: #f1eee9;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs-base)/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type roles (size-specific tracking + leading, per apple-design) ---------- */
.display { font: var(--display-weight) var(--fs-3xl)/1.02 var(--font-display); letter-spacing: var(--display-track); text-wrap: balance; }
.h2 { font: var(--display-weight) var(--fs-2xl)/1.08 var(--font-display); letter-spacing: calc(var(--display-track) * 0.75); text-wrap: balance; }
.h3 { font: 600 var(--fs-xl)/1.2 var(--font-display); letter-spacing: -0.01em; text-wrap: balance; }
.lead { font-size: var(--fs-lg); line-height: 1.5; max-width: var(--measure); text-wrap: pretty; }
.prose { max-width: var(--measure); }
.prose p + p { margin-top: 1em; }
.eyebrow { font: 600 var(--fs-xs)/1.3 var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.meta { font-size: var(--fs-sm); color: var(--muted); }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.stack > * + * { margin-top: var(--stack, var(--s-5)); }

/* ---------- the one button pattern ---------- */
.btn { --btn-bg: var(--brand); --btn-fg: var(--on-brand); --btn-bd: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 3rem; padding: 0 var(--s-5); border: 1px solid var(--btn-bd); border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg); font: 600 var(--fs-sm)/1 var(--font-display);
  letter-spacing: 0.04em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-ui) ease, color var(--t-ui) ease, border-color var(--t-ui) ease; }
.btn:active { transform: scale(0.97); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: currentColor; }
.btn--light { --btn-bg: var(--bg); --btn-fg: var(--ink); --btn-bd: var(--bg); }
.btn--block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { --btn-bg: var(--accent); --btn-bd: var(--accent); }
  .btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--bg); --btn-bd: var(--ink); }
  .btn--light:hover { --btn-bg: transparent; --btn-fg: var(--bg); --btn-bd: var(--bg); }
}
.link { font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  transition: text-decoration-color var(--t-ui) ease; }
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-color: currentColor; } }

/* ---------- media ---------- */
.media { position: relative; overflow: hidden; background: var(--surface); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.tile { display: block; text-decoration: none; }
.tile .media { aspect-ratio: 4 / 5; background: var(--product-bg); }
.tile .media img { transition: transform var(--t-media) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .tile:hover .media img { transform: scale(1.03); } }

/* ---------- forms ---------- */
.field { display: grid; gap: var(--s-2); }
.field label { font: 600 var(--fs-xs)/1.2 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field select, .field input, .field textarea { min-height: 3rem; padding: 0 var(--s-4); border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--bg); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 var(--s-4);
  border: 1px solid var(--line); border-radius: var(--radius); font-size: var(--fs-sm);
  transition: border-color var(--t-ui) ease, background-color var(--t-ui) ease; }
.chip input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip input:disabled + span { opacity: 0.4; text-decoration: line-through; }

/* ---------- accordion (native details: no JS, keyboard-friendly) ---------- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: var(--s-4); padding: var(--s-5) 0; cursor: pointer;
  list-style: none; font: 400 var(--fs-lg)/1.35 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); font-weight: 300; transition: transform var(--t-ui) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding-bottom: var(--s-5); max-width: var(--measure); color: var(--muted); }
.faq .answer p + p { margin-top: 0.75em; }

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

em, i { font-style: normal; } /* no italics anywhere (Fritz, 16 Nov) */

/* long German compounds in large type: allow breaking rather than overflowing */
.display, .h2 { overflow-wrap: break-word; hyphens: manual; }

/* ---- layout.css ---- */
/* Shared page layout (header, footer, visit, product page). Directions restyle via tokens. */

/* prototype bar — review only, not part of the design */
.proto-bar { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; align-items: center;
  padding: .5rem var(--gutter); background: #111; color: #eee; font: 500 12px/1.4 system-ui, sans-serif; }
.proto-bar nav { display: flex; gap: .25rem; flex-wrap: wrap; }
.proto-bar a { color: #eee; text-decoration: none; padding: .25rem .6rem; border: 1px solid #444; border-radius: 3px; }
.proto-bar a[aria-current] { background: #eee; color: #111; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--header-bg, var(--bg)); color: var(--header-ink, var(--ink));
  border-bottom: 1px solid var(--header-line, var(--line)); }
.site-header__inner { display: flex; align-items: center; gap: var(--s-5); min-height: 4.5rem; }
.site-header__logo img { width: auto; height: 2.75rem; }
.site-nav { margin-inline: auto; }
.site-nav ul { display: flex; gap: clamp(1rem, 2vw, 2rem); list-style: none; margin: 0; padding: 0; }
.site-nav a { font: 600 var(--fs-sm)/1 var(--font-display); letter-spacing: .02em; text-decoration: none; padding-block: .5rem;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: background-size var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .site-nav a:hover { background-size: 100% 1px; } }
.site-header__actions { display: flex; align-items: center; gap: var(--s-3); }
.site-header__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; }
.site-header__cta { min-height: 2.5rem; padding-inline: var(--s-4); }
.site-header__menu { display: none; width: 2.75rem; height: 2.75rem; place-items: center; border: 0; background: none; cursor: pointer; }
@media (max-width: 63.99rem) {
  .site-nav { display: none; }
  .site-header__menu { display: grid; }
  .site-header__logo img { height: 2.25rem; }
  .site-header__inner { justify-content: space-between; min-height: 4rem; }
  .site-header__actions { gap: var(--s-1); }
}
@media (max-width: 23.5rem) { .site-header__cta { display: none; } }

/* visit block */
.visit { display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.visit address { font-style: normal; font-size: var(--fs-lg); line-height: 1.4; margin-block: var(--s-3) var(--s-2); }
.visit .eyebrow { color: inherit; opacity: .7; }
.visit p:not(.eyebrow) { margin-top: var(--s-3); line-height: 1.8; }
.hours { margin: var(--s-3) 0 0; }
.hours div { display: flex; justify-content: space-between; gap: var(--s-4); padding-block: .3rem; border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent); max-width: 20rem; }
.hours dt, .hours dd { margin: 0; }

/* footer */
.site-footer { background: var(--footer-bg, var(--brand)); color: var(--footer-ink, var(--on-brand)); padding-block: var(--s-9) var(--s-6); }
.site-footer__top { display: grid; gap: var(--s-7); grid-template-columns: minmax(0, 14rem) 1fr; align-items: start; }
.site-footer__logo { width: 10rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-8);
  padding-top: var(--s-5); border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); font-size: var(--fs-xs); opacity: .85; }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); list-style: none; padding: 0; margin: 0; }
.site-footer__bottom a { text-decoration: none; }
@media (max-width: 47.99rem) { .site-footer__top { grid-template-columns: 1fr; } }

/* product tiles */
.tiles { display: grid; gap: var(--s-6) var(--s-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 64rem) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-7) var(--s-5); } }
.tile__body { padding-top: var(--s-3); }
.tile__name { font: 400 var(--fs-sm)/1.35 var(--font-body); }
.tile__price { font-size: var(--fs-sm); color: var(--muted); margin-top: .2rem; }

/* product page */
.crumbs { font-size: var(--fs-xs); color: var(--muted); padding-block: var(--s-5); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.crumbs a { text-decoration: none; }
.pdp { display: grid; gap: var(--s-6) var(--s-8); grid-template-columns: 1fr; padding-bottom: var(--section); }
@media (min-width: 64rem) { .pdp { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.gallery { display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
.gallery .media { aspect-ratio: 4 / 5; background: var(--product-bg); }
@media (min-width: 64rem) { .gallery { grid-template-columns: 1fr 1fr; } .gallery .media:first-child { grid-column: 1 / -1; } }
@media (max-width: 63.99rem) {
  .gallery { grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .gallery .media { scroll-snap-align: start; }
}
.panel { align-self: start; }
@media (min-width: 64rem) { .panel { position: sticky; top: 6rem; } }
.panel h1 { margin-block: var(--s-2) var(--s-4); }
.price { font: 600 var(--fs-xl)/1 var(--font-display); }
.price-note { font-size: var(--fs-xs); color: var(--muted); margin-top: var(--s-2); }
.buy { display: grid; gap: var(--s-5); margin-top: var(--s-6); }
.buy__group { border: 0; padding: 0; margin: 0; }
.buy__group legend { margin-bottom: var(--s-3); padding: 0; }
.buy .btn[aria-disabled] { opacity: .45; pointer-events: none; }
.buy__note { margin-top: calc(var(--s-3) * -1); }
.facts { margin-top: var(--s-6); border-top: 1px solid var(--line); }
.facts ul { padding: var(--s-5) 0 0 1.1rem; margin: 0; display: grid; gap: .35rem; }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: .5rem var(--s-6); margin: var(--s-5) 0 0; font-size: var(--fs-sm); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.ship { display: grid; gap: var(--s-2); margin-top: var(--s-6); padding: var(--s-5); background: var(--surface); font-size: var(--fs-sm); }
.upsell { margin-top: var(--s-5); padding: var(--s-5); border: 1px solid var(--line); display: grid; gap: var(--s-3); }
.related { padding-block: var(--section); border-top: 1px solid var(--line); }
.related h2 { margin-bottom: var(--s-7); }

/* mobile nav panel — appears instantly (opened tens of times; no motion needed, per animate skill gate) */
.mobile-nav { border-top: 1px solid var(--header-line, var(--line)); background: var(--header-bg, var(--bg)); }
.mobile-nav ul { list-style: none; margin: 0; padding: var(--s-2) var(--gutter) var(--s-5); }
.mobile-nav a { display: block; padding: var(--s-4) 0; border-bottom: 1px solid var(--header-line, var(--line)); font: 400 var(--fs-lg)/1.2 var(--font-display); text-decoration: none; }
@media (min-width: 64rem) { .mobile-nav { display: none; } }

/* ---- dir-a.css ---- */
/* Direction A — "Sartoria": Roman editorial. Ivory paper, ink, serif display, numbered chapters. */

:root {
  --bg: #f5f1ea; --surface: #ece5d9; --ink: #1d1b19; --muted: #645d54; --line: #d8cfc1;
  --brand: #003366; --on-brand: #f5f1ea; --accent: #0b2a4a;
  --display-weight: 300; --display-track: -0.01em; --radius: 0; --product-bg: #f1eee9;
  --header-bg: color-mix(in srgb, var(--bg) 92%, transparent);
}
.site-header { backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.chapter { display: flex; align-items: baseline; gap: var(--s-4); }
.chapter__num { font: 600 var(--fs-sm)/1 var(--font-display); letter-spacing: .08em; color: var(--brand); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-7); padding-block: var(--s-7) var(--section); }
@media (min-width: 64rem) { .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; padding-top: var(--s-9); } }
.hero__text { display: grid; gap: var(--s-6); align-content: end; }
.hero__img { aspect-ratio: 4 / 5; }
.hero__img .media { height: 100%; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hero__caption { font: 400 var(--fs-sm)/1.4 var(--font-body); color: var(--muted); margin-top: var(--s-3); }

/* visit strip */
.strip { border-block: 1px solid var(--line); padding-block: var(--s-7); }

/* intro */
.intro { display: grid; gap: var(--s-6); }
@media (min-width: 64rem) { .intro { grid-template-columns: 1fr 1fr; gap: var(--s-9); } }
.intro__quote { font: 300 var(--fs-2xl)/1.15 var(--font-display); letter-spacing: -0.01em; text-wrap: balance; }

/* features: numbered list in three columns */
.features { display: grid; gap: 0 var(--s-7); grid-template-columns: 1fr; counter-reset: f; margin-top: var(--s-8); }
@media (min-width: 48rem) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { border-top: 1px solid var(--line); padding-block: var(--s-5) var(--s-7); counter-increment: f; }
.feature::before { content: counter(f, decimal-leading-zero); display: block; font: 600 var(--fs-sm)/1 var(--font-display); letter-spacing: .08em; color: var(--brand); margin-bottom: var(--s-4); }
.feature h3 { font: 400 var(--fs-xl)/1.15 var(--font-display); margin-bottom: var(--s-3); }
.feature p { color: var(--muted); }

/* photo pair */
.pair { display: grid; gap: var(--s-4); grid-template-columns: 1fr 1fr; margin-top: var(--s-8); }
.pair .media { aspect-ratio: 4 / 5; }
.pair .media:last-child { margin-top: var(--s-9); }
.pair figcaption { font: 400 var(--fs-xs)/1.4 var(--font-body); color: var(--muted); margin-top: var(--s-2); }

/* suit chapter on navy */
.suit { background: var(--brand); color: var(--on-brand); }
.suit .eyebrow, .suit .chapter__num { color: #b9c7d8; }
.suit__grid { display: grid; gap: var(--s-7); }
@media (min-width: 64rem) { .suit__grid { grid-template-columns: .9fr 1.1fr; align-items: center; gap: var(--s-9); } }
.suit .media { aspect-ratio: 4 / 5; }
.suit .btn { --btn-bg: var(--on-brand); --btn-fg: var(--brand); --btn-bd: var(--on-brand); }
@media (hover: hover) and (pointer: fine) { .suit .btn:hover { --btn-bg: transparent; --btn-fg: var(--on-brand); } }

/* shop + quote + faq */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s-4); margin-bottom: var(--s-7); }
.cat .media { aspect-ratio: 4 / 5; background: var(--product-bg); }
.quote { text-align: center; max-width: 52rem; margin-inline: auto; }
.quote p { font: 300 var(--fs-2xl)/1.2 var(--font-display); text-wrap: balance; }
.quote cite { display: block; margin-top: var(--s-5); font: 600 var(--fs-xs)/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; font-style: normal; color: var(--muted); }
.faq-wrap { display: grid; gap: var(--s-7); }
@media (min-width: 64rem) { .faq-wrap { grid-template-columns: 1fr 1.6fr; } }
.termin { background: var(--surface); }
.termin__grid { display: grid; gap: var(--s-7); }
@media (min-width: 64rem) { .termin__grid { grid-template-columns: 1fr 1fr; align-items: center; } }
.termin .media { aspect-ratio: 16 / 11; }

/* ---- Schrift 3 (EB Garamond + Libre Franklin) ---- */
/* Schriftvariante v3: EB Garamond + Libre Franklin — upright only, no italics. */
:root { --font-display: "EB Garamond", Georgia, serif; --font-body: "Libre Franklin", system-ui, sans-serif; --display-weight: 400; --display-track: -0.01em; }
.h3, .feature h3, .card h3, .feat-list h3 { font-weight: 500; }
/* labels, buttons, nav and prices in the text face so single-weight display faces are never faux-bolded */
.eyebrow, .btn, .site-nav a, .price, .chapter__num, .card__n, .field label, .stats b, .feature::before { font-family: var(--font-body); }

/* ---- WordPress + WooCommerce layer ---- */
/* WordPress + WooCommerce layer for the Polsino theme.
   Uses only the shared tokens (type scale, spacing scale, one button pattern) from base.css. */

/* ---- generic WordPress ---- */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: var(--s-2); left: var(--s-2); z-index: 100; width: auto; height: auto; clip: auto; padding: var(--s-3) var(--s-4); background: var(--bg); color: var(--ink); }
.site-nav .current-menu-item > a, .site-nav .current_page_item > a, .site-nav .current-menu-ancestor > a { background-size: 100% 1px; }
.site-header__icon { position: relative; text-decoration: none; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 1.1rem; height: 1.1rem; padding: 0 .25rem; border-radius: 999px;
  background: var(--brand); color: var(--on-brand); font: 600 .6875rem/1.1rem var(--font-body); text-align: center; }
.cart-count[data-count="0"] { display: none; }

.page-head { padding-block: var(--s-8) var(--s-6); }
.page-head .lead { margin-top: var(--s-4); }
.entry { max-width: 48rem; }
.entry > * + * { margin-top: 1em; }
.entry h1, .entry h2 { font: var(--display-weight) var(--fs-xl)/1.2 var(--font-display); margin-top: 1.6em; }
.entry h3, .entry h4, .entry h5 { font: 600 var(--fs-lg)/1.3 var(--font-display); margin-top: 1.4em; }
.entry ul, .entry ol { padding-left: 1.25rem; }
.entry li + li { margin-top: .35em; }
.entry a { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.entry table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.entry th, .entry td { text-align: left; padding: var(--s-2) var(--s-3); border-bottom: 1px solid var(--line); vertical-align: top; }
.entry img { margin-block: var(--s-5); }
.legal .entry { font-size: var(--fs-sm); }

/* text sections on the content pages */
.text-sections { display: grid; gap: var(--s-8); }
.text-section { display: grid; gap: var(--s-4) var(--s-9); padding-top: var(--s-6); border-top: 1px solid var(--line); }
@media (min-width: 64rem) { .text-section { grid-template-columns: 1fr 1.6fr; } }
.text-section h2 { font: var(--display-weight) var(--fs-xl)/1.15 var(--font-display); text-wrap: balance; }
.text-section .prose p + p { margin-top: 1em; }

/* posts */
.post-list { display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }
.post-card { display: grid; gap: var(--s-2); padding-top: var(--s-4); border-top: 1px solid var(--line); text-decoration: none; }
.post-card h2 { font: var(--display-weight) var(--fs-lg)/1.25 var(--font-display); }

/* pagination (WordPress + WooCommerce) */
.pagination, .woocommerce-pagination { margin-top: var(--s-8); }
.pagination .nav-links, .woocommerce-pagination ul { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0; margin: 0; }
.page-numbers { display: inline-grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0 var(--s-3);
  border: 1px solid var(--line); text-decoration: none; font-size: var(--fs-sm); }
.page-numbers.current { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---- forms (shared by checkout, account, appointment form) ---- */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"],
input[type="date"], input[type="url"], select, textarea {
  width: 100%; min-height: 3rem; padding: .7rem var(--s-4); border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--ink); font: 400 var(--fs-base)/1.4 var(--font-body); }
textarea { min-height: 8rem; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
label { font-size: var(--fs-sm); }
.form-grid { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 48rem) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.form-note { font-size: var(--fs-xs); color: var(--muted); }

/* WooCommerce buttons → the one button pattern */
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit,
.wc-block-components-button, .single_add_to_cart_button, .checkout-button, #place_order {
  --btn-bg: var(--brand); --btn-fg: var(--on-brand); --btn-bd: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 3rem; padding: 0 var(--s-5);
  border: 1px solid var(--btn-bd) !important; border-radius: var(--radius) !important; background: var(--btn-bg) !important; color: var(--btn-fg) !important;
  font: 600 var(--fs-sm)/1 var(--font-body) !important; letter-spacing: .04em; text-decoration: none; cursor: pointer;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-ui) ease, border-color var(--t-ui) ease; }
.woocommerce .button:active, .single_add_to_cart_button:active, #place_order:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .woocommerce .button:hover, .single_add_to_cart_button:hover, #place_order:hover, .checkout-button:hover { --btn-bg: var(--accent); --btn-bd: var(--accent); }
}
.woocommerce .button.alt { --btn-bg: var(--brand); }
.woocommerce .button:disabled, .woocommerce .button.disabled, .single_add_to_cart_button.disabled { opacity: .45; cursor: not-allowed; }
.woocommerce .button[name="update_cart"], .woocommerce .button.wc-backward, .woocommerce .button.wc-forward:not(.checkout):not(.checkout-button), .woocommerce .coupon .button {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }

/* prices */
.price, .woocommerce-Price-amount { font-variant-numeric: tabular-nums lining-nums; }
.price del { opacity: .55; margin-right: var(--s-2); font-weight: 400; }
.price ins { text-decoration: none; }
.woocommerce-price-suffix { font-size: var(--fs-xs); color: var(--muted); font-weight: 400; margin-left: .35em; }

/* notices */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, .wc-block-components-notice-banner {
  list-style: none; margin: 0 0 var(--s-5); padding: var(--s-4) var(--s-5); border-left: 3px solid var(--brand); background: var(--surface);
  font-size: var(--fs-sm); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); align-items: center; justify-content: space-between; }
.woocommerce-error { border-left-color: #9b2c2c; }
.woocommerce-error li + li { margin-top: var(--s-2); }
.woocommerce-store-notice, p.demo_store { position: static !important; margin: 0; padding: var(--s-2) var(--gutter); background: var(--brand) !important; color: var(--on-brand); font-size: var(--fs-xs); text-align: center; }

/* breadcrumbs */
.woocommerce-breadcrumb { font-size: var(--fs-xs); color: var(--muted); padding-block: var(--s-5); }
.woocommerce-breadcrumb a { text-decoration: none; }
.woocommerce-breadcrumb .sep { margin-inline: .45rem; opacity: .5; }

/* ---- shop / category ---- */
.shop-head { display: grid; gap: var(--s-4); padding-block: var(--s-4) var(--s-6); }
.shop-head .lead { color: var(--muted); }
.cat-nav { display: flex; gap: var(--s-2); overflow-x: auto; padding-bottom: var(--s-2); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: thin; }
.cat-nav a { flex: none; display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 var(--s-4); border: 1px solid var(--line);
  border-radius: 999px; font-size: var(--fs-sm); text-decoration: none; white-space: nowrap; transition: border-color var(--t-ui) ease, background-color var(--t-ui) ease; }
.cat-nav a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
@media (hover: hover) and (pointer: fine) { .cat-nav a:not([aria-current]):hover { border-color: var(--ink); } }
.shop-tools { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); align-items: center; justify-content: space-between; margin-bottom: var(--s-6);
  padding-block: var(--s-3); border-block: 1px solid var(--line); font-size: var(--fs-sm); }
.shop-tools .woocommerce-result-count { margin: 0; color: var(--muted); }
.shop-tools .woocommerce-ordering { margin: 0; }
.shop-tools select { min-height: 2.5rem; width: auto; padding-block: 0; font-size: var(--fs-sm); }
.stock-toggle { display: inline-flex; gap: var(--s-2); align-items: center; text-decoration: none; }
.stock-toggle .box { width: 1.1rem; height: 1.1rem; border: 1px solid var(--ink); display: inline-grid; place-items: center; }
.stock-toggle[aria-pressed="true"] .box::after { content: ""; width: .55rem; height: .55rem; background: var(--ink); }
ul.products { list-style: none; margin: 0; padding: 0; }
.tile .media img.product-photo { object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.tile__badge { position: absolute; top: var(--s-3); left: var(--s-3); padding: .2rem .5rem; background: var(--bg); font-size: var(--fs-xs); letter-spacing: .04em; }
.tile.is-oos .media img { opacity: .55; }
.no-products { padding-block: var(--s-8); color: var(--muted); }

/* ---- single product ---- */
.pdp .gallery .media img.product-photo { object-fit: contain; padding: 6%; mix-blend-mode: multiply; }
.panel .price { display: block; margin-top: var(--s-2); }
.panel .woocommerce-product-details__short-description ul { padding-left: 1.1rem; margin: var(--s-5) 0 0; display: grid; gap: .35rem; }
.panel form.cart { display: grid; gap: var(--s-5); margin-top: var(--s-6); }
.panel form.cart:not(.variations_form) { grid-template-columns: auto 1fr; align-items: end; }
.panel table.variations { border-collapse: collapse; width: 100%; }
.panel table.variations tr { display: grid; gap: var(--s-3); margin-bottom: var(--s-5); }
.panel table.variations th, .panel table.variations td { padding: 0; text-align: left; }
.panel table.variations th label { font: 600 var(--fs-xs)/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.panel table.variations select.has-chips { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.panel .reset_variations { display: inline-block; margin-top: var(--s-2); font-size: var(--fs-xs); color: var(--muted); }
.panel .single_variation_wrap { display: grid; gap: var(--s-4); }
.panel .woocommerce-variation:empty, .panel .woocommerce-variation-description:empty { display: none; }
.panel .woocommerce-variation-price .price { margin: 0; }
.panel .woocommerce-variation-price .price { font-size: var(--fs-lg); }
.panel .woocommerce-variation-availability p, .panel p.stock { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.panel .out-of-stock { color: #8a3b2e !important; }
.panel .woocommerce-variation-add-to-cart { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: end; }
.quantity input.qty { width: 4.5rem; text-align: center; }
.panel .product_meta { margin-top: var(--s-6); font-size: var(--fs-xs); color: var(--muted); display: grid; gap: .25rem; }
.panel .product_meta a { color: inherit; }
.pdp-details { padding-bottom: var(--s-8); }
.pdp-details .text-section .entry { max-width: none; }

/* ---- cart & checkout & account (classic shortcodes and blocks) ---- */
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.woocommerce table.shop_table th { font: 600 var(--fs-xs)/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: left; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: var(--s-4) var(--s-3); border-bottom: 1px solid var(--line); vertical-align: middle; }
.woocommerce table.cart img { width: 72px; height: auto; background: var(--product-bg); mix-blend-mode: multiply; }
.woocommerce table.cart .product-remove a { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.woocommerce table.cart td.actions { padding-top: var(--s-5); }
.woocommerce table.cart td.actions .coupon { display: inline-flex; gap: var(--s-2); margin-right: var(--s-4); }
.woocommerce table.cart td.actions .coupon input { width: 12rem; }
.cart-collaterals { margin-top: var(--s-8); display: grid; }
@media (min-width: 64rem) { .cart-collaterals { justify-items: end; } .cart_totals { width: 26rem; } }
.cart_totals h2, .woocommerce-checkout h3, #order_review_heading, .woocommerce-MyAccount-content h2, .woocommerce-MyAccount-content h3 {
  font: var(--display-weight) var(--fs-xl)/1.2 var(--font-display); margin-bottom: var(--s-4); }
.wc-proceed-to-checkout { margin-top: var(--s-5); }
.wc-proceed-to-checkout .checkout-button { width: 100%; }
.woocommerce form .form-row { margin: 0 0 var(--s-4); display: grid; gap: var(--s-2); }
.woocommerce form .form-row label { font-weight: 600; }
.woocommerce form .form-row .required { color: #8a3b2e; text-decoration: none; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; }
@media (min-width: 48rem) {
  .woocommerce form .form-row-first, .woocommerce form .form-row-last { width: calc(50% - var(--s-2)); display: inline-grid; vertical-align: top; }
  .woocommerce form .form-row-first { margin-right: var(--s-3); }
}
.woocommerce-checkout .col2-set { display: grid; gap: var(--s-6); }
@media (min-width: 64rem) {
  form.checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0 var(--s-9); align-items: start; }
  form.checkout .col2-set { grid-column: 1; }
  form.checkout #order_review_heading, form.checkout #order_review { grid-column: 2; }
  form.checkout { grid-template-rows: auto 1fr; }
  form.checkout .col2-set { grid-row: 1 / span 2; }
  form.checkout #order_review_heading { grid-row: 1; margin-top: 0; } form.checkout #order_review { grid-row: 2; position: sticky; top: 6rem; }
}
#payment { margin-top: var(--s-5); padding: var(--s-5); background: var(--surface); }
#payment ul.payment_methods { list-style: none; padding: 0; margin: 0 0 var(--s-5); display: grid; gap: var(--s-3); }
#payment .payment_box { margin-top: var(--s-2); font-size: var(--fs-sm); color: var(--muted); }
#payment #place_order { width: 100%; margin-top: var(--s-4); }
.woocommerce-terms-and-conditions-wrapper { font-size: var(--fs-sm); }
.woocommerce-account .woocommerce { display: grid; gap: var(--s-7); }
@media (min-width: 64rem) { .woocommerce-account .woocommerce { grid-template-columns: 16rem 1fr; } }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.woocommerce-MyAccount-navigation li a { display: block; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.woocommerce-MyAccount-navigation li.is-active a { font-weight: 600; }
.woocommerce-form-login, .woocommerce-form-register { max-width: 28rem; }
.u-columns.col2-set { display: grid; gap: var(--s-8); }
@media (min-width: 64rem) { .u-columns.col2-set { grid-template-columns: 1fr 1fr; } }
/* WooCommerce block cart/checkout (current WooCommerce versions) */
.wc-block-components-text-input input, .wc-block-components-combobox input { border-radius: var(--radius) !important; }
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { font-family: var(--font-body); }

/* wishlist (YITH) and booking (LatePoint) inherit the type and buttons */
.wishlist_table { width: 100%; }
.latepoint-book-button { font-family: var(--font-body) !important; }

/* appointment request */
.termin-form { display: grid; gap: var(--s-5); padding: var(--s-6); background: var(--bg); border: 1px solid var(--line); }
.notice-ok { padding: var(--s-4) var(--s-5); background: var(--surface); border-left: 3px solid var(--brand); }

@media (max-width: 47.99rem) {
  .woocommerce table.shop_table_responsive thead { display: none; }
  .woocommerce table.shop_table_responsive tr { display: grid; grid-template-columns: 1fr 1fr; padding-block: var(--s-3); border-bottom: 1px solid var(--line); }
  .woocommerce table.shop_table_responsive td { border: 0; padding: var(--s-2) 0; }
  .woocommerce table.shop_table_responsive td::before { content: attr(data-title) ": "; font-weight: 600; }
  .woocommerce table.shop_table_responsive td.product-thumbnail::before, .woocommerce table.shop_table_responsive td.product-remove::before, .woocommerce table.shop_table_responsive td.actions::before { content: none; }
  .woocommerce table.cart td.actions { grid-column: 1 / -1; }
  /* coupon + update: stacked, full width, thumb-sized */
  .woocommerce table.cart td.actions .coupon { display: grid; grid-template-columns: 1fr; gap: var(--s-2); width: 100%; margin: 0 0 var(--s-3); }
  .woocommerce table.cart td.actions .coupon input, .woocommerce table.cart td.actions .button { width: 100%; min-height: 3rem; }
  /* totals table: label (th) left, amount right, no second label from data-title */
  .cart_totals table.shop_table_responsive tr { grid-template-columns: auto 1fr; gap: var(--s-3); align-items: baseline; }
  .cart_totals table.shop_table_responsive th { display: block; border: 0; padding: var(--s-2) 0; }
  .cart_totals table.shop_table_responsive td { text-align: right !important; }
  .cart_totals table.shop_table_responsive td::before { content: none; }
  .cart_totals .woocommerce-shipping-methods { list-style: none; padding: 0; margin: 0; }
  .cart_totals .woocommerce-shipping-destination, .cart_totals .woocommerce-shipping-calculator { grid-column: 1 / -1; text-align: left; font-size: var(--fs-sm); }
}
.cart_totals { width: 100%; }
/* "Weiter zur Kasse" is the one primary action on the cart page */
.woocommerce .wc-proceed-to-checkout a.checkout-button { --btn-bg: var(--brand); --btn-fg: var(--on-brand); --btn-bd: var(--brand);
  display: flex; width: 100%; min-height: 3.5rem; font-size: var(--fs-md, 1rem) !important; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { float: none; width: 100%; }
@media (min-width: 64rem) { .woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { width: 26rem; } }
.woocommerce-cart .cart-empty + .return-to-shop .button, .woocommerce-cart .return-to-shop .button { display: inline-flex; min-height: 3rem; align-items: center; }

/* checkout details */
#ship-to-different-address { font: 600 var(--fs-md, 1rem)/1.4 var(--font-body); margin: var(--s-4) 0; }
#ship-to-different-address label, .woocommerce-form__label-for-checkbox { display: flex; gap: var(--s-2); align-items: flex-start; font-weight: 400; cursor: pointer; }
#ship-to-different-address input, .woocommerce-form__label-for-checkbox input { margin-top: .3em; flex: none; width: 1.1rem; height: 1.1rem; accent-color: var(--brand); }
.woocommerce-SavedPaymentMethods-saveNew { display: flex; gap: var(--s-2); align-items: flex-start; font-size: var(--fs-sm); }
.woocommerce-SavedPaymentMethods-saveNew input { margin-top: .3em; accent-color: var(--brand); }
.woocommerce-checkout .shipping_address[style*="display: none"], .woocommerce-checkout .create-account[style*="display: none"] { display: none !important; }
.woocommerce-checkout #order_review table.shop_table td.product-total, .woocommerce-checkout #order_review table.shop_table tfoot td { text-align: right; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { min-height: 3rem; font-size: 16px; }

/* YITH wishlist: normal case headers, no hyphenation */
.wishlist_table th, .wishlist_table th span { text-transform: none !important; letter-spacing: 0 !important; hyphens: none; word-break: normal; }
@media (max-width: 47.99rem) { .wishlist_table.mobile { padding: 0; } .wishlist_table.mobile li { list-style: none; } }

/* WooCommerce's layout sheet floats loop items; our grid replaces that */
.woocommerce ul.products, .woocommerce-page ul.products { display: grid; margin: 0; gap: var(--s-6) var(--s-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 64rem) { .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-7) var(--s-5); } }
/* ...and floats the product page halves at 48 % each; our .pdp grid replaces that */
.woocommerce div.product.pdp div.summary, .woocommerce div.product.pdp .gallery { float: none; width: auto; margin: 0; }
.woocommerce div.product.pdp { margin-bottom: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { content: none !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; padding: 0; }
.related.products > h2, .upsells.products > h2 { font: var(--display-weight) var(--fs-xl)/1.2 var(--font-display); margin: 0 0 var(--s-6); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.related.products { padding-bottom: var(--section); }
.tile__name { font-family: var(--font-body); margin: 0; }
.tile__price { margin: .2rem 0 0; }
.woocommerce ul.products li.product a img { margin: 0; }
.tile__empty { display: block; width: 100%; height: 100%; }

/* shop promises */
.badges { display: grid; gap: var(--s-2); list-style: none; margin: var(--s-6) 0 0; padding: var(--s-4) 0 0; border-top: 1px solid var(--line);
  font-size: var(--fs-xs); letter-spacing: .04em; color: var(--muted); }
main > .wrap > .badges { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); }
main > .wrap > .badges { margin-top: var(--s-8); }
.price-note a { color: inherit; }

/* secondary button on the navy suit band */
.suit .btn--ghost { --btn-bg: transparent; --btn-fg: var(--on-brand); --btn-bd: var(--on-brand); }
@media (hover: hover) and (pointer: fine) { .suit .btn--ghost:hover { --btn-bg: var(--on-brand); --btn-fg: var(--brand); } }

/* search form */
.search-form { display: flex; gap: var(--s-2); max-width: 32rem; margin: var(--s-5) 0 var(--s-7); }
.search-form input[type="search"] { flex: 1; min-width: 0; }

/* phone gallery: swipe row; drop the single explicit column so every photo gets the same 86 % track */
@media (max-width: 63.999rem) { .gallery { grid-template-columns: none; } }

/* lists inside text sections (kept from the live pages) */
.prose ul { padding-left: 1.2rem; margin: 1em 0 0; display: grid; gap: .35em; }
.prose p + ul, .prose ul + p { margin-top: 1em; }
.suit .prose p + p { margin-top: .8em; }

/* latest posts on the home page */
.news-grid { display: grid; gap: var(--s-6) var(--s-5); grid-template-columns: 1fr; }
@media (min-width: 48rem) { .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.news-item { padding-top: var(--s-4); border-top: 1px solid var(--line); display: grid; gap: var(--s-2); align-content: start; }
.news-item .meta { font-size: var(--fs-xs); color: var(--muted); letter-spacing: .04em; }
.news-item h3 { font: var(--display-weight) var(--fs-lg)/1.25 var(--font-display); }
.news-item h3 a { text-decoration: none; }
.news-item p:last-child { font-size: var(--fs-sm); color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .news-item h3 a:hover { text-decoration: underline; } }

.cat-nav--sub { margin-top: calc(var(--s-3) * -1); }
.cat-nav--sub a { font-size: var(--fs-xs); }
.woocommerce-product-attributes { margin-top: var(--s-3); }
.woocommerce-product-attributes th { width: 40%; font-weight: 600; }
.woocommerce-product-attributes td p { margin: 0; }
.more-posts { padding-bottom: var(--section); }
.more-posts ul { list-style: none; padding: 0; margin: var(--s-4) 0 0; border-top: 1px solid var(--line); max-width: 48rem; }
.more-posts li { padding-block: var(--s-3); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: var(--s-4); }
.more-posts .meta { font-size: var(--fs-xs); color: var(--muted); white-space: nowrap; }
.page-head--content { padding-bottom: 0; }
.entry--own-title > h1:first-child { font: var(--display-weight) var(--fs-2xl)/1.1 var(--font-display); margin: 0 0 var(--s-6); text-wrap: balance; }

/* footer link columns: pages + every shop category */
.site-footer__links { display: grid; gap: var(--s-6) var(--s-7); grid-template-columns: 1fr; margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent); }
@media (min-width: 48rem) { .site-footer__links { grid-template-columns: minmax(0, 14rem) 1fr; } }
.site-footer__links .eyebrow { color: inherit; opacity: .7; margin-bottom: var(--s-3); }
.site-footer__links .eyebrow a { text-decoration: none; }
.site-footer__links ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-2); font-size: var(--fs-sm); }
.site-footer__cats { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-5); }
@media (min-width: 48rem) { .site-footer__cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.site-footer__links a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .site-footer__links a:hover { text-decoration: underline; } }
.entry--own-title h1:first-of-type { font: var(--display-weight) var(--fs-2xl)/1.1 var(--font-display); margin: 0 0 var(--s-6); text-wrap: balance; }
/* related products: one divider (on the heading), not two */
.pdp-details + .wrap > .related.products, .related.products { border-top: 0; padding-top: 0; margin-top: 0; }
/* legal H1s come with inline text-align: justify from the old editor */
.entry--own-title h1:first-of-type { text-align: left !important; }

/* classic checkout: WooCommerce's layout sheet floats the two address columns at 48 % */
.woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-1, .woocommerce-page .col2-set .col-2 { float: none; width: auto; max-width: none; }
.woocommerce form .form-row .input-text, .woocommerce form .form-row select, .woocommerce form .form-row textarea { width: 100%; box-sizing: border-box; }
.woocommerce form .form-row .woocommerce-input-wrapper { display: block; width: 100%; }
.woocommerce-checkout .select2-container { width: 100% !important; }
.woocommerce-checkout .woocommerce-billing-fields h3, .woocommerce-checkout .woocommerce-additional-fields h3 { margin-top: 0; }
#shipping_method { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-2); }
#shipping_method li { display: flex; gap: var(--s-2); align-items: baseline; }
/* country/state pickers (select2) look like the other fields */
.select2-container--default .select2-selection--single { height: 3rem; display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.select2-container--default .select2-selection--single .select2-selection__rendered { padding-left: var(--s-4); line-height: 1.4; color: var(--ink); font-size: var(--fs-base); }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 100%; right: var(--s-2); }
/* small phones: long German compounds may break instead of pushing the page sideways */
.text-section > *, .faq-wrap > *, .hero > * { min-width: 0; }
.text-section h2, .prose, .entry { overflow-wrap: break-word; hyphens: auto; }
.shop-tools .woocommerce-ordering, .shop-tools select { max-width: 100%; }
/* FAQ "+" rotates into "×"; keep its box square so the rotated glyph never sticks out on small phones */
.faq summary::after { flex: none; width: 1em; height: 1em; line-height: 1; display: grid; place-items: center; transform-origin: 50% 50%; }
.faq { overflow-x: clip; }

/* language switch (TranslatePress): "EN" / "DE" next to the cart */
.lang-switch { font: 600 var(--fs-xs)/1 var(--font-body); letter-spacing: .1em; text-decoration: none; padding: .5rem .35rem; }
@media (hover: hover) and (pointer: fine) { .lang-switch:hover { text-decoration: underline; } }
.mobile-nav__langs { margin-top: var(--s-5); }
@media (max-width: 63.99rem) { .site-header__lang { display: none; } }

/* error lists (checkout validation): one message per line, never side by side */
.woocommerce-error { display: block; list-style: none; }
.woocommerce-error li { display: block; }
.woocommerce-error li + li { margin-top: var(--s-2); }
.woocommerce-NoticeGroup { grid-column: 1 / -1; }

/* TranslatePress: the theme has its own DE/EN switch in the header, so its floating switcher stays hidden */
#trp-floater-ls, .trp-floating-switcher { display: none !important; }
/* teasers keep the full first paragraph (translatable) and are shortened visually */
.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* menu items never wrap inside themselves */
.site-nav a { white-space: nowrap; }

/* newsletter (Mailchimp List Subscribe Form plugin markup) */
.newsletter__grid { display: grid; gap: var(--s-5) var(--s-9); padding: var(--s-7); background: var(--surface); align-items: center; }
@media (min-width: 64rem) { .newsletter__grid { grid-template-columns: 1fr 1.2fr; } }
.newsletter__form .mc_merge_var { display: grid; gap: var(--s-2); margin-bottom: var(--s-3); }
.newsletter__form .mc_var_label { font-size: var(--fs-sm); font-weight: 600; }
.newsletter__form .mc_input, .newsletter__form input[type="text"], .newsletter__form input[type="email"] { width: 100%; }
.newsletter__form #mc-indicates-required, .newsletter__form .mc_required { font-size: var(--fs-xs); color: var(--muted); }
.newsletter__form #mc_signup_submit, .newsletter__form input[type="submit"] { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 var(--s-6);
  border: 1px solid var(--brand); background: var(--brand); color: var(--on-brand); font: 600 var(--fs-sm)/1 var(--font-body); cursor: pointer; border-radius: var(--radius); }
@media (hover: hover) and (pointer: fine) { .newsletter__form #mc_signup_submit:hover { background: var(--accent); border-color: var(--accent); } }
.newsletter__form .mc_error_msg { color: #9b2c2c; font-size: var(--fs-sm); }
.newsletter__form .mc_success_msg { color: var(--brand); font-size: var(--fs-sm); }
.newsletter__form .mc_signup_submit { text-align: left; margin-top: var(--s-3); }
.newsletter__form #mc_signup_submit { width: auto; }

/* WooCommerce 8.x+ shows coupon errors inline under the coupon field */
.woocommerce .coupon { flex-wrap: wrap; }
.coupon-error-notice { flex-basis: 100%; margin: var(--s-2) 0 0; color: #9b2c2c; font-size: var(--fs-sm); text-align: left; }
.woocommerce .coupon input.has-error, .woocommerce #coupon_code[aria-invalid="true"] { border-color: #9b2c2c; }

/* Brand blue = the logo's blue (#0D4D84, Roberto 27.11.), so logo and site match. Hover/accent a shade darker.
   Contrast: light text on it 7.7:1, it on the paper background 7.7:1 (both WCAG AAA). */
:root { --brand: #0d4d84; --accent: #0a3d6b; }

/* sold-out variation chips: crossed out, still selectable (WooCommerce then shows „Nicht vorrätig“) */
.chip.is-soldout span { color: var(--muted, #6b6b6b); text-decoration: line-through; opacity: 0.55; }
.chip.is-soldout input:checked + span { opacity: 0.7; }

/* e-mail request when a product/combination is sold out */
.stock-request { margin: var(--s-4, 1rem) 0; padding: var(--s-4, 1rem); border: 1px solid var(--line); }
.stock-request[hidden] { display: none; }
.stock-request p { margin: 0 0 0.75rem; }


/* product texts from Flatsome days start list items with <i class="fa fa-check">; a plugin loads Font Awesome on the live site,
   which would show a check mark next to the list bullet */
li > i.fa:first-child:empty { display: none; }

/* long texts on the main pages: headline + "+" (same look as the FAQ); text stays in the HTML for search engines */
.folds { border-bottom: 1px solid var(--line); }
.fold { border-top: 1px solid var(--line); }
.fold > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-5) 0; cursor: pointer; list-style: none; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary h2 { font: var(--display-weight) var(--fs-xl)/1.15 var(--font-display); text-wrap: balance; overflow-wrap: break-word; hyphens: auto; min-width: 0; }
.fold > summary::after { content: "+"; flex: none; width: 1em; height: 1em; display: grid; place-items: center; font: 300 var(--fs-xl)/1 var(--font-body); transition: transform var(--t-ui, .2s) var(--ease-out, ease); }
.fold[open] > summary::after { transform: rotate(45deg); }
.fold > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.fold > .prose { padding-bottom: var(--s-6); max-width: var(--measure); }
.fold .prose p + p, .fold .prose ul { margin-top: 1em; }
@media (min-width: 64rem) { .fold > .prose { margin-left: auto; width: 61.5%; max-width: none; } }
.more { margin-top: 1em; }
.more > summary { display: inline-flex; align-items: center; gap: .5em; cursor: pointer; list-style: none; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: "+"; font-weight: 300; text-decoration: none; display: inline-block; transition: transform var(--t-ui, .2s) var(--ease-out, ease); }
.more[open] > summary::after { transform: rotate(45deg); }
.more[open] > summary { margin-bottom: 1em; }
.more .more__open, .more[open] .more__closed { display: none; }
.more[open] .more__open { display: inline; }
.more > p + p { margin-top: 1em; }
@media (prefers-reduced-motion: reduce) { .fold > summary::after, .more > summary::after { transition: none; } }

