/*
  ERSA POS: the page's own CSS, linked after the kit (system.css ... layout.css).
  1. The palette and type exactly as start.mjs printed them:
     palette limewash-ochre (a warm off-white ground and the ochre of the lion logo's gold),
     type hanken (Hanken Grotesk, one family).
  2. The brief: the readers are older shopkeepers, so text and buttons sit one step above
     the kit's defaults (body 18, labels 15, buttons 52 tall).
  3. Rules that sit inside a visual or a list the kit has no part for.
*/
:root {
  --p-bg: #f4efe5; --p-surface: #e7dfcf; --p-ink: #29251e; --p-muted: #675e51;
  --p-accent: #8c6418; --p-accent-ink: #ffffff;
  /* one action colour for both grounds (2026-11-25): a gold-ochre with a white label (4.6:1) that keeps
     3:1 against the light ground, the surface and the dark ground, so the main button looks the same everywhere */
  --p-action: #9a6d12; --p-action-ink: #ffffff;
  --p-inv-bg: #29251e; --p-inv-surface: #35312a; --p-inv-ink: #f4efe5; --p-inv-muted: #a09b92;
  /* the client's second colour (2026-11-25): on the dark ground the accent is the lion logo's own gold,
     sampled from the logo file, 5.4:1 on the dark ground and under its dark label */
  --p-inv-accent: #c89010; --p-inv-accent-ink: #29251e; --p-inv-action: #9a6d12; --p-inv-action-ink: #ffffff;
  --font-display: "Hanken Grotesk", system-ui, sans-serif;
  --font-text: "Hanken Grotesk", system-ui, sans-serif;
  --display-weight: 400;
  --display-tracking: -0.03em;
  --display-tracking-xl: -0.038em;

  --t-body: 18px; --t-small: 16px; --t-label: 15px; --t-lead: 20px; --t-card: 20px;
  --btn-h: 52px; --btn-h-sm: 44px;
}
@media (min-width: 1024px) { :root { --t-lead: 22px; --t-card: 22px; } }

/* the client's logo (a white lion and gold letters) on its own dark tile, never tinted */
.logo-tile { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none;
  border-radius: var(--r-sm); background: var(--p-ink); }
.nav__logo .logo-tile img, .logo-tile img { width: 30px; height: auto; }

/* the menu button says what it is in words too ("Menü"): older readers miss a bare icon */
@media (max-width: 1023px) {
  .nav__toggle { width: auto; padding: 0 var(--s-4); grid-auto-flow: column; gap: var(--s-2); }
  .nav__toggle-word { font: 500 16px/1 var(--font-text); }
}

/* the hero's words in a small box at the lower left (owner, 2026-11-29: the big box on the right covered half
   of the POS in the film): a narrower box and a smaller heading, the film's POS in full view beside it */
@media (min-width: 1024px) {
  .hero--corner .hero__text { width: min(500px, 42%); padding: var(--s-6); }
  .hero--corner h1 { font-size: clamp(36px, 1.4vw + 20px, 50px); max-width: 12ch; }
  .hero--corner .hero__lead { font-size: var(--t-body); }
  /* the two buttons side by side, a size down, so the box stays low and short */
  .hero--corner .btn-row { flex-wrap: nowrap; gap: var(--s-2); }
  .hero--corner .btn-row .btn { min-height: 46px; padding-inline: var(--s-4); font-size: 16px; white-space: nowrap; }
}
/* the hero's film: its pause button on the film's lower right, inside the hero's .wrap */
.hero--photo > .wrap { position: relative; }
.hero--photo .hero-pause { right: 0; bottom: 0; width: 44px; height: 44px; }
/* tablets and phones: the film is the band above the words, so the button sits on the band's lower right */
@media (max-width: 1023px) {
  .hero--photo .hero-pause { bottom: auto; top: calc(-1 * (var(--hgap) + 56px)); right: 4px; }
}

/* the range: the client's product photographs on white, whole, never enlarged */
#urunler .tile__media { background: #fff; }
#urunler .tile__media > img { object-fit: contain; padding: var(--s-6); }

/* the category cards (owner, 2026-11-29: "the products section, modern"): one warm-white card each, the
   photograph whole on white with the count in a pill, the name, one line and the way in; it lifts a little
   under the pointer (the site's other cards share the hairline and the long soft shadow) */
.cat-card { gap: 0; overflow: clip; border-radius: calc(var(--r-lg) + 4px); background: #fffdf9; text-decoration: none;
  box-shadow: 0 0 0 1px var(--line), 0 24px 48px -36px rgb(41 37 30 / .45); transition: transform 220ms var(--ease), box-shadow 220ms var(--ease); }
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line-strong), 0 30px 60px -34px rgb(41 37 30 / .5); }
.cat-card > .tile__media { border-radius: 0; aspect-ratio: 4 / 3; }
.cat-card > .tile__media > img { padding: var(--s-6); }
.cat-card__count { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 5px 12px; border-radius: 999px;
  background: color-mix(in oklab, var(--p-action) 13%, #fff); color: color-mix(in oklab, var(--p-action) 72%, var(--ink)); font: 600 13px/1.2 var(--font-text); }
.cat-card__body { display: grid; align-content: start; gap: var(--s-2); padding: var(--s-5) var(--s-6) var(--s-6); border-top: 1px solid var(--line); }
.cat-card__body > h3, .cat-card__body > p { margin: 0; }
.cat-card__body > h3 { font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: -0.01em; }
.cat-card__body > p { color: var(--muted); }
.cat-card__more { margin-top: var(--s-2); color: color-mix(in oklab, var(--p-action) 82%, var(--ink)); font-weight: 600; }
.cat-card__more::after { content: "\2192"; display: inline-block; margin-left: 6px; transition: transform 220ms var(--ease); }
.cat-card:hover .cat-card__more::after { transform: translateX(4px); }
/* phones: one card a row (two side by side left each a sliver of photograph and a column of broken words) */
@media (max-width: 639px) {
  .grid > .tile.cat-card, .grid > .tile.cat-card:nth-child(n) { grid-column: 1 / -1; }
  .cat-card > .tile__media { aspect-ratio: 16 / 10; }
  .cat-card > .tile__media > img { padding: var(--s-4); }
}
/* the home range's heading row: the words left, the way to the whole catalogue right */
.range-head { align-items: end; }
.range-head .eyebrow { justify-self: start; margin: 0; }   /* a pill its own width, not the column's */
/* the two groups not shown as cards, as small links under the three */
.more-groups { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); margin-top: var(--s-6); }
.more-groups > ul { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.more-group { display: inline-flex; align-items: center; gap: var(--s-3); min-height: 44px; padding: 0 var(--s-2) 0 var(--s-4); border-radius: 999px;
  background: #fffdf9; color: var(--ink); font-weight: 500; text-decoration: none; box-shadow: 0 0 0 1px var(--line); transition: box-shadow 180ms var(--ease); }
.more-group:hover { box-shadow: 0 0 0 1px var(--ink); }
.more-group__count { padding: 4px 10px; border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 14px; }

/* tablets: the three product groups stay three across (the kit would put the third alone on a full row) */
@media (min-width: 640px) and (max-width: 1023px) {
  :is(#urunler, #cihazlar) .grid > .tile.span-4 { grid-column: auto / span 4; }
}

/* the brands on a dark strip of their own, no heading: one row edge to edge on a wide screen, centred rows below */
main > section#markalar { height: auto; min-height: 0; padding: var(--s-7) 0; }
.brand-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-4) var(--s-7);
  margin: 0; padding: 0; list-style: none; }
.brand-strip > li { font: var(--display-weight) 26px/1.2 var(--font-display); letter-spacing: var(--display-tracking);
  color: color-mix(in oklab, var(--ink) 85%, transparent); }
@media (min-width: 1280px) { .brand-strip { justify-content: space-between; } }
@media (max-width: 639px) {
  .brand-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; gap: var(--s-4) var(--s-3); }
  .brand-strip > li { font-size: 22px; }
}

/* the questions (owner, 2026-11-29: "more modern, elegant; this is too busy"), as .sss so the kit's .faq
   (every answer forced open, system.js ST-47) leaves them alone: the heading on the left,
   one list on the right that opens one answer at a time (<details name>), a hairline between questions,
   a plus in a ring that turns into a cross on the action colour when open */
.sss { display: grid; gap: var(--s-6) var(--gutter); }
@media (min-width: 1024px) { .sss { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.sss__head { display: grid; gap: var(--s-4); align-content: start; }
.sss__head > h2, .sss__head > p { margin: 0; }
.sss__head > p { max-width: 34ch; color: var(--muted); }
.sss__list { border-top: 1px solid var(--line-strong); }
.sss__item { border-bottom: 1px solid var(--line-strong); }
.sss__item > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); min-height: 72px; padding: var(--s-4) 0;
  list-style: none; cursor: pointer; font: 500 var(--t-card)/1.35 var(--font-text); letter-spacing: -0.01em; transition: color var(--dur) var(--ease); }
.sss__item > summary::-webkit-details-marker { display: none; }
.sss__item > summary:hover { color: var(--p-action); }
.sss__item > summary:focus-visible { outline: 2px solid var(--p-action); outline-offset: 4px; border-radius: var(--r-sm); }
.sss__icon { position: relative; flex: none; width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink);
  transition: transform 240ms var(--ease), background-color 240ms var(--ease), border-color 240ms var(--ease), color 240ms var(--ease); }
.sss__icon::before, .sss__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 1.5px; border-radius: 1px; background: currentColor; transform: translate(-50%, -50%); }
.sss__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.sss__item[open] .sss__icon { transform: rotate(45deg); border-color: var(--p-action); background: var(--p-action); color: #fff; }
.sss__item > p { margin: 0; max-width: 60ch; padding: 0 calc(36px + var(--s-5)) var(--s-5) 0; color: var(--muted); }

/* no empty screens (the client, 2026-11-28): every section takes its content's height with one even padding
   instead of the kit's one or two whole screens. The hero keeps its screen; the services keep their two screens
   on a wide screen, where the moment holds them while the steps open (on a tablet or a phone it rests as rows) */
:root { --pad-y: clamp(64px, 4vw + 32px, 96px); }
html { scroll-padding-top: var(--nav); }
@media (max-width: 1023px) { main > section#hizmetler { height: auto; min-height: 0; padding: var(--pad-y) 0; } }
/* the moment live (a wide screen): its stage starts under the header instead of in the middle of the screen,
   so no empty band opens between the hero and the services (owner, 2026-11-29: "it looks broken"); and it
   keeps its one screen: the kit's 640-1279 rule grows a section's .wrap to the whole section (flex: 1 0 auto),
   which made the stage two screens tall, so it never stuck and its second screen stood empty */
/* (the gap under the header: 64px on a 900px screen down to 32px at 660, so the open step's three lines and
   the software links still fit a short laptop screen above its foot) */
main #hizmetler[data-moment].is-live > .mo-pc__grid {
  --pc-top: clamp(var(--s-5), 13.333svh - 56px, var(--s-8));
  flex: none; align-content: start; padding-top: calc(var(--nav) + var(--pc-top)); container-type: inline-size;
}
/* the frame grows with the screen's height from 4:3 up to a square (its column's width), ending 64px above
   the screen's foot, so a taller screen shows a bigger picture instead of an empty lower third */
main #hizmetler[data-moment].is-live .mo-pc__visuals {
  aspect-ratio: auto; max-height: none;
  height: clamp((100cqi - var(--gutter)) * 0.375, 100svh - var(--nav) - var(--pc-top) - var(--s-8), (100cqi - var(--gutter)) * 0.5);
}
main > section.section:not(#hizmetler, #markalar), footer.closing { height: auto; min-height: 0; padding: var(--pad-y) 0 calc(var(--pad-y) + var(--bar, 0px)); }
main > section.section:not(#hizmetler, #markalar) > .wrap, footer.closing > .wrap { height: auto; }
main > section.section:not(#hizmetler, #markalar):first-child { padding-top: calc(var(--nav) + var(--s-8)); }
footer.closing > .wrap { row-gap: var(--s-8); }

/* the restaurant program's screens: the client's picture on white, whole */

/* contact: the number set large enough to read across a shop */
.phone-big { font: var(--display-weight) clamp(32px, 2.6vw + 14px, 48px)/1.1 var(--font-display);
  letter-spacing: var(--display-tracking); color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.phone-big:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.glyph { width: 24px; height: 24px; flex: none; }
.fact-line { display: flex; align-items: center; gap: var(--s-2); margin: 0; font-weight: 500; }

/* phones: the hero's words 24px under the film (the place hero's gap), so the hero ends on its screen */
@media (max-width: 639px) { .hero--photo { --hgap: 24px; } }

/* inner pages: the first section clears the fixed header (their height and padding are the rule above) */
main > section.section--free:first-child { padding-top: calc(var(--nav) + var(--s-8)); }
.page-h1 { font: var(--display-weight) clamp(36px, 2.6vw + 22px, 60px)/1.05 var(--font-display); letter-spacing: var(--display-tracking); max-width: 20ch; }
.crumbs { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.link-plain { color: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.tile__media--white, .product-grid .tile__media { background: #fff; }
.tile__media--white > img, .product-grid .tile__media > img { object-fit: contain; padding: var(--s-5); }
.product-grid .tile__head > h2 { font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: -0.01em; }
@media (max-width: 1023px) { .product-grid > .span-3 { grid-column: span 6; } }

/* the catalogue (/urunler, its categories and products; /odeal) */
/* a photograph smaller than its tile shows at its own size, never enlarged */
.tile__media--white > img, .product-grid .tile__media > img { object-fit: scale-down; }
.tile__head > .tile__title { font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: -0.01em; }
/* a software product has no photograph: a quiet panel with a screen glyph, or the solution's name */
.tile__media.tile__media--soft { display: grid; place-items: center; background: var(--surface); }
.soft-glyph { width: 56px; height: 56px; color: var(--muted); }
.tile__media--name > span { padding: var(--s-5); font: var(--display-weight) 24px/1.2 var(--font-display); letter-spacing: var(--display-tracking); text-align: center; }
/* Ödeal's posters are upright and full of words: shown whole in a 3:4 tile */
.tile__media.tile__media--poster { aspect-ratio: 3 / 4; background: var(--surface); }
.tile__media--poster > img { object-fit: contain; }
/* a product page: the photograph whole on white beside the words and the specifications */
.product-page { align-items: start; row-gap: var(--s-7); }
.product-shot { aspect-ratio: 1 / 1; background: #fff; }
.product-shot > .frame__img { object-fit: scale-down; padding: var(--s-7); }
.product-shot--poster { aspect-ratio: 3 / 4; background: var(--surface); }
.product-shot--poster > .frame__img { object-fit: contain; padding: 0; }
.spec-h { margin: 0; font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: -0.01em; }
/* /odeal: the campaign poster whole beside the opening words */
.odeal-head { align-items: center; row-gap: var(--s-7); }
.odeal-poster { aspect-ratio: 3 / 2; background: var(--surface); }
.odeal-poster > .frame__img { object-fit: contain; }
.software-head { max-width: 46rem; }
/* a service's features in two columns from a tablet up */
@media (min-width: 640px) {
  .spec-rows--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); }
  .spec-rows--2 > li:nth-child(2) { padding-top: 0; }   /* the first row starts level in both columns */
}

/* the software pages' programs: the screen whole on white (4:3), then the logo, name, one line, three features
   and the program's own WhatsApp button, the button on one floor across the row */
.program-grid { align-items: stretch; }
.program-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: var(--p-bg); }
/* the picture sits out of the flow, so a tall picture cannot stretch its panel past the ratio */
.program-card__screen { position: relative; aspect-ratio: 4 / 3; background: #fff; }
.program-card__screen > img { position: absolute; inset: var(--s-5); width: calc(100% - 2 * var(--s-5)); height: calc(100% - 2 * var(--s-5)); object-fit: scale-down; }
.program-card__body { display: flex; flex: 1 1 auto; flex-direction: column; align-items: flex-start; gap: var(--s-3); padding: var(--s-6); }
.program-card__body > h3 { margin: 0; font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: -0.01em; }
.program-card__body > p { margin: 0; }
.program-card__logo { width: auto; height: 40px; max-width: 160px; object-fit: contain; object-position: left center; }
.program-card__features { display: grid; gap: var(--s-1); margin: 0; padding: 0; list-style: none; color: var(--muted); }
.program-card__features > li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: var(--s-2); border-radius: 50%; background: var(--p-action); vertical-align: 0.2em; }
.program-card__body > .btn { margin-top: auto; }
/* two programs: each card is half the row, so a wider, lower screen */
.program-grid--pair .program-card__screen { aspect-ratio: 16 / 9; }
@media (max-width: 1023px) { .program-grid > .program-card { grid-column: 1 / -1; } }
/* a tablet: one card a row, the screen beside the words instead of a tall white panel above them */
@media (min-width: 640px) and (max-width: 1023px) {
  .program-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .program-card__screen, .program-grid--pair .program-card__screen { min-height: 260px; aspect-ratio: auto; }
}

.district-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.stack-4 > .district-chips { margin-top: var(--s-4); }   /* under its heading: the stack's gap, not the reset */
.district.district--chip { min-height: 44px; padding: 0 var(--s-4); border-radius: 999px; }

/* the services' first picture: the Hugin cut out of its white (owner, 2026-11-29): no white panel, no frame line;
   the device and its shadow sit on the page's ground; the two photographs after it keep the frame's rounded corners */
#hizmetler .mo-pc__visual > img.is-contain { object-fit: contain; }
#hizmetler .mo-pc__visual > img.is-cutout { background: transparent; padding: var(--s-4) 0; }
#hizmetler .mo-pc__visual:has(> img.is-cutout) { overflow: visible; }
#hizmetler .mo-pc__visuals.frame { background: transparent; border-color: transparent; }
@media (max-width: 639px) { #hizmetler[data-moment]:not(.is-live) .mo-pc__visual > img { aspect-ratio: 5 / 4; max-height: none; } }
/* under the services' steps, the two programs */
.software-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-2) var(--s-5); margin: var(--s-6) 0 0; }
.software-links > .t-label { flex-basis: 100%; }
/* phones: the services' links on one line under the steps, so the moment keeps its two screens */
@media (max-width: 639px) {
  .software-links { margin-top: var(--s-4); gap: var(--s-1) var(--s-4); }
  .software-links > .t-label { flex-basis: auto; }
}

/* about: the client's mark on its own dark ground, large */
.about-mark { display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: var(--r-lg); background: var(--p-ink); }
.about-mark img { width: 52%; height: auto; }
@media (max-width: 1023px) { .about-mark { aspect-ratio: 16 / 9; margin-top: var(--s-7); } .about-mark img { width: auto; height: 60%; } }

/* the district list on /ankara: one tap opens WhatsApp with the district named */
.district-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--s-3); margin: 0; padding: 0; list-style: none; }
.district { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 56px; padding: 0 var(--s-4);
  border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--bg); color: var(--ink); text-decoration: none; font-weight: 500; }
.district:hover { border-color: var(--ink); }
[data-district][data-active] > .district { border-color: var(--p-accent); box-shadow: 0 0 0 2px var(--p-accent); }
[data-district] { scroll-margin-top: calc(var(--nav) + var(--s-7)); }
/* on the home page the 25 districts fill the visit section's right half, three to a row */
.district-grid--home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 639px) { .district-grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* the footer's credits line: two plain links and the sentence's full stop, which is the panel's door
   (/admin, the owner's wish, 2026-11-29). The stop reads as punctuation; its tap area (48px tall) reaches
   a little left and over the plain words on its right, never over the credits link, and stays inside the
   page's side padding so a phone never scrolls sideways. */
.footer__legal .credits { margin: 0; line-height: 1.8; }
.footer__legal .credits a:not(.btn) { display: inline; min-height: 0; min-width: 0; color: inherit; text-decoration: none; }
.footer__legal .credits a:not(.btn):hover { color: var(--ink); }
.footer__legal .credits a.credits__dot:hover { color: inherit; }
.credits__dot { position: relative; -webkit-tap-highlight-color: transparent; }
.credits__dot::before { content: ""; position: absolute; inset: -14px -16px -14px -6px; }

/* the blog: cards on the kit's tile (16:9 cover, title, category and date, the first lines), and the post
   as one reading column, its cover whole on the surface tone */
.blog-card .tile__facts { margin-top: calc(-1 * var(--s-2)); }
.blog-card > p:last-child { color: var(--muted); }
.post > :not(.crumbs) { max-width: 760px; }
.post-cover { position: relative; aspect-ratio: 16 / 9; overflow: clip; border-radius: var(--r-lg); background: var(--surface); }
/* a cover whole on white (CoverImage): nothing cropped, nothing stretched past its frame, whatever the upload's shape */
.has-cover { position: relative; overflow: clip; background: #fff; }
.has-cover > .cover-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.post-cover.has-cover { box-shadow: 0 0 0 1px var(--line); }
a.tile:hover .tile__media.has-cover > .cover-image { transform: scale(1.02); }
.post-body { display: grid; gap: var(--s-5); }
.post-body > p { margin: 0; max-width: 68ch; line-height: 1.7; }
.post-ask { padding: clamp(var(--s-5), 3vw, var(--s-7)); border-radius: var(--r-lg); background: var(--surface); }
.post-ask > h2 { font: 500 var(--t-h3)/1.25 var(--font-text); letter-spacing: -0.01em; }

/* the admin panel (/admin): plain and large, on the site's own tokens; the site's footer and phone bar stay out */
body:has(.admin-shell) > :is(footer.closing, nav.actionbar) { display: none; }
.admin-shell { min-height: 100vh; min-height: 100dvh; background: var(--surface); color: var(--ink); }
.admin-wrap { width: min(100% - 2 * var(--s-5), 920px); margin-inline: auto; padding: var(--s-6) 0 var(--s-9); }
.admin-wrap > * + * { margin-top: var(--s-6); }
.admin-stack > * + * { margin-top: var(--s-7); }
.admin-group > * + * { margin-top: var(--s-3); }
.admin-head { display: grid; gap: var(--s-5); }
.admin-head__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); }
.admin-head__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-5); }
.admin-brand { color: var(--ink); text-decoration: none; }
.admin-h1 { font: var(--display-weight) clamp(30px, 1.6vw + 22px, 42px)/1.1 var(--font-display); letter-spacing: var(--display-tracking); }
.admin-h2 { font: 500 var(--t-h3)/1.25 var(--font-text); letter-spacing: -0.01em; }
.admin-h3 { font: 600 var(--t-body)/1.3 var(--font-text); }
.admin-tabs { display: flex; gap: var(--s-2); border-bottom: 1px solid var(--line-strong); }
.admin-tabs > a { margin-bottom: -1px; padding: var(--s-3) var(--s-4); border-bottom: 3px solid transparent; color: var(--muted); font-weight: 600; text-decoration: none; }
.admin-tabs > a:hover { color: var(--ink); }
.admin-tabs > a[aria-current="page"] { border-color: var(--p-action); color: var(--ink); }
.admin-card { padding: clamp(var(--s-5), 3vw, var(--s-7)); border-radius: var(--r-lg); background: var(--bg); box-shadow: 0 0 0 1px var(--line); }
.admin-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-5); }
.admin-card__head > h2 { font: 500 var(--t-h3)/1.25 var(--font-text); letter-spacing: -0.01em; }
.admin-form { display: grid; gap: var(--s-5); }
.admin-form .field { font-size: var(--t-body); font-weight: 600; }
.admin-form .field :is(input, select, textarea) { font-weight: 400; }
.admin-form .field textarea { min-height: 0; line-height: 1.6; }
.admin-form .field select:disabled { background: var(--surface); color: var(--muted); }
.field__hint { font: 400 var(--t-small)/1.45 var(--font-text); color: var(--muted); }
.field__hint--warn { color: color-mix(in oklab, #b45309 82%, var(--ink)); }
.admin-photo { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); }
.admin-photo__preview { display: grid; place-items: center; flex: none; width: 160px; aspect-ratio: 4 / 3; overflow: clip; border-radius: var(--r-md); background: var(--surface); }
.admin-photo__preview > img { width: 100%; height: 100%; object-fit: cover; }
.admin-photo__preview--white { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.admin-photo__preview--white > img { object-fit: contain; padding: var(--s-2); }
.admin-photo input[type="file"] { flex: 1 1 220px; height: auto; padding: var(--s-3); border: 1px dashed var(--line-strong); border-radius: var(--r-sm); background: var(--surface); font-size: var(--t-small); }
.admin-submit { width: 100%; justify-content: center; }
.admin-notice { margin: 0; padding: var(--s-3) var(--s-4); border-radius: var(--r-md); font: 500 var(--t-small)/1.5 var(--font-text); }
.admin-notice--ok { background: #e6f4ea; color: #14532d; }
.admin-notice--error { background: #fdecea; color: #8a1c13; }
.admin-notice--info { background: color-mix(in oklab, var(--p-action) 12%, var(--bg)); color: var(--ink); }
.admin-list { display: grid; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.admin-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); padding: var(--s-3) var(--s-4); border-radius: var(--r-md); background: var(--bg); box-shadow: 0 0 0 1px var(--line); }
.admin-row.is-busy { opacity: 0.55; }
.admin-row--deleted { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
.admin-row--deleted .admin-row__title { color: var(--muted); text-decoration: line-through; }
.admin-thumb { display: grid; place-items: center; flex: none; width: 72px; aspect-ratio: 4 / 3; overflow: clip; border-radius: var(--r-sm); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.admin-thumb > img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.admin-thumb--cover > img { object-fit: cover; padding: 0; }
.admin-thumb__word { color: var(--muted); font-size: 13px; }
.admin-row__main { display: grid; flex: 1 1 220px; gap: 2px; min-width: 0; }
.admin-row__title { overflow: hidden; color: var(--ink); font-weight: 600; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
a.admin-row__title:hover { text-decoration: underline; }
.admin-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); color: var(--muted); font-size: var(--t-small); }
.admin-row__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.admin-btn-sm { min-height: 40px; padding: 0 var(--s-3); border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--bg); color: var(--ink); font: 500 var(--t-small)/1 var(--font-text); cursor: pointer; }
.admin-btn-sm:hover:not(:disabled) { border-color: var(--ink); }
.admin-btn-sm:disabled { opacity: 0.4; cursor: default; }
.admin-btn-sm--danger { color: #9b1c1c; }
.admin-btn-sm--danger:hover:not(:disabled) { border-color: #9b1c1c; }
.admin-badge { padding: 2px 8px; border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 13px; font-weight: 600; }
.admin-badge--live { background: #e6f4ea; color: #14532d; }
.admin-login { display: grid; place-items: center; min-height: 100vh; min-height: 100dvh; padding: var(--s-7) var(--s-5); }
.admin-login__box { display: grid; justify-items: center; gap: var(--s-5); width: min(100%, 440px); }
.admin-login__box > .admin-card { width: 100%; }
/* with the blog in the menu (seven words) the logo's column gets narrow around 1024px: the name stays on one line */
@media (min-width: 1024px) { .nav .nav__logo { white-space: nowrap; } }

/* the blog ticker on the home page (owner, 2026-11-29: Liora's structure, running sideways like a news
   ticker). The track holds one lap twice and moves by half its width, so the copy lands where the lap
   began; each card carries its own right margin, so half the track is exactly one lap. It stops under the
   pointer, a finger or the keyboard; with reduced motion it stands still and the row scrolls by hand. */
/* the first card starts on the content's left edge; the padding sits on the box, not the track, so half the track stays one lap */
.ticker { overflow-x: auto; padding-block: var(--s-2); padding-left: max(var(--gut), calc((100% - var(--container)) / 2)); scrollbar-width: none; }
.ticker::-webkit-scrollbar { display: none; }
.ticker__track { display: flex; width: max-content; animation: ticker var(--ticker-dur, 40s) linear infinite; }
.ticker:is(:hover, :focus-within, :active) .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }
.ticker-card { display: grid; grid-template-rows: auto 1fr; flex: none; width: 320px; margin-right: var(--s-5); overflow: clip; border-radius: var(--r-lg);
  background: var(--bg); color: var(--ink); text-decoration: none; box-shadow: 0 0 0 1px var(--line); transition: transform var(--dur) var(--ease); }
.ticker-card:hover { transform: translateY(-2px); }
.ticker-card__media { display: block; aspect-ratio: 16 / 9; }
.ticker-card__media > .cover-image { transition: transform 600ms var(--ease); }
.ticker-card:hover .ticker-card__media > .cover-image { transform: scale(1.03); }
.ticker-card__body { display: grid; align-content: start; gap: var(--s-2); padding: var(--s-4) var(--s-5) var(--s-5); }
.ticker-card__facts { color: var(--muted); font-size: var(--t-small); }
.ticker-card__title { display: -webkit-box; min-height: 2.7em; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  font: 500 var(--t-card)/1.35 var(--font-text); letter-spacing: -0.01em; }
.ticker-card__more { margin-top: var(--s-1); font-weight: 500; }
.ticker-card__more::after { content: " \2192"; }

/* the two cards of the home page (owner, 2026-11-29: "more modern, tidier"): one white-warm card a section,
   rounded, a hairline and a long soft shadow; the restaurant card puts its words beside the programme's
   screens, the contact card the shop beside the districts on the brand's dark ground */
.feature-card, .contact-card { display: grid; overflow: clip; border-radius: calc(var(--r-lg) + 8px); background: #fffdf9;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgb(41 37 30 / .45); }
@media (min-width: 1024px) {
  .feature-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .contact-card { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
.feature-card__text, .contact-card__main { display: grid; align-content: center; justify-items: start; gap: var(--s-5); padding: clamp(var(--s-6), 4vw, var(--s-8)); }
:is(.feature-card__text, .contact-card__main) > * { margin: 0; }
:is(.feature-card__text, .contact-card__main) > h2 { max-width: 18ch; }
.feature-card__lead, .contact-card__lead { max-width: 44ch; color: var(--muted); font-size: var(--t-lead); line-height: 1.5; }
.eyebrow { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px;
  background: color-mix(in oklab, var(--p-action) 13%, #fff); color: color-mix(in oklab, var(--p-action) 72%, var(--ink)); font: 600 var(--t-label)/1.2 var(--font-text); letter-spacing: .01em; }
.check-list { display: grid; gap: var(--s-3); margin: 0; padding: 0; list-style: none; }
.check-list > li { position: relative; padding-left: 38px; line-height: 1.5; }
.check-list > li::before { content: ""; position: absolute; left: 0; top: .1em; width: 26px; height: 26px; border-radius: 50%; background: color-mix(in oklab, var(--p-action) 15%, #fff); }
.check-list > li::after { content: ""; position: absolute; left: 10px; top: calc(.1em + 6px); width: 6px; height: 11px; border: solid var(--p-action); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.feature-card .btn-row, .contact-card .btn-row { margin-top: var(--s-2); }
.feature-card__media { display: grid; place-items: center; padding: clamp(var(--s-5), 3vw, var(--s-7)); background: linear-gradient(160deg, #fff 30%, color-mix(in oklab, var(--surface) 70%, #fff)); }
.feature-card__media > img { width: 100%; height: auto; max-height: 420px; object-fit: contain; }
@media (max-width: 1023px) { .feature-card__media { order: -1; } }

/* the contact card's list: an icon in a soft ring, the label small above, the address on its lines, the number large */
.contact-list { display: grid; gap: var(--s-5); width: 100%; margin: 0; padding: 0; list-style: none; }
.contact-list > li { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: start; gap: var(--s-4); }
.contact-list__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: color-mix(in oklab, var(--p-action) 13%, #fff); color: var(--p-action); }
.contact-list__body { display: grid; justify-items: start; gap: var(--s-2); padding-top: 2px; }
.contact-list__label { color: var(--muted); font: 500 var(--t-label)/1.3 var(--font-text); }
.contact-list .visit__address { display: grid; font-style: normal; line-height: 1.5; }
.contact-list .phone-big { font-size: clamp(32px, 2.2vw + 14px, 44px); }
.contact-card__side { display: grid; align-content: center; gap: var(--s-4); padding: clamp(var(--s-6), 4vw, var(--s-8)); }
.contact-card__side > h3, .contact-card__side > p { margin: 0; }
.contact-card__side > h3 { font: 500 var(--t-h3)/1.25 var(--font-text); letter-spacing: -0.01em; }
.contact-card__side > p { color: var(--muted); }
.contact-card__side .district-chips { gap: 6px; margin-top: var(--s-2); }
.contact-card__side .district.district--chip { min-height: 38px; padding: 0 12px; font-size: 15px; font-weight: 500; }
@media (max-width: 639px) { .contact-card__side .district.district--chip { min-height: 44px; } }

