/* PEPPÉ — public site, light design. No external fonts or libraries: everything loads from this server. */
/* Self-hosted Manrope (SIL OFL, see static/fonts/LICENSE.txt). Cyrillic + latin subsets only. */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/manrope-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/manrope-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f3eee4;
  --bg-2: #ebe4d6;
  --card: #faf7f1;
  --ink: #1c1b17;
  --muted: #5f5a50;      /* 6.1:1 on --bg */
  --green: #4a6741;      /* white text 6.2:1 */
  --green-d: #3b5434;
  --green-ink: #42603a;  /* text on --bg 6.0:1 */
  --brick: #a8432c;      /* small accents */
  --line: rgba(28, 27, 23, .12);
  --r: 18px;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.cover { width: 100%; height: 100%; object-fit: cover; }
.ic { width: 1.1em; height: 1.1em; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 0 0 16px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
  border-radius: 8px; border: 1.5px solid var(--green); background: var(--green); color: #fff;
  font: 700 .98rem/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(40, 60, 30, .5); }
.btn .ic { transition: transform .2s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(2px); }
.btn-green:hover { background: var(--green-d); border-color: var(--green-d); }
.btn-outline { background: transparent; color: var(--ink); border-color: rgba(28, 27, 23, .55); }
.btn-outline:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn-wolt { background: #0072b5; border-color: #0072b5; }
.btn-wolt:hover { background: #005f97; border-color: #005f97; }
.btn-glovo { background: #ffc244; border-color: #ffc244; color: #1c1b17; }
.btn-glovo:hover { background: #f0b02a; border-color: #f0b02a; }

/* ---------------------------------------------------------------- header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(243, 238, 228, .9); backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.brand { display: grid; text-decoration: none; margin-right: auto; line-height: 1; }
.logo { font: 800 1.55rem/1 var(--sans); letter-spacing: .02em; color: var(--ink); }
.tag { font-size: .6rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brick); margin-top: 4px; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: 10px 14px; border-radius: 8px; transition: background .2s; }
.nav a:hover { background: rgba(28, 27, 23, .06); }
.lang { text-decoration: none; font-weight: 700; font-size: .82rem; min-width: 44px; min-height: 44px; display: inline-grid; place-items: center;
  border-radius: 8px; transition: background .2s; }
.lang:hover { background: rgba(28, 27, 23, .06); }
@media (max-width: 820px) { .nav { display: none; } }

/* ---------------------------------------------------------------- hero */
.hero { padding: clamp(30px, 5vw, 70px) 0 clamp(50px, 7vw, 90px); }
.hero-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 70px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.045em; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--green-ink); }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 40ch; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.status { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: .9rem; font-weight: 600; color: var(--muted); }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #a39b8d; }
.status.open { color: var(--green-ink); }
.status.open::before { background: #3f9a57; box-shadow: 0 0 0 4px rgba(63, 154, 87, .18); }
.status.closed::before { background: var(--brick); }

.hero-fig { margin: 0; position: relative; perspective: 1100px; }
.hero-card { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 5 / 4.4; background: var(--bg-2);
  box-shadow: 0 40px 70px -40px rgba(70, 45, 20, .55);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); will-change: transform; }
.hero-fig.live .hero-card { transition: transform .12s linear; }
.hero-card .cover { transform: scale(1.04); }
.glare { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255, 255, 255, .7), transparent 55%); }
.hero-fig.live .glare { opacity: 1; }
.spark { position: absolute; width: 46px; right: 14%; top: -34px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.hero-fig figcaption { position: absolute; left: -14px; bottom: 22px; display: flex; gap: 12px; align-items: baseline; padding: 12px 18px;
  background: var(--card); border-radius: 12px; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .35); font-weight: 800; font-size: 1rem; }
.hero-fig figcaption b { color: var(--green-ink); }
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-fig { order: -1; }
  .hero-fig figcaption { left: 12px; bottom: 12px; }
  .spark { display: none; }
}

/* ---------------------------------------------------------------- sections */
.sec { padding: clamp(60px, 8vw, 100px) 0; }
.sec-head { margin-bottom: 36px; }
.sec-head h2 { margin-bottom: 6px; }
.squiggle { width: 46px; height: 10px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.sec-head.center { display: grid; justify-items: center; text-align: center; }

/* popular picks */
.picks { padding-top: 20px; }
.pc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 34px; }
.pc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s; }
.pc:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(70, 45, 20, .5); }
.pc-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.pc-media img { transition: transform .6s var(--ease); }
.pc:hover .pc-media img { transform: scale(1.05); }
.pc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pc-body h3 { margin: 0; }
.pc-body p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.pc-body .price { margin-top: auto; padding-top: 12px; }
.price { font-weight: 800; font-size: 1.12rem; color: var(--green-ink); }
@media (max-width: 760px) {
  .pc-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: -20px; padding: 4px 20px 14px; scrollbar-width: none; }
  .pc-grid::-webkit-scrollbar { display: none; }
  .pc { flex: 0 0 78%; scroll-snap-align: center; }
}

/* full menu */
.menu { background: var(--card); border-block: 1px solid var(--line); }
.m-tabs { position: sticky; top: 76px; z-index: 20; display: flex; justify-content: center; margin-bottom: 10px; pointer-events: none; }
.m-tabs > div { pointer-events: auto; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 5px; max-width: 100%;
  background: rgba(250, 247, 241, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 12px; }
.m-tabs > div::-webkit-scrollbar { display: none; }
.m-tabs a { flex: none; text-decoration: none; padding: 0 16px; min-height: 42px; display: inline-flex; align-items: center; border-radius: 8px;
  font-weight: 700; font-size: .92rem; transition: background .2s, color .2s; }
.m-tabs a:hover { background: rgba(28, 27, 23, .06); }
.m-tabs a.on { background: var(--green); color: #fff; }
.cat { margin-top: 44px; scroll-margin-top: 150px; }
.cat-h { font-size: 1.5rem; display: flex; align-items: center; gap: 14px; }
.cat-h small { font-size: .8rem; font-weight: 700; color: var(--muted); }
.cat-h::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 8px 36px; }
.it { display: flex; gap: 16px; padding: 12px; border-radius: 14px; transition: background .2s; align-items: flex-start; }
.it:hover { background: var(--bg); }
.it-img { flex: none; width: 96px; height: 96px; border-radius: 12px; overflow: hidden; background: var(--bg); display: grid; place-items: center; }
.it-img.cut img { object-fit: contain; padding: 8px; }
.mono { font-weight: 800; font-size: 2rem; color: var(--green-ink); }
.it-body { flex: 1; min-width: 0; }
.it-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.it h4 { font-size: 1.08rem; margin: 0; letter-spacing: -.01em; }
.it p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.it.out { opacity: .5; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.tiles .it { flex-direction: column; align-items: stretch; gap: 10px; background: var(--bg); padding: 12px; }
.tiles .it:hover { background: var(--bg-2); }
.tiles .it-img { width: 100%; height: auto; aspect-ratio: 1; background: var(--card); }
.tiles .it-top { flex-direction: column; align-items: flex-start; gap: 4px; }
.tiles .it h4 { font-size: .98rem; line-height: 1.25; }
@media (max-width: 560px) { .tiles { grid-template-columns: repeat(2, 1fr); } .it-img { width: 80px; height: 80px; } .it { padding: 10px 4px; } }
details { font-size: .84rem; color: var(--muted); }
summary { cursor: pointer; font-weight: 700; color: var(--green-ink); min-height: 36px; display: flex; align-items: center; gap: 8px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::before { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .2s; }
details[open] summary::before { transform: rotate(45deg); }
details p { margin: 0 0 6px; }
.note, .empty { color: var(--muted); font-size: .86rem; margin: 36px 0 0; text-align: center; }

/* promotions */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.promo { background: var(--green); color: #fff; border-radius: var(--r); padding: 28px; }
.promo .price { color: #fff; display: block; margin: 10px 0; font-size: 1.5rem; }
.promo small, .promo .terms { opacity: .85; font-size: .85rem; }

/* about */
.about-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.about-media { position: relative; aspect-ratio: 5 / 3.6; }
.am { position: absolute; border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 60px -36px rgba(70, 45, 20, .6); }
.am1 { inset: 0 18% 0 0; }
.am2 { width: 42%; aspect-ratio: 1; right: 0; bottom: -8%; border: 6px solid var(--bg); }
.about-media:has(.am:only-child) .am1 { inset: 0; }
.about-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.about-copy p { color: var(--muted); margin: 0 0 1em; max-width: 46ch; }
.about-copy .btn { margin-top: 8px; }
@media (max-width: 860px) { .about-in { grid-template-columns: 1fr; } .about-media { margin-bottom: 20px; } }

/* order */
.order { padding-top: 0; }
.order-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; background: var(--green); color: #fff;
  border-radius: 22px; padding: clamp(28px, 5vw, 52px); }
.order-box .eyebrow { color: #e5ecd9; }
.order-box h2 { margin-bottom: 8px; }
.order-box p { margin: 0; color: #e5ecd9; }
.order-links { display: flex; gap: 12px; flex-wrap: wrap; }
.order-links .btn { min-width: 150px; min-height: 54px; font-size: 1.05rem; }

/* visit */
.visit { padding-top: 10px; }
.visit-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 5vw, 60px); align-items: stretch; }
.visit h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 4px; }
.hours { list-style: none; margin: 22px 0; padding: 0; max-width: 380px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-line { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; margin: 0 0 20px; }
.contact-line a { text-decoration: none; }
.contact-line a:hover { color: var(--green-ink); }
.map { min-height: 360px; border-radius: 22px; overflow: hidden; position: relative; display: grid; place-items: center; background: var(--bg-2);
  background-image: repeating-linear-gradient(45deg, rgba(28, 27, 23, .04) 0 12px, transparent 12px 24px); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .visit-in { grid-template-columns: 1fr; } .map { min-height: 300px; } }

/* footer */
.foot { background: var(--bg-2); margin-top: 40px; font-size: .92rem; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 32px; padding: 54px 0 40px; }
.f-brand { display: grid; align-content: start; }
.f-brand p { color: var(--muted); font-style: italic; margin: 14px 0; max-width: 30ch; }
.foot h4 { font-size: .9rem; margin: 6px 0 14px; letter-spacing: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.foot li .ic { margin-top: 4px; color: var(--ink); }
.foot a { text-decoration: none; color: var(--ink); }
.foot a:hover { color: var(--green-ink); }
.foot ul a { display: inline-block; padding: 3px 0; }
.f-hours li { display: grid; gap: 0; }
.f-hours li span:first-child { color: var(--ink); font-weight: 600; }
.social { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); }
.social .ic { width: 20px; height: 20px; }
.copy { margin: 0; background: var(--green); color: #fff; text-align: center; padding: 16px 20px; font-size: .82rem; }
@media (max-width: 860px) { .foot-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-in { grid-template-columns: 1fr; } }

/* phone action bar */
.actionbar { display: none; }
@media (max-width: 640px) {
  .actionbar { position: fixed; z-index: 45; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom));
    display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 6px; padding: 7px; border-radius: 16px;
    background: rgba(250, 247, 241, .95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .4), 0 0 0 1px var(--line); transform: translateY(150%); transition: transform .35s var(--ease); }
  .actionbar.show { transform: none; }
  .actionbar .btn { min-height: 46px; padding: 0 8px; gap: 6px; font-size: .86rem; }
  .copy { padding-bottom: 96px; }
}

/* reveal on scroll (JS only, so crawlers and no-JS users see everything) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* reduced motion: no autoplaying or scroll-driven movement; pointer tilt (user-driven) stays */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* one category at a time (JS) */
.cat[hidden] { display: none; }
.cat-mode .cat { margin-top: 28px; animation: catIn .35s var(--ease); }
.cat-mode .m-tabs { margin-bottom: 0; }
.it { scroll-margin-top: 170px; }
@keyframes catIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cat-mode .cat { animation: none; } }

/* separate menu page */
.page-title { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 6px; }
main > .menu:first-child { border-top: 0; padding-top: clamp(36px, 5vw, 60px); }
.nav a[aria-current="page"] { background: rgba(28, 27, 23, .07); }

/* product popup */
.it.can-open { cursor: zoom-in; }
.pop { border: 0; padding: 0; width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); border-radius: 20px; background: var(--card); color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); overflow: auto; }
.pop::backdrop { background: rgba(28, 27, 23, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.pop[open] { animation: popIn .25s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.pop-img { aspect-ratio: 1; background: var(--bg-2); }
.pop-img img { width: 100%; height: 100%; object-fit: cover; }
.pop-img.cut { background: radial-gradient(circle at 50% 55%, #fff, var(--bg-2)); }
.pop-img.cut img { object-fit: contain; padding: 8%; }
.pop-img:empty { display: none; }
.pop-body { padding: 20px 22px 24px; }
.pop-body h3 { font-size: 1.5rem; margin: 0 0 6px; }
.pop-body .price { margin: 0 0 10px; font-size: 1.25rem; }
.pop-body p { margin: 0 0 10px; color: var(--muted); }
.pop-alg { font-size: .88rem; }
.pop-alg strong { color: var(--ink); }
.pop-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(250, 247, 241, .92); color: var(--ink); font: 400 28px/1 var(--sans); box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .4); }
.pop-x:hover { background: #fff; }
@media (prefers-reduced-motion: reduce) { .pop[open] { animation: none; } }
