/* ==========================================================================
   SmartLunch · Raut & catering — samostatná landing page
   Brand tokeny vycházejí z static/css/smartlunch/variables.css
   ========================================================================== */

:root {
  /* SmartLunch brand core */
  --brand: #ffab00;
  --brand-dark: #e09a00;
  --brand-ink: #9a6200;
  --brand-tint: #fff2d4;

  --navy: #1c1c31;
  --navy-dark: #121221;
  --navy-soft: #2d2d53;

  --paper: #fbf7f0;
  --surface: #ffffff;
  --ink: #231615;
  --ink-soft: #6f6b7d;

  --line: #ece3d6;
  --line-strong: #dad5c7;

  --green: #3dae4e;
  --green-ink: #1f5b2a;
  --green-tint: #e7f6e9;
  --blue: #34b5e5;
  --blue-tint: #eaf6fb;
  --red: #8b1a1a;
  --red-tint: #fde8e8;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 10px;

  --shadow-card: 0 10px 30px -18px rgba(28, 28, 49, 0.35);
  --shadow-float: 0 24px 50px -24px rgba(18, 18, 33, 0.5);

  --font: "Poppins", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 76px;
  --maxw: 1180px;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--brand-ink);
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.15em;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
  background: var(--navy);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease,
    color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn .icon {
  font-size: 1rem;
}

.btn--primary {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--navy);
  box-shadow: 0 10px 22px -12px rgba(255, 171, 0, 0.9);
}

.btn--primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.btn--navy {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.btn--navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
}

.btn--ghost {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--navy);
}

.btn--ghost:hover {
  background: var(--brand-tint);
  border-color: var(--brand);
}

.btn--outline-light {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--sm {
  padding: 9px 14px;
  font-size: 0.8rem;
  border-radius: var(--radius-xs);
}

.btn--lg {
  padding: 15px 26px;
  font-size: 0.98rem;
  border-radius: 14px;
}

.btn--block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 0;
}

.brand__logo {
  display: block;
  height: 38px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}

.brand__divider {
  width: 1px;
  height: 28px;
  background: var(--line-strong);
}

.brand__claim {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.main-nav a:hover {
  background: var(--brand-tint);
  color: var(--brand-ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 800;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 84px;
  background: var(--navy);
  color: #fff;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 560px;
  height: 560px;
  right: -140px;
  top: -200px;
  background: radial-gradient(circle, rgba(255, 171, 0, 0.28), transparent 68%);
}

.hero::after {
  width: 420px;
  height: 420px;
  left: -180px;
  bottom: -240px;
  background: radial-gradient(circle, rgba(52, 181, 229, 0.16), transparent 70%);
}

.hero__glow {
  position: absolute;
  inset: auto 8% -55% auto;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 171, 0, 0.18), transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-ink);
}

.eyebrow--light {
  color: var(--brand);
}

.hero__title {
  margin: 12px 0 18px;
  color: #fff;
  font-size: clamp(2.35rem, 4.6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hl {
  color: var(--brand);
}

.hero__lede {
  max-width: 50ch;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.03rem;
  line-height: 1.6;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8rem;
  font-weight: 500;
}

.hero__chips .icon {
  color: var(--brand);
  font-size: 0.95rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
}

.hero__note .icon {
  margin-top: 0.12em;
  color: var(--brand);
}

/* ---------- Hero karta (doprava) ---------- */
.hero-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-float);
}

.hero-card__title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  font-size: 1rem;
  color: var(--navy);
}

.hero-card__title .icon {
  color: var(--brand-ink);
  font-size: 1.15rem;
}

.hero-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card__list li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.hero-card__list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.hero-card__day {
  align-self: start;
  padding: 5px 8px;
  border-radius: 8px;
  background: var(--brand-tint);
  color: var(--brand-ink);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

.hero-card__day--alt {
  background: #eef2f8;
  color: var(--navy-soft);
}

.hero-card__day--ghost {
  background: var(--paper);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

.hero-card__text {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.hero-card__text strong {
  color: var(--ink);
}

.hero-card__foot {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 0;
  padding: 11px 13px;
  border-radius: var(--radius-xs);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.hero-card__foot .icon {
  color: var(--green);
  font-size: 1rem;
}

/* ---------- Benefity ---------- */
.benefits {
  position: relative;
  z-index: 2;
  margin-top: -40px;
  padding-bottom: 8px;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.benefit {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.benefit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand-ink);
}

.benefit__icon .icon {
  font-size: 1.2rem;
}

.benefit h3 {
  margin-bottom: 5px;
  font-size: 0.94rem;
}

.benefit p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* ---------- Sekce ---------- */
.section-head {
  max-width: 640px;
  margin: 0 0 28px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-title {
  margin: 8px 0 10px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 800;
}

.section-title .step {
  margin-right: 8px;
  vertical-align: middle;
}

.section-lede {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.6;
}

.section-lede--center {
  margin-inline: auto;
  max-width: 58ch;
}

/* ---------- Info pruh ---------- */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.notice__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand-ink);
}

.notice__icon .icon {
  font-size: 1.15rem;
}

.notice__title {
  margin: 0 0 4px;
  font-size: 0.95rem;
}

.notice__body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.55;
}

.notice__body p strong {
  color: var(--ink);
}

.notice__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.notice__meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 500;
}

.notice__meta .icon {
  color: var(--brand-ink);
  font-size: 0.95rem;
}

/* ---------- Objednávka: layout ---------- */
.order {
  padding: 56px 0 16px;
}

.order__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: 26px;
}

.order__main {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.order__aside {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ---------- Panel ---------- */
.panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.panel__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
}

.panel__title .icon {
  color: var(--brand-ink);
}

.step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--brand);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
}

.step--lg {
  width: 32px;
  height: 32px;
  font-size: 0.95rem;
}

/* ---------- Hledání ---------- */
.search {
  position: relative;
  flex: 1 1 220px;
  max-width: 320px;
}

.search .icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-soft);
  font-size: 0.9rem;
  pointer-events: none;
}

.search input {
  width: 100%;
  padding: 9px 12px 9px 34px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xs);
  background: var(--paper);
  font-size: 0.82rem;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.search input::placeholder {
  color: #9a94a8;
}

.search input:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 171, 0, 0.22);
}

/* ---------- Kategorie ---------- */
.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.79rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cat .icon {
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.cat:hover {
  border-color: var(--brand);
  background: var(--brand-tint);
}

.cat.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.cat.is-active .icon {
  color: var(--brand);
}

/* ---------- Toolbar katalogu ---------- */
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 2px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.catalog-toolbar__count {
  font-weight: 600;
}

.catalog-toolbar__hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.catalog-toolbar__hint .icon {
  color: var(--brand-ink);
  font-size: 0.9rem;
}

/* ---------- Katalog ---------- */
.catalog {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.catalog-empty {
  padding: 48px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.catalog-empty .icon {
  display: block;
  margin: 0 auto 10px;
  color: var(--line-strong);
  font-size: 1.8rem;
}

.catalog-empty strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 0.92rem;
}

.catalog-empty .btn {
  margin-top: 12px;
}

.product-group {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.product-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.product-group__title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 0.96rem;
  font-weight: 700;
}

.product-group__title::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.product-group__count {
  color: var(--ink-soft);
  font-size: 0.75rem;
  white-space: nowrap;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 12px;
  margin-top: 15px;
}

/* ---------- Produkt ---------- */
.product {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.product:hover {
  border-color: var(--line-strong);
  background: #fffdf9;
}

.product.is-selected {
  border-color: var(--brand);
  background: #fffaf0;
  box-shadow: inset 0 0 0 1px var(--brand);
}

.product__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.product__info {
  flex: 1;
  min-width: 0;
}

.product__name {
  margin: 0;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
}

.product__meta {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.4;
}

.product__price {
  flex: none;
  text-align: right;
}

.product__price strong {
  display: block;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}

.product__price small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.66rem;
}

.product__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.product__min {
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--brand-tint);
  color: var(--brand-ink);
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.product__qty-label {
  color: var(--ink-soft);
  font-size: 0.72rem;
}

/* ---------- Stepper ---------- */
.stepper {
  display: flex;
  align-items: center;
  gap: 5px;
}

.stepper button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.stepper button:hover {
  border-color: var(--brand);
  background: var(--brand-tint);
}

.stepper button.is-add {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--navy);
}

.stepper button.is-add:hover {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
}

.stepper .icon {
  font-size: 0.72rem;
  stroke-width: 2.4;
}

.stepper input {
  width: 46px;
  height: 28px;
  padding: 0 2px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  -moz-appearance: textfield;
}

.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.stepper input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(255, 171, 0, 0.25);
}

/* ---------- Formulářová pole ---------- */
.field {
  margin-bottom: 16px;
}

.field:last-child {
  margin-bottom: 0;
}

.field__label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
}

.field__label .icon {
  color: var(--brand-ink);
  font-size: 0.95rem;
}

.req {
  color: var(--brand-ink);
  font-weight: 700;
}

.input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xs);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 500;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.input::placeholder {
  color: #9a94a8;
  font-weight: 400;
}

.input:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 171, 0, 0.22);
}

select.input {
  appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f6b7d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
}

textarea.input {
  min-height: 88px;
  resize: vertical;
  line-height: 1.5;
}

.field__hint {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.field__hint.is-warning {
  color: var(--brand-ink);
  font-weight: 600;
}

/* ---------- Checkbox řádek ---------- */
.checkline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  padding: 12px;
  border: 1px dashed var(--brand);
  border-radius: var(--radius-xs);
  background: var(--brand-tint);
  cursor: pointer;
}

.checkline input {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--brand-ink);
}

.checkline span {
  display: block;
}

.checkline strong {
  display: block;
  color: #6a4e12;
  font-size: 0.78rem;
  line-height: 1.35;
}

.checkline small {
  display: block;
  margin-top: 2px;
  color: #7a5a1a;
  font-size: 0.7rem;
  line-height: 1.4;
}

/* ---------- Logistika ---------- */
.logistics {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--paper);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.logistics__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.logistics__label {
  color: var(--ink-soft);
  font-size: 0.74rem;
}

.logistics__day {
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.logistics__text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.73rem;
  line-height: 1.45;
}

.logistics__text strong {
  color: var(--ink);
}

.logistics.is-regular {
  border-color: #bee6c4;
  background: var(--green-tint);
}

.logistics.is-regular .logistics__day,
.logistics.is-regular .logistics__text strong {
  color: var(--green-ink);
}

.logistics.is-extra {
  border-color: #bfe6f5;
  background: var(--blue-tint);
}

.logistics.is-extra .logistics__day,
.logistics.is-extra .logistics__text strong {
  color: #0f6d8c;
}

/* ---------- Košík ---------- */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 240px;
  margin-bottom: 14px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.cart-items::-webkit-scrollbar {
  width: 5px;
}

.cart-items::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--line-strong);
}

.cart-empty {
  margin: 0;
  padding: 18px 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  text-align: center;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--paper);
}

.cart-item__info {
  flex: 1;
  min-width: 0;
}

.cart-item__name {
  margin: 0;
  overflow: hidden;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item__meta {
  display: block;
  margin-top: 1px;
  color: var(--ink-soft);
  font-size: 0.68rem;
}

.cart-item__right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.cart-item__total {
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.cart-item__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.cart-item__remove:hover {
  background: var(--red-tint);
  color: var(--red);
}

.cart-item__remove .icon {
  font-size: 0.78rem;
}

/* ---------- Součty ---------- */
.totals {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
}

.totals__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink-soft);
}

.totals__row strong {
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}

.totals__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 6px;
  border-radius: 6px;
  background: #eef0f4;
  color: #4b5563;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag--free {
  background: var(--green-tint);
  color: var(--green-ink);
}

.tag--paid {
  background: var(--brand-tint);
  color: var(--brand-ink);
}

.progress {
  height: 6px;
  margin-top: 2px;
  border-radius: 999px;
  background: #eee9df;
  overflow: hidden;
}

.progress__bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
  transition: width 0.3s ease, background 0.3s ease;
}

.progress__bar.is-free {
  background: var(--green);
}

.progress__text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.45;
}

.progress__text strong {
  color: var(--ink);
}

.totals__grand {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.totals__grand span {
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 700;
}

.totals__grand strong {
  color: var(--brand-ink);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.totals__vat {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.panel--cart .btn--block {
  margin-top: 14px;
}

.link-danger {
  padding: 3px 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.link-danger:hover {
  background: var(--red-tint);
}

/* ---------- Výdejní místo ---------- */
.checkout {
  padding: 64px 0;
}

.checkout__inner {
  max-width: 900px;
}

.checkout__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.checkout__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.checkout__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.checkout__actions .btn--primary {
  flex: 1 1 280px;
}

.checkout__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.5;
}

.checkout__note .icon {
  margin-top: 0.1em;
  color: var(--brand-ink);
  font-size: 1rem;
}

.link-inline {
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand-ink);
  font-size: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.link-inline:hover {
  color: var(--navy);
}

/* ---------- Jak to funguje ---------- */
.how {
  padding: 64px 0;
  background: var(--navy);
  color: #fff;
}

.how .section-title {
  color: #fff;
}

.how .eyebrow {
  color: var(--brand);
}

.how .section-lede {
  color: rgba(255, 255, 255, 0.68);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps__item {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: var(--brand);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 800;
}

.steps__item h3 {
  margin-bottom: 6px;
  color: #fff;
  font-size: 0.98rem;
}

.steps__item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  line-height: 1.55;
}

/* ---------- FAQ ---------- */
.faq {
  padding: 64px 0;
  background: var(--surface);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
}

.faq__item {
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary .icon {
  color: var(--brand-ink);
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.faq__item[open] summary .icon {
  transform: rotate(180deg);
}

.faq__item p {
  margin: 0 0 16px;
  padding-right: 12px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.6;
}

/* ---------- Patička ---------- */
.site-footer {
  padding: 48px 0 22px;
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
}

.footer__logo {
  display: inline-block;
  margin-bottom: 14px;
  padding: 9px 13px;
  border-radius: var(--radius-xs);
  background: #fff;
}

.footer__logo img {
  display: block;
  height: 28px;
  width: auto;
}

.footer__brand p {
  margin: 0;
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  line-height: 1.55;
}

.footer__col h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__col a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer__col a:hover {
  color: var(--brand);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.74rem;
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 33, 0.64);
  backdrop-filter: blur(4px);
}

.modal__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 40px);
  padding: 22px;
  overflow-y: auto;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6);
  animation: modal-in 0.18s ease-out;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.modal__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.95rem;
}

.modal__title .icon {
  color: var(--brand-ink);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.icon-btn:hover {
  background: var(--brand-tint);
  color: var(--navy);
}

.modal__lede {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.5;
}

.recipients {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.recipients li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--paper);
  color: var(--navy);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  overflow-wrap: anywhere;
}

.recipients .icon {
  color: var(--green);
  font-size: 1rem;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 110;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(420px, calc(100vw - 40px));
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--navy-dark);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: none;
}

.toast__icon {
  display: inline-flex;
  flex: none;
  color: var(--green);
}

.toast__icon .icon {
  font-size: 1.15rem;
}

.toast.is-error .toast__icon {
  color: #ff9d9d;
}

/* ---------- Mobilní souhrn ---------- */
.mobile-bar {
  display: none;
}

/* ---------- Responzivita ---------- */
@media (max-width: 1080px) {
  .order__layout {
    grid-template-columns: minmax(0, 1fr) 330px;
  }

  .hero__inner {
    gap: 40px;
  }

  .brand__claim {
    display: none;
  }

  .brand__divider {
    display: none;
  }
}

@media (max-width: 980px) {
  .hero {
    padding: 56px 0 72px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero__lede {
    max-width: 60ch;
  }

  .hero-card {
    max-width: 560px;
  }

  .benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order__layout {
    grid-template-columns: 1fr;
  }

  .order__aside {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  body {
    padding-bottom: 78px;
  }

  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    border-top: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 -8px 24px -12px rgba(28, 28, 49, 0.25);
  }

  .mobile-bar__sum {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }

  .mobile-bar__sum strong {
    color: var(--navy);
    font-size: 1rem;
    letter-spacing: -0.01em;
  }

  .toast {
    bottom: 90px;
  }
}

@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .order {
    padding-top: 40px;
  }

  .checkout,
  .how,
  .faq {
    padding: 48px 0;
  }
}

@media (max-width: 700px) {
  .order__aside {
    display: flex;
    flex-direction: column;
  }

  .checkout__form {
    padding: 18px;
    border-radius: var(--radius);
  }

  .checkout__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .notice {
    padding: 16px;
  }
}

@media (max-width: 640px) {
  .header-actions__label {
    display: none;
  }

  .checkout__actions .btn {
    width: 100%;
  }

  .checkout__actions .btn--primary {
    flex: none;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    padding-inline: 16px;
  }

  .hero {
    padding: 44px 0 64px;
  }

  .hero__title {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .hero__lede {
    font-size: 0.95rem;
  }

  .hero-card {
    padding: 20px;
  }

  .benefits {
    margin-top: -28px;
  }

  .benefits__grid {
    grid-template-columns: 1fr;
  }

  .brand__logo {
    height: 32px;
    max-width: 150px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .panel__head {
    align-items: flex-start;
  }

  .search {
    max-width: none;
  }

  .categories {
    gap: 6px;
  }

  .cat {
    padding: 7px 11px;
    font-size: 0.74rem;
  }
}

@media (max-width: 480px) {
  .header-actions .btn--ghost {
    display: none;
  }

  .section-head {
    margin-bottom: 22px;
  }

  .step--lg {
    width: 28px;
    height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}










