/* ==========================================================================
   Bakerini v2
   Dark wine ground, photo-led. Display: Mona Sans (wide, light).
   Text and UI: Montserrat. No accent colour: cream on wine only.
   Shape rule: containers 24px, interactive elements pill, inputs 14px.
   ========================================================================== */
:root {
  --bg: #17070b;
  --bg-2: #20090f;
  --bg-3: #2a0b13;
  --wine: #3a0c16;
  --bordo: #5e1424;
  --cream: #f2e9df;
  --muted: rgba(242, 233, 223, 0.74);
  --faint: rgba(242, 233, 223, 0.58);
  --line: rgba(242, 233, 223, 0.12);
  --line-2: rgba(242, 233, 223, 0.24);

  --display: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --r: 24px;
  --r-sm: 14px;
  --gutter: clamp(16px, 4vw, 56px);
  --nav-top: 16px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
html.is-loading { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font: 400 16px/1.7 var(--text);
  font-feature-settings: "kern" 1;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; } /* <picture> only picks the format; the <img> inside is the box */
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--cream); color: var(--bg); }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { display: block; width: 1em; height: 1em; fill: currentColor; flex: none; }
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 120;
  padding: 10px 18px; border-radius: 999px; background: var(--cream); color: var(--bg);
  transform: translateY(-160%); transition: transform 200ms var(--ease-out);
}
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }

/* ==========================================================================
   Type
   ========================================================================== */
.h2 {
  font-family: var(--display);
  font-weight: 300;
  font-stretch: 115%;
  font-size: clamp(2.3rem, 5vw, 5.2rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
  padding-bottom: 0.06em;
}
.h2 em, .hero__title em, .cta__title em { font-style: italic; color: rgba(242, 233, 223, 0.6); }
.body { max-width: 46ch; color: var(--muted); font-size: clamp(0.98rem, 1.05vw, 1.08rem); text-wrap: pretty; }
.label { font-size: 13px; font-weight: 500; letter-spacing: 0.01em; color: var(--faint); }
.price { font-size: 15px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.price small { font-size: 12.5px; font-weight: 400; color: var(--faint); }
.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--line-2);
  transition: text-decoration-color 250ms ease;
}
.link .ic { font-size: 14px; }
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-color: var(--cream); } }

/* ==========================================================================
   Buttons: label rolls up, arrow slides through
   ========================================================================== */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 52px;
  padding: 0 6px 0 24px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform 160ms var(--ease-out), color 450ms var(--ease-out), border-color 450ms ease;
}
.btn:active { transform: scale(0.97); }
.roll { position: relative; display: inline-block; height: 1.3em; line-height: 1.3; overflow: hidden; vertical-align: top; }
.roll__in { display: block; transition: transform 650ms var(--ease-out); }
.roll__in::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
.btn__icon {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  font-size: 18px;
  transition: transform 650ms var(--ease-out), background-color 450ms ease;
}
.btn__icon .ic { position: absolute; top: 50%; left: 50%; margin: -0.5em 0 0 -0.5em; transition: transform 650ms var(--ease-out); }
.btn__icon .ic + .ic { transform: translateX(-200%); }
.btn--solid { background: var(--cream); color: var(--bg); }
.btn--solid .btn__icon { background: var(--bg); color: var(--cream); }

/* Ghost: frosted glass. The fill is clipped, never transformed, so the blur
   layer is not re-rasterised on hover (that was the flicker). */
.btn--ghost {
  padding-right: 24px;
  border: 1px solid var(--line-2);
  color: var(--cream);
  background: rgba(242, 233, 223, 0.07);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
}
.btn--ghost::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: var(--cream);
  clip-path: inset(100% 0 0 0 round 999px);
  transition: clip-path 600ms var(--ease-out);
}
.btn--sm { height: 44px; padding-left: 18px; font-size: 14px; }
.btn--sm .btn__icon { width: 32px; height: 32px; font-size: 15px; }
.btn--lg { height: 64px; padding-left: 30px; font-size: 16px; }
.btn--lg .btn__icon { width: 52px; height: 52px; font-size: 20px; }
.btn--wide { width: 100%; justify-content: space-between; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .roll__in, .nav__order:hover .roll__in { transform: translateY(-100%); }
  .btn:hover .btn__icon .ic:first-child { transform: translateX(200%); }
  .btn:hover .btn__icon .ic + .ic { transform: none; }
  .btn--solid:hover .btn__icon { transform: scale(1.06); }
  .btn--ghost:hover { color: var(--bg); border-color: var(--cream); }
  .btn--ghost:hover::before { clip-path: inset(0 0 0 0 round 999px); }
}
.btn[aria-busy="true"] { pointer-events: none; opacity: 0.75; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  font-size: 20px;
  transition: background-color 250ms ease, color 250ms ease, transform 160ms var(--ease-out);
}
.icon-btn:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: var(--cream); color: var(--bg); } }

/* ==========================================================================
   Loader: B draws itself, grows into the full logo, the page opens
   ========================================================================== */
.loader { display: none; }
.js .loader { position: fixed; inset: 0; z-index: 100; display: block; pointer-events: none; }
html.is-ready .loader { display: none; }
html.is-switching .loader { pointer-events: auto; } /* language switch: the closing panel also blocks clicks */
.loader__panel { position: absolute; inset: 0; display: grid; place-items: center; background: var(--bg); }
.loader__logo { width: min(62vw, 440px); height: auto; fill: var(--cream); overflow: visible; }
.loader__brush {
  fill: none;
  stroke: #fff;
  stroke-width: 32;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

/* ==========================================================================
   Navigation: full-width bar on the page grid, logo in the centre.
   Transparent over the hero, quiet glass once you scroll.
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color 500ms ease, box-shadow 500ms ease;
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(23, 7, 11, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: inset 0 -1px 0 var(--line);
  opacity: 0;
  transition: opacity 500ms ease;
}
.nav.is-scrolled::before { opacity: 1; }
.nav__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1360px;
  height: 84px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  transition: height 500ms var(--ease-out);
}
.nav.is-scrolled .nav__bar { height: 68px; }
.nav__links, .nav__menu { grid-column: 1; grid-row: 1; justify-self: start; }
.nav__links { display: flex; gap: clamp(20px, 2.4vw, 36px); }
.nav__links a { position: relative; font-size: 13.5px; font-weight: 500; color: var(--muted); transition: color 250ms ease; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 500ms var(--ease-out);
}
.nav__links a.is-current { color: var(--cream); }
.nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { color: var(--cream); }
  .nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
}
.nav__logo { grid-column: 2; display: block; color: var(--cream); }
.nav__logo svg { display: block; height: 38px; width: auto; fill: currentColor; overflow: visible; transform-origin: 50% 50%; transition: transform 500ms var(--ease-out); }
.nav.is-scrolled .nav__logo svg { transform: scale(0.84); }
.nav__end { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 22px; }
.lang { display: inline-flex; align-items: center; gap: 2px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; }
.lang button { padding: 6px 4px; color: var(--faint); transition: color 250ms ease; }
.lang button + button::before { content: "/"; margin-right: 6px; color: var(--line-2); font-weight: 400; }
.lang button[aria-pressed="true"] { color: var(--cream); }
@media (hover: hover) and (pointer: fine) { .lang button[aria-pressed="false"]:hover { color: var(--cream); } }
.nav__order {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--bg);
  font-size: 13.5px;
  font-weight: 600;
  transition: transform 160ms var(--ease-out);
}
.nav__order:active { transform: scale(0.96); }
.nav__count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  margin-right: -10px;
  border-radius: 11px;
  background: var(--bg);
  color: var(--cream);
  font-size: 11.5px;
  font-weight: 600;
}
.nav__count.is-bump { animation: bump 500ms var(--ease-out); }
@keyframes bump { 35% { transform: scale(1.35); } }
.nav__menu { display: none; position: relative; width: 44px; height: 44px; margin-left: -12px; }
.nav__menu i {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  height: 1.5px;
  margin-top: -0.75px;
  border-radius: 1px;
  background: var(--cream);
  transition: transform 500ms var(--ease-drawer);
}
.nav__menu i:nth-of-type(1) { transform: translateY(-4px); }
.nav__menu i:nth-of-type(2) { transform: translateY(4px); }
.nav__menu[aria-expanded="true"] i:nth-of-type(1) { transform: rotate(45deg); }
.nav__menu[aria-expanded="true"] i:nth-of-type(2) { transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: calc(84px + env(safe-area-inset-top, 0px)) var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  background: var(--wine);
  clip-path: inset(0 0 100% 0 round 0 0 32px 32px);
  transition: clip-path 700ms var(--ease-io);
}
.menu.is-open { clip-path: inset(0 0 0 0 round 0); }
.menu__links { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.menu__links a,
.menu__visit,
.menu__foot {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 800ms var(--ease-out);
}
.menu.is-open .menu__links a,
.menu.is-open .menu__visit,
.menu.is-open .menu__foot { opacity: 1; transform: none; transition-delay: calc(220ms + var(--i) * 55ms); }
.menu__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
}
.menu__links a span { display: flex; flex-direction: column; gap: 2px; }
.menu__links strong {
  font-family: var(--display);
  font-size: clamp(1.9rem, 8.4vw, 2.5rem);
  font-weight: 300;
  font-stretch: 112%;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.menu__links small { font-size: 13px; color: var(--muted); }
.menu__links .ic { font-size: 20px; color: var(--faint); transition: transform 400ms var(--ease-out), color 250ms ease; }
.menu__links a:active .ic { transform: translateX(4px); color: var(--cream); }
.menu__visit {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 16px;
  padding: 8px;
  border-radius: 20px;
  background: rgba(23, 7, 11, 0.4);
  border: 1px solid var(--line);
}
.menu__visit img { width: 76px; height: 76px; border-radius: 14px; object-fit: cover; }
.menu__visit span { display: flex; flex-direction: column; gap: 4px; }
.menu__visit strong { font-size: 14.5px; font-weight: 600; }
.menu__visit small { font-size: 13px; color: var(--muted); }
.menu__foot { display: flex; flex-direction: column; gap: 16px; margin-top: auto; }
.menu__meta { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--muted); }
.lang--menu { font-size: 13.5px; }
html.menu-open .nav::before { opacity: 0; }

/* ==========================================================================
   Hero (sticky; the next section slides over it)
   ========================================================================== */
.hero {
  position: sticky;
  top: 0;
  z-index: 0;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 7, 11, 0.78) 0%, rgba(23, 7, 11, 0.45) 38%, rgba(23, 7, 11, 0) 62%),
    linear-gradient(0deg, rgba(23, 7, 11, 0.6) 0%, rgba(23, 7, 11, 0) 30%),
    linear-gradient(180deg, rgba(23, 7, 11, 0.5) 0%, rgba(23, 7, 11, 0) 22%);
}
.hero__inner {
  position: absolute;
  left: 0;
  right: 0;
  top: clamp(124px, 20vh, 196px);
  padding: 0 var(--gutter);
  max-width: 1360px;
  margin-inline: auto;
}
.hero__title {
  max-width: 11.5em;
  font-family: var(--display);
  font-weight: 300;
  font-stretch: 112%;
  font-size: clamp(2.6rem, 4.6vw, 5.8rem);
  line-height: 1.04;
  letter-spacing: -0.042em;
  padding-bottom: 0.08em;
}
.hero__lead { max-width: 36ch; margin-top: 24px; color: var(--muted); font-size: clamp(0.98rem, 1.1vw, 1.12rem); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Every section after the hero is an opaque sheet above it */
main > section:not(.hero), .footer { position: relative; z-index: 1; background: var(--bg); }
/* Footer: a slightly darker panel with a rounded top, closing the page */
.footer { background: #0e0306; border-radius: var(--r) var(--r) 0 0; }

/* ==========================================================================
   Tradice: two traditions meet
   ========================================================================== */
.tradice {
  border-radius: 32px 32px 0 0;
  padding-block: clamp(110px, 16vh, 190px) clamp(100px, 14vh, 170px);
  box-shadow: 0 -40px 80px -20px rgba(8, 1, 3, 0.55);
  text-align: center;
  overflow-x: clip;
}
.tradice__title { max-width: 18ch; margin-inline: auto; }
.tradice__body { margin: 28px auto 0; }
.pair {
  --b: clamp(76px, 8vw, 108px);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 2vw, 28px);
  max-width: 1040px;
  margin: clamp(64px, 10vh, 110px) auto 0;
  text-align: left;
}
.pair__img { aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--bg-2); }
.pair__img img { width: 100%; height: 100%; object-fit: cover; }
.pair figcaption { display: flex; flex-direction: column; gap: 4px; margin-top: 18px; color: var(--muted); font-size: 14.5px; }
.pair figcaption span { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--cream); }
.pair__item--right figcaption { text-align: right; align-items: flex-end; }
.pair__badge {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 40%;
  display: grid;
  place-items: center;
  width: var(--b);
  height: var(--b);
  margin: calc(var(--b) / -2) 0 0 calc(var(--b) / -2);
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-2);
  box-shadow: 0 0 0 6px rgba(23, 7, 11, 0.35), 0 20px 50px -14px rgba(8, 1, 3, 0.9);
  pointer-events: none;
}
.pair__badge svg { width: 46%; height: auto; fill: var(--cream); }

/* ==========================================================================
   Vitrína
   Desktop: pinned showcase (index / photo / detail). Mobile: stacked cards.
   ========================================================================== */
.vitrina { padding-block: clamp(40px, 6vh, 80px) clamp(90px, 12vh, 150px); }
.vitrina__body { margin-top: 18px; }

.show__pin { display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding-top: 76px; }
.show__grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) auto minmax(0, 1fr);
  gap: clamp(32px, 4.5vw, 80px);
  align-items: center;
}
.show__index { display: flex; flex-direction: column; gap: 4px; }
.show__index button {
  padding: 6px 0;
  text-align: left;
  font-family: var(--display);
  font-weight: 300;
  font-stretch: 112%;
  font-size: clamp(1.25rem, 1.65vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: rgba(242, 233, 223, 0.32);
  white-space: nowrap;
  transition: color 500ms ease, transform 700ms var(--ease-out);
}
.show__index button[aria-current="true"] { color: var(--cream); transform: translateX(14px); }
@media (hover: hover) and (pointer: fine) { .show__index button:not([aria-current="true"]):hover { color: var(--muted); } }
.show__stage { position: relative; height: min(70svh, 700px); aspect-ratio: 4 / 5; }
.show__img {
  position: absolute;
  inset: 0;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-2);
  opacity: 0;
  clip-path: inset(16% 16% 16% 16% round 24px);
  transition: clip-path 1100ms var(--ease-io), opacity 500ms ease;
}
.show__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); transition: transform 1600ms var(--ease-out); }
.show__img.is-active { z-index: 2; opacity: 1; clip-path: inset(0% 0% 0% 0% round 24px); }
.show__img.is-active img { transform: scale(1); }
.show__img.is-prev { z-index: 1; opacity: 1; clip-path: inset(0% 0% 0% 0% round 24px); }
.show__img.is-prev img { transform: scale(0.94); }
.show__details { position: relative; min-height: 460px; }
.show__item {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 460px;
  opacity: 0;
  transform: translateY(28px);
  visibility: hidden;
  transition: opacity 350ms ease, transform 700ms var(--ease-out), visibility 0s 350ms;
}
.show__item.is-active { opacity: 1; transform: none; visibility: visible; transition-delay: 250ms, 250ms, 0s; }
/* Scrubbed mode (desktop with motion): GSAP moves the photos and the copy, CSS only stacks them */
.show__img::after { content: ""; position: absolute; inset: 0; background: #0c0306; opacity: var(--dim, 0); pointer-events: none; }
.show.is-scrub .show__img { z-index: auto; opacity: 1; clip-path: none; transition: none; }
.show.is-scrub .show__img img { transition: none; }
.show.is-scrub .show__item { opacity: 1; transform: none; transition: visibility 0s 420ms; }
.show.is-scrub .show__item.is-active { transition-delay: 0s; }

/* Shared product copy (showcase + mobile cards) */
.p-tag { margin-bottom: 18px; }
.p-tag.is-new { color: var(--cream); }
.p-name {
  font-family: var(--display);
  font-weight: 300;
  font-stretch: 115%;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.p-text { margin-top: 18px; max-width: 34ch; color: var(--muted); }
.p-price { margin-top: 22px; font-size: 16px; }
.p-add { margin-top: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 13.5px;
  font-weight: 500;
  transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease, transform 160ms var(--ease-out);
}
.chip .ic { font-size: 15px; transition: transform 500ms var(--ease-out); }
.chip:active { transform: scale(0.95); }
.chip.is-added { background: var(--cream); border-color: var(--cream); color: var(--bg); }
@media (hover: hover) and (pointer: fine) {
  .chip:not(.is-added):hover { border-color: var(--cream); }
  .chip:hover .ic { transform: rotate(90deg); }
}

.stack { display: none; }
.card {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
  padding: 12px;
  border-radius: calc(var(--r) + 8px);
  background: var(--card-bg, var(--bg-3));
}
.card__img { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 68%; } /* the hero pieces sit in the lower part of the product shots */
.card__body { padding: 22px 10px 12px; }

/* ==========================================================================
   Krabičky: horizontal accordion
   ========================================================================== */
.boxes { padding-block: clamp(110px, 16vh, 180px); }
.boxes__head { max-width: 860px; }
.boxes__head .body { margin-top: 22px; }
.accordion {
  display: flex;
  gap: 12px;
  height: clamp(440px, 66vh, 660px);
  margin-top: clamp(48px, 7vh, 80px);
}
.panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-2);
  transition: flex-grow 900ms var(--ease-io);
}
.panel.is-open { flex-grow: 3.6; }
.panel > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  filter: saturate(0.85) brightness(0.62);
  transition: transform 1400ms var(--ease-out), filter 900ms ease;
}
.panel.is-open > img { transform: scale(1); filter: none; }
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(23, 7, 11, 0.96) 0%, rgba(23, 7, 11, 0.78) 30%, rgba(23, 7, 11, 0.38) 52%, rgba(23, 7, 11, 0) 72%);
  pointer-events: none;
}
.panel__toggle {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  text-align: left;
  border-radius: var(--r);
}
.panel__toggle:focus-visible { outline-offset: -4px; }
.panel__short {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 300;
  font-stretch: 112%;
  letter-spacing: -0.02em;
  transition: opacity 400ms ease, transform 600ms var(--ease-out);
}
.panel.is-open .panel__short { opacity: 0; transform: translateY(12px); }
.panel__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: clamp(24px, 3vw, 40px);
  opacity: 0;
  transform: translateY(20px);
  visibility: hidden;
  transition: opacity 400ms ease, transform 700ms var(--ease-out), visibility 0s 400ms;
}
.panel.is-open .panel__body { opacity: 1; transform: none; visibility: visible; transition-delay: 350ms, 350ms, 0s; }
.panel__body h3 { font-family: var(--display); font-size: clamp(1.8rem, 2.8vw, 2.8rem); font-weight: 300; font-stretch: 115%; letter-spacing: -0.035em; line-height: 1.05; }
.panel__body p { margin-top: 10px; max-width: 36ch; color: var(--muted); }
.panel__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; }
.panel__row .price { font-size: 17px; }

/* ==========================================================================
   Lístek
   ========================================================================== */
.listek { padding-block: clamp(110px, 16vh, 180px); }
.listek__body { margin-top: 18px; }
.listek__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(40px, 7vw, 120px);
  margin-top: clamp(48px, 7vh, 80px);
}
.listek__col { display: flex; flex-direction: column; gap: 56px; }
.group__title {
  padding-bottom: 14px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line-2);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 40px;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
}
.row__name { display: block; font-family: var(--display); font-size: clamp(1.1rem, 1.5vw, 1.35rem); font-weight: 400; font-stretch: 108%; letter-spacing: -0.01em; transition: transform 500ms var(--ease-out); }
.row__note { display: block; margin-top: 2px; font-size: 13.5px; color: var(--faint); }
.row .price { color: var(--muted); }
.row__add {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  font-size: 17px;
  transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease, transform 160ms var(--ease-out);
}
.row__add .ic { transition: transform 500ms var(--ease-out); }
.row__add:active { transform: scale(0.9); }
.row__add.is-added { background: var(--cream); color: var(--bg); border-color: var(--cream); }
.row__onsite { justify-self: center; font-size: 11.5px; color: var(--faint); white-space: nowrap; }
/* lístek hover effects only on desktop-sized screens */
@media (hover: hover) and (pointer: fine) and (min-width: 768px) {
  .row:hover .row__name { transform: translateX(6px); }
  .row__add:hover { border-color: var(--cream); }
  .row__add:hover .ic { transform: rotate(90deg); }
}
.listek__note { margin-top: 48px; font-size: 13.5px; color: var(--faint); }
.peek {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 240px;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 30px 60px -20px rgba(8, 1, 3, 0.8);
}
.peek img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Pekárna: the shop window opens, then bento
   ========================================================================== */
.pekarna { padding-bottom: clamp(100px, 14vh, 170px); }
.mask { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.mask__win { position: absolute; inset: 0; overflow: hidden; }
.mask__photo { width: 100%; height: 100%; object-fit: cover; }
.mask__win::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(23, 7, 11, 0.85) 0%, rgba(23, 7, 11, 0) 45%);
  pointer-events: none;
}
.mask__word { display: none; }
html.motion .mask__word {
  position: absolute;
  top: clamp(110px, 17vh, 170px);
  left: 0;
  right: 0;
  z-index: 2;
  display: block;
  text-align: center;
  font-family: var(--display);
  font-weight: 300;
  font-stretch: 115%;
  font-size: clamp(2.6rem, 6.4vw, 7rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.mask__caption {
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  bottom: clamp(32px, 7vh, 72px);
  font-family: var(--display);
  font-weight: 300;
  font-stretch: 115%;
  font-size: clamp(2rem, 4.6vw, 4.6rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(260px, auto));
  grid-auto-flow: dense;
  gap: 12px;
  margin-top: 12px;
}
.bento__cell { position: relative; border-radius: var(--r); overflow: hidden; background: var(--bg-2); }
.bento__cell img { width: 100%; height: 100%; object-fit: cover; }
.bento__cell--a { grid-column: 1 / 3; grid-row: 1 / 3; }
.bento__cell--b, .bento__cell--c { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border: 1px solid var(--line); }
.bento__cell--b { grid-column: 3; grid-row: 1; background: var(--wine); }
.bento__cell--c { grid-column: 4; grid-row: 1; }
.bento__cell--d { grid-column: 3 / 5; grid-row: 2; }
.bento__big { margin-top: auto; padding-top: 24px; font-family: var(--display); font-size: clamp(1.5rem, 2.2vw, 2.2rem); font-weight: 300; font-stretch: 112%; letter-spacing: -0.03em; line-height: 1.1; }
.bento__small { margin-top: 8px; font-size: 14px; color: var(--muted); }
.bento__cell .link { margin-top: 14px; }
.bento__sep { padding-top: 14px; margin-top: 16px; border-top: 1px solid var(--line); color: var(--faint); }
.bento__status { margin-top: 12px; font-size: 14px; font-weight: 500; }
/* Map cell: Google Maps embed darkened to sit in the wine palette, address card on top */
.bento__cell--map { padding: 0; display: block; }
.map { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(0.9) hue-rotate(180deg) saturate(0.5) contrast(0.92); }
.bento__cell--map::after { content: ""; position: absolute; inset: 0; background: var(--bordo); mix-blend-mode: color; opacity: 0.35; pointer-events: none; }
.map__card { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: var(--r-sm); background: rgba(23, 7, 11, 0.86); border: 1px solid var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.map__street { font-family: var(--display); font-size: 1.15rem; font-weight: 300; font-stretch: 112%; letter-spacing: -0.03em; line-height: 1.1; }
.map__card .bento__small { margin-top: 2px; font-size: 13px; }
.map__go { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--cream); color: var(--bg); font-size: 16px; transition: transform 160ms var(--ease-out); }
.map__go:active { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) { .map__go .ic { transition: transform 400ms var(--ease-out); } .map__go:hover .ic { transform: translate(2px, -2px); } }

/* ==========================================================================
   Trust bar (top of the first sheet): four facts, hairline columns
   ========================================================================== */
.trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto clamp(80px, 12vh, 130px);
  text-align: center; /* centred columns, so the bar sits on the same axis as the centred heading below */
}
.trust li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 6px clamp(18px, 2.4vw, 36px); }
.trust li + li { border-left: 1px solid var(--line); }
.trust strong {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  font-family: var(--display);
  font-size: clamp(1.9rem, 3vw, 2.9rem);
  font-weight: 300;
  font-stretch: 112%;
  letter-spacing: -0.035em;
  line-height: 1;
  font-variant-numeric: lining-nums;
}
.trust .stars { font-family: var(--text); font-size: 12px; letter-spacing: 0.14em; }
.trust li > span { max-width: 22ch; font-size: 13.5px; line-height: 1.5; color: var(--muted); text-wrap: balance; }

/* ==========================================================================
   Reviews: rating + an endless, slowly drifting ribbon of short reviews
   ========================================================================== */
.reviews { padding-block: clamp(8px, 2vh, 24px) 0; }
.proof {
  display: grid;
  grid-template-columns: minmax(200px, 0.32fr) minmax(0, 1fr);
  align-items: stretch;
  border-block: 1px solid var(--line);
}
.proof__rating {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: clamp(28px, 4vh, 44px) clamp(18px, 2.4vw, 36px) clamp(28px, 4vh, 44px) 0;
  border-right: 1px solid var(--line);
}
.proof__rating strong { font-family: var(--display); font-size: clamp(3rem, 4.6vw, 4.4rem); font-weight: 300; font-stretch: 112%; letter-spacing: -0.04em; line-height: 0.95; }
.stars { color: var(--cream); letter-spacing: 0.14em; font-size: 13px; }
.proof__note { font-size: 13.5px; color: var(--muted); }
.proof__marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.proof__track {
  display: flex;
  width: max-content;
  height: 100%;
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
}
@media (hover: hover) and (pointer: fine) and (min-width: 768px) {
  .proof__marquee { cursor: grab; }
  .proof__marquee.is-dragging { cursor: grabbing; }
}
.proof__quote {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: clamp(260px, 24vw, 330px);
  padding: clamp(28px, 4vh, 44px) clamp(22px, 2.2vw, 34px);
  border-right: 1px solid var(--line);
}
.proof__quote .stars { font-size: 11.5px; }
.proof__quote blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.08rem, 1.3vw, 1.25rem);
  font-weight: 300;
  font-stretch: 108%;
  line-height: 1.38;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.proof__quote figcaption { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--muted); }

/* ==========================================================================
   CTA + footer
   ========================================================================== */
/* ==========================================================================
   Kontakt: a plain question form (in place of online ordering for now)
   ========================================================================== */
.ask { padding-block: clamp(110px, 16vh, 200px) clamp(90px, 12vh, 140px); }
.ask__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.ask__intro .body { margin-top: 24px; }
.ask__direct { margin-top: 16px; font-size: 15px; color: var(--muted); }
.ask__box { padding: clamp(24px, 3vw, 40px); border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); }
.ask__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 10px; }
.ask__fine { max-width: 30ch; font-size: 12.5px; line-height: 1.5; color: var(--faint); }
.ask__done { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-height: 320px; justify-content: center; }
.ask__done:focus { outline: none; }
.ask__mark { width: 56px; height: auto; fill: var(--cream); opacity: 0.9; }
.ask__done h3 { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 300; font-stretch: 115%; letter-spacing: -0.03em; line-height: 1.05; }
@media (max-width: 899px) { .ask__grid { grid-template-columns: 1fr; } }

.cta { padding-block: clamp(120px, 18vh, 220px) clamp(90px, 12vh, 140px); }
.cta__title {
  max-width: 16ch;
  font-family: var(--display);
  font-weight: 300;
  font-stretch: 118%;
  font-size: clamp(2.8rem, 7.4vw, 8.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  padding-bottom: 0.08em;
}
.cta__row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-top: clamp(40px, 6vh, 72px); }

.footer { padding: 72px 0 calc(32px + env(safe-area-inset-bottom, 0px)); }
html.has-bag .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 32px;
  font-size: 14.5px;
  color: var(--muted);
}
.footer__grid .label { margin-bottom: 10px; color: var(--cream); }
.footer__mark { width: 52px; height: auto; fill: var(--cream); opacity: 0.32; }
.link--ig { gap: 8px; }
.link--ig .ic { font-size: 17px; }
.footer__base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--faint);
}
.footer__base .link { font-size: 13px; }

/* ==========================================================================
   Order drawer
   ========================================================================== */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(10, 2, 5, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 500ms ease;
}
.drawer__panel {
  position: absolute;
  top: 8px;
  right: 8px;
  bottom: 8px;
  display: flex;
  flex-direction: column;
  width: min(520px, calc(100% - 16px));
  border-radius: var(--r);
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: -40px 0 80px -30px rgba(8, 1, 3, 0.8);
  overflow: hidden;
  transform: translateX(calc(100% + 16px));
  transition: transform 650ms var(--ease-drawer);
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 20px 28px;
  border-bottom: 1px solid var(--line);
}
.drawer__head h2 { font-family: var(--display); font-size: 1.6rem; font-weight: 300; font-stretch: 115%; letter-spacing: -0.03em; }
.drawer__form { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.drawer__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 8px 28px 28px; }
.dsec { padding-top: 24px; }
.dsec + .dsec { margin-top: 24px; border-top: 1px solid var(--line); }
.dsec__title { margin-bottom: 16px; font-size: 14px; font-weight: 600; color: var(--cream); }

.cart, .quick { display: flex; flex-direction: column; gap: 10px; }
.cart__item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  animation: rowIn 500ms var(--ease-out);
}
@keyframes rowIn { from { opacity: 0; transform: translateY(8px); } }
.cart__thumb { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; background: var(--bg-3); }
.cart__name { display: block; font-size: 14.5px; font-weight: 500; line-height: 1.3; }
.cart__price { display: block; margin-top: 4px; font-size: 13px; color: var(--faint); font-variant-numeric: tabular-nums; }
.stepper {
  display: inline-flex;
  align-items: center;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
}
.stepper button { display: grid; place-items: center; width: 38px; height: 100%; font-size: 15px; color: var(--muted); border-radius: 999px; transition: color 200ms ease, transform 140ms var(--ease-out); }
.stepper button:active { transform: scale(0.88); }
@media (hover: hover) and (pointer: fine) { .stepper button:hover { color: var(--cream); } }
.stepper output { min-width: 22px; text-align: center; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.cart-empty { display: flex; flex-direction: column; gap: 14px; color: var(--muted); font-size: 14.5px; }
.quick .row__add { width: 40px; }
.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 200ms ease;
}
.more .ic { font-size: 14px; transition: transform 400ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .more:hover { color: var(--cream); } .more:hover .ic { transform: translateX(3px); } }

.pickup { margin: -6px 0 18px; font-size: 14.5px; color: var(--muted); }

.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  font: 400 16px/1.4 var(--text);
  color: var(--cream);
  background: rgba(242, 233, 223, 0.04);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  appearance: none;
  transition: border-color 200ms ease, background-color 200ms ease;
}
.field select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23f2e9df' stroke-opacity='.7' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
}
.field select option { background: var(--bg-2); }
.field input::placeholder, .field textarea::placeholder { color: rgba(242, 233, 223, 0.2); } /* ghost examples, barely there */
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cream); background: rgba(242, 233, 223, 0.06); }
/* Pickup date: a field-styled button and a calendar that unfolds under it */
.datefield {
  width: 100%;
  min-height: 50px;
  padding: 13px 44px 13px 16px;
  font: 400 16px/1.4 var(--text);
  text-align: left;
  color: var(--cream);
  background: rgba(242, 233, 223, 0.04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23f2e9df' fill-opacity='.7' d='M208,34H182V24a6,6,0,0,0-12,0V34H86V24a6,6,0,0,0-12,0V34H48A14,14,0,0,0,34,48V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V48A14,14,0,0,0,208,34ZM48,46H74V56a6,6,0,0,0,12,0V46h84V56a6,6,0,0,0,12,0V46h26a2,2,0,0,1,2,2V82H46V48A2,2,0,0,1,48,46ZM208,210H48a2,2,0,0,1-2-2V94H210V208A2,2,0,0,1,208,210Z'/%3E%3C/svg%3E") no-repeat right 16px center / 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  transition: border-color 200ms ease, background-color 200ms ease;
}
.datefield[aria-expanded="true"] { border-color: var(--cream); background-color: rgba(242, 233, 223, 0.06); }
.datefield:focus-visible { outline: none; border-color: var(--cream); }
.frow--pickup { row-gap: 0; }
.frow--pickup .cal { grid-column: 1 / -1; grid-row: 2; }
.cal { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 600ms var(--ease-drawer); }
.cal.is-open { grid-template-rows: 1fr; }
.cal__clip { min-height: 0; overflow: hidden; }
.cal__card {
  margin-bottom: 14px;
  padding: 18px 16px 16px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(242, 233, 223, 0.03);
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  transform-origin: 50% 0;
  transition: opacity 300ms ease, transform 600ms var(--ease-out);
}
.cal.is-open .cal__card { opacity: 1; transform: none; transition-delay: 60ms; }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 2px 14px 6px; }
.cal__month { font-family: var(--display); font-size: 1.2rem; font-weight: 300; font-stretch: 115%; letter-spacing: -0.02em; }
.cal__nav { display: flex; gap: 6px; }
.cal__nav .icon-btn { width: 38px; height: 38px; font-size: 16px; }
.cal__nav .icon-btn:disabled { opacity: 0.28; pointer-events: none; }
.cal__nav [data-cal="-1"] .ic { transform: scaleX(-1); }
.cal__week, .cal__days { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal__week span { padding-bottom: 6px; font-size: 12.5px; font-weight: 500; text-align: center; color: var(--faint); }
.cal__days { row-gap: 2px; }
.cal__day {
  position: relative;
  justify-self: center;
  width: min(100%, 42px);
  height: 42px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  transition: background-color 300ms ease, color 300ms ease, transform 160ms var(--ease-out);
}
.cal__day:disabled { color: rgba(242, 233, 223, 0.22); cursor: default; }
.cal__day:not(:disabled):active { transform: scale(0.9); }
.cal__day[aria-pressed="true"] { background: var(--cream); color: var(--bg); animation: calPick 500ms var(--ease-out); }
.cal__day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; opacity: 0.6; }
@keyframes calPick { from { transform: scale(0.6); } }
@media (hover: hover) and (pointer: fine) { .cal__day:not(:disabled):not([aria-pressed="true"]):hover { background: rgba(242, 233, 223, 0.08); } }
.cal__note { margin: 12px 6px 0; font-size: 12.5px; line-height: 1.5; color: var(--faint); }
.field textarea { resize: vertical; min-height: 84px; }
.field.is-invalid input, .field.is-invalid .datefield { border-color: #e59a8c; }

/* Contact form: editorial underline fields instead of boxes. A hairline sits under each
   field and a cream line draws in from the left on focus (red when the field is invalid). */
.ask__box { padding: clamp(28px, 3.4vw, 48px); background: linear-gradient(180deg, rgba(242, 233, 223, 0.05), rgba(242, 233, 223, 0.015)), var(--bg-2); border-color: rgba(242, 233, 223, 0.16); }
.ask__form .frow { column-gap: clamp(20px, 2.4vw, 32px); }
.ask__form .field { gap: 4px; margin-bottom: 26px; }
.ask__form .field label { font-size: 13.5px; color: rgba(242, 233, 223, 0.86); transition: color 300ms ease; }
.ask__form .field:focus-within label { color: var(--cream); }
.ask__form .field input,
.ask__form .field textarea {
  --line-on: var(--cream);
  min-height: 46px;
  padding: 8px 0 12px;
  font-size: 17px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(var(--line-on), var(--line-on)) no-repeat left bottom / 0% 1px,
              linear-gradient(rgba(242, 233, 223, 0.34), rgba(242, 233, 223, 0.34)) no-repeat left bottom / 100% 1px;
  transition: background-size 700ms var(--ease-out);
}
.ask__form .field textarea { min-height: 104px; resize: none; }
.ask__form .field input:focus,
.ask__form .field textarea:focus { background-color: transparent; background-size: 100% 1px, 100% 1px; }
.ask__form .field.is-invalid input,
.ask__form .field.is-invalid textarea { --line-on: #e59a8c; background-size: 100% 1px, 100% 1px; }
/* keep browser autofill from painting a light box on the dark card */
.ask__form .field input:-webkit-autofill { -webkit-text-fill-color: var(--cream); caret-color: var(--cream); transition: background-color 600000s, background-size 700ms var(--ease-out); }
.ask__foot { margin-top: 14px; }
.field__error { font-size: 13px; color: #f0a99b; }
.field__error:empty { display: none; }

.drawer__foot { padding: 18px 28px calc(20px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--bg-2); }
.drawer__total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.drawer__total span { font-size: 14px; font-weight: 500; color: var(--muted); }
.drawer__total strong { font-family: var(--display); font-size: 1.9rem; font-weight: 300; font-stretch: 112%; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.drawer__fine { margin-top: 12px; font-size: 12.5px; color: var(--faint); }

.done {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 14px;
  padding: 40px 32px;
  text-align: center;
  outline: none;
}
.done__mark { width: 84px; height: auto; margin-bottom: 18px; fill: var(--cream); overflow: visible; }
.done__title { font-family: var(--display); font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 300; font-stretch: 115%; letter-spacing: -0.035em; line-height: 1.05; }
.done .body { margin: 0 auto 18px; }

/* Mini bag: persistent once the order has something in it */
.bag {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  max-width: calc(100% - 2 * var(--gutter));
  height: 56px;
  padding: 0 6px 0 24px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--bg);
  box-shadow: 0 24px 60px -18px rgba(8, 1, 3, 0.75);
  transform: translate(-50%, calc(100% + 40px));
  transition: transform 650ms var(--ease-drawer);
}
html.has-bag .bag { transform: translate(-50%, 0); }
html.drawer-open .bag { transform: translate(-50%, calc(100% + 40px)); }
.bag__text { min-width: 0; overflow: hidden; font-size: 14px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.bag__text span { display: inline-block; }
.bag__text span.is-swap { animation: swap 450ms var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(60%); } }
.bag__btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--cream);
  font-size: 13.5px;
  font-weight: 600;
  transition: transform 160ms var(--ease-out);
}
.bag__btn .ic { font-size: 16px; transition: transform 400ms var(--ease-out); }
.bag__btn:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .bag__btn:hover .ic { transform: translateX(3px); } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1023px) {
  .proof { grid-template-columns: 1fr; }
  .proof__rating {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    justify-content: start;
    column-gap: 16px;
    row-gap: 6px;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .proof__rating strong { grid-row: 1 / 3; font-size: 3.2rem; }
  .proof__rating .stars { align-self: end; }
  .proof__rating .proof__note { align-self: start; }
  .proof__marquee { margin-inline: calc(-1 * var(--gutter)); }
  .nav__links { display: none; }
  .nav__menu { display: block; }
  .trust { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .trust li:nth-child(3) { border-left: 0; }
  .show__grid { grid-template-columns: minmax(150px, 0.6fr) auto minmax(0, 1fr); gap: 28px; }
  .show__stage { height: min(56svh, 560px); }
}

@media (max-width: 899px) {
  .show { display: none; }
  .stack { display: block; width: 100%; margin-top: 40px; padding-inline: var(--gutter); }
}

@media (max-width: 767px) {
  :root { --nav-top: 10px; }
  body { font-size: 15.5px; }
  .nav__bar { height: 64px; }
  .nav.is-scrolled .nav__bar { height: 60px; }
  .nav__logo svg { height: 28px; }
  .nav__end { gap: 0; }
  .nav__order { height: 40px; padding: 0 16px; }
  .nav .lang { display: none; }
  .hero__media img { object-position: 50% 100%; }
  .hero__media::after {
    background:
      linear-gradient(180deg, rgba(23, 7, 11, 0.85) 0%, rgba(23, 7, 11, 0.55) 38%, rgba(23, 7, 11, 0) 62%),
      linear-gradient(0deg, rgba(23, 7, 11, 0.7) 0%, rgba(23, 7, 11, 0) 22%);
  }
  .hero__inner { top: 100px; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: space-between; }
  .hero__cta .btn--ghost { justify-content: center; }

  .tradice { border-radius: 24px 24px 0 0; }
  .pair { gap: 10px; }
  .pair figcaption { font-size: 13px; }

  .accordion { flex-direction: column; height: auto; }
  .panel { flex: none; height: 440px; }
  .panel > img { transform: none; filter: none; }
  .panel__short { display: none; }
  .panel__toggle { pointer-events: none; }
  .panel__body { opacity: 1; transform: none; visibility: visible; }
  .panel__row .btn { padding-left: 16px; }

  .listek__grid { grid-template-columns: 1fr; }
  .listek__col + .listek__col { margin-top: 56px; }

  html.motion .mask__word { top: 120px; font-size: clamp(2.4rem, 12vw, 3.4rem); }

  .bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .bento__cell--a, .bento__cell--b, .bento__cell--c, .bento__cell--d { grid-column: 1; grid-row: auto; }
  .bento__cell--a, .bento__cell--d { aspect-ratio: 4 / 3; }
  .bento__cell--map { aspect-ratio: 4 / 3.4; }

  .cta__row .btn { width: 100%; justify-content: space-between; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__mark { grid-column: 1 / -1; }
  .footer__base { flex-direction: column; }

  .bag { width: calc(100% - 2 * var(--gutter)); justify-content: space-between; padding-left: 20px; }

  .proof__quote { width: 78vw; }

  .drawer__panel { top: auto; left: 0; right: 0; bottom: 0; width: 100%; height: 92svh; border-radius: var(--r) var(--r) 0 0; transform: translateY(100%); }
  .drawer__body { padding-inline: 20px; }
  .drawer__head { padding-left: 20px; }
  .drawer__foot { padding-inline: 20px; }
  .frow { grid-template-columns: 1fr; gap: 0; }
  .frow--pickup .cal { grid-row: auto; }
}

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

/* Credit: Sparked by coinkod */
.spark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--faint);
  transition: color 250ms ease;
}
.spark span { font-size: 12.5px; }
.spark svg { display: block; height: 15px; width: auto; fill: currentColor; transition: transform 500ms cubic-bezier(0.23, 1, 0.32, 1); }
@media (hover: hover) and (pointer: fine) {
  .spark:hover { color: var(--cream); }
  .spark:hover svg { transform: translateX(2px); }
}

.footer__base { align-items: center; }
@media (max-width: 767px) { .footer__base { align-items: flex-start; } }

/* Hero headline: "Zážitek, který" / "musíš" + the rotating italic verb at the end of line two
   ("ochutnat." / "vidět." / "pocítit." / "zažít."), two lines of similar length.
   All products share one grid cell, so the line keeps the size of the longest one. */
.hero__l1, .hero__l2 { display: block; }
.hero__title .rot { display: inline-grid; }
.rot__item { grid-area: 1 / 1; }
.rot__item:not(.is-active) { visibility: hidden; }

/* Footer base: legal on the left, credit on the right */
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }

/* Stars around the coinkod logo */
.spark { position: relative; }
.spark__p {
  position: absolute;
  background: var(--cream);
  clip-path: polygon(50% 0, 59% 41%, 100% 50%, 59% 59%, 50% 100%, 41% 59%, 0 50%, 41% 41%);
  pointer-events: none;
}
/* give the masked words room for italic overhang and descenders */
.hero__l1 > *, .hero__must > *, .rot__item > * { padding: 0 0.08em 0.14em; margin: 0 -0.08em -0.14em; }

/* Phone and tablet nav: logo left and larger, order button + menu on the right */
@media (max-width: 1023px) {
  .nav__bar { grid-template-columns: 1fr auto auto; }
  .nav__logo { grid-column: 1; justify-self: start; }
  .nav__logo svg { height: 36px; }
  .nav__end { grid-column: 2; }
  .nav__menu { grid-column: 3; justify-self: end; margin: 0 -10px 0 6px; }
}
@media (max-width: 767px) {
  .nav__logo svg { height: 34px; }
  .nav.is-scrolled .nav__logo svg { transform: scale(0.9); transform-origin: 0 50%; }
}



/* Krabičky on phones: deeper, taller shade from the bottom so the copy reads cleanly */
@media (max-width: 767px) {
  .panel::after {
    background: linear-gradient(0deg, rgba(23, 7, 11, 0.98) 0%, rgba(23, 7, 11, 0.92) 30%, rgba(23, 7, 11, 0.66) 50%, rgba(23, 7, 11, 0.2) 70%, rgba(23, 7, 11, 0) 84%);
  }
  .panel__body h3, .panel__body p { text-shadow: 0 1px 14px rgba(23, 7, 11, 0.55); }
  .panel__body p { color: rgba(242, 233, 223, 0.82); }
}

/* ==========================================================================
   Phone polish: hero, trust bar, photo pair
   ========================================================================== */
@media (max-width: 767px) {
  /* Hero: a compact text block on the dark wall, the photo taller and anchored at the top
     so the tray sits below the buttons instead of under them */
  .hero__inner { top: 92px; }
  .hero__media img { height: 118%; object-position: 50% 0; }
  .hero__lead { margin-top: 16px; font-size: 15px; text-wrap: pretty; }
  .hero__cta { flex-wrap: nowrap; gap: 8px; margin-top: 26px; }
  .hero__cta .btn { height: 50px; padding-left: 18px; font-size: 14px; }
  .hero__cta .btn--ghost { padding: 0 16px; }
  .hero__cta .btn__icon { width: 38px; height: 38px; }

  /* Trust bar: the stars float above "4,9" so the number stays centred like the others */
  .trust strong { position: relative; }
  .trust .stars { position: absolute; left: 50%; bottom: 100%; margin-bottom: 8px; transform: translateX(-50%); font-size: 10px; letter-spacing: 0.18em; white-space: nowrap; }

  /* Photo pair: bleeds closer to the screen edges and a little taller */
  .pair { margin-inline: calc(8px - var(--gutter)); gap: 8px; }
  .pair__img { aspect-ratio: 4 / 5.5; }
}
@media (max-width: 359px) { .hero__cta { flex-wrap: wrap; } }
