/* Albatros Cafe & Restoran · albatros.cafe/siparis: the order page.
   Builds on site.css (colours, type, header, footer, buttons). The dishes stand on the same dark, grained tiles as
   the showcase of the home page; lists, basket and forms are on the cream paper. */

[hidden] { display: none !important; }

/* ---------- top: what the page is, the shop's state, delivery or pick-up ---------- */
.shop-hero { position: relative; isolation: isolate; padding: calc(var(--header-h) + clamp(24px, 3.6vw, 52px)) 0 clamp(28px, 3.4vw, 48px); background: var(--tex-grain), var(--tex-gulls) 0 0 / 600px 400px, radial-gradient(70% 120% at 88% 0%, rgba(241, 90, 34, 0.2), rgba(241, 90, 34, 0) 62%), linear-gradient(180deg, #15281e 0%, var(--ink) 100%); }
.shop-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr); gap: 28px clamp(28px, 5vw, 84px); align-items: center; }
.shop-hero h1 { margin-top: 16px; font-family: var(--display); font-weight: 500; font-size: clamp(2.5rem, 5vw, 4.3rem); line-height: 1.02; letter-spacing: -0.012em; text-wrap: balance; }
.shop-hero h1 em { font-style: italic; color: var(--orange); }
.shop-hero .lead { margin-top: 16px; }
.shop-info { min-height: 150px; }
.info-card { display: grid; gap: 16px; padding: clamp(18px, 2vw, 24px); border-radius: 18px; border: 1px solid var(--line); background: rgba(243, 239, 230, 0.05); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 40px 70px -50px rgba(0, 0, 0, 0.9); }
.info-state { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--muted); }
.info-state i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 4px rgba(179, 171, 155, 0.16); }
.info-state.open i { background: var(--green-soft); box-shadow: 0 0 0 4px rgba(95, 208, 131, 0.18); }
.info-state.closed i { background: #e2574c; box-shadow: 0 0 0 4px rgba(226, 87, 76, 0.18); }
.info-state.paused i { background: #f0b03f; box-shadow: 0 0 0 4px rgba(240, 176, 63, 0.18); }
.info-state b { color: var(--cream); font-weight: 600; }
.info-state span { margin-left: auto; font-variant-numeric: tabular-nums; white-space: nowrap; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.24); }
.seg button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 12px; border-radius: 999px; font-size: 0.92rem; font-weight: 600; color: rgba(243, 239, 230, 0.74); transition: background-color 0.25s, color 0.25s; }
.seg button svg { flex: none; width: 20px; height: 20px; }
.seg button:hover { color: #fff; }
.seg button[aria-pressed="true"] { background: var(--cream); color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts li { display: grid; align-content: start; gap: 2px; padding: 0 14px; border-left: 1px solid var(--line); min-width: 0; }
.facts li:first-child { padding-left: 0; border-left: 0; }
.facts li.wide { grid-column: span 2; }
.facts svg { width: 18px; height: 18px; margin-bottom: 6px; color: var(--orange); }
.facts b { font-family: var(--display); font-weight: 600; font-size: 1.34rem; line-height: 1.1; color: var(--cream); font-variant-numeric: lining-nums; }
.facts li.wide b { font-size: 1.14rem; }
.facts span { font-size: 0.74rem; line-height: 1.35; color: var(--muted); }
.info-note, .info-off { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; font-size: 0.84rem; line-height: 1.5; color: rgba(243, 239, 230, 0.86); background: rgba(241, 90, 34, 0.11); border: 1px solid rgba(241, 90, 34, 0.3); }
.info-note svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--orange); }
.info-off { display: block; }
.info-off b { display: block; margin-bottom: 4px; color: #fff; font-size: 0.95rem; }
.info-links { display: flex; flex-wrap: wrap; gap: 10px; }
.info-orders { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.88rem; font-weight: 600; color: var(--cream); }
.info-orders svg { width: 17px; height: 17px; transition: transform 0.35s var(--ease); }
.info-orders svg:last-child { margin-left: auto; }
.info-orders:hover { color: var(--orange); }
.info-orders:hover svg:last-child { transform: translateX(4px); }
.info-orders b { display: inline-grid; place-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 0.72rem; }

.cart-btn svg { width: 18px; height: 18px; }
.cart-count { display: inline-grid; place-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #fff; color: var(--orange-deep); font-size: 0.72rem; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- the shop: search and categories that stay in reach, the menu, the basket ---------- */
.shop { position: relative; min-height: 60vh; padding-bottom: clamp(70px, 9vw, 130px); background: var(--tex-grain), var(--tex-gulls-ink) 0 0 / 600px 400px, var(--paper); color: var(--ink); }
.catbar { position: sticky; top: 72px; z-index: 30; background: rgba(246, 241, 231, 0.95); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-ink); }
.catbar .wrap { display: flex; align-items: center; gap: 14px; min-height: 70px; }
.search { position: relative; flex: 0 0 clamp(220px, 23vw, 310px); }
.search svg { position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--muted-ink); pointer-events: none; }
.search input { width: 100%; height: 46px; padding: 0 16px 0 44px; border-radius: 999px; border: 1px solid rgba(8, 19, 14, 0.2); background: #fff; color: var(--ink); font: inherit; font-size: 0.9rem; outline: none; -webkit-appearance: none; appearance: none; transition: border-color 0.2s, box-shadow 0.2s; }
.search input::placeholder { color: #8b8474; }
.search input:focus { border-color: var(--orange-deep); box-shadow: 0 0 0 3px rgba(241, 90, 34, 0.18); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.pills { position: relative; display: flex; gap: 8px; flex: 1 1 auto; min-width: 0; padding: 12px 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.pills::-webkit-scrollbar { display: none; }
/* More categories than fit: they fade out at the edge they continue behind. */
.pills { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); }
.pills.scrolled { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 44px), transparent); }
.pills.ended { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px); mask-image: linear-gradient(90deg, transparent, #000 40px); }
.pills.ended:not(.scrolled) { -webkit-mask-image: none; mask-image: none; }
.pill { flex: none; display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 17px 0 5px; border-radius: 999px; border: 1px solid rgba(8, 19, 14, 0.16); background: rgba(255, 255, 255, 0.6); color: var(--ink); font-size: 0.86rem; font-weight: 600; white-space: nowrap; transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.3s var(--ease); }
.pill i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 38%, #2f523c 0%, #0d1b14 100%); font-style: normal; color: var(--cream); }
.pill i img { width: 34px; height: auto; transition: transform 0.5s var(--ease); }
.pill i em { font-family: var(--display); font-style: italic; font-size: 1.15rem; line-height: 1; color: var(--orange); }
.pill i svg { width: 17px; height: 17px; }
.pill:hover { border-color: var(--ink); }
.pill:hover i img { transform: scale(1.18) rotate(-6deg); }
.pill[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.pill[aria-current="true"] i { background: radial-gradient(circle at 50% 38%, #3b6a4d 0%, #1a3226 100%); }

.shop-grid { display: grid; grid-template-columns: minmax(0, 1fr) 384px; gap: clamp(24px, 3.2vw, 52px); align-items: start; padding-top: clamp(26px, 3.2vw, 46px); }
.view { min-width: 0; min-height: 46vh; }
.block + .block { margin-top: clamp(40px, 5vw, 70px); }
.block-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; margin-bottom: clamp(16px, 2vw, 24px); }
.block-head h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.75rem, 2.7vw, 2.45rem); line-height: 1.1; letter-spacing: -0.01em; font-variant-numeric: lining-nums; }
.block-head span { font-size: 0.86rem; color: var(--muted-ink); }

/* category tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); gap: clamp(10px, 1.3vw, 16px); }
.tile, .card { position: relative; isolation: isolate; overflow: hidden; border-radius: 12px; color: var(--cream); background: var(--tex-grain), radial-gradient(86% 62% at 50% 34%, #2c4d38 0%, #1a3226 52%, #0d1b14 100%); box-shadow: 0 26px 44px -32px rgba(8, 19, 14, 0.85); }
.tile::after, .card::after { content: ""; position: absolute; z-index: 2; inset: 0; border-radius: inherit; border: 1px solid rgba(243, 239, 230, 0.1); pointer-events: none; transition: border-color 0.4s; }
.tile:hover::after, .card:hover::after, .card.in-cart::after { border-color: rgba(241, 90, 34, 0.7); }
.tile { display: flex; flex-direction: column; align-items: center; padding: 10px 10px 16px; text-align: center; transition: transform 0.45s var(--ease); }
.tile:hover { transform: translateY(-4px); }
.tile img { width: 100%; aspect-ratio: 6 / 5; object-fit: contain; transition: transform 0.9s var(--ease); }
.tile:hover img { transform: scale(1.08) rotate(-2deg); }
.tile-mark { display: grid; place-items: center; width: 100%; aspect-ratio: 6 / 5; }
.tile-mark em { display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%; border: 1px solid rgba(243, 239, 230, 0.2); background: radial-gradient(closest-side, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0)); font-family: var(--display); font-style: italic; font-size: 2.4rem; line-height: 1; color: var(--orange); }
.tile b { margin-top: 4px; font-family: var(--display); font-weight: 600; font-size: 1.2rem; line-height: 1.12; text-wrap: balance; }
.tile small { margin-top: 7px; font-family: var(--caps); font-weight: 600; font-size: 0.54rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--green-soft); }

/* a category */
.cat-head { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); margin-bottom: clamp(16px, 2vw, 24px); }
.cat-head img { flex: none; width: clamp(84px, 9vw, 118px); height: auto; aspect-ratio: 1; padding: 8px; border-radius: 50%; object-fit: contain; background: radial-gradient(circle at 50% 38%, #2f523c 0%, #0d1b14 100%); box-shadow: 0 20px 34px -22px rgba(8, 19, 14, 0.9); }
.cat-head .eyebrow { color: var(--orange-deep); }
.cat-head .h2 { margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(18px, 2.4vw, 28px); }
.chip { flex: none; display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(8, 19, 14, 0.2); background: rgba(255, 255, 255, 0.5); color: var(--muted-ink); font-size: 0.84rem; font-weight: 600; white-space: nowrap; transition: border-color 0.2s, color 0.2s, background-color 0.2s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-current="true"] { background: var(--orange-deep); border-color: var(--orange-deep); color: #fff; }
.group + .group { margin-top: clamp(30px, 4vw, 50px); }
.group-title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 1.9vw, 1.7rem); line-height: 1.15; }
.group-title small { font-family: var(--caps); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.24em; color: var(--orange-deep); }
.group-title::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--line-ink); }

/* products with a photo: tiles */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(186px, 1fr)); gap: clamp(10px, 1.3vw, 18px); }
.card { display: flex; flex-direction: column; min-width: 0; }
.card-pic { position: relative; aspect-ratio: 1; }
.card-pic::before { content: ""; position: absolute; left: 50%; top: 50%; width: 80%; aspect-ratio: 1; margin: -40% 0 0 -40%; border-radius: 50%; border: 1px solid rgba(243, 239, 230, 0.08); background: radial-gradient(closest-side, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0) 74%); transition: transform 1s var(--ease), border-color 0.5s; }
.card:hover .card-pic::before { transform: scale(1.07); border-color: rgba(241, 90, 34, 0.38); }
.card-open { position: absolute; inset: 0; display: block; }
.card img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.9s var(--ease); }
.card:hover img { transform: translateY(-2%) scale(1.06) rotate(-1.5deg); }
.card.raw .card-pic::before { display: none; }
.card.raw .card-open { inset: 10px 10px 2px; overflow: hidden; border-radius: 8px; }
.card.raw img { object-fit: cover; }
.card.raw:hover img { transform: scale(1.04); }
.card .ctl { position: absolute; z-index: 1; right: 10px; bottom: 4px; }
.card.raw .ctl { right: 16px; bottom: 10px; }
.card h3 { padding: 8px 14px 0; font-family: var(--display); font-weight: 600; font-size: 1.17rem; line-height: 1.16; color: var(--cream); font-variant-numeric: lining-nums; text-wrap: balance; cursor: pointer; }
.card .meta { margin-top: auto; padding: 8px 14px 15px; }
.price { font-weight: 700; font-size: 1.03rem; letter-spacing: -0.01em; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.price small { margin-left: 3px; font-weight: 500; font-size: 0.74rem; opacity: 0.68; }
.card .price { color: #fff; }

/* add, and the amount once it is in the basket */
.ctl { display: inline-flex; flex: none; }
.add { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; box-shadow: 0 8px 20px -8px rgba(241, 90, 34, 0.9); transition: transform 0.25s var(--ease), background-color 0.2s; }
.add:hover { background: #ff7240; transform: scale(1.09); }
.add svg { width: 18px; height: 18px; }
.qty { display: inline-flex; align-items: center; height: 40px; border-radius: 999px; background: var(--orange); color: #fff; }
.qty button { display: grid; place-items: center; width: 34px; height: 40px; border-radius: 999px; }
.qty button svg { width: 15px; height: 15px; }
.qty b { min-width: 24px; padding: 0 2px; text-align: center; font-size: 0.9rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sold { font-family: var(--caps); font-weight: 600; font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase; color: #ffb199; }
.row .sold, .sold.big { color: #b3261e; }
.sold.big { font-size: 0.72rem; }

/* products without a photo: a menu list */
.rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(22px, 3vw, 48px); }
.grid + .rows { margin-top: clamp(18px, 2.4vw, 30px); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px; min-height: 64px; padding: 11px 0; border-bottom: 1px solid var(--line-ink); }
.row-open { min-width: 0; text-align: left; }
.row h3 { font-family: var(--display); font-weight: 600; font-size: 1.19rem; line-height: 1.2; color: var(--ink); font-variant-numeric: lining-nums; transition: color 0.2s; }
.row-open:hover h3, .row.in-cart h3 { color: var(--orange-deep); }
.row .price { color: var(--ink); }
.row .add, .row .qty { background: var(--ink); color: var(--cream); box-shadow: none; }
.row .add:hover { background: var(--orange-deep); }
.more-line { margin-top: 26px; text-align: center; }

/* ---------- basket ---------- */
.cart { position: sticky; top: 164px; display: flex; flex-direction: column; max-height: calc(100vh - 186px); overflow: hidden; border-radius: 16px; border: 1px solid var(--line-ink); background: #fffdf8; color: var(--ink); box-shadow: 0 34px 60px -44px rgba(8, 19, 14, 0.55); }
.cart-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 18px 20px 14px; border-bottom: 1px solid var(--line-ink); }
.cart-head h2 { margin-right: auto; font-family: var(--display); font-weight: 600; font-size: 1.55rem; line-height: 1; }
.cart-back { display: none; }
.text-btn { font-size: 0.8rem; font-weight: 600; color: var(--muted-ink); text-decoration: underline; text-decoration-color: rgba(8, 19, 14, 0.25); text-underline-offset: 3px; transition: color 0.2s; }
.text-btn:hover { color: var(--orange-deep); }
.cart-empty { display: grid; justify-items: center; gap: 8px; padding: 40px 28px 46px; text-align: center; color: var(--muted-ink); }
.cart-empty svg { width: 40px; height: 40px; color: rgba(8, 19, 14, 0.28); }
.cart-empty b { font-family: var(--display); font-weight: 600; font-size: 1.4rem; color: var(--ink); }
.cart-empty p { max-width: 30ch; font-size: 0.88rem; line-height: 1.55; }
.cart-lines { flex: 1 1 auto; min-height: 0; padding: 0 20px; overflow-y: auto; overscroll-behavior: contain; }
.line { padding: 14px 0; border-bottom: 1px solid var(--line-ink); }
.line:last-child { border-bottom: 0; }
.line-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.line-top b { font-size: 0.93rem; font-weight: 600; line-height: 1.35; }
.sum { font-size: 0.93rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.line-note { margin-top: 3px; font-size: 0.82rem; font-style: italic; color: var(--muted-ink); overflow-wrap: anywhere; }
.line-deal { margin-top: 2px; font-size: 0.78rem; color: #1d7a3a; }
.line-problem { margin-top: 3px; font-size: 0.8rem; font-weight: 600; color: #b3261e; }
.line-ctl { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.line-ctl .qty { height: 34px; border: 1px solid rgba(8, 19, 14, 0.22); background: transparent; color: var(--ink); }
.line-ctl .qty button { width: 30px; height: 32px; }
.icon-btn { display: grid; place-items: center; width: 34px; height: 34px; margin-left: auto; border-radius: 50%; color: var(--muted-ink); transition: background-color 0.2s, color 0.2s; }
.icon-btn:hover { background: rgba(179, 38, 30, 0.08); color: #b3261e; }
.icon-btn svg { width: 17px; height: 17px; }
.line-note-form { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.line-note-form input { flex: 1 1 auto; min-width: 0; height: 40px; padding: 0 12px; border-radius: 8px; border: 1px solid rgba(8, 19, 14, 0.24); background: #fff; color: var(--ink); font: inherit; font-size: 0.88rem; outline: none; }
.line-note-form input:focus { border-color: var(--orange-deep); box-shadow: 0 0 0 3px rgba(241, 90, 34, 0.18); }
.cart-foot { display: grid; gap: 14px; padding: 16px 20px 20px; border-top: 1px solid var(--line-ink); background: #faf5ea; }
.cart-when { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; color: var(--muted-ink); }
.cart-when svg { flex: none; width: 16px; height: 16px; color: var(--orange-deep); }
.minbar p { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; font-size: 0.8rem; font-weight: 600; color: var(--muted-ink); }
.minbar svg { width: 15px; height: 15px; }
.minbar.ok p { color: #1d7a3a; }
.minbar progress { display: block; width: 100%; height: 6px; border: 0; border-radius: 999px; overflow: hidden; background: rgba(8, 19, 14, 0.1); -webkit-appearance: none; appearance: none; }
.minbar progress::-webkit-progress-bar { background: rgba(8, 19, 14, 0.1); }
.minbar progress::-webkit-progress-value { border-radius: 999px; background: var(--orange); transition: width 0.4s var(--ease); }
.minbar progress::-moz-progress-bar { border-radius: 999px; background: var(--orange); }
.minbar.ok progress::-webkit-progress-value { background: var(--green); }
.minbar.ok progress::-moz-progress-bar { background: var(--green); }
.totals { display: grid; gap: 6px; font-size: 0.92rem; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals dt { color: var(--muted-ink); }
.totals dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.totals .minus dd { color: #1d7a3a; }
.totals .grand { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line-ink); font-size: 1.15rem; }
.totals .grand dt { color: var(--ink); font-weight: 600; }
.totals .grand dd { font-weight: 700; }
.problems { display: grid; gap: 8px; }
.problems li { display: flex; gap: 9px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(241, 90, 34, 0.28); background: rgba(241, 90, 34, 0.1); color: #8a3b12; font-size: 0.84rem; line-height: 1.45; }
.problems svg { flex: none; width: 17px; height: 17px; margin-top: 2px; color: var(--orange-deep); }
.btn.wide { width: 100%; }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.45; box-shadow: none; pointer-events: none; }
.cart-note { text-align: center; font-size: 0.78rem; color: var(--muted-ink); }

/* the basket button of small screens */
.cartbar { position: fixed; left: 14px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 42; display: none; align-items: center; gap: 12px; max-width: 560px; min-height: 60px; margin-inline: auto; padding: 0 22px 0 10px; border-radius: 999px; background: var(--orange); color: #fff; font-weight: 700; box-shadow: 0 20px 44px -14px rgba(241, 90, 34, 0.85); }
.cartbar-count b { display: grid; place-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(0, 0, 0, 0.2); font-variant-numeric: tabular-nums; }
.cartbar-text { flex: 1 1 auto; font-size: 0.98rem; }
.cartbar-sum { font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 60; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 0.9rem; font-weight: 600; white-space: nowrap; box-shadow: 0 16px 36px -14px rgba(0, 0, 0, 0.7); opacity: 0; transform: translate(-50%, 20px); pointer-events: none; transition: opacity 0.25s, transform 0.35s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- a product, closer ---------- */
.sheet { width: min(900px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; overflow: visible; background: transparent; color: var(--ink); }
.sheet::backdrop { background: rgba(6, 14, 10, 0.76); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.sheet-body { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: hidden; border-radius: 18px; background: var(--paper); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.8); }
.sheet-art { position: relative; display: grid; place-items: center; min-width: 0; min-height: 0; overflow: hidden; aspect-ratio: 1; background: var(--tex-grain), radial-gradient(86% 62% at 50% 40%, #2c4d38 0%, #1a3226 52%, #0d1b14 100%); }
.sheet-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.sheet-art.raw img { object-fit: cover; }
.sheet-art.plain img { position: static; width: auto; height: 96px; opacity: 0.94; }
.sheet-art.plain .tile-mark { width: auto; aspect-ratio: auto; }
/* No photo of its own: a short band with the category's mark, so nobody takes it for a picture of the product. */
.sheet-body.no-pic { grid-template-columns: minmax(0, 1fr); width: min(540px, 100%); margin: 0 auto; }
.sheet-body.no-pic .sheet-art { aspect-ratio: auto; height: 124px; }
.sheet-info { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 3vw, 38px); overflow-y: auto; }
.sheet-info .eyebrow { color: var(--orange-deep); }
.sheet-info h2 { padding-right: 34px; font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.08; font-variant-numeric: lining-nums; text-wrap: balance; }
.sheet-price { font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.sheet-price small { margin-left: 4px; font-size: 0.9rem; font-weight: 500; color: var(--muted-ink); }
.sheet-text { color: var(--muted-ink); font-size: 0.95rem; }
.sheet-buy { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 10px; }
.sheet-buy .btn { flex: 1 1 auto; min-width: 0; padding: 0 16px; }
.qty.big { height: 54px; border: 1px solid rgba(8, 19, 14, 0.25); background: transparent; color: var(--ink); }
.qty.big button { width: 46px; height: 52px; }
.qty.big b { min-width: 46px; font-size: 1.02rem; }
.sheet-close { position: absolute; z-index: 3; right: 12px; top: 12px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(246, 241, 231, 0.94); color: var(--ink); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.6); }
.sheet-close svg { width: 18px; height: 18px; }

/* ---------- fields ---------- */
.field { display: grid; gap: 6px; min-width: 0; }
.field > label, .field > span { font-size: 0.8rem; font-weight: 600; color: var(--muted-ink); }
.field input, .field textarea, .field select { width: 100%; min-height: 52px; padding: 13px 14px; border-radius: 10px; border: 1px solid rgba(8, 19, 14, 0.24); background-color: #fff; color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.4; outline: none; -webkit-appearance: none; appearance: none; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { min-height: 78px; resize: vertical; }
.field select { padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%235d574c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; }
.field input::placeholder, .field textarea::placeholder { color: #9a9383; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--orange-deep); box-shadow: 0 0 0 3px rgba(241, 90, 34, 0.18); }
.field.bad input, .field.bad select { border-color: #b3261e; }
.err { font-size: 0.8rem; font-weight: 600; line-height: 1.45; color: #b3261e; }
.hint { font-size: 0.8rem; line-height: 1.5; color: var(--muted-ink); }

/* ---------- checkout ---------- */
.back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 0.86rem; font-weight: 600; color: var(--muted-ink); transition: color 0.2s; }
.back svg { width: 16px; height: 16px; }
.back:hover { color: var(--orange-deep); }
.checkout .h2 em { font-style: italic; color: var(--orange-deep); }
.co-lead { max-width: 60ch; margin: 12px 0 clamp(22px, 3vw, 34px); color: var(--muted-ink); }
.form { display: grid; gap: clamp(14px, 1.8vw, 20px); }
.fs { display: grid; gap: 14px; min-width: 0; padding: clamp(18px, 2.4vw, 28px); border-radius: 16px; border: 1px solid var(--line-ink); background: #fffdf8; }
.fs h3 { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 600; font-size: 1.5rem; line-height: 1.1; }
.fs h3 i { display: inline-grid; place-items: center; font-family: var(--caps); font-style: normal; font-weight: 600; font-size: 0.64rem; letter-spacing: 0.28em; color: var(--orange-deep); }
.fs h3 i svg { width: 19px; height: 19px; }
.fs h3 .text-btn { margin-left: auto; font-family: var(--text); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.opt { position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(8, 19, 14, 0.22); background: #fff; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt svg { flex: none; width: 24px; height: 24px; color: var(--muted-ink); transition: color 0.2s; }
.opt b { display: block; font-size: 0.95rem; font-weight: 600; line-height: 1.3; }
.opt small { display: block; margin-top: 2px; font-size: 0.78rem; line-height: 1.35; color: var(--muted-ink); }
.opt:hover { border-color: rgba(8, 19, 14, 0.5); }
.opt.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.opt.on svg { color: var(--orange-deep); }
.opt.off { opacity: 0.5; cursor: not-allowed; }
.opt.off input { cursor: not-allowed; }
.opt:focus-within { outline: 2px solid var(--orange); outline-offset: 2px; }
.pickup { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--paper-2); font-size: 0.9rem; line-height: 1.45; }
.pickup svg { flex: none; width: 22px; height: 22px; color: var(--orange-deep); }
.pickup small { display: block; font-size: 0.74rem; color: var(--muted-ink); }
.pickup b { display: block; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 0.92rem; line-height: 1.45; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--orange-deep); }
.confirm-note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(43, 162, 76, 0.3); background: rgba(43, 162, 76, 0.1); color: #1c5a30; font-size: 0.88rem; line-height: 1.5; }
.confirm-note svg { flex: none; width: 18px; height: 18px; margin-top: 2px; }
#co-summary { display: grid; gap: 14px; }
#co-when, #co-pay { display: grid; gap: 12px; }
.sum-lines { display: grid; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line-ink); font-size: 0.92rem; }
.sum-lines li { display: flex; justify-content: space-between; gap: 14px; }
.sum-lines li > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.sum-lines li > span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum-lines i { color: var(--muted-ink); }
.form-error { display: flex; gap: 9px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(179, 38, 30, 0.3); background: rgba(179, 38, 30, 0.07); color: #b3261e; font-size: 0.9rem; font-weight: 600; line-height: 1.45; }
.form-error svg { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.legal { text-align: center; font-size: 0.78rem; line-height: 1.5; color: var(--muted-ink); }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- an order, followed ---------- */
body.v-track .shop-grid, body.v-orders .shop-grid { grid-template-columns: minmax(0, 1fr); }
body.v-track .cart, body.v-orders .cart { display: none; }
.track, .orders { max-width: 840px; margin-inline: auto; }
body.v-orders .block-head { max-width: 840px; margin-inline: auto; }
.track { display: grid; gap: clamp(14px, 1.8vw, 20px); }
.track-hero { padding: clamp(24px, 3.4vw, 44px); border-radius: 18px; color: var(--cream); background: var(--tex-grain), var(--tex-gulls) 0 0 / 600px 400px, radial-gradient(80% 120% at 90% 0%, rgba(241, 90, 34, 0.26), rgba(241, 90, 34, 0) 60%), linear-gradient(160deg, #1b3426, #0d1b14); box-shadow: 0 40px 70px -50px rgba(8, 19, 14, 0.9); }
.track-hero.done { background: var(--tex-grain), var(--tex-gulls) 0 0 / 600px 400px, radial-gradient(80% 120% at 90% 0%, rgba(43, 162, 76, 0.3), rgba(43, 162, 76, 0) 60%), linear-gradient(160deg, #1b3426, #0d1b14); }
.track-hero.cancelled { background: var(--tex-grain), linear-gradient(160deg, #2a2f2c, #121816); }
.track-hero .eyebrow { color: var(--orange); }
.track-hero h2 { margin-top: 12px; font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.05; text-wrap: balance; }
.track-hero > p:not(.eyebrow) { max-width: 58ch; margin-top: 12px; color: var(--muted); }
.track-hero .track-reason { color: var(--cream); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(26px, 3vw, 38px); }
.steps li { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; font-size: 0.8rem; line-height: 1.3; color: rgba(243, 239, 230, 0.55); }
.steps li::before { content: ""; position: absolute; left: -50%; top: 15px; width: 100%; height: 2px; background: rgba(243, 239, 230, 0.16); }
.steps li:first-child::before { display: none; }
.steps li.done::before, .steps li.now::before { background: var(--orange); }
.steps i { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid rgba(243, 239, 230, 0.22); background: #132419; }
.steps .done i { border-color: var(--orange); background: var(--orange); color: #fff; }
.steps .done i svg { width: 16px; height: 16px; }
.steps .now i { border-color: var(--orange); animation: step-pulse 1.8s ease-in-out infinite; }
.steps .now i::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.steps .done span, .steps .now span { color: var(--cream); font-weight: 600; }
@keyframes step-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(241, 90, 34, 0.5); } 60% { box-shadow: 0 0 0 11px rgba(241, 90, 34, 0); } }
.track-eta { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(243, 239, 230, 0.08); font-size: 0.9rem; }
.track-eta svg { width: 18px; height: 18px; color: var(--orange); }
.track-eta span { color: var(--muted); }
.track-eta b { font-variant-numeric: tabular-nums; }
.track-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.track-actions .btn svg { width: 18px; height: 18px; }
.track-warn, .track-live { font-size: 0.84rem; color: var(--muted-ink); }
.track-warn { display: flex; gap: 8px; color: #8a3b12; }
.track-warn svg { flex: none; width: 17px; height: 17px; margin-top: 3px; }
.track-live { text-align: center; }
.confirm { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(179, 38, 30, 0.3); background: rgba(179, 38, 30, 0.06); font-weight: 600; }
.confirm div { display: flex; flex-wrap: wrap; gap: 10px; }
.confirm .btn { min-height: 46px; padding: 0 20px; font-size: 0.88rem; }
.facts-list { margin-top: 2px; border-top: 1px solid var(--line-ink); font-size: 0.92rem; }
.facts-list div { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-ink); }
.facts-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts-list dt { color: var(--muted-ink); }
.facts-list dd { overflow-wrap: anywhere; }
.orders { display: grid; gap: 10px; }
.orders a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line-ink); background: #fffdf8; transition: border-color 0.2s, transform 0.3s var(--ease); }
.orders a:hover { border-color: var(--orange-deep); transform: translateX(3px); }
.orders-code { font-family: var(--display); font-weight: 600; font-size: 1.35rem; line-height: 1; font-variant-numeric: lining-nums; }
.orders-when { font-size: 0.86rem; color: var(--muted-ink); }
.orders-state { padding: 5px 11px; border-radius: 999px; background: rgba(241, 90, 34, 0.12); color: var(--orange-deep); font-size: 0.74rem; font-weight: 700; white-space: nowrap; }
.orders-state.s-Delivered { background: rgba(43, 162, 76, 0.14); color: #1d7a3a; }
.orders-state.s-Cancelled, .orders-state.s-PaymentFailed { background: rgba(8, 19, 14, 0.08); color: var(--muted-ink); }
.orders a > b { font-variant-numeric: tabular-nums; }
.orders svg { width: 16px; height: 16px; color: var(--muted-ink); }

/* ---------- messages, waiting ---------- */
.notice { max-width: 660px; margin: clamp(8px, 3vw, 40px) auto; padding: clamp(28px, 4vw, 48px); border-radius: 18px; border: 1px solid var(--line-ink); background: #fffdf8; text-align: center; }
.notice h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; text-wrap: balance; }
.notice p { margin-top: 12px; color: var(--muted-ink); }
.notice p a { text-decoration: underline; text-underline-offset: 3px; }
.notice-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.notice-actions .btn svg { width: 18px; height: 18px; }
.loading p { margin-bottom: 18px; color: var(--muted-ink); }
.skeleton { display: grid; grid-template-columns: repeat(auto-fill, minmax(186px, 1fr)); gap: 16px; }
.skeleton i { aspect-ratio: 3 / 4; border-radius: 12px; background: linear-gradient(100deg, rgba(8, 19, 14, 0.06) 30%, rgba(8, 19, 14, 0.13) 50%, rgba(8, 19, 14, 0.06) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }

/* ---------- smaller screens ---------- */
@media (max-width: 1240px) {
  .shop-grid { grid-template-columns: minmax(0, 1fr) 350px; }
  .rows { grid-template-columns: 1fr; }
}
@media (max-width: 1080px) {
  .shop-hero .wrap { grid-template-columns: 1fr; }
  .shop-info { min-height: 0; }
  .info-card { max-width: 620px; }
  .shop-grid { grid-template-columns: minmax(0, 1fr); }
  .rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* The basket is a page of its own; while browsing it is the button at the bottom. */
  .cart { display: none; position: static; max-height: none; }
  .cart-lines { overflow: visible; }
  body.v-sepet .cart { display: flex; }
  body.v-sepet .view { display: none; }
  .cart-back { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 100%; margin-bottom: 6px; font-size: 0.86rem; font-weight: 600; color: var(--muted-ink); }
  .cart-back svg { width: 16px; height: 16px; }
  .cartbar:not([hidden]) { display: flex; }
  body.has-cartbar .footer { padding-bottom: 108px; }
  body.has-cartbar .toast { bottom: 92px; }
}
@media (max-width: 860px) {
  .catbar .wrap { flex-direction: column; align-items: stretch; gap: 0; min-height: 0; }
  .search { flex: none; max-height: 60px; padding-top: 10px; overflow: hidden; transition: max-height 0.3s var(--ease), padding 0.3s var(--ease), opacity 0.2s; }
  .search svg { top: calc(50% + 5px); }
  .catbar.compact .search { max-height: 0; padding-top: 0; opacity: 0; }
  .pills { margin-inline: calc(-1 * var(--gutter)); padding: 10px var(--gutter); }
  .rows { grid-template-columns: 1fr; }
  .chips { flex-wrap: nowrap; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
}
@media (max-width: 700px) {
  .sheet { width: 100vw; max-height: 94vh; max-height: 94dvh; margin: auto 0 0; }
  .sheet-body { grid-template-columns: minmax(0, 1fr); max-height: 94vh; max-height: 94dvh; overflow-y: auto; border-radius: 20px 20px 0 0; }
  .sheet-art { aspect-ratio: auto; height: min(40vh, 320px); }
  .sheet-body.no-pic { width: 100%; }
  .sheet-info { overflow: visible; padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 640px) {
  .shop-hero h1 { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .facts b { font-size: 1.18rem; }
  .facts li { padding: 0 10px; }
  .search input { font-size: 16px; }
  .pill { height: 42px; padding: 0 14px 0 4px; font-size: 0.82rem; }
  .pill i { width: 34px; height: 34px; }
  .pill i img { width: 32px; }
  .grid, .skeleton { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card h3 { padding: 6px 11px 0; font-size: 1.06rem; }
  .card .meta { padding: 6px 11px 12px; }
  .card .ctl { right: 8px; }
  .price { font-size: 0.98rem; }
  .add { width: 38px; height: 38px; }
  .qty { height: 38px; }
  .qty button { width: 30px; height: 38px; }
  .row { gap: 10px; }
  .row h3 { font-size: 1.1rem; }
  .two { grid-template-columns: 1fr; }
  .opts { grid-template-columns: 1fr; }
  .fs h3 { font-size: 1.35rem; }
  .steps li { font-size: 0.7rem; }
  .facts-list div { grid-template-columns: 1fr; gap: 2px; }
  .orders a { grid-template-columns: auto minmax(0, 1fr) auto; row-gap: 6px; }
  .orders-when { grid-column: 1 / -1; grid-row: 2; }
  .orders-state { grid-column: 2; grid-row: 1; justify-self: start; }
  .orders a > b { grid-column: 3; grid-row: 1; }
  .orders svg { display: none; }
  .track-actions .btn { flex: 1 1 100%; }
  .sheet-buy { flex-wrap: wrap; }
  .sheet-buy .btn { flex: 1 1 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .skeleton i, .steps .now i { animation: none; }
}
@media print {
  .catbar, .cart, .cartbar, .toast, .shop-hero, .track-actions, .footer { display: none !important; }
  .shop { background: #fff; }
}
