/* Guest web menu (web/dist/index.html, generated by scripts/generate-web.mjs).
   The screen palette and type of the print theme C2 (css/themes/c.css):
   sofa blue, Pointless for titles, Archivo for text, one cream colour,
   the GTCH! logo lying diagonally as a barely visible background.
   Mobile first (360-430 px), two columns of items from 900 px, max 1100 px. */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("fonts/Archivo-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("fonts/Archivo-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: italic; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("fonts/Archivo-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: italic; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("fonts/Archivo-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Pointless"; src: url("fonts/Pointless.ttf") format("truetype"); font-display: swap; }

:root {
    --c-sheet: #1D4E86;
    --c-white: #F4F1EA;
    --c-soft: #C3DAEE;       /* descriptions: a bit lighter than print, for a dim room */
    --c-mute: #A3C0DC;       /* English lines */
    --c-rule: rgba(244, 241, 234, 0.28);
    --c-decor: rgba(8, 24, 50, 0.10);
    --c-chip: rgba(244, 241, 234, 0.10);
    --f-brand: "Pointless", "Archivo", sans-serif;
    --f-text: "Archivo", system-ui, sans-serif;
    --gutter: 18px;
    --tabs-h: 58px;
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--c-sheet); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0;
    background: var(--c-sheet);
    color: var(--c-white);
    font-family: var(--f-text);
    font-size: 17px;
    line-height: 1.3;
    font-variant-numeric: lining-nums tabular-nums;
    -webkit-font-smoothing: antialiased;
}
h2, h3, p { margin: 0; }

/* ---------- logo (inline SVG, text in Pointless) ---------- */
.logo { display: block; aspect-ratio: 2120 / 548; overflow: visible; fill: currentColor; }
.logo__mark { font-family: "Pointless"; font-size: 400px; }
.logo__line { font-family: "Archivo", sans-serif; font-weight: 700; font-stretch: 125%; font-size: 78px; }
.amp { font-family: var(--f-text); font-stretch: 125%; font-weight: 900; font-size: 1.3em; line-height: 0; letter-spacing: 0; }

/* background joke: the whole logo, diagonal, fixed under the content */
.decor {
    position: fixed;
    z-index: 0;
    pointer-events: none;
    left: 62%; top: 80%;
    width: 130vw; max-width: 1100px;
    color: var(--c-decor);
    transform: translate(-50%, -50%) rotate(-30deg);
}
.decor__logo { width: 100%; height: auto; }
.top, .tabs, .menu, .foot { position: relative; z-index: 1; }

/* ---------- header ---------- */
.top {
    max-width: 1100px;
    margin: 0 auto;
    padding: calc(22px + env(safe-area-inset-top)) var(--gutter) 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 20px;
}
.top__logo { height: 62px; width: auto; }
.top__currency { font-size: 15px; color: var(--c-mute); }
.top__currency span + span::before { content: '\2002/\2002'; }

/* ---------- sticky section tabs ---------- */
.tabs {
    position: sticky;
    top: 0;
    z-index: 5;
    background: var(--c-sheet);
    border-bottom: 1px solid var(--c-rule);
    box-shadow: 0 6px 14px -10px rgba(0, 0, 0, 0.5);
}
.tabs__track {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 8px;
    padding: 10px var(--gutter);
    overflow-x: auto;
    scrollbar-width: none;
    scroll-padding: 0 var(--gutter);
    -webkit-overflow-scrolling: touch;
}
.tabs__track::-webkit-scrollbar { display: none; }
.tab {
    flex: none;
    display: inline-block;
    padding: 9px 15px;
    line-height: 20px;
    border-radius: 19px;
    border: 1px solid var(--c-rule);
    background: var(--c-chip);
    color: var(--c-white);
    font-size: 15px;
    font-weight: 600;
    font-stretch: 106%;
    white-space: nowrap;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}
.tab .amp { font-size: 1em; font-weight: 600; font-stretch: 106%; }
.tab.is-active { background: var(--c-white); border-color: var(--c-white); color: var(--c-sheet); }

/* ---------- sections ---------- */
.menu { max-width: 1100px; margin: 0 auto; padding: 8px var(--gutter) 24px; }
.sec { padding-top: 26px; scroll-margin-top: var(--tabs-h); }
.sec__title {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding-bottom: 7px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--c-rule);
}
.sec__name {
    font-family: var(--f-brand);
    font-weight: 400;
    font-size: 25px;
    line-height: 1.1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.sec__sub { font-size: 15px; font-weight: 500; color: var(--c-mute); white-space: nowrap; }
.sec__price { margin: -6px 0 14px; font-size: 17px; color: var(--c-soft); }
.sec__price-value { font-weight: 700; color: var(--c-white); }
.sec__vol::before { content: '\2002\00b7\2002'; }
.sec__note { margin-top: 18px; padding-top: 10px; border-top: 1px solid var(--c-rule); font-size: 15px; color: var(--c-mute); }

/* ---------- items ---------- */
.sec__items { display: grid; row-gap: 16px; }
.item__row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.item__name { font-size: 18px; font-weight: 650; font-stretch: 106%; line-height: 1.25; }
.item__vol { font-size: 15px; font-weight: 500; color: var(--c-mute); white-space: nowrap; }
.item__price { flex: none; font-size: 18px; font-weight: 700; font-stretch: 106%; }
.item__desc { margin-top: 3px; font-size: 15.5px; line-height: 1.3; color: var(--c-soft); }
.item__desc--sr { color: var(--c-white); opacity: 0.92; }
.item__desc--en { margin-top: 2px; font-style: italic; color: var(--c-mute); }

.item--promo { margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--c-rule); }
.item--promo .item__name { font-family: var(--f-brand); font-weight: 400; font-size: 20px; letter-spacing: 0.05em; text-transform: uppercase; }
.item--promo .item__price { font-size: 21px; }

/* tea: subsections (titles carry Č Ć Ž Š Đ, which Pointless lacks: Archivo wide black, as in print) */
.sec__groups { display: grid; row-gap: 26px; }
.group { display: grid; row-gap: 14px; align-content: start; }
.group__title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; }
.group__name { font-size: 16px; font-weight: 900; font-stretch: 125%; letter-spacing: 0.02em; text-transform: uppercase; }
.group__sub { font-size: 14.5px; font-weight: 500; font-style: italic; color: var(--c-mute); }

.foot {
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px var(--gutter) calc(28px + env(safe-area-inset-bottom));
    font-size: 14px;
    color: var(--c-mute);
}

/* ---------- desktop: the same, items in two columns ---------- */
@media (min-width: 900px) {
    :root { --gutter: 32px; }
    .top { padding-top: 34px; }
    .top__logo { height: 76px; }
    .tabs__track { gap: 6px; }
    .tab { padding: 8px 13px; font-size: 14.5px; }
    .sec { padding-top: 36px; }
    .sec__name { font-size: 28px; }
    .sec__items { grid-template-columns: 1fr 1fr; column-gap: 56px; row-gap: 18px; }
    .item--promo { grid-column: 1 / -1; }
    .sec__groups { grid-template-columns: 1fr 1fr; column-gap: 56px; row-gap: 32px; }
    .decor { width: 80vw; left: 72%; top: 82%; }
}
