:root {
  --sand: #f8edd9;
  --cream: #fffaf3;
  --coral: #f16d5d;
  --coral-dark: #d95142;
  --sunburst: #f6b65a;
  --sunburst-soft: #ffd979;
  --aqua: #49c8c4;
  --aqua-deep: #1f8c93;
  --lagoon: #0e5d66;
  --lagoon-soft: #d8eff1;
  --seaweed: #163439;
  --ink: #1f1e1a;
  --muted: #6e7066;
  --line: rgba(16, 37, 40, 0.12);
  --card: rgba(255, 250, 243, 0.88);
  --shadow: 0 24px 80px rgba(22, 52, 57, 0.16);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content-max-width: 1680px;
  --content-width: 90%;
  --ral-3022: #d36e70;
  --ral-3022-rgb: 211, 110, 112;
  --ral-5024: #7ca6b0;
  --ral-5024-rgb: 124, 166, 176;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 15px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 177, 90, 0.28), transparent 30%),
    radial-gradient(circle at bottom right, rgba(14, 93, 102, 0.14), transparent 28%),
    linear-gradient(180deg, #fff8ee 0%, #f7f0e6 44%, #eef6f5 100%);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  html {
    font-size: 14.75px;
  }

  .search-field input,
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }
}

body.cart-drawer-open {
  overflow: hidden;
}

body.mobile-nav-open {
  overflow: hidden;
}

body.auth-modal-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 25% 18%, rgba(255, 255, 255, 0.85) 0, rgba(255, 255, 255, 0) 36%),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.6) 0, rgba(255, 255, 255, 0) 28%),
    radial-gradient(circle at 50% 50%, rgba(18, 70, 76, 0.08) 0, rgba(18, 70, 76, 0) 42%);
  mix-blend-mode: screen;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 0 0 96px;
}

.status-banner {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 70;
  width: min(620px, calc(100% - 32px));
  margin: 0;
  padding: 14px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  color: white;
  background: linear-gradient(135deg, var(--seaweed), var(--lagoon));
  text-align: center;
  font-weight: 700;
  pointer-events: none;
}

.status-banner[data-tone="error"] {
  background: linear-gradient(135deg, #861b13, #d14533);
}

.status-banner[data-tone="success"] {
  background: linear-gradient(135deg, #126251, #19a97d);
}

.order-tracker {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(22, 52, 57, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.96), rgba(237, 247, 247, 0.92)),
    var(--cream);
  box-shadow: 0 14px 34px rgba(22, 52, 57, 0.14);
  display: grid;
  gap: 10px;
}

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

.order-tracker__header h3 {
  margin: 4px 0 0;
  font-size: 1.08rem;
}

.order-tracker__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(22, 52, 57, 0.16);
  background: rgba(22, 52, 57, 0.08);
  color: var(--seaweed);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-tracker__status[data-status="new"] {
  border-color: rgba(241, 109, 93, 0.26);
  background: rgba(241, 109, 93, 0.14);
  color: #8a2e1f;
}

.order-tracker__status[data-status="preparing"] {
  border-color: rgba(15, 136, 149, 0.24);
  background: rgba(15, 136, 149, 0.12);
  color: #0d4f58;
}

.order-tracker__status[data-status="courier"] {
  border-color: rgba(25, 169, 125, 0.28);
  background: rgba(25, 169, 125, 0.12);
  color: #0d5e46;
}

.order-tracker__status[data-status="completed"] {
  border-color: rgba(22, 52, 57, 0.2);
  background: rgba(22, 52, 57, 0.1);
  color: #234046;
}

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

.order-tracker__tile {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(22, 52, 57, 0.1);
  background: rgba(255, 255, 255, 0.7);
}

.order-tracker__tile--wide {
  grid-column: span 4;
}

.order-tracker__tile span {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.order-tracker__tile strong {
  font-size: 0.94rem;
  line-height: 1.35;
  word-break: break-word;
}

.hero {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  padding: 22px 0 48px;
  min-height: 94svh;
  box-shadow: var(--shadow);
}

.hero-backdrop,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-backdrop {
  overflow: hidden;
  background: #0e1318;
  background-image: var(--hero-media-image, none);
  background-size: cover;
  background-position: var(--hero-media-position, center center);
  background-repeat: no-repeat;
  transform: scale(1);
}

.hero-backdrop::before,
.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-backdrop::before {
  z-index: 1;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.08), transparent 34%),
    radial-gradient(circle at 78% 82%, rgba(0, 0, 0, 0.16), transparent 42%),
    repeating-radial-gradient(
      circle at 0 0,
      rgba(255, 255, 255, 0.035) 0px,
      rgba(255, 255, 255, 0.035) 0.9px,
      rgba(0, 0, 0, 0) 0.9px,
      rgba(0, 0, 0, 0) 3.2px
    );
  background-size: auto, auto, 220px 220px;
  background-position: center, center, 0 0;
  mix-blend-mode: soft-light;
  opacity: 0.2;
  animation: vhsNoise 0.28s steps(2, end) infinite;
}

.hero-backdrop::after {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.16)),
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 1px,
      rgba(0, 0, 0, 0) 1px,
      rgba(0, 0, 0, 0) 4px
    ),
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 42%,
      rgba(255, 255, 255, 0.11) 50%,
      rgba(255, 255, 255, 0) 58%,
      rgba(255, 255, 255, 0) 100%
    ),
    repeating-linear-gradient(
      to right,
      rgba(255, 255, 255, 0) 0px,
      rgba(255, 255, 255, 0) 160px,
      rgba(255, 255, 255, 0.03) 160px,
      rgba(255, 255, 255, 0.03) 162px,
      rgba(255, 255, 255, 0) 162px,
      rgba(255, 255, 255, 0) 320px
    );
  mix-blend-mode: overlay;
  opacity: 0.16;
  animation: vhsFlicker 2.8s steps(2, end) infinite, vhsTracking 9s linear infinite;
}

@media (max-width: 980px) {
  .hero-backdrop::before {
    opacity: 0.16;
    animation-duration: 0.46s;
  }

  .hero-backdrop::after {
    opacity: 0.13;
    animation-duration: 3.6s, 12s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-backdrop::before,
  .hero-backdrop::after {
    animation: none !important;
    opacity: 0.08;
  }
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
  filter: none;
  transform: none;
}

.hero-backdrop[data-media-type="image"] .hero-video {
  display: none;
}

@media (min-width: 1280px) {
  .hero-video {
    object-position: center 27%;
  }
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(7, 12, 18, 0.03), rgba(7, 12, 18, 0.14));
}

.hero-topbar,
.hero-body {
  position: relative;
  z-index: 1;
  width: min(
    var(--content-max-width),
    var(--content-width)
  );
  margin-left: auto;
  margin-right: auto;
}

.hero-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-topbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-address-strip {
  display: none;
}

/* --- Natywna apka (Capacitor): obszar bezpieczny pod wyspą / status barem ---
   Aktywne tylko gdy <html class="surf-native"> (ustawiane przez bootstrap apki),
   więc wersja webowa pozostaje bez zmian. viewport-fit=cover w <meta> sprawia,
   że env(safe-area-inset-top) zwraca realną wysokość wyspy. Używamy padding-top
   (a nie margin), żeby treść schodziła pod wyspę bez spychania całej strony. */

/* Nagłówek hero: pasek na samym szczycie — bez szarego „dymka", logo po lewej,
   hamburger po prawej, wyspa w pustym środku, wideo widoczne pod spodem. */
.surf-native .hero-topbar {
  top: 0;
  width: 100%;
  margin: 0;
  padding: calc(env(safe-area-inset-top, 0px) + 6px) 14px 8px;
  border-radius: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
/* Logo czytelne także nad jasnymi sekcjami przy przewijaniu (mocniejszy cień). */
.surf-native .hero-brand__logo {
  filter: brightness(0) invert(1) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.55));
}

/* Wysuwane menu mobilne: pływająca karta w kolorach Surf Club (morski→koral),
   startuje na wysokości hamburgera (nie od samej góry) i nie dotyka dołu ekranu. */
html.surf-native body .mobile-nav-panel {
  top: calc(env(safe-area-inset-top, 0px) + 8px);
  right: 10px;
  bottom: auto;
  height: auto;
  max-height: calc(100svh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 24px);
  overflow-y: auto;
  width: min(310px, calc(100% - 24px));
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 217, 121, 0.30), rgba(255, 217, 121, 0) 34%),
    linear-gradient(150deg, rgba(17, 78, 86, 0.99), rgba(19, 102, 110, 0.97) 45%, rgba(241, 109, 93, 0.95));
  box-shadow: 0 22px 50px rgba(16, 38, 42, 0.4);
  color: #fff;
}
html.surf-native body .mobile-nav-panel__header,
html.surf-native body .mobile-nav-panel__header strong {
  color: #fff;
}
html.surf-native body .mobile-nav-panel__header {
  border-bottom-color: rgba(255, 255, 255, 0.22);
}
html.surf-native body .mobile-nav-panel__close {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
html.surf-native body .mobile-nav-link {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--seaweed);
}

/* SURF CLUB i reszta hero nad paskiem domowym (home indicator / nav bar).
   border-top:0 usuwa cienki biały pasek widoczny u góry przy viewport-fit=cover. */
.surf-native .hero {
  border-top: 0;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}
/* hero-body bazuje na 100dvh (large viewport) → na natywie wypychało kartę
   SurfClub pod ekran. Opieramy na 100svh (zawsze widoczny obszar) i odejmujemy
   górę (status bar/wyspa + topbar) oraz dół (home indicator), by karta zmieściła
   się w całości na ekranie startowym. */
.surf-native .hero-body {
  min-height: calc(100svh - 144px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
}

/* Panel konta (logowanie/profil) — nagłówek pod wyspą. */
.surf-native .user-panel__header {
  padding-top: calc(env(safe-area-inset-top, 0px) + 8px);
}

.layout-anchor,
.hero-mobile-loyalty-slot {
  display: none;
}

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(9, 20, 22, 0.32);
  backdrop-filter: blur(12px);
}

.mobile-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: #fff8ee;
}

.hero-brand {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: white;
}

.hero-brand strong {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-brand__logo {
  display: block;
  width: clamp(104px, 18vw, 168px);
  height: clamp(91.1px, 15.77vw, 147.2px);
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  filter: brightness(0) invert(1) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.34));
}

.hero-brand__logo--neon,
.surf-native .hero-brand__logo--neon {
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.34));
}

.hero-brand__eyebrow,
.kicker,
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 800;
}

.hero-brand__eyebrow,
.kicker {
  color: rgba(255, 246, 240, 0.82);
}

.ghost-button,
.primary-button,
.secondary-button,
.icon-button,
.mode-switch__button,
.product-card__action,
.category-chip {
  font: inherit;
  cursor: pointer;
  border: 0;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  text-decoration: none;
}

.ghost-button--account {
  min-width: 120px;
  justify-content: center;
}

.ghost-button--contest {
  border-color: rgba(255, 225, 145, 0.48);
  background: linear-gradient(135deg, rgba(255, 229, 159, 0.28), rgba(241, 109, 93, 0.18));
  box-shadow: 0 14px 28px rgba(241, 109, 93, 0.16);
  font-weight: 800;
}

.ghost-button:hover,
.primary-button:hover,
.secondary-button:hover,
.mode-switch__button:hover,
.product-card__action:hover,
.category-chip:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.ghost-button__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 30px;
  border-radius: 999px;
  color: var(--seaweed);
  background: var(--sand);
  font-weight: 800;
}

.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.8fr);
  gap: 26px;
  align-items: end;
  margin-top: clamp(120px, 18vh, 220px);
}

.hero-copy {
  max-width: 700px;
}

.hero-copy h1 {
  margin: 12px 0 18px;
  color: white;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.7rem, 6.7vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
}

.hero-lead {
  max-width: 62ch;
  margin: 0;
  color: rgba(255, 247, 242, 0.92);
  font-size: 1.06rem;
  line-height: 1.72;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-badge {
  padding: 10px 14px;
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.primary-button {
  color: white;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  box-shadow: 0 18px 40px rgba(217, 81, 66, 0.34);
}

.primary-button--full {
  width: 100%;
}

.secondary-button {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
}

.hero-summary {
  padding: 20px;
  border-radius: calc(var(--radius-xl) + 2px);
  background: rgba(255, 250, 243, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 70px rgba(14, 36, 39, 0.24);
}

.hero-summary__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.hero-summary__header img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 10px 30px rgba(22, 52, 57, 0.16);
}

.hero-summary__header h2 {
  margin: 4px 0 0;
  font-size: 1.32rem;
}

.hero-summary__intro {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.hero-summary__label {
  margin: 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 800;
}

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

.hero-summary__grid .fact-tile:only-child {
  grid-column: 1 / -1;
}

.fact-tile--mode .mode-switch {
  margin-top: 10px;
}

.hero-address {
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(20, 38, 42, 0.06);
}

.hero-address__mode {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.mode-switch--inline {
  width: 100%;
}

.hero-address__city-street {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.hero-address__combined,
.checkout-address__combined {
  display: grid;
  gap: 10px;
}

.hero-address__numbers,
.checkout-address__numbers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.address-field-stack {
  display: grid;
  gap: 8px;
  align-content: start;
  position: relative;
}

.address-field-stack .address-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  margin-top: 0;
  z-index: 30;
  box-shadow: 0 18px 36px rgba(16, 38, 42, 0.18);
}

.hero-address__split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.hero-address__check,
.checkout-address__check {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-address__hint {
  color: var(--muted);
  line-height: 1.5;
}

.address-suggestions {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding: 10px;
  max-height: 240px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 3;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(20, 38, 42, 0.08);
}

.address-suggestions[hidden] {
  display: none !important;
}

.address-suggestion {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(20, 38, 42, 0.08);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  text-align: left;
}

.address-suggestion strong {
  font-size: 0.98rem;
}

.address-suggestion span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.address-suggestion.is-active,
.address-suggestion:hover {
  border-color: rgba(241, 109, 93, 0.44);
  background: rgba(255, 245, 240, 0.98);
}

.address-suggestions__status {
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--muted);
  background: rgba(22, 52, 57, 0.04);
  font-size: 0.9rem;
  line-height: 1.45;
}

.fact-tile,
.overview-card,
.product-card,
.summary-card,
.field input,
.field select,
.field textarea,
.cart-item,
.featured-card,
.menu-group,
.control-deck,
.overview-panel,
.category-ribbon,
.cart-panel {
  backdrop-filter: blur(14px);
}

body:is(.perf-android-chrome, .perf-low-end) .hero {
  min-height: 100svh;
}

body:is(.perf-android-chrome, .perf-low-end) .grain {
  display: none !important;
}

body:is(.perf-android-chrome, .perf-low-end) .hero-overlay {
  background: linear-gradient(180deg, rgba(7, 20, 22, 0.08), rgba(7, 20, 22, 0.26));
}

body:is(.perf-android-chrome, .perf-low-end) .hero-video {
  filter: none !important;
}

body:is(.perf-android-chrome, .perf-low-end) .hero-backdrop::after {
  display: none !important;
}

body:is(.perf-android-chrome, .perf-low-end) .hero-backdrop::before {
  display: none !important;
}

body:is(.perf-android-chrome, .perf-low-end) .mobile-nav-toggle,
body:is(.perf-android-chrome, .perf-low-end) .ghost-button,
body:is(.perf-android-chrome, .perf-low-end) .hero-badge,
body:is(.perf-android-chrome, .perf-low-end) .secondary-button,
body:is(.perf-android-chrome, .perf-low-end) .hero-summary,
body:is(.perf-android-chrome, .perf-low-end) .fact-tile,
body:is(.perf-android-chrome, .perf-low-end) .overview-card,
body:is(.perf-android-chrome, .perf-low-end) .product-card,
body:is(.perf-android-chrome, .perf-low-end) .summary-card,
body:is(.perf-android-chrome, .perf-low-end) .field input,
body:is(.perf-android-chrome, .perf-low-end) .field select,
body:is(.perf-android-chrome, .perf-low-end) .field textarea,
body:is(.perf-android-chrome, .perf-low-end) .cart-item,
body:is(.perf-android-chrome, .perf-low-end) .featured-card,
body:is(.perf-android-chrome, .perf-low-end) .menu-group,
body:is(.perf-android-chrome, .perf-low-end) .control-deck,
body:is(.perf-android-chrome, .perf-low-end) .overview-panel,
body:is(.perf-android-chrome, .perf-low-end) .category-ribbon,
body:is(.perf-android-chrome, .perf-low-end) .cart-panel,
body:is(.perf-android-chrome, .perf-low-end) .loyalty-card--showcase .loyalty-reward,
body:is(.perf-android-chrome, .perf-low-end) .loyalty-card--showcase .loyalty-stat {
  backdrop-filter: none !important;
}

body:is(.perf-android-chrome, .perf-low-end) .reveal,
body:is(.perf-android-chrome, .perf-low-end).reveal-ready .reveal,
body:is(.perf-android-chrome, .perf-low-end).reveal-ready .reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

body:is(.perf-android-chrome, .perf-low-end) .promo-badge-pill--discount,
body:is(.perf-android-chrome, .perf-low-end) .promo-badge-pill--club,
body:is(.perf-android-chrome, .perf-low-end) .mobile-cart-button.is-pulsing,
body:is(.perf-android-chrome, .perf-low-end) .cart-panel.is-pulsing,
body:is(.perf-android-chrome, .perf-low-end) .cart-order-status__pill--live {
  animation: none !important;
}

body:is(.perf-android-chrome, .perf-low-end) .welcome-bubble {
  box-shadow:
    0 18px 34px rgba(105, 31, 9, 0.28),
    0 0 0 100vmax rgba(12, 25, 28, 0.38);
}

.fact-tile {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(20, 38, 42, 0.06);
}

.fact-tile__label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.fact-tile strong,
.overview-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.fact-tile small,
.overview-card span {
  color: var(--muted);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(420px, 31vw, 470px);
  gap: 24px;
  align-items: start;
  width: min(
    var(--content-max-width),
    var(--content-width)
  );
  margin: 24px auto 0;
}

.menu-pane {
  display: grid;
  gap: 18px;
}

.control-deck,
.overview-panel,
.category-ribbon,
.menu-group,
.cart-panel {
  border: 1px solid rgba(20, 38, 42, 0.08);
  background: var(--card);
  box-shadow: var(--shadow);
}

.control-deck,
.overview-panel {
  padding: 18px;
  border-radius: var(--radius-lg);
}

.control-deck {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.legal-note {
  padding: 16px 18px;
  border: 1px solid rgba(20, 38, 42, 0.1);
  border-radius: var(--radius-md);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.74);
  text-align: center;
  box-shadow: var(--shadow);
}

.legal-note p {
  margin: 0;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
}

.legal-note__operator {
  max-width: 860px;
  margin: 8px auto 0;
  color: rgba(22, 52, 57, 0.72);
  line-height: 1.55;
  letter-spacing: 0;
}

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

.legal-note__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  margin-top: 10px;
}

.legal-note__link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(22, 52, 57, 0.16);
  color: var(--seaweed);
  background: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.legal-note__link:hover,
.legal-note__link:focus-visible {
  border-color: rgba(14, 93, 102, 0.45);
  background: rgba(14, 93, 102, 0.12);
  color: var(--lagoon);
}

.mode-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(22, 52, 57, 0.05);
}

.mode-switch__button {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
}

.mode-switch__button.is-active {
  color: white;
  background: linear-gradient(135deg, var(--seaweed), var(--lagoon));
  box-shadow: 0 12px 26px rgba(14, 93, 102, 0.2);
}

.search-field,
.field {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
}

.field--wide {
  grid-column: 1 / -1;
}

.search-field input,
.field input,
.field select,
.field textarea {
  width: 100%;
  /* Bez tego input wymusza własną minimalną (intrinsic) szerokość i rozpycha
     siatki w wąskich kontenerach (np. szuflada koszyka) -> poziomy scroll. */
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  outline: none;
}

.search-field input:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(14, 93, 102, 0.45);
  box-shadow: 0 0 0 4px rgba(14, 93, 102, 0.08);
}

.field textarea {
  resize: vertical;
  min-height: 96px;
}

.overview-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.overview-card {
  padding: 18px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 250, 250, 0.88)),
    var(--cream);
}

.featured {
  display: grid;
  gap: 16px;
}

@media (min-width: 981px) {
  .featured {
    display: none;
  }
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.section-heading h2,
.menu-group__heading h2,
.cart-panel__header h2 {
  margin: 6px 0 0;
  font-size: clamp(1.34rem, 1.55vw, 1.78rem);
}

.section-text,
.menu-group__description,
.summary-card__note,
.cart-empty p,
.field span,
.item-modal__description,
.item-modal__content p {
  color: var(--muted);
  line-height: 1.6;
}

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

.featured-card {
  position: relative;
  overflow: hidden;
  min-height: 290px;
  padding: 18px;
  border-radius: 24px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: end;
  border: 1px solid rgba(255, 255, 255, 0.18);
  isolation: isolate;
  content-visibility: auto;
  contain-intrinsic-size: 290px;
}

.featured-card__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.featured-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
}

.featured-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 38, 42, 0.02), rgba(20, 38, 42, 0.92)),
    radial-gradient(circle at top right, rgba(241, 109, 93, 0.5), transparent 30%);
  z-index: -1;
}

.featured-card__badge,
.product-card__badge,
.item-modal__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.featured-card__badge {
  margin-bottom: auto;
  color: var(--seaweed);
  background: rgba(255, 245, 232, 0.92);
}

.featured-card--promo::before {
  background:
    linear-gradient(180deg, rgba(20, 38, 42, 0.04), rgba(20, 38, 42, 0.88)),
    radial-gradient(circle at top right, rgba(255, 188, 34, 0.72), transparent 36%),
    radial-gradient(circle at 22% 88%, rgba(241, 109, 93, 0.42), transparent 46%);
}

.featured-card__badge--promo,
.item-modal__badge.item-modal__badge--promo {
  color: #261807;
  text-shadow: none;
  background: #ffc533;
  border: 1px solid rgba(179, 126, 22, 0.54);
  box-shadow: 0 8px 18px rgba(126, 83, 16, 0.28);
  min-height: 30px;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 0.66rem;
  letter-spacing: 0.02em;
  animation: none;
}

.featured-card__badge--promo,
.product-card__badge--promo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-inline: 10px;
}

.featured-card__badge--promo .promo-badge__tag,
.product-card__badge--promo .promo-badge__tag {
  font-size: 1em;
  letter-spacing: 0.06em;
  opacity: 1;
  font-weight: 800;
}

.featured-card__badge--promo .promo-badge__value,
.product-card__badge--promo .promo-badge__value {
  font-size: 1.5em;
  line-height: 1;
  letter-spacing: 0.015em;
  font-weight: 1000;
  color: #fff;
  text-shadow:
    0 1px 0 rgba(85, 15, 6, 0.45),
    0 3px 10px rgba(102, 24, 10, 0.35);
}

.featured-card__badge--promo .promo-badge__value--club,
.product-card__badge--promo .promo-badge__value--club {
  font-size: 1em;
  line-height: 1.05;
  letter-spacing: 0.02em;
  font-weight: 850;
  text-transform: none;
  white-space: nowrap;
}

.featured-card__badge--promo.featured-card__badge--club-teaser,
.item-modal__badge.item-modal__badge--promo.item-modal__badge--club-teaser {
  gap: 6px;
  min-height: 0;
  padding: 0;
  letter-spacing: normal;
  text-transform: none;
  color: inherit;
  text-shadow: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  animation: none;
}

.promo-badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 820;
  white-space: nowrap;
}

.promo-badge-pill--discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 11px;
  color: #2b1a0f;
  letter-spacing: 0.02em;
  text-transform: none;
  background: #ffc533;
  border: 1px solid rgba(170, 118, 18, 0.56);
  box-shadow:
    0 8px 16px rgba(133, 89, 16, 0.24),
    0 0 0 1px rgba(255, 248, 208, 0.3) inset;
}

.promo-badge-pill--discount strong {
  display: inline-block;
  font-size: 1.06rem;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: 0.01em;
  text-align: center;
  color: #2b1a0f;
}

.promo-badge-pill--discount span {
  display: none;
}

.promo-badge-pill--base {
  color: #21424a;
  background: rgba(255, 245, 232, 0.97);
  border: 1px solid rgba(109, 132, 136, 0.34);
  box-shadow: 0 6px 16px rgba(13, 35, 44, 0.18);
}

.promo-badge-pill--base.promo-badge-pill--new {
  color: #f4fdff;
  background: linear-gradient(135deg, #2ea9d4 0%, #256fc0 100%);
  border-color: rgba(27, 82, 140, 0.66);
  box-shadow:
    0 8px 18px rgba(22, 61, 115, 0.3),
    0 0 0 1px rgba(221, 244, 255, 0.18) inset;
  text-shadow: 0 1px 1px rgba(18, 48, 90, 0.45);
}

.promo-badge-pill--club {
  display: inline-grid;
  gap: 2px;
  min-height: 34px;
  padding: 5px 12px;
  color: #2b1a0f;
  letter-spacing: 0.02em;
  text-transform: none;
  background: #f4bc1f;
  border: 1px solid rgba(170, 118, 18, 0.56);
  box-shadow:
    0 12px 24px rgba(133, 89, 16, 0.28),
    0 0 0 1px rgba(255, 248, 208, 0.32) inset;
}

.promo-badge-pill--club strong {
  display: block;
  font-size: 1.12rem;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: 0.015em;
  text-align: center;
  color: #2b1a0f;
}

.promo-badge-pill--club span {
  display: block;
  font-size: 0.62rem;
  line-height: 1.1;
  text-align: center;
  font-weight: 900;
  color: rgba(74, 43, 8, 0.92);
}

.product-card__badge--unavailable,
.item-modal__badge--unavailable {
  color: white;
  background: rgba(192, 73, 57, 0.9);
}

.featured-card h3,
.product-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.featured-card p {
  margin: 0;
  color: rgba(255, 248, 240, 0.88);
}

.featured-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.featured-card__price {
  display: inline-grid;
  gap: 4px;
  font-size: 1.2rem;
  font-weight: 800;
}

.featured-card__price small {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 248, 240, 0.82);
}

.price-stack {
  display: inline-grid;
  gap: 3px;
}

.price-stack s {
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255, 248, 240, 0.68);
  text-decoration-thickness: 2px;
}

.price-stack__promo {
  color: #ffd166;
}

.price-stack__lowest30d {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.35;
  color: rgba(255, 248, 240, 0.84);
}

.price-stack__club-teaser {
  display: block;
  margin-top: 2px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: rgba(255, 225, 142, 0.98);
}

.price-stack--compact s {
  font-size: 0.78rem;
}

.featured-card__button {
  color: white;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.featured-card__button,
.product-card__action--ghost {
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 800;
}

.menu-sections {
  display: grid;
  gap: 20px;
}

.menu-group {
  scroll-margin-top: 112px;
  padding: 0;
  border-radius: 28px;
  overflow: hidden;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.menu-group__heading {
  display: grid;
  gap: 12px;
  margin-bottom: 0;
  padding: 18px 18px 12px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(20, 38, 42, 0.08);
  position: relative;
}

.menu-group__heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 6px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, var(--coral), var(--coral-dark));
}

.menu-group--promotions .menu-group__heading {
  background:
    radial-gradient(circle at top right, rgba(255, 203, 93, 0.36), transparent 34%),
    linear-gradient(180deg, rgba(255, 248, 232, 0.98), rgba(255, 244, 220, 0.98));
}

.menu-group--promotions .menu-group__heading::before {
  background: linear-gradient(180deg, #f7b437, #f16d5d);
}

.menu-group--promotions .menu-group__heading h2::after {
  content: "HOT";
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  color: #5d1200;
  background: linear-gradient(135deg, #ffe17b, #ffac3d);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  font-weight: 900;
  vertical-align: middle;
}

.menu-group__description {
  width: 100%;
  max-width: none;
}

.menu-group__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.menu-group__pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--seaweed);
  background: rgba(22, 52, 57, 0.06);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 10px 14px 18px;
  background: rgba(245, 240, 232, 0.6);
}

.product-card {
  --product-card-media-size: 132px;
  position: relative;
  display: grid;
  grid-template-columns: var(--product-card-media-size) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(20, 38, 42, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 18px 34px rgba(20, 45, 50, 0.1),
    0 3px 7px rgba(20, 45, 50, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  content-visibility: auto;
  contain-intrinsic-size: auto 170px;
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.product-card[data-product-card]:not(.product-card--unavailable) {
  cursor: pointer;
}

.product-card[data-product-card]:focus-visible {
  outline: 3px solid rgba(25, 169, 125, 0.58);
  outline-offset: 4px;
}

.product-card + .product-card {
  margin-top: 12px;
}

@media (min-width: 1360px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-card + .product-card {
    margin-top: 0;
  }
}

.product-card--unavailable {
  opacity: 0.72;
}

.product-card--promo {
  border-color: rgba(239, 179, 33, 0.4);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 20px rgba(239, 179, 33, 0.14);
}

.product-card__media {
  position: relative;
  overflow: hidden;
  width: var(--product-card-media-size);
  height: var(--product-card-media-size);
  aspect-ratio: 1;
  border-radius: 16px;
  padding: 0;
  border: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  transform: scale(1);
  transform-origin: center;
  transition:
    transform 340ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 340ms ease,
    box-shadow 340ms ease;
}

.product-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1);
  transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    z-index: 2;
    border-color: rgba(11, 84, 92, 0.2);
    transform: translateY(-3px);
    box-shadow:
      0 28px 50px rgba(20, 45, 50, 0.16),
      0 7px 16px rgba(20, 45, 50, 0.09),
      inset 0 1px 0 rgba(255, 255, 255, 0.96);
  }

  .product-card:hover .product-card__media {
    z-index: 3;
    transform: scale(1.02);
    filter: drop-shadow(0 14px 18px rgba(16, 34, 38, 0.16));
  }

  .product-card:hover .product-card__media img {
    transform: scale(1.02);
  }
}

.product-hover-preview {
  position: fixed;
  inset: 0;
  z-index: 39;
  display: grid;
  place-items: center;
  padding: max(32px, env(safe-area-inset-top)) 32px max(32px, env(safe-area-inset-bottom));
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background: rgba(12, 25, 28, 0.55);
  backdrop-filter: blur(0);
  transition:
    opacity 260ms ease,
    visibility 0s linear 260ms,
    backdrop-filter 320ms ease;
}

.product-hover-preview[hidden] {
  display: none;
}

.product-hover-preview.is-visible {
  opacity: 1;
  visibility: visible;
  backdrop-filter: blur(2px);
  transition-delay: 0s;
}

.product-hover-preview__frame {
  width: min(var(--product-hover-frame-width, 620px), calc(100vw - 96px));
  height: min(var(--product-hover-frame-height, 76vh), calc(100vh - 96px));
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 30px;
  background: transparent;
  box-shadow:
    0 34px 76px rgba(3, 13, 18, 0.46),
    0 0 0 1px rgba(255, 255, 255, 0.22);
  opacity: 0.84;
  filter: blur(4px);
  transform: translateY(18px) scale(0.92);
  transform-origin: center;
  transition:
    opacity 320ms ease,
    filter 340ms ease,
    transform 380ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-hover-preview.is-visible .product-hover-preview__frame {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.product-hover-preview__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center center;
  border-radius: inherit;
  background: var(--product-hover-bg, #1f89af);
}

@media (max-width: 980px), (hover: none), (pointer: coarse) {
  .product-hover-preview {
    display: none !important;
  }
}

.product-card__badge {
  position: absolute;
  top: 8px;
  left: 18px;
  z-index: 11;
  pointer-events: none;
  width: fit-content;
  max-width: calc(var(--product-card-media-size) - 8px);
  justify-content: center;
  text-align: center;
  color: #21424a;
  background: rgba(255, 245, 232, 0.97);
  border: 1px solid rgba(109, 132, 136, 0.34);
  box-shadow: 0 6px 16px rgba(13, 35, 44, 0.18);
  backdrop-filter: none;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.product-card__badge.product-card__badge--promo {
  top: 10px;
  width: var(--product-card-media-size);
  max-width: var(--product-card-media-size);
  color: inherit;
  text-shadow: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  animation: none;
  backdrop-filter: none;
  min-height: 0;
  padding: 0;
  border-radius: 0;
}

.featured-card__badge--new,
.product-card__badge--new,
.item-modal__badge--new {
  color: #f4fdff;
  background: linear-gradient(135deg, #2ea9d4 0%, #256fc0 100%);
  border-color: rgba(27, 82, 140, 0.66);
  box-shadow:
    0 8px 18px rgba(22, 61, 115, 0.3),
    0 0 0 1px rgba(221, 244, 255, 0.18) inset;
  text-shadow: 0 1px 1px rgba(18, 48, 90, 0.45);
}

.product-card--club-teaser {
  padding-top: 84px;
}

.product-card--promo:not(.product-card--club-teaser) {
  padding-top: 56px;
}

.product-card--promo:not(.product-card--club-teaser) .product-card__badge {
  top: 34px;
  left: 18px;
  display: inline-flex;
  justify-items: center;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: calc(100% - 30px);
  min-height: 0;
  padding: 0;
  border-radius: 0;
  overflow: visible;
  letter-spacing: normal;
  text-transform: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  animation: none;
  backdrop-filter: none;
}

.product-card--promo:not(.product-card--club-teaser) .promo-badge-pill--base {
  display: flex;
  width: auto;
  max-width: none;
  min-height: 28px;
  padding: 0 11px;
  box-sizing: border-box;
  font-size: 0.66rem;
  font-weight: 820;
  letter-spacing: 0.07em;
  border-radius: 999px;
}

.product-card--promo:not(.product-card--club-teaser) .promo-badge-pill--discount {
  display: inline-flex;
  width: auto;
  min-height: 28px;
  padding: 0 12px;
  box-sizing: border-box;
  border-radius: 999px;
}

.product-card--promo:not(.product-card--club-teaser) .promo-badge-pill--discount strong {
  font-size: 1.08rem;
  line-height: 1;
}

.product-card--club-teaser .product-card__badge {
  top: 12px;
  left: 18px;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: stretch;
  align-items: stretch;
  gap: 3px;
  width: calc(var(--product-card-media-size) + 132px);
  max-width: calc(100% - 30px);
  min-height: 0;
  padding: 0;
  border-radius: 0;
  overflow: visible;
  letter-spacing: normal;
  text-transform: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  animation: none;
  backdrop-filter: none;
}

.product-card--club-teaser .product-card__badge.product-card__badge--promo {
  color: inherit;
  text-shadow: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  animation: none;
}

.product-card--club-teaser .product-card__badge,
.product-card--club-teaser .product-card__badge--promo,
.product-card--club-teaser .product-card__badge.product-card__badge--promo {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.product-card--club-teaser .promo-badge-pill--club {
  order: -1;
  display: grid;
  width: 100%;
  min-height: 52px;
  padding: 7px 14px;
  box-sizing: border-box;
  color: #4a2b08;
  background: #f4bc1f;
  border: 1px solid rgba(160, 110, 11, 0.78);
  box-shadow:
    0 8px 18px rgba(126, 83, 16, 0.24),
    0 0 0 1px rgba(255, 248, 208, 0.24) inset;
  border-radius: 12px;
}

.product-card--club-teaser .promo-badge-pill--club strong {
  color: #4a2b08;
  font-size: 1.58rem;
  line-height: 0.95;
  text-shadow: 0 1px 0 rgba(255, 246, 205, 0.42);
}

.product-card--club-teaser .promo-badge-pill--club span {
  color: rgba(74, 43, 8, 0.94);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.015em;
  white-space: nowrap;
}

.product-card--club-teaser .promo-badge-pill--base {
  display: flex;
  width: var(--product-card-media-size);
  max-width: 100%;
  min-height: 30px;
  padding: 0 12px;
  box-sizing: border-box;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  border-radius: 10px;
  margin-top: 0;
}

.product-card__copy {
  display: grid;
  gap: 10px;
}

.product-card__copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.product-card__unavailable-note {
  color: var(--coral-dark);
}

.product-card__body {
  display: grid;
  gap: 12px;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-card__price {
  display: inline-grid;
  gap: 4px;
  font-size: 1.08rem;
  font-weight: 800;
}

.product-card__price small {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

.product-card__price .price-stack s,
#itemModalPrice .price-stack s {
  color: var(--muted);
}

.product-card__price .price-stack__promo,
#itemModalPrice .price-stack__promo {
  color: var(--coral);
}

.product-card__price .price-stack__lowest30d,
#itemModalPrice .price-stack__lowest30d {
  color: var(--muted);
}

.product-card__price .price-stack__club-teaser,
#itemModalPrice .price-stack__club-teaser {
  color: #b86b55;
}

.product-card__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-card__action {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 800;
}

.product-card__action--ghost {
  color: var(--seaweed);
  background: rgba(22, 52, 57, 0.06);
}

.product-card__action--primary {
  color: white;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
}

.product-card__action--primary.is-disabled,
.primary-button:disabled,
.text-button:disabled {
  cursor: not-allowed;
  transform: none;
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(135deg, rgba(113, 113, 113, 0.92), rgba(82, 82, 82, 0.92));
}

.cart-panel {
  position: sticky;
  top: 16px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 16px;
  max-height: calc(100vh - 32px);
  padding: 20px;
  border-radius: 30px;
  overflow: hidden;
}

.cart-panel.is-pulsing {
  animation: cartPulse 650ms ease;
}

.cart-panel__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.cart-order-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 8px;
}

.cart-order-status[hidden] {
  display: none !important;
}

.cart-order-status__label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-order-status__link {
  color: var(--seaweed);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cart-order-status__state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(22, 52, 57, 0.16);
  background: rgba(22, 52, 57, 0.08);
  color: var(--seaweed);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-order-status__state[data-status="new"] {
  border-color: rgba(241, 109, 93, 0.26);
  background: rgba(241, 109, 93, 0.14);
  color: #8a2e1f;
}

.cart-order-status__state[data-status="preparing"] {
  border-color: rgba(15, 136, 149, 0.24);
  background: rgba(15, 136, 149, 0.12);
  color: #0d4f58;
}

.cart-order-status__state[data-status="courier"] {
  border-color: rgba(25, 169, 125, 0.28);
  background: rgba(25, 169, 125, 0.12);
  color: #0d5e46;
}

.cart-order-status__state[data-status="completed"] {
  border-color: rgba(22, 52, 57, 0.2);
  background: rgba(22, 52, 57, 0.1);
  color: #234046;
}

.cart-order-status__eta {
  color: var(--seaweed);
  font-size: 0.78rem;
  font-weight: 700;
}

.cart-panel__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-panel__close {
  display: none;
}

.text-button {
  border: 0;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--seaweed);
  background: rgba(22, 52, 57, 0.08);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
}

.text-button:hover {
  transform: translateY(-1px);
}

.text-button--strong {
  color: white;
  background: linear-gradient(135deg, var(--seaweed), var(--lagoon));
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--seaweed);
  background: rgba(22, 52, 57, 0.08);
}

.cart-panel__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding-right: 4px;
  align-content: start;
}

.cart-panel__body > * {
  min-width: 0;
}

.loyalty-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(20, 38, 42, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(252, 244, 232, 0.96), rgba(241, 249, 249, 0.9)),
    var(--cream);
}

.loyalty-card--showcase {
  position: relative;
  overflow: hidden;
  gap: 18px;
  padding: 24px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  background:
    radial-gradient(circle at 86% 14%, rgba(255, 217, 121, 0.95), rgba(255, 217, 121, 0) 28%),
    radial-gradient(circle at 8% 92%, rgba(73, 200, 196, 0.35), rgba(73, 200, 196, 0) 32%),
    linear-gradient(130deg, rgba(17, 78, 86, 0.98) 0%, rgba(19, 102, 110, 0.94) 36%, rgba(241, 109, 93, 0.94) 76%, rgba(246, 182, 90, 0.96) 100%);
  color: white;
}

.loyalty-card--showcase::before {
  content: "";
  position: absolute;
  inset: auto -82px -94px auto;
  width: 260px;
  height: 260px;
  border-radius: 44% 56% 65% 35% / 38% 46% 54% 62%;
  background:
    radial-gradient(circle at 40% 38%, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 62% 60%, rgba(255, 217, 121, 0.42), rgba(255, 217, 121, 0) 56%);
  opacity: 0.9;
  pointer-events: none;
}

.loyalty-card--showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.08) 0 16%, rgba(255, 255, 255, 0) 16% 32%, rgba(255, 255, 255, 0.06) 32% 44%, rgba(255, 255, 255, 0) 44% 100%);
  pointer-events: none;
  mix-blend-mode: screen;
}

.loyalty-card--showcase > * {
  position: relative;
  z-index: 1;
}

.loyalty-card--showcase .loyalty-card__header h3 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.loyalty-card--showcase .loyalty-card__text {
  max-width: 70ch;
}

.loyalty-card--showcase .section-kicker,
.loyalty-card--showcase .loyalty-card__text,
.loyalty-card--showcase .loyalty-progress__label,
.loyalty-card--showcase .loyalty-reward p {
  color: rgba(255, 248, 238, 0.88);
}

.loyalty-card--showcase .loyalty-card__auth {
  color: var(--seaweed);
  background: linear-gradient(135deg, rgba(255, 250, 243, 0.98), rgba(255, 232, 190, 0.98));
  box-shadow: 0 14px 28px rgba(19, 62, 67, 0.2);
}

.loyalty-card__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.loyalty-card__header h3 {
  margin: 6px 0 0;
  font-size: 1.18rem;
}

.loyalty-card__auth {
  white-space: nowrap;
}

.loyalty-card__text,
.loyalty-progress__label,
.loyalty-reward p,
.auth-modal__text {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.loyalty-card__promo {
  position: relative;
  isolation: isolate;
  min-height: 168px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(130deg, rgba(17, 78, 86, 0.98) 0%, rgba(19, 102, 110, 0.94) 36%, rgba(241, 109, 93, 0.94) 76%, rgba(246, 182, 90, 0.96) 100%);
  box-shadow: 0 16px 28px rgba(9, 34, 37, 0.34);
}

.loyalty-card__promo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(130deg, rgba(17, 78, 86, 0.16) 0%, rgba(19, 102, 110, 0.14) 36%, rgba(241, 109, 93, 0.12) 76%, rgba(246, 182, 90, 0.12) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(8, 22, 26, 0.02));
  pointer-events: none;
}

.loyalty-card__promo-photo {
  display: block;
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 168px;
  object-fit: cover;
  object-position: center;
  opacity: 0.84;
  filter: brightness(1.05) contrast(1.18) saturate(1.13);
}

.loyalty-card--showcase .loyalty-card__promo {
  border-color: rgba(255, 255, 255, 0.3);
  background:
    linear-gradient(130deg, rgba(17, 78, 86, 0.98) 0%, rgba(19, 102, 110, 0.94) 36%, rgba(241, 109, 93, 0.94) 76%, rgba(246, 182, 90, 0.96) 100%);
}

.loyalty-card__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.loyalty-card--showcase .loyalty-card__stats {
  gap: 12px;
}

.loyalty-stat {
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(20, 38, 42, 0.06);
}

.loyalty-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
}

.loyalty-stat strong {
  display: block;
  margin-top: 8px;
  font-size: 1.1rem;
}

.loyalty-card--showcase .loyalty-stat {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
}

.loyalty-card--showcase .loyalty-stat span {
  color: rgba(255, 246, 240, 0.74);
}

.loyalty-card--showcase .loyalty-stat strong {
  color: white;
  font-size: 1.22rem;
}

.loyalty-progress {
  display: grid;
  gap: 8px;
}

.loyalty-progress__bar {
  overflow: hidden;
  height: 12px;
  border-radius: 999px;
  background: rgba(22, 52, 57, 0.1);
}

.loyalty-card--showcase .loyalty-progress__bar {
  background: rgba(255, 255, 255, 0.2);
}

.loyalty-progress__bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--coral), #f6b65a);
  transition: width 220ms ease;
}

.loyalty-card--showcase .loyalty-progress__bar span {
  background: linear-gradient(90deg, var(--sunburst-soft), var(--sunburst), #ff8d7f);
  box-shadow: 0 0 18px rgba(255, 217, 121, 0.55);
}

.loyalty-rewards {
  display: grid;
  gap: 10px;
}

.loyalty-card--showcase .loyalty-rewards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.loyalty-reward {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(20, 38, 42, 0.08);
  background: rgba(255, 255, 255, 0.78);
}

.loyalty-reward > div {
  min-width: 0;
}

.loyalty-card--showcase .loyalty-reward {
  align-items: start;
  flex-direction: column;
  min-height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08)),
    rgba(12, 53, 59, 0.08);
  backdrop-filter: blur(14px);
}

.loyalty-reward--consent-summary {
  grid-column: 1 / -1;
  cursor: pointer;
}

.loyalty-card--showcase .loyalty-reward--consent-summary {
  flex-direction: row;
  align-items: center;
  min-height: 106px;
  padding: 18px 20px;
  border-color: rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.1)),
    rgba(12, 53, 59, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.loyalty-card--showcase .loyalty-reward--consent-summary p {
  max-width: 640px;
  color: rgba(255, 248, 238, 0.88);
}

.loyalty-reward strong {
  display: block;
  margin-bottom: 4px;
}

.loyalty-reward span {
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--seaweed);
}

.loyalty-reward__status--consent {
  white-space: normal;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(213, 95, 105, 0.34);
  color: #b54852;
  background: rgba(255, 235, 236, 0.9);
}

.loyalty-card--showcase .loyalty-reward strong,
.loyalty-card--showcase .loyalty-reward span {
  color: white;
}

.loyalty-card--showcase .loyalty-reward .loyalty-reward__status--consent {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(177, 54, 66, 0.34);
}

.loyalty-reward.is-unlocked {
  border-color: rgba(25, 169, 125, 0.28);
  background: rgba(232, 250, 244, 0.88);
}

.loyalty-card--showcase .loyalty-reward.is-unlocked {
  border-color: rgba(255, 217, 121, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 217, 121, 0.26), rgba(73, 200, 196, 0.14)),
    rgba(255, 255, 255, 0.08);
}

.loyalty-reward.is-claimable {
  border-color: rgba(24, 171, 117, 0.5);
  background:
    linear-gradient(135deg, rgba(208, 255, 230, 0.95), rgba(233, 255, 242, 0.92)),
    rgba(242, 255, 247, 0.9);
  box-shadow: 0 10px 22px rgba(24, 171, 117, 0.2);
}

.loyalty-card--showcase .loyalty-reward.is-claimable {
  border-color: rgba(170, 255, 213, 0.82);
  background:
    linear-gradient(180deg, rgba(82, 223, 161, 0.36), rgba(255, 217, 121, 0.22)),
    rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 30px rgba(76, 220, 156, 0.26);
}

.loyalty-reward.is-claimable .loyalty-reward__claim {
  border-color: rgba(11, 106, 75, 0.52);
  background: linear-gradient(135deg, #0fa16d, #33c283);
  color: #fff;
}

.loyalty-reward.is-consent-required {
  cursor: pointer;
  border-color: rgba(213, 95, 105, 0.4);
  background:
    linear-gradient(135deg, rgba(255, 236, 238, 0.94), rgba(255, 246, 232, 0.9)),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 24px rgba(213, 95, 105, 0.16);
}

.loyalty-card--showcase .loyalty-reward.is-consent-required {
  border-color: rgba(255, 224, 225, 0.46);
  background:
    linear-gradient(180deg, rgba(219, 87, 100, 0.34), rgba(255, 217, 121, 0.18)),
    rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 28px rgba(173, 59, 68, 0.22);
}

.loyalty-reward__claim--consent {
  border-color: rgba(177, 54, 66, 0.5);
  background: linear-gradient(135deg, #d35f69, #e65f87);
  color: #fff;
  box-shadow: 0 10px 18px rgba(189, 65, 82, 0.28);
}

.loyalty-reward__claim--consent:hover,
.loyalty-reward__claim--consent:focus-visible {
  border-color: rgba(126, 35, 45, 0.58);
  background: linear-gradient(135deg, #c94f5b, #db507b);
  color: #fff;
}

.loyalty-reward.is-claimed {
  border-color: rgba(131, 141, 146, 0.26);
  background: rgba(239, 242, 245, 0.9);
}

.loyalty-card--showcase .loyalty-reward.is-claimed {
  border-color: rgba(232, 237, 239, 0.26);
  background:
    linear-gradient(180deg, rgba(224, 233, 237, 0.3), rgba(185, 197, 203, 0.22)),
    rgba(255, 255, 255, 0.08);
}

.loyalty-reward.is-claimed strong,
.loyalty-reward.is-claimed span,
.loyalty-reward.is-claimed p {
  color: rgba(76, 87, 93, 0.86) !important;
}

.loyalty-card--showcase .loyalty-reward.is-claimed strong,
.loyalty-card--showcase .loyalty-reward.is-claimed span,
.loyalty-card--showcase .loyalty-reward.is-claimed p {
  color: rgba(225, 233, 236, 0.76) !important;
}

.user-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(20, 38, 42, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(252, 244, 232, 0.95), rgba(237, 247, 247, 0.9)),
    var(--cream);
}

.user-panel__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.user-panel__header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  max-width: calc(100% - 88px);
  padding-right: 58px;
}

.user-panel__header h3 {
  margin: 6px 0 0;
  font-size: 1.18rem;
}

.user-panel__rewards-toggle {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  color: #fff7fb;
  background: linear-gradient(135deg, #d96d89, #f16d93);
  border: 1px solid rgba(145, 40, 75, 0.34);
  box-shadow: 0 8px 18px rgba(176, 62, 99, 0.22);
  font-size: 0.86rem;
  font-weight: 900;
}

.user-panel__rewards-toggle.is-open {
  color: #f2fffb;
  background: linear-gradient(135deg, #0d6b75, #189b8f);
  border-color: rgba(12, 92, 84, 0.45);
  box-shadow: 0 8px 18px rgba(16, 108, 111, 0.22);
}

.user-panel__orders-toggle {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(14, 93, 102, 0.24);
  background: rgba(245, 251, 251, 0.94);
  color: #0d4e56;
  font-size: 0.84rem;
  font-weight: 900;
}

.user-panel__auth {
  min-height: 38px;
  padding-inline: 13px;
}

.user-panel__orders-toggle:hover {
  border-color: rgba(12, 92, 84, 0.38);
  background: rgba(233, 245, 246, 0.98);
}

.user-panel__auth {
  white-space: nowrap;
}

.user-panel__state {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.user-panel__state.is-history-target {
  color: #0f5159;
  font-weight: 700;
}

.user-panel__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.user-panel__tile {
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(20, 38, 42, 0.08);
  background: rgba(255, 255, 255, 0.78);
  display: grid;
  gap: 6px;
}

.user-panel__tile--wide {
  grid-column: span 2;
}

.user-panel__tile span {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
}

.user-panel__tile strong {
  font-size: 1rem;
  line-height: 1.4;
  word-break: break-word;
}

.user-panel__orders {
  display: grid;
  gap: 8px;
  max-height: 280px;
  overflow: auto;
  padding-right: 4px;
}

.user-panel__orders.is-history-target {
  border-radius: 14px;
  box-shadow: 0 0 0 2px rgba(20, 126, 122, 0.35);
  background: rgba(231, 250, 246, 0.42);
  padding: 4px 6px 4px 2px;
}

.user-panel__loyalty {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(20, 38, 42, 0.1);
  background: rgba(255, 255, 255, 0.74);
}

.user-panel__loyalty-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.user-panel__loyalty-header strong {
  font-size: 0.98rem;
  color: var(--seaweed);
}

.user-panel__loyalty-header span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 700;
}

.user-panel__loyalty-notes {
  display: grid;
  gap: 5px;
  padding: 10px 11px;
  border-radius: 12px;
  border: 1px solid rgba(20, 38, 42, 0.12);
  background: linear-gradient(180deg, rgba(248, 252, 251, 0.92), rgba(239, 246, 246, 0.92));
}

.user-panel__loyalty-next {
  margin: 0;
  color: #164e53;
  font-size: 0.84rem;
  line-height: 1.4;
  font-weight: 900;
}

.user-panel__loyalty-progress {
  display: grid;
  gap: 6px;
}

.user-panel__loyalty-progress-track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(18, 78, 85, 0.2);
  background: rgba(231, 241, 242, 0.9);
  overflow: hidden;
}

.user-panel__loyalty-progress-track span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #12966b, #32bb7f);
  box-shadow: 0 4px 10px rgba(18, 150, 107, 0.35);
  transition: width 240ms ease;
}

.user-panel__loyalty-progress-label {
  margin: 0;
  color: #2c646a;
  font-size: 0.76rem;
  line-height: 1.35;
  font-weight: 800;
}

.user-panel__loyalty-rules {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
  font-weight: 700;
}

.user-panel__loyalty-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.user-panel__loyalty-group {
  display: grid;
  gap: 8px;
}

.user-panel__loyalty-group h4 {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.user-panel__loyalty-list {
  display: grid;
  gap: 8px;
}

.user-panel__loyalty-empty {
  margin: 0;
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px dashed rgba(20, 38, 42, 0.16);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.user-panel__reward {
  display: grid;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px solid rgba(20, 38, 42, 0.12);
  background: rgba(255, 255, 255, 0.86);
}

.user-panel__reward--available {
  border-color: rgba(18, 150, 110, 0.58);
  background:
    linear-gradient(135deg, rgba(201, 248, 226, 0.96), rgba(229, 255, 242, 0.94)),
    rgba(231, 251, 243, 0.92);
  box-shadow: 0 8px 18px rgba(25, 169, 125, 0.16);
}

.user-panel__reward--locked {
  border-color: rgba(20, 38, 42, 0.14);
  background: rgba(255, 255, 255, 0.86);
}

.user-panel__reward--claimed {
  border-color: rgba(120, 132, 138, 0.28);
  background: rgba(241, 244, 246, 0.86);
}

.user-panel__reward--claimed .user-panel__reward-copy strong,
.user-panel__reward--claimed .user-panel__reward-copy small,
.user-panel__reward--claimed .user-panel__reward-copy p {
  color: rgba(83, 94, 99, 0.86) !important;
}

.user-panel__reward-copy {
  display: grid;
  gap: 3px;
}

.user-panel__reward-copy strong {
  font-size: 0.86rem;
  line-height: 1.3;
}

.user-panel__reward-copy small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
}

.user-panel__reward-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.user-panel__reward-claimed-at {
  color: var(--seaweed) !important;
}

.user-panel__reward-claim {
  justify-self: start;
  min-height: 30px;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 999px;
  color: #fffdf8;
  background: linear-gradient(135deg, #169d73, #32b97d);
  border: 1px solid rgba(15, 96, 72, 0.36);
  box-shadow: 0 8px 16px rgba(22, 157, 115, 0.24);
}

.user-panel__reward-claim:hover {
  background: linear-gradient(135deg, #18a97b, #3bc98a);
}

.user-panel__profile {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(20, 38, 42, 0.1);
  background: rgba(255, 255, 255, 0.74);
}

.user-panel__profile-header {
  display: grid;
  gap: 2px;
}

.user-panel__profile-header strong {
  font-size: 0.92rem;
}

.user-panel__profile-header span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.user-panel__profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
}

.user-panel__profile-grid .field {
  gap: 6px;
}

.user-panel__profile-grid .field span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.user-panel__profile-grid .field input {
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 0.94rem;
}

.user-panel__profile-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.user-panel__consents {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(20, 38, 42, 0.1);
  background: rgba(255, 255, 255, 0.72);
}

.user-panel__consents.is-highlighted {
  animation: consentPanelFocusPulse 1.6s ease-out 2;
}

@keyframes consentPanelFocusPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(213, 95, 105, 0.32);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(213, 95, 105, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(213, 95, 105, 0);
  }
}

.user-panel__consents-header {
  display: grid;
  gap: 2px;
}

.user-panel__consents-header strong {
  font-size: 0.92rem;
}

.user-panel__consents-header span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.user-consent-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.user-consent-option input {
  margin: 2px 0 0;
  accent-color: var(--seaweed);
}

.user-consent-option input:disabled {
  opacity: 0.7;
}

.user-consent-option input:disabled + span {
  opacity: 0.78;
}

.user-panel__consents-master {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid rgba(20, 38, 42, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
}

.user-panel__consents-master .user-consent-option {
  flex: 1;
  align-items: center;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
  cursor: pointer;
}

.user-panel__consents-master .user-consent-option input {
  width: 18px;
  height: 18px;
  margin-top: 0;
}

.user-panel__consents-toggle {
  flex: 0 0 auto;
  border: 0;
  padding: 4px 0;
  color: var(--lagoon);
  background: transparent;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
}

.user-panel__consents-toggle:hover,
.user-panel__consents-toggle:focus-visible {
  color: #0a4951;
}

.user-panel__consents-details {
  display: grid;
  gap: 10px;
  padding: 10px 4px 2px;
  border-top: 1px solid rgba(20, 38, 42, 0.1);
}

.user-panel__consents-details[hidden] {
  display: none;
}

.user-panel__consents-legal {
  display: grid;
  gap: 10px;
}

.user-panel__consents-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.user-panel__consents-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.user-panel__consents-status[data-tone="success"] {
  color: #0f7355;
  font-weight: 700;
}

.user-panel__consents-status[data-tone="error"] {
  color: #9b2f22;
  font-weight: 700;
}

.user-order-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(20, 38, 42, 0.1);
  background: rgba(255, 255, 255, 0.76);
}

.user-order-row > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.user-order-row strong {
  font-size: 0.95rem;
}

.user-order-row span,
.user-order-row small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.user-order-row__status {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(14, 93, 102, 0.2);
  background: rgba(14, 93, 102, 0.08);
  color: var(--seaweed) !important;
  font-size: 0.75rem !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.user-order-row__status[data-status="new"] {
  border-color: rgba(241, 109, 93, 0.26);
  background: rgba(241, 109, 93, 0.12);
  color: #8a2e1f !important;
}

.user-order-row__status[data-status="preparing"] {
  border-color: rgba(15, 136, 149, 0.26);
  background: rgba(15, 136, 149, 0.12);
  color: #0d4f58 !important;
}

.user-order-row__status[data-status="courier"] {
  border-color: rgba(25, 169, 125, 0.26);
  background: rgba(25, 169, 125, 0.12);
  color: #0d5e46 !important;
}

.user-order-row__status[data-status="completed"] {
  border-color: rgba(22, 52, 57, 0.18);
  background: rgba(22, 52, 57, 0.09);
  color: #203f44 !important;
}

.delivery-config {
  display: grid;
}

.cart-items {
  display: grid;
  gap: 12px;
}

.cart-empty {
  padding: 22px;
  border: 1px dashed rgba(14, 93, 102, 0.22);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.46);
}

.cart-empty h3 {
  margin: 0 0 8px;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(20, 38, 42, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.cart-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 16px;
}

.cart-item__copy {
  display: grid;
  gap: 8px;
}

.cart-item__copy h3 {
  margin: 0;
  font-size: 1rem;
}

.cart-item__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cart-item__attrs {
  margin-top: 2px;
  font-size: 0.78rem;
  color: rgba(20, 38, 42, 0.74) !important;
  line-height: 1.45;
}

.cart-item__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(22, 52, 57, 0.06);
}

.qty-control button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  color: var(--seaweed);
  background: white;
  cursor: pointer;
}

.qty-control strong {
  min-width: 22px;
  text-align: center;
}

.qty-control--voucher {
  padding-inline: 12px;
  background: rgba(22, 52, 57, 0.1);
}

.cart-item__remove {
  color: var(--coral-dark);
  background: transparent;
  font-weight: 800;
}

.summary-card {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(20, 38, 42, 0.08);
  background: rgba(255, 255, 255, 0.76);
}

.summary-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.summary-card__row + .summary-card__row {
  margin-top: 10px;
}

.summary-card__divider {
  height: 1px;
  margin: 12px 0;
  background: var(--line);
}

.summary-card__row--total {
  font-size: 1.12rem;
}

.summary-card__row--promo {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(14, 106, 86, 0.2);
  background: linear-gradient(180deg, rgba(220, 247, 237, 0.86), rgba(236, 252, 246, 0.78));
}

.summary-card__row--promo span {
  color: #0e6a56;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.summary-card__row--promo strong {
  color: #0e6a56;
  font-weight: 900;
  font-size: 1.08rem;
}

.summary-card__row--after-discount {
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(14, 93, 102, 0.08);
}

.summary-card__row--after-discount span,
.summary-card__row--after-discount strong {
  color: var(--seaweed);
  font-weight: 900;
}

.summary-card__promo-list {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.summary-card__promo-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(14, 106, 86, 0.18);
  background: #f7fcfa;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.25;
}

.summary-card__promo-item strong {
  color: #0e6a56;
  font-weight: 900;
}

.summary-card__promo-note {
  margin: 9px 0 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(119, 162, 33, 0.12);
  color: #143d35;
  font-size: 0.83rem;
  line-height: 1.35;
  font-weight: 700;
}

.summary-card__discount-code {
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px dashed rgba(14, 93, 102, 0.32);
  background: rgba(14, 93, 102, 0.05);
  display: grid;
  gap: 8px;
}

.summary-card__discount-code-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--seaweed);
  letter-spacing: 0.01em;
}

.summary-card__discount-code-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
  max-width: 100%;
}

.summary-card__discount-code-input {
  /* flex-basis 0 -> input nie żąda szerokości swojej treści/atrybutu size,
     więc przycisk „Zastosuj" zawsze dostaje miejsce i nie wychodzi poza obrys.
     min-width 100px + flex-wrap: gdyby zabrakło miejsca, przycisk spada pod spód. */
  flex: 1 1 100px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(14, 93, 102, 0.28);
  background: #fff;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.summary-card__discount-code-input:focus {
  outline: none;
  border-color: var(--seaweed);
  box-shadow: 0 0 0 3px rgba(14, 93, 102, 0.15);
}

.summary-card__discount-code-input:disabled {
  background: rgba(14, 93, 102, 0.08);
  color: #143d35;
  opacity: 0.85;
}

.summary-card__discount-code-apply {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--seaweed);
  background: var(--seaweed);
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.summary-card__discount-code-apply:hover {
  filter: brightness(1.05);
}

.summary-card__discount-code-apply:disabled {
  opacity: 0.6;
  cursor: default;
}

.summary-card__discount-code-message {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  color: #143d35;
}

.summary-card__discount-code-message[data-tone="success"] {
  color: #0e6a56;
}

.summary-card__discount-code-message[data-tone="error"] {
  color: #b3261e;
}

.summary-card__row--code span,
.summary-card__row--code strong {
  color: #0e6a56;
}

.summary-card__schedule {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(20, 105, 113, 0.18);
  background: linear-gradient(145deg, rgba(232, 249, 247, 0.88), rgba(255, 248, 235, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.summary-card__schedule[hidden] {
  display: none;
}

.summary-card__schedule-head {
  display: grid;
  gap: 4px;
}

.summary-card__schedule-kicker {
  color: #0c6570;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.summary-card__schedule-head strong {
  color: #173138;
  font-size: 0.98rem;
}

.summary-card__schedule-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.summary-card__schedule-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(20, 38, 42, 0.12);
  background: rgba(255, 255, 255, 0.78);
  color: #214149;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.summary-card__schedule-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.summary-card__schedule-option:has(input:checked) {
  border-color: rgba(201, 82, 96, 0.42);
  background: linear-gradient(135deg, #cf6570, #ea7b88);
  color: #fff8f4;
  box-shadow: 0 8px 18px rgba(201, 82, 96, 0.2);
}

.summary-card__schedule-select-wrap {
  display: grid;
  gap: 6px;
}

.summary-card__schedule-select-wrap[hidden] {
  display: none;
}

.summary-card__schedule-select-wrap span {
  color: #49636b;
  font-size: 0.78rem;
  font-weight: 800;
}

.summary-card__schedule-select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(20, 38, 42, 0.16);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.86);
  color: #173138;
  font: inherit;
  font-weight: 900;
}

.summary-card__schedule-select:focus {
  border-color: rgba(12, 101, 112, 0.38);
  box-shadow: 0 0 0 3px rgba(12, 101, 112, 0.12);
  outline: none;
}

.summary-card__schedule-hint {
  margin: 0;
  color: #4a6168;
  font-size: 0.82rem;
  line-height: 1.45;
}

.summary-card__loyalty {
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(14, 93, 102, 0.22);
  background: linear-gradient(145deg, rgba(14, 93, 102, 0.12), rgba(241, 109, 93, 0.1));
  display: grid;
  gap: 8px;
}

.summary-card__loyalty-copy {
  display: grid;
  gap: 5px;
}

.summary-card__loyalty-kicker {
  color: #0e5f69;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.summary-card__loyalty-title {
  margin: 0;
  color: #12393f;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 900;
}

.summary-card__loyalty-text {
  margin: 0;
  color: #38535b;
  font-size: 0.86rem;
  line-height: 1.45;
}

.summary-card__loyalty-action {
  color: #fff7fb;
  background: linear-gradient(135deg, #d96d89, #f16d93);
  border: 1px solid rgba(145, 40, 75, 0.34);
  box-shadow: 0 8px 18px rgba(176, 62, 99, 0.24);
  justify-self: start;
  min-height: 40px;
}

.summary-card__loyalty-action:hover {
  background: linear-gradient(135deg, #dc7690, #f37aa1);
}

.summary-card__loyalty[data-state="consent"] {
  border-color: rgba(236, 137, 64, 0.35);
  background: linear-gradient(145deg, rgba(246, 184, 95, 0.2), rgba(255, 241, 213, 0.75));
}

.summary-card__loyalty[data-state="member"] {
  border-color: rgba(40, 159, 124, 0.34);
  background: linear-gradient(145deg, rgba(64, 186, 150, 0.16), rgba(222, 247, 235, 0.84));
}

.checkout-form {
  display: grid;
  gap: 14px;
}

.payment-method-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.payment-method-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(20, 38, 42, 0.12);
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.payment-method-option:hover {
  border-color: rgba(119, 162, 33, 0.38);
  background: rgba(255, 255, 255, 0.86);
}

.payment-method-option input {
  position: absolute;
  /* Radio jest w <label class="field">, więc łapie .field input{width:100%}
     i rozpychało koszyk. Trzymamy je jako 1px ukryty kontrolką – klik w label
     i selektor :has(input:checked) działają niezależnie od rozmiaru. */
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.payment-method-option__logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  min-width: 100px;
  max-width: 100%;
  min-height: 32px;
}

.payment-method-option__logo img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  border-radius: 7px;
  border: 1px solid rgba(20, 38, 42, 0.1);
  background: #ffffff;
}

.payment-method-option__logo--cluster img {
  height: 22px;
}

.payment-method-option__logo--wallet img {
  height: 20px;
}

.payment-method-option__logo--single img {
  height: 28px;
}

.payment-method-option__logo--eservice,
.payment-method-option__logo--payu,
.payment-method-option__logo--blik {
  min-width: 86px;
}

.payment-method-option__logo--eservice img,
.payment-method-option__logo--payu img,
.payment-method-option__logo--blik img {
  height: 22px;
}

.payment-method-option__logo--cash img {
  height: 26px;
  border: none;
  background: transparent;
  border-radius: 0;
}

.payment-method-option__copy {
  display: grid;
  gap: 2px;
}

.payment-method-option__title {
  color: #14262a;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.2;
}

.payment-method-option__text {
  color: rgba(20, 38, 42, 0.72);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.25;
}

.payment-method-option:has(input:checked),
.payment-method-option--selected {
  border-color: rgba(119, 162, 33, 0.95);
  box-shadow: 0 0 0 2px rgba(140, 188, 38, 0.16);
}

.checkout-mode {
  display: grid;
  gap: 8px;
}

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

.checkout-form__grid--delivery {
  grid-template-columns: minmax(0, 1fr);
}

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

.checkout-address {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(20, 38, 42, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.checkout-address__label {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.checkout-address__city-street {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.checkout-address__city-street input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  outline: none;
}

.checkout-address__city-street input:focus {
  border-color: rgba(14, 93, 102, 0.45);
  box-shadow: 0 0 0 4px rgba(14, 93, 102, 0.08);
}

.checkout-address__hint {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.address-suggestions--cart {
  margin-top: 0;
  max-height: 240px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

#cartCustomerAddress,
#cartCustomerCity,
#cartCustomerStreet,
#cartCustomerBuildingNumber,
#cartCustomerApartmentNumber,
#customerCity,
#customerStreet {
  font-size: 16px;
}

.mobile-cart-button,
.drawer-scrim,
.mobile-nav-scrim,
.mobile-nav-panel,
.welcome-bubble,
.upsell-modal,
.item-modal,
.auth-modal {
  display: none;
}

.mobile-cart-button {
  position: fixed;
  left: 14px;
  right: auto;
  bottom: 14px;
  z-index: 24;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--seaweed), var(--lagoon));
  box-shadow: 0 18px 40px rgba(14, 93, 102, 0.3);
  font: inherit;
  font-weight: 800;
}

.mobile-cart-button > :not(.mobile-cart-button__icon):not(.mobile-cart-button__count):not(.mobile-cart-button__total) {
  display: none !important;
}

.mobile-cart-button.is-pulsing {
  animation: cartPulse 650ms ease;
}

.mobile-cart-button__icon {
  font-size: 1.3rem;
  line-height: 1;
}

.mobile-cart-button__count {
  position: absolute;
  top: -4px;
  right: -2px;
  min-width: 22px;
  min-height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  color: var(--seaweed);
  background: #ffd979;
  font-size: 0.74rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-cart-button__total {
  position: absolute;
  left: 50%;
  bottom: 7px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.63rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.welcome-bubble {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 34;
  display: grid;
  width: min(700px, calc(100vw - 36px));
  padding: 42px 28px 28px;
  border-radius: 34px;
  color: white;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at top right, rgba(255, 233, 166, 0.22), transparent 28%),
    linear-gradient(145deg, rgba(101, 28, 16, 0.98), rgba(206, 71, 47, 0.96) 55%, rgba(241, 147, 61, 0.94));
  box-shadow:
    0 36px 90px rgba(105, 31, 9, 0.34),
    0 0 0 100vmax rgba(12, 25, 28, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.welcome-bubble[hidden] {
  display: none;
}

.welcome-bubble.is-visible {
  display: grid;
  animation: welcomeBubbleIn 320ms ease;
}

.welcome-bubble::after {
  content: none;
}

.welcome-bubble .section-kicker,
.welcome-bubble p {
  margin: 0;
  color: rgba(255, 247, 240, 0.88);
}

.welcome-bubble__layout {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.welcome-bubble__mascot {
  position: relative;
  z-index: 0;
  margin: 0;
  min-height: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 244, 232, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.welcome-bubble__mascot::before {
  content: "";
  position: absolute;
  inset: auto 12% 6%;
  height: 22%;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, rgba(16, 20, 22, 0.3), rgba(16, 20, 22, 0) 72%);
  filter: blur(10px);
  z-index: 1;
}

.welcome-bubble__mascot img {
  display: block;
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.02) contrast(1.02);
}

.welcome-bubble__mascot picture {
  display: block;
  width: 100%;
  height: 100%;
}

.welcome-bubble__content {
  display: grid;
  gap: 14px;
}

.welcome-bubble__promo-strip {
  margin: 0;
  width: min(100%, 460px);
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 32px rgba(64, 19, 7, 0.22);
  background: transparent;
  cursor: pointer;
}

.welcome-bubble__promo-strip img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.welcome-bubble__speech {
  justify-self: start;
  max-width: 28ch;
  padding: 12px 16px;
  border-radius: 20px 20px 20px 6px;
  color: #23201d !important;
  background: rgba(255, 252, 246, 0.98);
  box-shadow: 0 14px 36px rgba(64, 19, 7, 0.18);
  font-weight: 800;
  line-height: 1.45;
}

.welcome-bubble h3 {
  margin: 0;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 0.92;
  color: white;
}

.welcome-bubble__headline-accent {
  display: inline-block;
  padding: 0 0.18em 0.04em;
  color: #fff7da;
  text-decoration: underline;
  text-decoration-thickness: 0.18em;
  text-decoration-color: #ffd65c;
  text-underline-offset: 0.16em;
  background: linear-gradient(180deg, rgba(255, 214, 92, 0) 0 54%, rgba(255, 214, 92, 0.22) 54% 100%);
}

.welcome-bubble--promo .welcome-bubble__layout {
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.welcome-bubble--promo .welcome-bubble__content {
  justify-items: center;
  text-align: center;
}

.welcome-bubble--promo {
  width: min(540px, calc(100vw - 28px));
  padding: 34px 22px 22px;
  border-radius: 30px;
  color: white;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 238, 0.96));
  box-shadow:
    0 36px 90px rgba(24, 42, 45, 0.28),
    0 0 0 100vmax rgba(12, 25, 28, 0.46);
  border-color: rgba(255, 255, 255, 0.62);
}

.welcome-bubble--promo .section-kicker,
.welcome-bubble--promo p {
  color: rgba(255, 247, 240, 0.88);
}

.welcome-bubble--promo .welcome-bubble__mascot::before {
  display: none;
}

.welcome-bubble--promo .welcome-bubble__mascot {
  display: none;
}

.welcome-bubble--promo .welcome-bubble__mascot picture {
  height: 100%;
}

.welcome-bubble--promo .welcome-bubble__mascot img {
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.welcome-bubble--promo h3 {
  font-size: clamp(1.36rem, 2.62vw, 1.9rem);
  line-height: 1.08;
  color: white;
  width: min(100%, 34ch);
  margin-inline: auto;
  text-align: center;
}

.welcome-bubble--promo .welcome-bubble__promo-strip {
  order: 1;
  width: min(100%, 500px);
  margin: 0 auto 10px;
  border-radius: 20px;
  border-color: rgba(18, 32, 35, 0.12);
  box-shadow: 0 16px 34px rgba(24, 42, 45, 0.16);
}

.welcome-bubble--promo .welcome-bubble__promo-strip img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.welcome-bubble--promo .section-kicker {
  order: 2;
}

.welcome-bubble--promo h3 {
  order: 3;
}

.welcome-bubble--promo #welcomeBubbleDescription {
  order: 4;
  max-width: 56ch;
}

.welcome-bubble--promo .welcome-bubble__quick-auth {
  order: 5;
}

.welcome-bubble--promo .welcome-bubble__actions {
  order: 6;
}

.welcome-bubble--promo .section-kicker,
.welcome-bubble--promo .welcome-bubble__speech,
.welcome-bubble--promo h3,
.welcome-bubble--promo #welcomeBubbleDescription,
.welcome-bubble--promo .welcome-bubble__quick-auth {
  display: none !important;
}

.welcome-bubble--promo .welcome-bubble__actions {
  display: flex !important;
  width: 100%;
  justify-content: center;
  margin-top: -2px;
}

.welcome-bubble__contest-button {
  width: min(100%, 260px);
  min-height: 56px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.welcome-bubble--promo .welcome-bubble__headline-accent {
  padding: 0.08em 0.3em;
  border-radius: 0.45em;
  font-size: 0.96em;
  color: #2b1a0f;
  text-decoration: none;
  background: #ffe887;
  box-shadow: 0 10px 22px rgba(126, 80, 11, 0.24);
}

.welcome-bubble--promo .welcome-bubble__promo-strong,
.welcome-bubble--promo .welcome-bubble__promo-soft {
  display: block;
  width: min(100%, 30ch);
  margin-inline: auto;
  padding: 0.14em 0.42em;
  border-radius: 0.38em;
  background: #ffe887;
  box-shadow: 0 10px 22px rgba(126, 80, 11, 0.22);
  text-align: center;
}

.welcome-bubble--promo .welcome-bubble__promo-strong {
  font-size: clamp(2.2rem, 4.5vw, 3.05rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.01em;
  color: #351f11;
  text-shadow: none;
}

.welcome-bubble--promo .welcome-bubble__promo-soft {
  margin: 0.28em auto;
  font-size: clamp(0.82rem, 1.6vw, 0.96rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 247, 233, 0.92);
  background: transparent;
  box-shadow: none;
  width: auto;
  padding: 0;
}

.welcome-bubble--promo .welcome-bubble__speech {
  max-width: 52ch;
  padding: 10px 14px;
  color: #23201d !important;
  background: rgba(255, 252, 246, 0.98);
  box-shadow: 0 14px 36px rgba(64, 19, 7, 0.18);
  justify-self: center;
}

.welcome-bubble--promo p:not(.section-kicker):not(.welcome-bubble__speech) {
  max-width: 52ch;
  font-size: 1rem;
  color: rgba(255, 247, 240, 0.88);
  justify-self: center;
  text-align: center;
}

.welcome-bubble--promo #welcomeBubbleDescription {
  width: min(100%, 58ch);
  margin-inline: auto;
  text-align: center;
}

.welcome-bubble--promo .welcome-bubble__description-line {
  display: block;
  margin: 0.12em auto;
  font-size: clamp(1rem, 1.84vw, 1.14rem);
  font-weight: 820;
  line-height: 1.28;
  letter-spacing: 0.01em;
  color: rgba(255, 247, 233, 0.92);
}

.welcome-bubble--promo .welcome-bubble__description-line--accent {
  display: inline-block;
  margin-top: 0.18em;
  padding: 0.12em 0.42em;
  border-radius: 0.42em;
  color: #2b1a0f;
  background: #ffe887;
  box-shadow: 0 10px 22px rgba(126, 80, 11, 0.18);
}

.welcome-bubble--festival .welcome-bubble__layout {
  grid-template-columns: 1fr;
  gap: 12px;
}

.welcome-bubble--festival .welcome-bubble__mascot {
  display: none;
}

.welcome-bubble--festival .welcome-bubble__content {
  gap: 12px;
  justify-items: start;
  text-align: left;
}

.welcome-bubble--festival .welcome-bubble__promo-strip {
  width: min(100%, 480px);
}

.welcome-bubble--festival .welcome-bubble__speech {
  max-width: 34ch;
  padding: 10px 14px;
}

.welcome-bubble--festival h3 {
  width: min(100%, 20ch);
  font-size: clamp(1.8rem, 3.6vw, 2.65rem);
  line-height: 1.03;
  letter-spacing: -0.01em;
}

.welcome-bubble--festival .welcome-bubble__headline-accent {
  padding: 0;
  color: #ffe899;
  text-decoration: none;
  background: none;
  font-weight: 900;
}

.welcome-bubble--festival #welcomeBubbleDescription {
  width: min(100%, 46ch);
  text-align: left;
}

.welcome-bubble--festival .welcome-bubble__quick-auth,
.welcome-bubble--festival .welcome-bubble__actions {
  justify-self: start;
}

.welcome-bubble p:not(.section-kicker):not(.welcome-bubble__speech) {
  max-width: 34ch;
  justify-self: start;
  font-size: 1.05rem;
  line-height: 1.5;
}

.welcome-bubble__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 40;
  color: white;
  background: rgba(16, 20, 22, 0.28);
}

.welcome-bubble__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
}

.welcome-bubble__actions .primary-button,
.welcome-bubble__actions .secondary-button {
  min-width: 190px;
  min-height: 54px;
}

.welcome-bubble__actions .secondary-button {
  color: white;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.welcome-bubble__quick-auth {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-auth-button {
  min-height: 38px;
  min-width: 46px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: white;
  background: rgba(255, 255, 255, 0.12);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-auth-button__logo {
  font-size: 1.2rem;
  line-height: 1;
}

.social-auth-button__logo--apple {
  font-size: 1.36rem;
  font-weight: 700;
}

.social-auth-button__logo--google {
  font-weight: 900;
  background: linear-gradient(90deg, #4285f4 0 24%, #34a853 24% 50%, #fbbc05 50% 75%, #ea4335 75% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.welcome-bubble--promo .social-auth-button {
  border-color: rgba(255, 255, 255, 0.28);
  color: white;
  background: rgba(255, 255, 255, 0.12);
}

.mobile-nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 31;
  background: rgba(10, 18, 20, 0.42);
  backdrop-filter: blur(3px);
}

.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 32;
  width: min(400px, calc(100% - 34px));
  height: 100svh;
  padding: 18px 16px 20px;
  border-left: 1px solid rgba(20, 38, 42, 0.12);
  background:
    radial-gradient(circle at top right, rgba(241, 109, 93, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 250, 243, 0.98), rgba(255, 248, 239, 0.98));
  box-shadow: -22px 0 44px rgba(16, 38, 42, 0.18);
  transform: translateX(105%);
  transition: transform 220ms ease;
}

.mobile-nav-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(20, 38, 42, 0.1);
  color: var(--seaweed);
}

.mobile-nav-panel__header strong {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-nav-panel__close {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(20, 38, 42, 0.12);
  background: rgba(255, 255, 255, 0.86);
  color: var(--seaweed);
}

.mobile-nav-panel__actions {
  display: grid;
  gap: 10px;
}

.mobile-nav-link {
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(20, 38, 42, 0.1);
  color: var(--seaweed);
  background: rgba(255, 255, 255, 0.88);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.mobile-nav-link--contest {
  border-color: rgba(241, 109, 93, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 231, 166, 0.92), rgba(241, 109, 93, 0.18)),
    rgba(255, 255, 255, 0.92);
}

.mobile-nav-scrim.is-open {
  display: block;
}

.mobile-nav-panel.is-open {
  display: block;
  transform: translateX(0);
}

.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(12, 25, 28, 0.44);
  backdrop-filter: blur(4px);
}

.item-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px;
}

.upsell-modal {
  position: fixed;
  inset: 0;
  z-index: 42;
}

.upsell-modal[hidden] {
  display: none;
}

.upsell-modal.is-visible {
  display: block;
}

.item-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.item-image-lightbox[hidden] {
  display: none;
}

.item-image-lightbox.is-visible {
  display: block;
}

.item-modal[hidden] {
  display: none;
}

.item-modal.is-visible {
  display: block;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 45;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 6px calc(10px + env(safe-area-inset-bottom));
}

.auth-modal[hidden] {
  display: none;
}

.auth-modal.is-visible {
  display: block;
}

.item-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(12, 25, 28, 0.54);
}

.auth-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(12, 25, 28, 0.58);
}

.upsell-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(12, 25, 28, 0.56);
}

.item-image-lightbox__scrim {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 22, 0.82);
  backdrop-filter: blur(2px);
}

.item-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 32px));
  margin: 16px auto;
  max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  display: block;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 28px;
  background: #fffaf4;
  box-shadow: var(--shadow);
}

.auth-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100% - 24px));
  margin: max(24px, calc(env(safe-area-inset-top) + 8px)) auto;
  max-height: calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  border-radius: 28px;
  background: #fffaf4;
  box-shadow: var(--shadow);
}

.upsell-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 24px));
  margin: 48px auto;
  border-radius: 28px;
  background: #fffaf4;
  box-shadow: var(--shadow);
}

.item-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  color: white;
  background: rgba(20, 38, 42, 0.48);
}

.auth-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}

.upsell-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}

.item-image-lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  color: #f7fcff;
  background: rgba(15, 33, 39, 0.56);
}

.item-modal__image-button {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 28px 28px 0 0;
  overflow: hidden;
  line-height: 0;
  background: var(--item-image-bg, #1f89af);
  cursor: zoom-in;
  isolation: isolate;
}

.item-modal__image-button::before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: 0;
  pointer-events: none;
  background-image: var(--item-image-src, none);
  background-size: cover;
  background-position: center;
  opacity: 0.88;
  filter: blur(24px) saturate(0.94);
  transform: scale(1.08);
}

.item-modal__image-button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0) 28%,
    rgba(0, 0, 0, 0.04) 100%
  );
}

.item-modal__image {
  position: relative;
  z-index: 2;
  width: 100%;
  height: clamp(420px, 58dvh, 720px);
  object-fit: contain;
  border-radius: 0;
  display: block;
  background: transparent;
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 8%,
    rgba(0, 0, 0, 1) 92%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 8%,
    rgba(0, 0, 0, 1) 92%,
    rgba(0, 0, 0, 0) 100%
  );
}

.item-image-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1140px, calc(100% - 24px));
  height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  margin: 12px auto;
  padding: 52px 14px 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.item-image-lightbox__image {
  width: min(100%, 1080px);
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 116px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  object-fit: contain;
  border-radius: 20px;
  background: var(--item-image-bg, #1f89af);
  box-shadow: 0 26px 56px rgba(4, 12, 16, 0.5);
}

.item-modal__content {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 28px 24px 24px;
}

.auth-modal__content {
  display: grid;
  gap: 16px;
  padding: 28px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.upsell-modal__content {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.item-modal__badge {
  position: absolute;
  z-index: 12;
  top: 0;
  left: 24px;
  transform: translateY(-50%);
  margin: 0;
  color: white;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
}

.item-modal__content h2 {
  margin: 0;
  font-size: 2rem;
}

.item-modal__content p {
  margin: 0;
}

.item-modal__attributes {
  display: grid;
  gap: 12px;
  margin-top: 2px;
}

.item-attr-group {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 38, 42, 0.16);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 253, 255, 0.92));
  box-shadow: 0 6px 14px rgba(16, 34, 38, 0.06);
}

.item-attr-group__header {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(20, 38, 42, 0.1);
  background: linear-gradient(125deg, rgba(11, 84, 92, 0.12), rgba(255, 216, 115, 0.18));
}

.item-attr-group__title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--seaweed);
  letter-spacing: 0.01em;
}

.item-attr-group__meta {
  font-size: 0.75rem;
  color: var(--muted);
}

.item-attr-options {
  list-style: none;
  margin: 0;
  padding: 0;
}

.item-attr-option-item + .item-attr-option-item {
  border-top: 1px solid rgba(20, 38, 42, 0.08);
}

.item-attr-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.92);
  transition: background-color 140ms ease;
}

.item-attr-option:hover {
  background: rgba(11, 84, 92, 0.06);
}

.item-attr-option input {
  margin: 0;
  accent-color: #0b545c;
}

.item-attr-option__name {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--seaweed);
}

.item-attr-option__delta {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}

.item-attr-option:has(input:checked) {
  background: rgba(11, 84, 92, 0.13);
}

.item-attr-option--quantity {
  grid-template-columns: minmax(0, 1fr) auto auto;
  cursor: default;
}

.item-attr-option-item.is-selected .item-attr-option--quantity {
  background: rgba(11, 84, 92, 0.13);
}

.item-attr-quantity {
  display: inline-grid;
  grid-template-columns: 34px 34px 34px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(11, 84, 92, 0.28);
  border-radius: 999px;
  background: #fff;
}

.item-attr-quantity button,
.item-attr-quantity input {
  width: 34px;
  height: 32px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--seaweed);
  font: inherit;
  font-weight: 850;
  text-align: center;
}

.item-attr-quantity button {
  cursor: pointer;
}

.item-attr-quantity button:hover:not(:disabled) {
  background: rgba(11, 84, 92, 0.1);
}

.item-attr-quantity button:disabled {
  cursor: not-allowed;
  opacity: 0.28;
}

.item-attr-quantity input {
  appearance: textfield;
  border-right: 1px solid rgba(11, 84, 92, 0.18);
  border-left: 1px solid rgba(11, 84, 92, 0.18);
  pointer-events: none;
}

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

.item-modal__attributes-hint {
  margin-top: -2px;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

#itemModalPrice {
  display: inline-grid;
  gap: 4px;
}

#itemModalPrice small {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

.item-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 8px;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-consents {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(20, 38, 42, 0.12);
  background: rgba(255, 255, 255, 0.76);
}

.auth-consents__pitch {
  margin: 0 0 2px;
  color: var(--seaweed);
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.4;
}

.auth-consents__master-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid rgba(20, 38, 42, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
}

.auth-consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.auth-consent input {
  margin: 3px 0 0;
  accent-color: var(--seaweed);
}

.auth-consent--master {
  flex: 1;
  align-items: center;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 900;
  cursor: pointer;
}

.auth-consent--master input {
  width: 18px;
  height: 18px;
  margin-top: 0;
}

.auth-consents__toggle {
  flex: 0 0 auto;
  padding: 4px 0;
  border: 0;
  color: var(--lagoon);
  background: transparent;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
}

.auth-consents__toggle:hover,
.auth-consents__toggle:focus-visible {
  color: #0a4951;
}

.auth-consents__details {
  display: grid;
  gap: 9px;
  padding: 10px 4px 2px;
  border-top: 1px solid rgba(20, 38, 42, 0.1);
}

.auth-consents__details[hidden] {
  display: none;
}

.auth-consent--required span {
  color: var(--ink);
  font-weight: 700;
}

.auth-consent--optional span,
.user-consent-option--optional span {
  color: var(--muted);
  font-weight: 600;
}

.auth-consent__link {
  color: var(--lagoon);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.auth-consent__link:hover,
.auth-consent__link:focus-visible {
  color: #0a4951;
}

@media (max-width: 520px) {
  .auth-consents__master-row {
    align-items: flex-start;
  }

  .auth-consents__toggle {
    padding-top: 2px;
  }
}

.auth-modal__forgot {
  justify-self: end;
  margin-top: 0;
  font-size: 0.9rem;
}

.auth-modal__forgot-row {
  display: flex;
  justify-content: flex-end;
  margin-top: -4px;
}

.auth-reset-dialog {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  padding: 16px;
}

.auth-reset-dialog[hidden] {
  display: none;
}

.auth-reset-dialog__scrim {
  position: absolute;
  inset: 0;
  background: rgba(12, 25, 28, 0.46);
  backdrop-filter: blur(2px);
}

.auth-reset-dialog__card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(20, 38, 42, 0.14);
  background: rgba(255, 250, 244, 0.98);
  box-shadow: 0 20px 40px rgba(10, 20, 24, 0.28);
}

.auth-reset-dialog__card h3 {
  margin: 0;
  color: var(--seaweed);
  font-size: 1.18rem;
}

.auth-reset-dialog__card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.auth-reset-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.auth-provider-shortcuts {
  display: grid;
  gap: 8px;
}

.auth-provider-button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(20, 38, 42, 0.14);
  color: var(--seaweed);
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.auth-provider-button__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
}

.auth-provider-button--facebook {
  border-color: rgba(24, 119, 242, 0.3);
}

.auth-provider-button__logo--facebook {
  color: white;
  background: #1877f2;
  font-size: 1.35rem;
  text-transform: lowercase;
}

.auth-provider-button--apple {
  border-color: rgba(20, 38, 42, 0.22);
}

.auth-provider-button__logo--apple {
  color: #0e1516;
  background: #ffffff;
  border: 1px solid rgba(20, 38, 42, 0.2);
  font-size: 1.2rem;
}

.auth-provider-button--google {
  border-color: rgba(20, 38, 42, 0.22);
}

.auth-provider-button__logo--google {
  border: 1px solid rgba(20, 38, 42, 0.16);
  color: transparent;
  background:
    linear-gradient(45deg, #4285f4 0 25%, #34a853 25% 50%, #fbbc05 50% 75%, #ea4335 75% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 1.28rem;
}

.auth-modal__logout {
  justify-self: start;
}

.upsell-modal__text {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.upsell-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(20, 38, 42, 0.08);
  background: rgba(255, 255, 255, 0.88);
}

.upsell-card.is-added {
  border-color: rgba(25, 169, 125, 0.24);
  background: linear-gradient(180deg, rgba(232, 250, 244, 0.92), rgba(245, 255, 251, 0.84));
}

.upsell-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  background: rgba(22, 52, 57, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .product-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

body.perf-low-end .product-card,
body.perf-android-chrome .product-card {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  will-change: auto !important;
}

.upsell-card__copy {
  display: grid;
  gap: 8px;
}

.upsell-card__copy strong {
  font-size: 1.12rem;
}

.upsell-card__copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.upsell-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.upsell-card__price {
  font-size: 1.15rem;
  font-weight: 800;
}

.upsell-card__price .price-stack {
  gap: 2px;
}

.product-card__action--primary.is-added {
  color: var(--seaweed);
  background: rgba(25, 169, 125, 0.12);
}

.upsell-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

@keyframes welcomeBubbleIn {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 18px)) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.address-tools {
  display: grid;
  gap: 10px;
}

.address-tools__hint {
  color: var(--muted);
  line-height: 1.5;
}

.route-card {
  margin-top: 12px;
}

.route-card--hero {
  margin-top: 0;
}

.route-card--cart {
  margin-top: 6px;
}

.route-card--cart:empty {
  display: none;
}

.route-card__panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(20, 38, 42, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.route-card__panel strong,
.route-card__stats strong {
  display: block;
}

.route-card__panel p,
.route-card__meta,
.route-card__stats span {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.route-card__panel--success {
  background: linear-gradient(180deg, rgba(232, 250, 244, 0.9), rgba(245, 255, 251, 0.82));
  border-color: rgba(25, 169, 125, 0.2);
}

.route-card__panel--error {
  background: linear-gradient(180deg, rgba(255, 241, 238, 0.9), rgba(255, 250, 245, 0.82));
  border-color: rgba(209, 69, 51, 0.22);
}

.route-card__panel--info,
.route-card__panel--idle {
  background: rgba(255, 255, 255, 0.78);
}

.route-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.route-card__schedule-notice {
  flex-basis: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  color: #5b3d04;
  background: rgba(255, 205, 89, 0.3);
  border: 1px solid rgba(208, 144, 33, 0.28);
  font-weight: 800;
}

.route-card__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.route-card__stats span {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
}

.pickup-restaurant-list {
  display: grid;
  gap: 10px;
}

.pickup-restaurant-card {
  width: 100%;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(20, 38, 42, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  text-align: left;
  box-shadow: 0 10px 22px rgba(20, 38, 42, 0.08);
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.pickup-restaurant-card:hover,
.pickup-restaurant-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(25, 169, 125, 0.28);
  box-shadow: 0 14px 26px rgba(20, 38, 42, 0.12);
  outline: none;
}

.pickup-restaurant-card strong {
  font-size: 1rem;
}

.pickup-restaurant-card span,
.pickup-restaurant-card small {
  color: var(--muted);
  line-height: 1.35;
}

.pickup-restaurant-card.is-open small {
  color: #0c6b53;
  font-weight: 800;
}

.pickup-restaurant-card.is-closed small {
  color: #8a5a00;
  font-weight: 800;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

body.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(20px);
}

body.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes cartPulse {
  0% {
    transform: scale(1);
    box-shadow: var(--shadow);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 24px 80px rgba(241, 109, 93, 0.28);
  }
  100% {
    transform: scale(1);
    box-shadow: var(--shadow);
  }
}

@keyframes promoBadgePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 24px rgba(255, 120, 30, 0.32);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 14px 28px rgba(255, 120, 30, 0.44);
  }
}

@keyframes promoBadgeGlow {
  0%, 100% {
    box-shadow: 0 8px 18px rgba(143, 46, 25, 0.28);
  }
  50% {
    box-shadow: 0 12px 24px rgba(143, 46, 25, 0.46);
  }
}

@keyframes vhsFlicker {
  0%, 100% {
    opacity: 0.14;
  }
  48% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.12;
  }
  52% {
    opacity: 0.18;
  }
}

@keyframes vhsTracking {
  0% {
    background-position: 0 0, 0 0, 0 -24%, 0 0;
  }
  100% {
    background-position: 0 0, 0 0, 0 124%, 0 0;
  }
}

@keyframes vhsNoise {
  0% {
    background-position: center, center, 0 0;
  }
  100% {
    background-position: center, center, -12px 16px;
  }
}

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

  .cart-panel {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 8px;
    z-index: 29;
    width: auto;
    height: auto;
    max-height: min(62dvh, 560px);
    border-radius: 22px;
    transform: translateY(calc(100% + 24px));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 220ms ease;
    overflow: hidden;
  }

  .cart-panel__body {
    min-height: 0;
    max-height: calc(min(62dvh, 560px) - 110px);
    overflow: auto;
    padding-right: 0;
  }

  body.cart-drawer-open .cart-panel {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.cart-drawer-open .drawer-scrim {
    display: block;
  }

  .cart-panel__close {
    display: inline-flex;
  }

  .mobile-cart-button {
    display: flex;
  }
}

@media (max-width: 980px) {
  .mobile-address-strip {
    display: none !important;
  }

  #customerAddress,
  #mobileAddressInput,
  .hero-address__city-street input,
  .field input,
  .field select,
  .field textarea {
    font-size: 16px !important;
    line-height: 1.35;
  }

  .address-suggestions__status,
  .address-suggestion strong,
  .address-suggestion span {
    font-size: 0.98rem;
    line-height: 1.4;
  }

  .hero-address__city-street {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-address__split {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-address__numbers,
  .checkout-address__numbers {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 980px) {
  .hero {
    height: 100svh;
    min-height: 100svh;
    padding-bottom: 0;
  }

  .order-tracker {
    width: calc(100% - 24px);
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 16px;
  }

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

  .order-tracker__tile--wide {
    grid-column: span 2;
  }

  .hero-backdrop {
    transform: none;
  }

  .hero-video {
    object-position: center 48%;
  }

  .hero-body,
  .control-deck,
  .featured-grid,
  .overview-panel {
    grid-template-columns: 1fr;
  }

  .hero-body {
    display: flex;
    flex-direction: column;
    position: static;
    min-height: calc(100svh - 112px);
    align-items: stretch;
    justify-content: flex-end;
    margin-top: 10px;
  }

  .mobile-address-strip {
    position: sticky;
    top: 66px;
    z-index: 4;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    width: min(760px, calc(100% - 24px));
    margin: 8px auto 0;
    padding: 6px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(8, 20, 24, 0.38);
    backdrop-filter: blur(10px);
  }

  .mobile-address-strip input {
    min-height: 38px;
    border: 0;
    border-radius: 999px;
    padding: 0 12px;
    color: white;
    background: rgba(255, 255, 255, 0.14);
    outline: none;
  }

  .mobile-address-strip input::placeholder {
    color: rgba(255, 246, 238, 0.76);
  }

  .mobile-address-strip__go {
    min-width: 46px;
    min-height: 38px;
    border: 0;
    border-radius: 999px;
    color: var(--seaweed);
    background: #ffd979;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
  }

  .hero-copy {
    display: none;
  }

  .hero-summary__grid,
  .checkout-form__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-summary {
    display: none;
  }

  .hero-summary__header,
  .hero-summary__intro,
  .hero-summary__grid {
    display: none;
  }

  .hero-mobile-loyalty-slot {
    display: block;
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 0;
    width: min(620px, calc(100% - 24px));
    transform: translateX(-50%);
  }

  .hero-mobile-loyalty-slot .loyalty-card {
    margin-top: 0;
    margin-bottom: 0;
    border-radius: 20px;
    background:
      radial-gradient(circle at 90% 12%, rgba(255, 217, 121, 0.34), rgba(255, 217, 121, 0) 30%),
      linear-gradient(130deg, rgba(17, 78, 86, 0.96), rgba(241, 109, 93, 0.92));
    box-shadow: 0 12px 30px rgba(16, 38, 42, 0.26);
  }

  .route-card--hero:empty {
    display: none;
  }

  .control-deck {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .control-deck .search-field {
    display: none;
  }

  #mobileAddressMount {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
  }

  #mobileAddressMount .hero-address {
    margin-top: 0;
    border-radius: 20px;
    background: rgba(255, 249, 241, 0.96);
    box-shadow: 0 12px 30px rgba(16, 38, 42, 0.22);
  }

  #mobileAddressMount .address-field-stack .address-suggestions {
    top: auto;
    bottom: calc(100% + 8px);
    max-height: min(220px, 42svh);
  }

  .featured {
    display: none;
  }

  .overview-panel {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 8px 10px 12px;
    background: transparent;
  }

  .product-card {
    --product-card-media-size: 100%;
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: stretch;
    padding: 10px;
    border-radius: 18px;
  }

  .product-card + .product-card {
    margin-top: 0;
  }

  .product-card__media {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
  }

  .product-card__badge {
    top: 8px;
    left: 10px;
    width: fit-content;
    max-width: calc(var(--product-card-media-size) - 10px);
    min-height: 28px;
    padding: 0 10px;
    font-size: 0.66rem;
  }

  .product-card__badge--promo {
    top: 8px;
    left: 10px;
    right: 10px;
    width: auto;
    max-width: none;
    min-height: 30px;
    padding: 2px 10px;
    font-size: 0.7rem;
  }

  .product-card__badge--promo .promo-badge__value {
    font-size: 1.34em;
  }

  .product-card__badge--promo .promo-badge__value--club {
    font-size: 0.84em;
  }

  .product-card__badge--promo .promo-badge-pill--discount {
    min-height: 26px;
    padding: 2px 8px;
  }

  .product-card__badge--promo .promo-badge-pill--discount strong {
    font-size: 0.88rem;
  }

  .product-card__badge--promo .promo-badge-pill--discount span {
    font-size: 0.52rem;
  }

  .product-card--club-teaser {
    padding-top: 84px;
  }

  .product-card--promo:not(.product-card--club-teaser) {
    padding-top: 46px;
  }

  .product-card--promo:not(.product-card--club-teaser) .product-card__badge {
    top: 24px;
    left: 10px;
    right: auto;
    display: inline-flex;
    justify-items: center;
    align-items: center;
    width: fit-content;
    max-width: calc(100% - 20px);
    gap: 4px;
  }

  .product-card--promo:not(.product-card--club-teaser) .promo-badge-pill--base {
    min-height: 22px;
    padding: 0 10px;
    font-size: 0.6rem;
    box-sizing: border-box;
  }

  .product-card--promo:not(.product-card--club-teaser) .promo-badge-pill--discount {
    min-height: 22px;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .product-card--promo:not(.product-card--club-teaser) .promo-badge-pill--discount strong {
    font-size: 0.92rem;
  }

  .product-card--club-teaser .product-card__badge {
    top: 9px;
    left: 10px;
    right: auto;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: stretch;
    align-items: stretch;
    width: min(calc(var(--product-card-media-size) + 88px), calc(100% - 20px));
    max-width: calc(100% - 20px);
    gap: 0;
  }

  .product-card--club-teaser .promo-badge-pill--base {
    display: flex;
    min-height: 26px;
    padding: 0 10px;
    font-size: 0.66rem;
    box-sizing: border-box;
  }

  .product-card--club-teaser .promo-badge-pill--club {
    display: grid;
    min-height: 40px;
    padding: 5px 10px;
    box-sizing: border-box;
  }

  .product-card--club-teaser .promo-badge-pill--club strong {
    font-size: 1.36rem;
  }

  .product-card--club-teaser .promo-badge-pill--club span {
    font-size: 0.7rem;
  }

  .product-card h3 {
    margin-bottom: 6px;
    font-size: 0.98rem;
    line-height: 1.2;
  }

  .product-card__copy {
    gap: 6px;
  }

  .product-card__copy p {
    font-size: 0.84rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-card__footer {
    gap: 6px;
    flex-direction: column;
    align-items: stretch;
  }

  .product-card__price {
    font-size: 0.98rem;
  }

  .product-card__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .product-card__action {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .product-card__action--ghost {
    display: none;
  }

  .section-heading,
  .menu-group__heading {
    flex-direction: column;
    align-items: start;
  }

  .control-deck .section-kicker {
    letter-spacing: 0.12em;
  }

  .search-field input {
    min-height: 48px;
  }

  .loyalty-card--showcase {
    gap: 10px;
    padding: 16px;
    border-radius: 20px;
    background:
      radial-gradient(circle at 90% 12%, rgba(255, 217, 121, 0.34), rgba(255, 217, 121, 0) 30%),
      linear-gradient(130deg, rgba(17, 78, 86, 0.96), rgba(241, 109, 93, 0.92));
  }

  .loyalty-card--showcase::before,
  .loyalty-card--showcase::after {
    display: none;
  }

  .loyalty-card__header {
    align-items: center;
  }

  .loyalty-card__text {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .loyalty-card__promo {
    min-height: 128px;
    border-radius: 14px;
  }

  .loyalty-card__promo-photo {
    min-height: 128px;
  }

  .loyalty-card--showcase .loyalty-card__stats,
  .loyalty-card--showcase .loyalty-progress,
  .loyalty-card--showcase .loyalty-rewards {
    display: none;
  }

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

  .user-panel__tile--wide {
    grid-column: span 2;
  }

  .user-panel__loyalty-columns {
    grid-template-columns: 1fr;
  }

  .user-order-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .route-card__stats {
    grid-template-columns: 1fr;
  }

  .reveal,
  body.reveal-ready .reveal,
  body.reveal-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-topbar {
    --mobile-hero-topbar-lift: 18px;
    position: sticky;
    top: 0;
    z-index: 4;
    align-items: center;
    flex-direction: row;
    margin-top: calc(-1 * var(--mobile-hero-topbar-lift));
    margin-bottom: calc(-1 * var(--mobile-hero-topbar-lift));
    padding: 8px 12px;
    border-radius: 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .hero-topbar__actions,
  .hero-badges,
  .hero-actions {
    display: none;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .cart-panel {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 8px;
    z-index: 29;
    max-height: min(62dvh, 560px);
    height: auto;
    border-radius: 22px;
    transform: translateY(calc(100% + 24px));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 220ms ease;
    overflow: hidden;
    box-shadow: 0 24px 56px rgba(14, 36, 39, 0.32);
  }

  .cart-panel__body {
    max-height: calc(min(62dvh, 560px) - 110px);
    overflow: auto;
  }

  .cart-panel__close {
    display: inline-flex;
  }

  .cart-panel__header {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .cart-panel__actions {
    order: -1;
    justify-self: start;
  }

  .cart-panel__actions .text-button {
    display: none;
  }

  .mobile-cart-button {
    display: flex;
  }

  .drawer-scrim {
    z-index: 28;
    background: rgba(10, 20, 24, 0.42);
  }

  body.cart-drawer-open .drawer-scrim {
    display: block;
  }

  body.cart-drawer-open .cart-panel {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.mobile-nav-open .mobile-nav-scrim {
    display: block;
  }

  body.mobile-nav-open .mobile-nav-panel {
    display: block;
    transform: translateX(0);
  }
}

@media (max-width: 720px) {
  .grain {
    display: none;
  }

  .page-shell {
    width: 100%;
    padding: 0 0 88px;
  }

  .layout {
    width: 100%;
    padding-inline: 10px;
  }

  .order-tracker {
    width: calc(100% - 16px);
    padding: 10px;
    border-radius: 14px;
  }

  .order-tracker__header {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .order-tracker__status {
    width: fit-content;
  }

  .order-tracker__grid {
    grid-template-columns: 1fr;
  }

  .order-tracker__tile--wide {
    grid-column: auto;
  }

  .hero-backdrop {
    transform: none;
  }

  .hero-video {
    top: 0;
    right: auto;
    bottom: 0;
    left: -6%;
    width: 112%;
    height: 100%;
    object-position: center 46%;
    transform: none;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 20, 22, 0.04), rgba(7, 20, 22, 0.12));
  }

  .hero,
  .control-deck,
  .overview-panel,
  .category-ribbon,
  .menu-group,
  .cart-panel {
    padding: 16px;
  }

  .cart-panel {
    left: 8px;
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    max-height: min(56dvh, 480px);
    border-radius: 18px;
  }

  .cart-panel__body {
    max-height: calc(min(56dvh, 480px) - 102px);
  }

  .cart-order-status {
    gap: 4px 6px;
    margin-top: 6px;
  }

  .cart-order-status__label {
    font-size: 0.66rem;
  }

  .cart-order-status__state {
    min-height: 24px;
    padding: 0 8px;
    font-size: 0.6rem;
  }

  .cart-order-status__eta,
  .cart-order-status__link {
    font-size: 0.74rem;
  }

  .hero {
    min-height: 100dvh;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    border-radius: 0;
    padding: 14px 0 calc(16px + env(safe-area-inset-bottom));
    box-shadow: 0 14px 32px rgba(22, 52, 57, 0.12);
  }

  .hero-body {
    min-height: calc(100dvh - 106px);
    gap: 10px;
    margin-top: 8px;
  }

  .hero-topbar,
  .hero-body {
    width: calc(100% - 24px);
  }

  .hero-topbar {
    padding-top: max(2px, env(safe-area-inset-top, 0px));
  }

  .mobile-address-strip {
    top: calc(62px + env(safe-area-inset-top));
    width: calc(100% - 24px);
  }

  .hero-summary,
  .fact-tile,
  .overview-card,
  .product-card,
  .summary-card,
  .field input,
  .field select,
  .field textarea,
  .cart-item,
  .featured-card,
  .menu-group,
  .control-deck,
  .overview-panel,
  .category-ribbon,
  .cart-panel,
  .ghost-button,
  .hero-badge,
  .secondary-button,
  .drawer-scrim {
    backdrop-filter: none;
  }

  .control-deck,
  .overview-panel,
  .category-ribbon,
  .menu-group,
  .cart-panel,
  .hero-summary {
    box-shadow: 0 12px 28px rgba(22, 52, 57, 0.1);
  }

  .hero-summary {
    margin-top: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  .hero-address,
  .fact-tile,
  .overview-card,
  .product-card,
  .menu-group__heading,
  .summary-card,
  .cart-item {
    background: rgba(255, 250, 244, 0.98);
  }

  .ghost-button,
  .secondary-button,
  .hero-badge,
  .address-suggestions {
    background: rgba(14, 22, 24, 0.3);
    border-color: rgba(255, 255, 255, 0.14);
  }

  .address-suggestion {
    background: rgba(255, 250, 244, 0.98);
  }

  .hero-summary__header {
    gap: 10px;
    margin-bottom: 10px;
  }

  .hero-summary__header img {
    width: 52px;
    height: 52px;
    border-width: 2px;
  }

  .hero-summary__header h2 {
    font-size: 1.16rem;
    line-height: 1.2;
  }

  .fact-tile--mode {
    padding: 12px;
  }

  .mode-switch {
    padding: 6px;
    gap: 6px;
  }

  .mode-switch__button {
    min-height: 40px;
    font-size: 0.9rem;
  }

  .hero-address {
    margin-top: 12px;
    padding: 12px;
    border-radius: 16px;
  }

  .hero-address__hint {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .hero-address__check {
    width: 100%;
    min-height: 44px;
  }

  .route-card__panel {
    padding: 12px;
    border-radius: 16px;
  }

  .route-card__stats span {
    padding: 8px 10px;
    font-size: 0.84rem;
  }

  .menu-pane {
    gap: 16px;
  }

  .menu-group {
    border-radius: 22px;
  }

  .menu-group__heading {
    padding: 14px 14px 10px;
    gap: 10px;
  }

  .menu-group__heading::before {
    top: 12px;
    bottom: 12px;
  }

  .product-grid {
    padding: 8px 10px 12px;
  }

  .mobile-nav-panel {
    width: min(340px, calc(100% - 20px));
    padding-top: calc(14px + env(safe-area-inset-top));
  }

  .loyalty-card__header,
  .loyalty-reward,
  .mobile-nav-panel__actions {
    width: 100%;
  }

  .loyalty-card__header,
  .loyalty-reward {
    flex-direction: column;
    align-items: stretch;
  }

  .loyalty-card--showcase .loyalty-reward--consent-summary {
    flex-direction: column;
    align-items: stretch;
  }

  .loyalty-reward__claim {
    width: 100%;
  }

  .user-panel {
    padding: 14px;
    border-radius: 18px;
    gap: 12px;
  }

  .user-panel__header {
    flex-direction: column;
    align-items: stretch;
  }

  .user-panel__header-actions {
    width: 100%;
    justify-content: stretch;
    max-width: none;
    padding-right: 0;
  }

  .user-panel__rewards-toggle,
  .user-panel__orders-toggle,
  .user-panel__auth {
    width: 100%;
    justify-content: center;
  }

  .user-panel__grid {
    grid-template-columns: 1fr;
  }

  .user-panel__tile--wide {
    grid-column: auto;
  }

  .user-panel__loyalty-columns {
    grid-template-columns: 1fr;
  }

  .user-panel__orders {
    max-height: 220px;
  }

  .user-panel__profile-grid {
    grid-template-columns: 1fr;
  }

  .user-panel__profile-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .user-panel__profile-actions .primary-button {
    width: 100%;
  }

  .user-panel__consents-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .user-panel__consents-actions .primary-button {
    width: 100%;
  }

  .hero-copy h1 {
    margin: 0;
    font-size: clamp(2rem, 10vw, 2.6rem);
  }

  .welcome-bubble {
    left: 50%;
    right: auto;
    width: min(360px, calc(100vw - 20px - env(safe-area-inset-left) - env(safe-area-inset-right)));
    max-height: calc(100dvh - 28px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    top: 50%;
    padding: 34px 12px 12px;
    border-radius: 16px;
    overflow: auto;
    transform: translate(-50%, -50%);
  }

  .welcome-bubble__layout {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
  }

  .welcome-bubble__mascot {
    border-radius: 14px;
  }

  .welcome-bubble--promo .welcome-bubble__layout {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .welcome-bubble--promo {
    width: min(390px, calc(100vw - 18px - env(safe-area-inset-left) - env(safe-area-inset-right)));
    padding: 32px 10px 12px;
    border-radius: 18px;
  }

  .welcome-bubble--promo .welcome-bubble__mascot {
    width: min(100%, 232px);
    margin-inline: auto;
  }

  .welcome-bubble--promo .welcome-bubble__mascot img {
    object-position: center;
  }

  .welcome-bubble__content {
    gap: 10px;
  }

  .welcome-bubble__promo-strip {
    width: 100%;
    border-radius: 12px;
  }

  .welcome-bubble--promo .welcome-bubble__promo-strip {
    width: 100%;
    margin-bottom: 8px;
    border-radius: 14px;
  }

  .welcome-bubble__speech {
    padding: 7px 9px;
    font-size: 0.82rem;
  }

  .welcome-bubble h3 {
    font-size: clamp(1.16rem, 6.4vw, 1.72rem);
    line-height: 0.98;
  }

  .welcome-bubble--promo h3 {
    font-size: clamp(1.16rem, 5.6vw, 1.52rem);
  }

  .welcome-bubble--promo .welcome-bubble__promo-strong {
    font-size: clamp(1.34rem, 6.5vw, 1.86rem);
  }

  .welcome-bubble--promo .welcome-bubble__promo-soft {
    font-size: 0.66rem;
  }

  .welcome-bubble--festival h3 {
    font-size: clamp(1.25rem, 6.1vw, 1.8rem);
  }

  .welcome-bubble--festival .welcome-bubble__speech {
    max-width: 100%;
  }

  .welcome-bubble--festival #welcomeBubbleDescription {
    width: 100%;
  }

  .welcome-bubble p:not(.section-kicker):not(.welcome-bubble__speech) {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .welcome-bubble--promo .welcome-bubble__description-line {
    font-size: 0.88rem;
    line-height: 1.34;
  }

  .welcome-bubble--promo .welcome-bubble__description-line--accent {
    padding: 0.1em 0.34em;
    border-radius: 0.38em;
  }

  .welcome-bubble__quick-auth {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 6px;
  }

  .social-auth-button {
    min-height: 34px;
    padding: 0 8px;
    font-size: 0.78rem;
  }

  .welcome-bubble__actions {
    gap: 8px;
  }

  .welcome-bubble__actions .primary-button,
  .welcome-bubble__actions .secondary-button {
    min-width: 0;
    min-height: 46px;
    width: 100%;
  }

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

  .upsell-modal__footer {
    flex-direction: column;
  }

  .upsell-modal__footer > * {
    width: 100%;
    justify-content: center;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .featured-card {
    min-height: 236px;
    padding: 16px;
    border-radius: 20px;
    background-position: center 24%;
  }

  .featured-card__button {
    background: rgba(14, 22, 24, 0.34);
    border-color: rgba(255, 255, 255, 0.14);
  }

  .product-card__footer,
  .featured-card__footer,
  .item-modal__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .product-card {
    padding: 10px;
    border-radius: 16px;
  }

  .product-card__media {
    border-radius: 12px;
  }

  .product-card h3 {
    margin-bottom: 6px;
    font-size: 0.94rem;
  }

  .product-card__copy p {
    -webkit-line-clamp: 2;
  }

  .product-card__price {
    font-size: 0.94rem;
  }

  .product-card__price small {
    font-size: 0.66rem;
  }

  .product-card__action,
  .featured-card__button,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .drawer-scrim {
    background: rgba(12, 25, 28, 0.34);
  }

  .mobile-cart-button {
    left: 12px;
    right: auto;
    bottom: calc(10px + env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
    min-height: 56px;
  }
}

@media (max-width: 420px) {
  .hero-copy h1 {
    font-size: clamp(2.5rem, 13.5vw, 3.5rem);
  }

  .product-card {
    padding: 10px;
  }

  .product-card__media {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 1180px) {
  body:not(.cart-drawer-open) .cart-panel {
    transform: translateY(calc(100% + 24px)) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.cart-drawer-open .cart-panel {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .cart-panel {
    position: fixed !important;
    top: calc(8px + env(safe-area-inset-top)) !important;
    left: 8px !important;
    right: 8px !important;
    bottom: calc(84px + env(safe-area-inset-bottom)) !important;
    max-height: none !important;
    height: auto !important;
    gap: 12px !important;
    padding: 14px !important;
    border-radius: 20px !important;
    backdrop-filter: none !important;
    background: rgba(255, 250, 244, 0.98) !important;
    box-shadow: 0 22px 56px rgba(14, 36, 39, 0.26) !important;
  }

  .cart-panel__header h2 {
    font-size: 1.3rem !important;
  }

  .cart-panel__body {
    max-height: none !important;
    min-height: 0 !important;
    gap: 10px !important;
    padding-right: 0 !important;
  }

  .cart-item {
    grid-template-columns: 60px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 10px !important;
    border-radius: 16px !important;
  }

  .cart-item img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 12px !important;
  }

  .cart-item__copy h3 {
    font-size: 0.9rem !important;
  }

  .cart-item__copy p {
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
  }

  .summary-card {
    padding: 12px !important;
    border-radius: 16px !important;
  }

  .summary-card__row {
    font-size: 0.92rem !important;
  }

  .summary-card__row--promo {
    padding: 8px 10px !important;
    border-radius: 10px !important;
  }

  .summary-card__row--promo span {
    font-size: 0.86rem !important;
  }

  .summary-card__row--promo strong {
    font-size: 0.96rem !important;
  }

  .summary-card__row--total {
    font-size: 1.02rem !important;
  }

  .summary-card__note {
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
  }

  .summary-card__promo-item {
    font-size: 0.78rem !important;
    padding: 6px 8px !important;
  }

  .summary-card__promo-note {
    font-size: 0.76rem !important;
    line-height: 1.3 !important;
  }

  .summary-card__loyalty {
    padding: 10px !important;
    border-radius: 12px !important;
    gap: 8px !important;
  }

  .summary-card__loyalty-title {
    font-size: 0.9rem !important;
  }

  .summary-card__loyalty-text {
    font-size: 0.78rem !important;
    line-height: 1.3 !important;
  }

  .summary-card__loyalty-action {
    width: 100%;
    justify-self: stretch;
  }

  .checkout-form {
    gap: 10px !important;
  }

  .checkout-form .field span {
    font-size: 0.82rem !important;
  }

  .payment-method-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  .payment-method-option {
    min-height: 66px !important;
    padding: 8px 9px !important;
  }

  .payment-method-option__logo {
    min-width: 90px !important;
    min-height: 28px !important;
  }

  .payment-method-option__logo img {
    max-width: 100% !important;
    height: 24px !important;
    object-fit: contain !important;
  }

  .payment-method-option__logo--cluster img {
    height: 18px !important;
  }

  .payment-method-option__logo--wallet img {
    height: 17px !important;
  }

  .payment-method-option__logo--eservice,
  .payment-method-option__logo--payu,
  .payment-method-option__logo--blik {
    min-width: 78px !important;
  }

  .payment-method-option__logo--eservice img,
  .payment-method-option__logo--payu img,
  .payment-method-option__logo--blik img {
    height: 18px !important;
  }

  .payment-method-option__logo--cash img {
    height: 22px !important;
    border: none !important;
    background: transparent !important;
  }

  .payment-method-option__title {
    font-size: 0.9rem !important;
  }

  .payment-method-option__text {
    font-size: 0.7rem !important;
  }

  #customerName,
  #customerPhone,
  #customerDetails,
  #cartCustomerAddress,
  #cartCustomerBuildingNumber,
  #cartCustomerApartmentNumber {
    font-size: 16px !important;
  }

  .field textarea {
    min-height: 72px !important;
  }

  .checkout-form .primary-button--full {
    min-height: 44px !important;
    font-size: 0.92rem !important;
  }

  .drawer-scrim {
    display: none !important;
    backdrop-filter: none !important;
    background: transparent !important;
  }

  body.cart-drawer-open .drawer-scrim {
    display: none !important;
  }

  .mobile-cart-button {
    left: auto !important;
    right: 12px !important;
    bottom: calc(12px + env(safe-area-inset-bottom)) !important;
    width: 68px !important;
    height: 68px !important;
    min-height: 68px !important;
    border-radius: 999px !important;
    box-shadow: 0 18px 40px rgba(14, 93, 102, 0.34) !important;
  }

  .mobile-cart-button__icon {
    transform: translateY(-8px);
  }

  .mobile-cart-button__count {
    top: -3px;
    right: -1px;
  }

  .mobile-cart-button__total {
    bottom: 10px;
    font-size: 0.62rem;
  }

  .upsell-modal {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 8px 6px calc(10px + env(safe-area-inset-bottom));
  }

  .upsell-modal__dialog {
    width: calc(100% - 4px) !important;
    margin: 0 auto !important;
    max-height: calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) !important;
  }

  .upsell-modal__content {
    gap: 10px !important;
    padding: 14px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .upsell-modal__text {
    font-size: 0.88rem !important;
    line-height: 1.35 !important;
  }

  .upsell-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .upsell-card {
    gap: 8px !important;
    padding: 10px !important;
    border-radius: 14px !important;
  }

  .upsell-card__image {
    height: 88px !important;
    border-radius: 10px !important;
  }

  .upsell-card__copy {
    gap: 4px !important;
  }

  .upsell-card__copy strong {
    font-size: 0.88rem !important;
    line-height: 1.22 !important;
  }

  .upsell-card__copy p {
    font-size: 0.76rem !important;
    line-height: 1.28 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .upsell-card__footer {
    gap: 6px !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .upsell-card__price {
    font-size: 0.92rem !important;
  }

  .upsell-card__footer .product-card__action {
    min-height: 36px !important;
    padding: 0 10px !important;
    font-size: 0.82rem !important;
  }

  .upsell-modal__footer {
    flex-direction: row !important;
    gap: 8px !important;
  }

  .upsell-modal__footer > * {
    width: 100% !important;
    min-height: 40px !important;
  }
}

/* Account + order status polish */
.loyalty-card__actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.loyalty-account-tile {
  display: grid;
  gap: 2px;
  min-height: 50px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: var(--seaweed);
  background: linear-gradient(135deg, rgba(255, 247, 235, 0.95), rgba(255, 224, 176, 0.94));
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.loyalty-account-tile span {
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
}

.loyalty-account-tile small {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(22, 52, 57, 0.78);
}

.loyalty-account-tile[hidden] {
  display: none !important;
}

.loyalty-reward__claim {
  position: relative;
  z-index: 2;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(22, 52, 57, 0.2);
  background: rgba(255, 255, 255, 0.92);
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(15, 161, 109, 0.18);
}

.loyalty-reward__claim:disabled {
  border-color: rgba(22, 52, 57, 0.12);
  color: rgba(22, 52, 57, 0.42);
  background: rgba(255, 255, 255, 0.58);
}

.loyalty-reward__claim.loyalty-reward__claim--consent {
  border-color: rgba(177, 54, 66, 0.58);
  background: linear-gradient(135deg, #d35f69, #e65f87);
  color: #fff;
  box-shadow: 0 10px 18px rgba(189, 65, 82, 0.28);
}

.loyalty-reward__claim.loyalty-reward__claim--consent:hover,
.loyalty-reward__claim.loyalty-reward__claim--consent:focus-visible {
  border-color: rgba(126, 35, 45, 0.64);
  background: linear-gradient(135deg, #c94f5b, #db507b);
  color: #fff;
}

@keyframes cartStatusPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(241, 109, 93, 0.24);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(241, 109, 93, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(241, 109, 93, 0);
  }
}

.cart-order-status {
  position: relative;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid rgba(22, 52, 57, 0.14);
  background:
    linear-gradient(140deg, rgba(255, 246, 232, 0.92), rgba(237, 247, 247, 0.9));
  animation: cartStatusPulse 2.6s ease-in-out infinite;
}

.cart-order-status::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(241, 109, 93, 0.1), rgba(246, 182, 90, 0.08));
}

.cart-order-status > * {
  position: relative;
  z-index: 1;
}

.cart-order-status__label {
  color: rgba(22, 52, 57, 0.72);
}

.cart-order-status__eta {
  font-weight: 800;
}

.account-modal__dialog {
  width: min(980px, calc(100% - 24px));
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 30px;
  background: transparent;
  box-shadow: none;
  overscroll-behavior: contain;
}

.account-modal__content {
  display: block;
  flex: 0 1 auto;
  min-height: 0;
  max-height: calc(100dvh - 84px);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding: 0;
  background: transparent;
}

.account-modal__content > #accountModalTitle {
  display: none;
}

.account-modal__content .user-panel {
  position: relative;
  overflow: visible;
  min-height: max-content;
  gap: 18px;
  padding: 24px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  background:
    radial-gradient(circle at 86% 14%, rgba(255, 217, 121, 0.95), rgba(255, 217, 121, 0) 28%),
    radial-gradient(circle at 8% 92%, rgba(73, 200, 196, 0.35), rgba(73, 200, 196, 0) 32%),
    linear-gradient(130deg, rgba(17, 78, 86, 0.98) 0%, rgba(19, 102, 110, 0.94) 36%, rgba(241, 109, 93, 0.94) 76%, rgba(246, 182, 90, 0.96) 100%);
  color: #ffffff;
}

.account-modal__content .user-panel::before {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: 260px;
  height: 260px;
  border-radius: 44% 56% 65% 35% / 38% 46% 54% 62%;
  background:
    radial-gradient(circle at 40% 38%, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 62% 60%, rgba(255, 217, 121, 0.42), rgba(255, 217, 121, 0) 56%);
  opacity: 0.9;
  pointer-events: none;
}

.account-modal__content .user-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.08) 0 16%, rgba(255, 255, 255, 0) 16% 32%, rgba(255, 255, 255, 0.06) 32% 44%, rgba(255, 255, 255, 0) 44% 100%);
}

.account-modal__content .user-panel > * {
  position: relative;
  z-index: 1;
}

.account-modal__content .user-panel .section-kicker,
.account-modal__content .user-panel h3,
.account-modal__content .user-panel .user-panel__state {
  color: rgba(255, 248, 238, 0.92);
}

.account-modal__content .user-panel .user-panel__orders-toggle {
  border-color: rgba(255, 255, 255, 0.34);
  background: linear-gradient(135deg, rgba(255, 250, 243, 0.96), rgba(255, 232, 190, 0.96));
  color: #173f46;
  box-shadow: 0 10px 22px rgba(19, 62, 67, 0.2);
}

.account-modal__content .user-panel .user-panel__orders-toggle:hover {
  border-color: rgba(255, 255, 255, 0.46);
  background: linear-gradient(135deg, rgba(255, 252, 248, 0.98), rgba(255, 238, 204, 0.98));
}

.account-modal__content .user-panel .user-panel__auth {
  border-color: rgba(255, 255, 255, 0.32);
  background: linear-gradient(135deg, rgba(255, 250, 243, 0.94), rgba(255, 232, 190, 0.92));
  color: #173f46;
  box-shadow: 0 10px 22px rgba(19, 62, 67, 0.2);
}

.account-modal__content .user-panel .user-panel__state.is-history-target {
  color: #ffffff;
  text-shadow: 0 1px 12px rgba(12, 42, 49, 0.45);
}

.account-modal__content .user-panel .user-panel__tile,
.account-modal__content .user-panel .user-order-row,
.account-modal__content .user-panel .user-order-day__header {
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.account-modal__content .user-panel .user-order-day__header {
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.account-modal__content .user-panel .user-order-day__header span {
  color: rgba(245, 252, 255, 0.94);
}

.account-modal__content .user-panel .user-panel__profile,
.account-modal__content .user-panel .user-panel__consents {
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08)),
    rgba(12, 53, 59, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.account-modal__content .user-panel .user-panel__profile-grid .field input {
  border-color: rgba(196, 217, 223, 0.4);
  background: rgba(237, 246, 248, 0.95);
  color: #173d45;
}

.account-modal__content .user-panel .user-panel__tile span,
.account-modal__content .user-panel .user-panel__profile-header span,
.account-modal__content .user-panel .user-panel__consents-header span,
.account-modal__content .user-panel .user-order-row span,
.account-modal__content .user-panel .user-order-row small {
  color: rgba(225, 241, 246, 0.82);
}

.account-modal__content .user-panel .user-panel__tile strong,
.account-modal__content .user-panel .user-panel__profile-header strong,
.account-modal__content .user-panel .user-panel__consents-header strong,
.account-modal__content .user-panel .user-order-row strong {
  color: #f5fcff;
}

.account-modal__content .user-panel .user-order-row__status[data-status="new"] {
  border-color: rgba(241, 109, 93, 0.32);
  background: rgba(241, 109, 93, 0.18);
  color: #ffece8 !important;
}

.account-modal__content .user-panel .user-panel__orders.is-history-target {
  background: rgba(202, 224, 230, 0.42);
  box-shadow: 0 0 0 2px rgba(166, 206, 214, 0.52);
}

.account-modal__content .user-panel #userOrdersList {
  display: none !important;
}

@media (max-width: 640px) {
  .account-modal {
    overflow: hidden;
    padding: max(6px, env(safe-area-inset-top)) 4px max(8px, env(safe-area-inset-bottom));
  }

  .account-modal__dialog {
    width: calc(100% - 10px);
    height: calc(100vh - 12px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    height: calc(100svh - 12px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    max-height: calc(100dvh - 12px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    margin: 6px auto;
    display: flex;
    flex-direction: column;
  }

  .account-modal__content {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    max-height: none;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
}

.rewards-modal__dialog {
  width: min(980px, calc(100% - 24px));
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  border-radius: 30px;
  background: transparent;
  box-shadow: none;
}

.rewards-modal__content {
  max-height: calc(100dvh - 84px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  display: grid;
  gap: 10px;
  padding: 0;
  border-radius: inherit;
  background: transparent;
}

.rewards-modal__loyalty-panel,
#rewardsLoyaltyCardMount {
  display: grid;
}

.rewards-modal__loyalty-card {
  margin: 0;
  border-radius: inherit;
  overflow: hidden;
  border: 0;
}

.rewards-modal__loyalty-card .loyalty-card__stats,
.rewards-modal__loyalty-card .loyalty-progress,
.rewards-modal__loyalty-card .loyalty-rewards {
  display: grid;
}

.rewards-modal__loyalty-card .loyalty-rewards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rewards-modal__empty {
  margin: 0;
  border-style: solid;
  border-color: rgba(20, 38, 42, 0.12);
  background: rgba(255, 255, 255, 0.66);
}

.rewards-modal__content > .section-kicker,
.rewards-modal__content > #rewardsModalTitle {
  display: none;
}

.rewards-modal__footer {
  display: none;
}

.order-history-modal__dialog {
  width: min(980px, calc(100% - 24px));
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  border-radius: 30px;
  background: transparent;
  box-shadow: none;
}

.order-history-modal__content {
  max-height: calc(100dvh - 52px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px;
  gap: 12px;
  border-radius: inherit;
  border: 1px solid rgba(219, 238, 242, 0.26);
  background:
    radial-gradient(circle at 86% 14%, rgba(255, 217, 121, 0.9), rgba(255, 217, 121, 0) 28%),
    linear-gradient(130deg, rgba(17, 78, 86, 0.98) 0%, rgba(19, 102, 110, 0.94) 42%, rgba(241, 109, 93, 0.94) 76%, rgba(246, 182, 90, 0.95) 100%);
  color: #ffffff;
}

.order-history-modal__state {
  margin: 0;
  color: rgba(248, 252, 255, 0.94);
}

.order-history-modal__list {
  display: grid;
  gap: 10px;
  max-height: min(640px, calc(100dvh - 220px));
  overflow: auto;
  padding-right: 4px;
  -webkit-overflow-scrolling: touch;
}

.order-history-modal__list[hidden] {
  display: none !important;
}

.order-history-modal__list .user-order-day__header,
.order-history-modal__list .user-order-row {
  border-color: rgba(218, 236, 241, 0.3);
  background: rgba(18, 55, 63, 0.58);
}

.order-history-modal__list .user-order-day__header strong,
.order-history-modal__list .user-order-day__header span,
.order-history-modal__list .user-order-row strong,
.order-history-modal__list .user-order-row span,
.order-history-modal__list .user-order-row small,
.order-history-modal__list .user-order-row strong a {
  color: #f5fcff;
}

.order-history-modal__list .user-order-row__status {
  border-color: rgba(227, 244, 250, 0.44);
  background: rgba(16, 63, 71, 0.62);
  color: #f7fdff !important;
  letter-spacing: 0.09em;
}

.order-history-modal__list .user-order-row__status[data-status="new"] {
  border-color: rgba(255, 222, 216, 0.76);
  background: linear-gradient(135deg, rgba(243, 132, 127, 0.98), rgba(220, 90, 99, 0.96));
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(120, 28, 33, 0.44);
}

.order-history-modal__list .user-order-row__actions .text-button {
  min-height: 34px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 232, 238, 0.34);
  background: linear-gradient(135deg, #d97886, #c75f6f);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(96, 25, 41, 0.3);
}

.order-history-modal__list .user-order-row__actions .text-button:hover {
  background: linear-gradient(135deg, #de8290, #cf6979);
  transform: translateY(-1px);
}

.user-order-day {
  display: grid;
  gap: 8px;
}

.user-order-day__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(20, 38, 42, 0.1);
  background: rgba(255, 255, 255, 0.72);
}

.user-order-day__header strong {
  font-size: 0.88rem;
}

.user-order-day__header span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.user-order-day__rows {
  display: grid;
  gap: 8px;
}

.user-order-row strong a {
  color: var(--seaweed);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.user-order-row__actions {
  justify-items: end;
}

.user-order-row__actions .text-button {
  min-height: 30px;
  padding: 4px 10px;
}

.order-details-modal__dialog {
  width: min(620px, calc(100% - 24px));
  max-height: calc(100dvh - 32px);
  overflow: hidden;
}

.order-details-modal__content {
  max-height: calc(100dvh - 84px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  gap: 12px;
}

.order-details-modal__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.order-details-modal__line {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.order-details-modal__items {
  display: grid;
  gap: 8px;
}

.order-details-modal__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(20, 38, 42, 0.1);
  background: rgba(255, 255, 255, 0.78);
}

.order-details-modal__item span {
  color: var(--seaweed);
  font-weight: 700;
}

.order-details-modal__item-main {
  display: grid;
  gap: 4px;
}

.order-details-modal__item-options {
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.4;
}

.order-details-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 900px) {
  .account-modal__dialog,
  .rewards-modal__dialog,
  .order-history-modal__dialog,
  .order-details-modal__dialog {
    width: calc(100% - 10px);
    margin: 8px auto;
    max-height: calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    border-radius: 18px;
  }

  .account-modal__content,
  .rewards-modal__content,
  .order-history-modal__content,
  .order-details-modal__content {
    max-height: calc(100dvh - 76px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    padding: 16px;
  }

  .account-modal__content {
    padding: 0;
  }

  .order-history-modal__list {
    max-height: calc(100dvh - 220px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }

  .rewards-modal__dialog {
    border-radius: 18px;
    background: transparent;
    box-shadow: none;
  }

  .rewards-modal__content {
    padding: 0;
    background: transparent;
  }

  .account-modal__content .user-panel {
    padding: 16px;
    gap: 12px;
    border-radius: 18px;
  }

  .account-modal__content .user-panel::before,
  .account-modal__content .user-panel::after {
    display: none;
  }

  .rewards-modal__loyalty-card {
    border-radius: 18px;
  }

  .rewards-modal__loyalty-card .loyalty-card__stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .rewards-modal__loyalty-card .loyalty-rewards {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .user-order-day__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .user-order-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .user-order-row__actions {
    justify-items: start;
  }

  .order-details-modal__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .rewards-modal__footer {
    justify-content: stretch;
  }

  .rewards-modal__footer .secondary-button {
    width: 100%;
  }
}

@media (max-width: 980px) and (orientation: portrait) {
  .product-card--club-teaser {
    padding-top: 92px;
  }

  .product-card--club-teaser .product-card__badge {
    top: 9px;
  }
}

@media (max-width: 1180px) {
  .checkout-address__city-street {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .checkout-address__check {
    width: 100% !important;
    min-height: 42px !important;
  }

  .checkout-form__grid--address {
    grid-template-columns: 1fr !important;
  }

  .checkout-address {
    padding: 10px !important;
    border-radius: 14px !important;
  }

  .address-suggestions--cart {
    max-height: 190px !important;
  }

  .item-modal {
    padding: 8px 6px calc(10px + env(safe-area-inset-bottom)) !important;
  }

  .item-modal__dialog {
    width: calc(100% - 4px) !important;
    margin: 0 auto !important;
    max-height: calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
    border-radius: 20px !important;
  }

  .item-modal__image {
    height: clamp(360px, 54dvh, 680px) !important;
  }

  .item-modal__image-button {
    padding: 0 !important;
    border-radius: 20px 20px 0 0 !important;
  }

  .item-modal__image-button::before,
  .item-modal__image-button::after {
    border-radius: 20px 20px 0 0 !important;
  }

  .item-image-lightbox__dialog {
    width: calc(100% - 8px) !important;
    height: calc(100dvh - 8px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
    margin: 4px auto !important;
    padding: 44px 8px 8px !important;
  }

  .item-image-lightbox__image {
    max-height: calc(100dvh - 76px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
  }

  .item-modal__content {
    padding: 22px 14px 14px !important;
    gap: 10px !important;
  }

  .item-modal__badge {
    left: 14px;
    transform: translateY(-50%);
  }
}

@media (max-width: 680px) {
  .item-modal__dialog {
    width: calc(100% - 8px) !important;
  }

  .item-modal__image-button {
    min-height: clamp(360px, 60dvh, 620px) !important;
  }

  .item-modal__image {
    height: clamp(360px, 60dvh, 620px) !important;
    padding: 10px 0 4px !important;
  }

  .item-modal__content {
    padding-top: 26px !important;
  }

  .item-modal__content h2 {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
    line-height: 1.04;
  }

  .item-modal__description {
    font-size: 1rem;
    line-height: 1.46;
  }

  .item-modal__attributes {
    margin-top: 12px;
  }
}

/* ===================== APP PREVIEW THEME (RAL 5024 / 3022) ===================== */
body.theme-ral-preview {
  color: #1f3238;
  background:
    radial-gradient(circle at top left, rgba(var(--ral-5024-rgb), 0.24), transparent 34%),
    radial-gradient(circle at right 16%, rgba(var(--ral-3022-rgb), 0.14), transparent 34%),
    radial-gradient(circle at 12% 86%, rgba(var(--ral-3022-rgb), 0.08), transparent 42%),
    linear-gradient(180deg, #f3fafb 0%, #edf5f6 46%, #f7fcfd 100%);
}

body.theme-ral-preview .grain {
  opacity: 0.1;
}

body.theme-ral-preview .hero-backdrop {
  background:
    linear-gradient(118deg, rgba(38, 75, 86, 0.58), rgba(68, 113, 122, 0.32) 42%, rgba(50, 95, 106, 0.52)),
    #2d4f58;
}

body.theme-ral-preview .hero-overlay {
  background:
    radial-gradient(circle at 86% 14%, rgba(var(--ral-3022-rgb), 0.16), transparent 32%),
    linear-gradient(180deg, rgba(17, 36, 40, 0.22), rgba(17, 36, 40, 0.34));
}

.hero-backdrop[data-media-type="image"] {
  background-color: #0e1318;
  background-image: var(--hero-media-image, none);
  background-size: cover;
  background-position: var(--hero-media-position, center center);
  background-repeat: no-repeat;
}

body.theme-ral-preview .hero-backdrop[data-media-type="image"] {
  background-color: #2d4f58;
  background-image:
    linear-gradient(118deg, rgba(38, 75, 86, 0.24), rgba(68, 113, 122, 0.12) 42%, rgba(50, 95, 106, 0.18)),
    var(--hero-media-image, none);
  background-size: auto, cover;
  background-position: center, var(--hero-media-position, center center);
  background-repeat: no-repeat;
}

body.theme-ral-preview .hero-copy h1 {
  font-size: clamp(3.2rem, 5.9vw, 5.4rem);
  letter-spacing: 0.03em;
}

body.theme-ral-preview .hero-lead {
  color: rgba(244, 252, 255, 0.9);
  font-size: 1rem;
}

body.theme-ral-preview .hero-badge {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(243, 250, 252, 0.14);
}

body.theme-ral-preview .hero-summary,
body.theme-ral-preview .hero-address,
body.theme-ral-preview .fact-tile,
body.theme-ral-preview .overview-card,
body.theme-ral-preview .control-deck,
body.theme-ral-preview .overview-panel,
body.theme-ral-preview .category-ribbon,
body.theme-ral-preview .menu-group,
body.theme-ral-preview .cart-panel,
body.theme-ral-preview .route-card__panel,
body.theme-ral-preview .address-suggestions,
body.theme-ral-preview .mobile-nav-panel {
  border-color: rgba(var(--ral-5024-rgb), 0.26);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 251, 252, 0.9)),
    #ffffff;
  box-shadow: 0 20px 48px rgba(41, 77, 86, 0.14);
}

body.theme-ral-preview .category-ribbon,
body.theme-ral-preview .menu-group {
  border-color: rgba(54, 92, 101, 0.24);
  background:
    linear-gradient(180deg, rgba(109, 149, 159, 0.1), rgba(109, 149, 159, 0.05)),
    rgba(248, 252, 253, 0.97);
  box-shadow: 0 14px 30px rgba(38, 72, 80, 0.11);
}

body.theme-ral-preview .menu-group__heading {
  background: linear-gradient(180deg, rgba(109, 149, 159, 0.18), rgba(109, 149, 159, 0.12));
  border-bottom-color: rgba(39, 71, 79, 0.18);
}

body.theme-ral-preview .menu-group--promotions .menu-group__heading {
  background: linear-gradient(180deg, rgba(109, 149, 159, 0.16), rgba(var(--ral-3022-rgb), 0.12));
}

body.theme-ral-preview .product-grid {
  background: linear-gradient(180deg, rgba(109, 149, 159, 0.06), rgba(109, 149, 159, 0.03));
}

body.theme-ral-preview .section-heading h2,
body.theme-ral-preview .menu-group__heading h2,
body.theme-ral-preview .cart-panel__header h2 {
  font-size: clamp(1.2rem, 1.35vw, 1.54rem);
}

body.theme-ral-preview .fact-tile__label,
body.theme-ral-preview .field span,
body.theme-ral-preview .section-text,
body.theme-ral-preview .menu-group__description,
body.theme-ral-preview .summary-card__note,
body.theme-ral-preview .cart-empty p,
body.theme-ral-preview .item-modal__description,
body.theme-ral-preview .item-modal__content p {
  color: #536c73;
}

body.theme-ral-preview .mode-switch {
  background: rgba(var(--ral-5024-rgb), 0.12);
}

body.theme-ral-preview .mode-switch__button {
  color: #476069;
}

body.theme-ral-preview .mode-switch__button.is-active {
  color: #fff;
  background: linear-gradient(135deg, #5e8e99, #7ca6b0);
  box-shadow: 0 12px 28px rgba(50, 91, 102, 0.28);
}

body.theme-ral-preview .search-field input,
body.theme-ral-preview .field input,
body.theme-ral-preview .field select,
body.theme-ral-preview .field textarea,
body.theme-ral-preview .checkout-address__city-street input {
  border-color: rgba(var(--ral-5024-rgb), 0.38);
  background: rgba(255, 255, 255, 0.97);
}

body.theme-ral-preview .search-field input:focus,
body.theme-ral-preview .field input:focus,
body.theme-ral-preview .field select:focus,
body.theme-ral-preview .field textarea:focus,
body.theme-ral-preview .checkout-address__city-street input:focus {
  border-color: rgba(var(--ral-5024-rgb), 0.68);
  box-shadow: 0 0 0 4px rgba(var(--ral-5024-rgb), 0.2);
}

body.theme-ral-preview .address-suggestion {
  border-color: rgba(var(--ral-5024-rgb), 0.28);
}

body.theme-ral-preview .address-suggestion.is-active,
body.theme-ral-preview .address-suggestion:hover {
  border-color: rgba(var(--ral-3022-rgb), 0.56);
  background: rgba(255, 246, 247, 0.95);
}

body.theme-ral-preview .primary-button,
body.theme-ral-preview .product-card__action--primary,
body.theme-ral-preview .featured-card__button {
  color: #fff;
  background: linear-gradient(135deg, #c65e63, #d36e70);
  box-shadow: 0 14px 32px rgba(var(--ral-3022-rgb), 0.34);
}

body.theme-ral-preview .secondary-button,
body.theme-ral-preview .product-card__action--ghost,
body.theme-ral-preview .ghost-button {
  color: #355059;
  border-color: rgba(var(--ral-5024-rgb), 0.42);
  background: rgba(247, 252, 253, 0.88);
}

body.theme-ral-preview .product-card {
  border-color: rgba(var(--ral-5024-rgb), 0.32);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(241, 250, 252, 0.9)),
    #fff;
  box-shadow: 0 18px 42px rgba(49, 90, 99, 0.16);
}

body.theme-ral-preview .product-card__badge.product-card__badge--promo,
body.theme-ral-preview .item-modal__badge.item-modal__badge--promo {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

body.theme-ral-preview .product-card h3 {
  font-size: 1.08rem;
}

body.theme-ral-preview .cart-panel {
  border-color: rgba(var(--ral-5024-rgb), 0.34);
  box-shadow: 0 24px 56px rgba(46, 85, 93, 0.2);
}

body.theme-ral-preview .route-card__panel--success {
  border-color: rgba(var(--ral-5024-rgb), 0.34);
  background: linear-gradient(180deg, rgba(233, 247, 249, 0.94), rgba(245, 252, 253, 0.92));
}

body.theme-ral-preview .route-card__panel--error {
  border-color: rgba(var(--ral-3022-rgb), 0.34);
  background: linear-gradient(180deg, rgba(255, 241, 242, 0.95), rgba(255, 249, 250, 0.94));
}

body.theme-ral-preview .route-card__stats span {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(var(--ral-5024-rgb), 0.2);
}

body.theme-ral-preview .item-modal__scrim,
body.theme-ral-preview .auth-modal__scrim,
body.theme-ral-preview .upsell-modal__scrim,
body.theme-ral-preview .item-image-lightbox__scrim {
  background: rgba(18, 36, 40, 0.5);
}

body.theme-ral-preview .item-modal__dialog,
body.theme-ral-preview .auth-modal__dialog,
body.theme-ral-preview .upsell-modal__dialog {
  border: 1px solid rgba(var(--ral-5024-rgb), 0.32);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 251, 252, 0.92)),
    #fff;
  box-shadow: 0 26px 62px rgba(44, 80, 88, 0.22);
}

body.theme-ral-preview .item-modal__content h2 {
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
}

body.theme-ral-preview .item-modal__attributes {
  gap: 10px;
}

body.theme-ral-preview .item-attr-group {
  border-color: rgba(var(--ral-5024-rgb), 0.3);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 251, 252, 0.9)),
    #fff;
  box-shadow: 0 10px 22px rgba(46, 86, 94, 0.1);
}

body.theme-ral-preview .item-attr-group__header {
  border-bottom-color: rgba(var(--ral-5024-rgb), 0.2);
  background: linear-gradient(135deg, rgba(var(--ral-5024-rgb), 0.2), rgba(var(--ral-3022-rgb), 0.1));
}

body.theme-ral-preview .item-attr-group__title {
  color: #23454f;
  font-size: 0.95rem;
}

body.theme-ral-preview .item-attr-group__meta {
  color: #587279;
}

body.theme-ral-preview .item-attr-option-item + .item-attr-option-item {
  border-top-color: rgba(var(--ral-5024-rgb), 0.16);
}

body.theme-ral-preview .item-attr-option {
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.97);
}

body.theme-ral-preview .item-attr-option:hover {
  background: rgba(var(--ral-5024-rgb), 0.1);
}

body.theme-ral-preview .item-attr-option input {
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 2px solid rgba(var(--ral-5024-rgb), 0.65);
  border-radius: 999px;
  background: #fff;
  position: relative;
}

body.theme-ral-preview .item-attr-option input[type="checkbox"] {
  border-radius: 6px;
}

body.theme-ral-preview .item-attr-option input:checked {
  border-color: rgba(var(--ral-3022-rgb), 0.9);
  background: rgba(var(--ral-3022-rgb), 0.88);
}

body.theme-ral-preview .item-attr-option input:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background: #fff;
}

body.theme-ral-preview .item-attr-option:has(input:checked) {
  background: rgba(var(--ral-3022-rgb), 0.12);
}

body.theme-ral-preview .item-attr-option--quantity {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

body.theme-ral-preview .item-attr-option-item.is-selected .item-attr-option--quantity {
  background: rgba(var(--ral-3022-rgb), 0.12);
}

body.theme-ral-preview .item-attr-quantity {
  border-color: rgba(var(--ral-5024-rgb), 0.4);
}

body.theme-ral-preview .item-attr-quantity input {
  appearance: textfield;
  width: 34px;
  height: 32px;
  border: 0;
  border-right: 1px solid rgba(var(--ral-5024-rgb), 0.2);
  border-left: 1px solid rgba(var(--ral-5024-rgb), 0.2);
  border-radius: 0;
  background: transparent;
  color: #213f48;
}

body.theme-ral-preview .item-attr-quantity button {
  color: #213f48;
}

body.theme-ral-preview .item-attr-option__name {
  font-size: 0.9rem;
  color: #213f48;
}

body.theme-ral-preview .item-attr-option__delta {
  color: #4e676f;
  font-size: 0.82rem;
}

body.theme-ral-preview .item-modal__attributes-hint {
  color: #4f676f;
}

body.theme-ral-preview .welcome-bubble__close,
body.theme-ral-preview .item-modal__close {
  background: rgba(26, 61, 70, 0.62);
}

@media (orientation: landscape) and (max-height: 560px) {
  .welcome-bubble {
    left: calc(8px + env(safe-area-inset-left));
    right: calc(8px + env(safe-area-inset-right));
    top: calc(8px + env(safe-area-inset-top));
    bottom: calc(8px + env(safe-area-inset-bottom));
    width: auto;
    max-width: none;
    max-height: none;
    padding: 12px 10px 10px;
    border-radius: 14px;
    transform: none;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .welcome-bubble__layout {
    gap: 8px;
  }

  .welcome-bubble__content {
    gap: 8px;
  }

  .welcome-bubble__close {
    position: sticky;
    top: 0;
    right: auto;
    margin-left: auto;
    z-index: 60;
  }

  .welcome-bubble__speech {
    padding: 6px 10px;
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .welcome-bubble h3 {
    font-size: clamp(1.04rem, 2.9vw, 1.34rem);
    line-height: 1.05;
  }

  .welcome-bubble p:not(.section-kicker):not(.welcome-bubble__speech) {
    font-size: 0.8rem;
    line-height: 1.34;
  }

  .welcome-bubble--promo .welcome-bubble__description-line {
    font-size: 0.84rem;
    line-height: 1.28;
  }

  .welcome-bubble--promo .welcome-bubble__description-line--accent {
    padding: 0.08em 0.3em;
  }

  .welcome-bubble__quick-auth {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .social-auth-button {
    min-height: 32px;
    min-width: 40px;
    padding: 0 8px;
  }

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

  .welcome-bubble__actions .primary-button,
  .welcome-bubble__actions .secondary-button {
    min-height: 40px;
    width: 100%;
    min-width: 0;
    padding: 0 10px;
  }
}

/* === UX 2026-06: porządek kart menu na dużych ekranach (≥1700px) === */
/* Karty produktów to układ poziomy (obraz | treść). Na bardzo szerokich ekranach
   panel menu jest szeroki, więc powiększamy obraz i wyrównujemy go do góry,
   żeby mały obrazek nie "pływał" w pionie i karta nie wyglądała na rozstrzeloną. */
@media (min-width: 1700px) {
  .product-card {
    --product-card-media-size: 200px;
    align-items: start;
  }
  .product-card__media {
    align-self: stretch;
  }
}

/* === UX 2026-07: desktop odrobinę gęściej, jak po jednym kroku Cmd- === */
@media (min-width: 1181px) {
  html {
    font-size: 14px;
  }

  :root {
    --content-max-width: 1560px;
    --content-width: 88%;
  }

  .hero {
    min-height: 90svh;
    padding-top: 20px;
    padding-bottom: 42px;
  }

  .hero-body {
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.74fr);
    gap: 22px;
    margin-top: clamp(92px, 14vh, 172px);
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-copy h1 {
    font-size: clamp(3.25rem, 5.7vw, 5.6rem);
  }

  .hero-summary {
    padding: 18px;
    border-radius: 30px;
  }

  .layout {
    grid-template-columns: minmax(0, 1fr) clamp(380px, 29vw, 430px);
    gap: 20px;
    margin-top: 20px;
  }

  .menu-sections {
    gap: 18px;
  }

  .menu-group {
    border-radius: 24px;
  }

  .product-grid {
    padding: 8px 12px 16px;
  }

  .product-card {
    --product-card-media-size: 122px;
    gap: 14px;
    padding: 14px;
    border-radius: 20px;
  }

  .product-card + .product-card {
    margin-top: 10px;
  }

  .cart-panel {
    border-radius: 30px;
  }

  .cart-panel__body {
    gap: 14px;
  }
}

@media (min-width: 1700px) {
  .product-card {
    --product-card-media-size: 178px;
  }
}

/* === UX 2026-06: ukryte dymki kategorii — pusty badge nie zostawia bąbelka === */
.featured-card__badge:empty,
.product-card__badge:empty,
.item-modal__badge:empty {
  display: none;
}
