:root {
    --color-bg: #050816;
    --color-surface: #071224;
    --color-surface-alt: rgba(7, 18, 36, 0.95);
    --color-border: rgba(31, 41, 55, 0.75);
    --color-text: #f9fafb;
    --color-text-muted: #cbd5f5;
    --color-accent: #006ee0;          /* główny niebieski – jak landing */
    --color-accent-strong: #38bdf8;   /* jaśniejszy akcent */
    --header-height: 0rem;

    /* KAFELKI */
    --tilebar-w:64px;
    --tile:32px;
    --tile-step:64px;
    --tile-opacity:.28;
    --tile-color: rgba(0,110,224,.92);
}

/* GLOBAL */

html {
    scroll-behavior: smooth;
    background:
        radial-gradient(circle, rgba(12, 175, 255, 0) 0%, rgb(12 128 255 / 20%) 100%),
        linear-gradient(180deg, #040614 0%, #050816 40%, #040614 100%);
    background-repeat: no-repeat;
    background-size: cover;
}

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

.h6, h6 {
    font-size: 11px;
}

.end-0 {
    right: 56px !important;
}

.top-0 {
    top: 112px !important;
}

.top-1 {
    top: 0px !important;
}

.input-group .btn {
    position: relative;
    z-index: 0;
}

body {
    margin: 0;
    font-family: var(--order-font-family, 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
    background:
        radial-gradient(circle, rgba(12, 175, 255, 0) 0%, rgb(12 128 255 / 20%) 100%),
        linear-gradient(180deg, #040614 0%, #050816 40%, #040614 100%);
    color: var(--color-text);
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    z-index: 0;
    isolation: isolate;
}

body::before{
    content:"";
    position: fixed;
    inset: -1%;               /* większe niż ekran, żeby blur nie robił "ramki" */
    z-index: -1;               /* za całą treścią, ale nad background body */
    pointer-events: none;

    background: url("../images/bg.webp") center / cover no-repeat;
    filter: blur(7px);
    transform: scale(1.02);    /* maskuje krawędzie po rozmyciu */
    opacity: 0.2;             /* nisko, bo obraz ma małą rozdzielczość */
}

body.order-uppercase,
body.order-uppercase *,
body.order-uppercase *::before,
body.order-uppercase *::after {
    text-transform: uppercase !important;
}

body.order-uppercase .material-icons,
body.order-uppercase .material-icons-outlined,
body.order-uppercase .material-icons-round,
body.order-uppercase .material-icons-sharp,
body.order-uppercase .material-symbols-outlined,
body.order-uppercase .material-symbols-rounded,
body.order-uppercase .material-symbols-sharp {
    text-transform: none !important;
}

body.order-uppercase ::placeholder,
body.order-uppercase input,
body.order-uppercase textarea,
body.order-uppercase select,
body.order-uppercase option,
body.order-uppercase button {
    text-transform: uppercase !important;
}

.d-lg-inline {
  padding-top: 5px;
}


/* Hide page vertical scrollbar but keep scrolling (desktop layout scroll container) */
@media (min-width: 1299px) {
  .order-shell__scroll {
    scrollbar-width: none;      /* Firefox */
    -ms-overflow-style: none;   /* old Edge/IE */
  }
  .order-shell__scroll::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
}

/* AUTH (login/register) */
.auth-html,
.auth-body {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

.auth-body {
  margin: 0;
}

.auth-page {
  --auth-shell-padding: clamp(16px, 4vw, 32px);
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: calc(var(--app-vh, 1vh) * 100);
  display: block;
}

@supports (height: 100dvh) {
  .auth-page {
    height: 100dvh;
  }
}

.auth-shell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--auth-shell-padding);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - (var(--auth-shell-padding) * 2));
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(0, 110, 224, 0.4);
  background: linear-gradient(140deg, rgba(7, 18, 36, 0.92), rgba(4, 10, 24, 0.82));
  box-shadow:
    0 28px 60px rgba(2, 10, 26, 0.75),
    0 0 0 1px rgba(148, 163, 184, 0.08) inset;
  backdrop-filter: blur(24px);
}

@supports (height: 100dvh) {
  .auth-card {
    max-height: calc(100dvh - (var(--auth-shell-padding) * 2));
  }
}

.auth-card::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 60%;
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.35), transparent 65%),
    radial-gradient(circle at 20% 20%, rgba(0, 110, 224, 0.3), transparent 70%);
  opacity: 0.5;
  filter: blur(18px);
  pointer-events: none;
}

.auth-card__header {
  position: relative;
  padding: 2rem 2rem 0;
  text-align: center;
  z-index: 1;
}

.auth-card__body {
  padding: 0 2rem 2rem;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  min-height: 0;
  z-index: 1;
}

.auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.auth-logo img {
  height: clamp(80px, 20vw, 110px);
  width: auto;
  filter: drop-shadow(0 18px 40px rgba(59, 130, 246, 0.7));
}

.auth-title {
  margin-bottom: 0.35rem;
  color: var(--color-text);
  font-size: 1.6rem;
  font-weight: 600;
}

.auth-subtitle {
  margin-bottom: 1.5rem;
  color: rgba(203, 213, 245, 0.85);
  font-size: 0.95rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
}

.auth-field .form-label {
  color: rgba(203, 213, 245, 0.85);
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.auth-form .form-control {
  background: rgba(7, 18, 36, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: var(--color-text);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
}

.auth-form .form-control::placeholder {
  color: rgba(148, 163, 184, 0.65);
}

.auth-form .form-control:focus {
  border-color: rgba(56, 189, 248, 0.85);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.25);
  background: rgba(7, 18, 36, 0.96);
  color: var(--color-text);
}

.auth-actions {
  margin-top: 0.4rem;
}

.auth-actions .btn-primary {
  width: 100%;
}

.auth-footer {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.95);
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.auth-footer a {
  color: var(--color-accent-strong);
  text-decoration: none;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.auth-lang {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.auth-lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(7, 18, 36, 0.6);
  transition: 0.2s ease;
}

.auth-lang a.active {
  border-color: rgba(56, 189, 248, 0.85);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35);
}

.auth-lang a:hover {
  transform: translateY(-1px);
  border-color: rgba(148, 163, 184, 0.6);
}

.auth-lang .fi,
.auth-lang img {
  width: 24px;
  height: 16px;
  border-radius: 4px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.auth-lang-divider {
  color: rgba(148, 163, 184, 0.7);
  font-weight: 600;
}

@media (max-width: 480px) {
  .auth-card {
    border-radius: 22px;
  }

  .auth-card__header,
  .auth-card__body {
    padding-inline: 1.5rem;
  }

  .auth-lang {
    top: 1rem;
    right: 1rem;
  }
}

/* NIEBIESKIE KAFELKI PO BOKACH – JAK NA LANDING */
#order-main-layout::before,
#order-main-layout::after,
.order-status-screen::before,
.order-status-screen::after{
    content:"";
    position:fixed;
    top:0;
    bottom:0;
    width:var(--tilebar-w);

    background-image:
        repeating-linear-gradient(
            to bottom,
            var(--tile-color) 0,
            var(--tile-color) var(--tile),
            transparent var(--tile),
            transparent var(--tile-step)
        ),
        repeating-linear-gradient(
            to bottom,
            var(--tile-color) 0,
            var(--tile-color) var(--tile),
            transparent var(--tile),
            transparent var(--tile-step)
        );

    background-size:var(--tile) var(--tile-step);
    background-position:0 0, var(--tile) var(--tile);
    background-repeat:repeat-y;

    opacity:var(--tile-opacity);
    pointer-events:none;
    z-index:999;

    transform: translateZ(0);
    will-change: transform;
}

#order-main-layout::before,
.order-status-screen::before{
    left:0;
    box-shadow:
        inset 20px 0 28px rgba(0,0,0,.78),
        0 0 22px rgba(0,110,224,.10);
}

#order-main-layout::after,
.order-status-screen::after{
    right:0;
    box-shadow:
        inset -20px 0 28px rgba(0,0,0,.78),
        0 0 22px rgba(0,110,224,.10);
}

/* wszystko z treścią nad kafelkami */
.top-nav,
#order-main-layout,
.order-status-screen,
footer {
    position: relative;
    z-index: 1;
}

/* alert "zamknięte" itp. */
.bg-dark-subtle {
    background-color: #006ee0 !important;
    color: #f9fafb;
}

/* LINKI */

a {
    color: #7dd3fc;
    text-decoration: none;
}

a:hover {
    color: #bae6fd;
}

img {
    max-width: 100%;
    display: block;
}

/* TOP NAV – dopasowany do headera z landing */

.top-nav {
    background: rgba(5, 11, 31, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(31, 41, 55, 0.95);
    position: sticky;
    padding: 0.7rem 1rem 0rem 1rem;
    top: 0;
    z-index: 1040;
}

/* NAV GRID */

.order-nav .nav-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0.6rem;
    min-height: var(--header-height);
}

/* BRAND */

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    font-size: 1.8rem;
    justify-self: start;
    text-decoration: none;
}

.navbar-brand:hover {
    color: #ffffff;
}

.logo-img {
    height: 64px;
    width: auto;
    border-radius: 16px;
    filter: drop-shadow(0 12px 32px rgba(0, 110, 224, 0.7));
    transition: transform 0.2s ease;
}

.navbar-brand:hover .logo-img {
    transform: scale(1.03);
}

/* TOGGLER */

.order-nav .navbar-toggler.nav-toggle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(7, 16, 36, 0.95);
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e2e8f0;
}

.order-nav .navbar-toggler.nav-toggle:focus {
    box-shadow: 0 0 0 0.15rem rgba(0, 110, 224, 0.5);
}

.nav-toggle-icon {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
}

.nav-toggle-icon span {
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: #e2e8f0;
}

/* PRAWA STRONA NAV */

.order-nav__primary-actions {
    grid-column: 3;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-self: end;
}

.order-nav__primary-actions .st-consent-manage.st-consent-manage--inline {
    position: static;
    right: auto;
    bottom: auto;
    margin-right: 2rem;
}

.order-nav .navbar-collapse {
    grid-column: 1 / -1;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding-block: 1rem;
}

.order-nav__content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    justify-content: center;
}

.order-nav__content .nav-link {
    color: var(--color-text-muted);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.order-nav__content .nav-link:hover,
.order-nav__content .nav-link:focus {
    color: #ffffff;
}

/* META W NAV */

.nav-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.header-opening {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.header-opening i {
    color: var(--color-accent);
}

/* LANG SWITCH – jak na landing, ale w nav */

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-switcher a {
    color: var(--color-text-muted);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lang-switcher a:hover {
    color: #f9fafb;
}

.lang-switcher a.active {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-strong));
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 110, 224, 0.6);
    transform: translateY(-1px);
}

/* CART BUTTON */

.account-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: flex-start;
    flex-direction: column;
    align-content: flex-start;
}

.cart-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    padding: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-strong));
    color: #ffffff;
    border: none;
    font-weight: 600;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.18s ease;
    box-shadow: 0 18px 40px rgba(0, 110, 224, 0.55);
    animation: cart-button-float-in 0.22s ease both;
}

@media (min-width: 1301px) {
    .order-nav .cart-button {
        display: none;
    }
}

.cart-button:focus,
.cart-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 50px rgba(0, 110, 224, 0.7);
    color: #ffffff;
}

.cart-button .cart-button-icon {
    font-size: 1.85rem;
}

@media (max-width: 800px) {
    body.cart-open .cart-button .cart-button-icon {
        opacity: 0;
        visibility: hidden;
    }
}

.cart-count-pill {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 26px;
    height: 26px;
    border-radius: 999px;
    background: #f97316;
    color: #0b1220;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.45rem;
    box-shadow: 0 0 0 2px rgba(5, 11, 31, 0.95);
    transition: transform 0.2s ease, background 0.2s ease;
}

.cart-count-pill[data-count="0"] {
    background: rgba(148, 163, 184, 0.4);
    color: #e2e8f0;
}

/* HERO (jeśli używany) */

.order-hero {
    position: relative;
    padding: 140px clamp(1.5rem, 6vw, 4rem) 80px;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 110, 224, 0.35), transparent 55%),
        radial-gradient(circle at 80% 0%, rgba(56, 189, 248, 0.30), transparent 55%),
        linear-gradient(135deg, #050816, #050816 55%, #050816 100%);
    overflow: hidden;
}

.order-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at bottom, rgba(0, 110, 224, 0.15), transparent 60%);
    pointer-events: none;
}

.order-hero .container {
    position: relative;
    z-index: 1;
}

.order-hero-grid {
    display: grid;
    grid-template-columns: minmax(320px, 1.1fr) minmax(320px, 0.9fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.order-hero-content h1 {
    font-size: clamp(2.6rem, 4vw, 3.6rem);
    margin-bottom: 0.75rem;
    line-height: 1.15;
    font-family: "Playfair Display", "Times New Roman", serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.82rem;
    color: rgba(148, 163, 184, 0.9);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(7, 18, 36, 0.85);
    margin-bottom: 0.9rem;
}

.hero-description {
    color: rgba(226, 232, 240, 0.9);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border-radius: 14px;
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.2);
    margin-bottom: 1.5rem;
    color: #e2e8f0;
}

.hero-pill .status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.18);
}

.hero-pill.is-closed .status-dot {
    background: #f97316;
    box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.15);
}

/* HERO CTA */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.hero-cta-main {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 1.9rem;
    border-radius: 999px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-strong));
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(0, 110, 224, 0.6);
    border: none;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-cta-main:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.hero-secondary {
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #ffffff;
    border-radius: 999px;
    padding: 0.9rem 1.3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.hero-secondary .hero-cart-counter {
    background: rgba(0, 110, 224, 0.38);
    border-radius: 999px;
    padding: 0.1rem 0.7rem;
    font-size: 0.85rem;
}

/* META KAFELKI W HERO */

.hero-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.hero-meta-card {
    background: rgba(7, 18, 36, 0.9);
    border: 1px solid rgba(31, 41, 55, 0.85);
    border-radius: 16px;
    padding: 1rem 1.1rem;
    box-shadow: 0 20px 40px rgba(5, 10, 25, 0.6);
}

.hero-meta-card h3 {
    margin: 0;
    font-size: 1.4rem;
}

.hero-meta-card span {
    font-size: 0.9rem;
    color: rgba(148, 163, 184, 0.95);
}

/* FEATURE CARD W HERO */

.hero-feature-card {
    background: linear-gradient(145deg, rgba(7, 18, 36, 0.97), rgba(7, 18, 36, 0.86));
    border: 1px solid rgba(31, 41, 55, 0.9);
    border-radius: 26px;
    padding: 1.9rem;
    box-shadow: 0 30px 60px rgba(5, 10, 25, 0.75);
    position: relative;
    overflow: hidden;
}

.hero-feature-image {
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: rgba(0, 110, 224, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-feature-image img {
    width: 120%;
    height: auto;
    object-fit: cover;
    filter: drop-shadow(0 25px 45px rgba(56, 189, 248, 0.55));
}

.hero-feature-label {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: rgba(148, 163, 184, 0.9);
}

.hero-feature-card h3 {
    margin: 0.5rem 0;
    font-size: 1.6rem;
}

.hero-feature-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #facc15;
    margin-bottom: 1rem;
}

.hero-feature-action {
    width: 100%;
    border: none;
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-strong));
    color: #ffffff;
}

/* ORDER LAYOUT – GRID PRODUKTÓW */

.order-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.order-restaurant-header {
    display: none;
}

.order-restaurant-header__top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    position: relative;
}

.order-restaurant-header__eyebrow {
    margin: 0 0 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.7rem;
    color: rgba(148, 163, 184, 0.85);
}

.order-restaurant-header__title {
    margin: 0;
    font-size: clamp(1.6rem, 2vw, 2rem);
    font-weight: 700;
}

.order-restaurant-header__status {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.45);
    color: #a7f3d0;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    position: absolute;
    right: 0.5rem;
    transform: translateY(-50%);
}

.order-restaurant-header__status.is-closed {
    background: rgba(248, 113, 113, 0.18);
    border-color: rgba(248, 113, 113, 0.45);
    color: #fecaca;
}

.order-restaurant-header__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(203, 213, 225, 0.9);
    font-size: 0.95rem;
}

.order-restaurant-header__rating {
    font-weight: 600;
    color: #facc15;
}

.order-restaurant-header__message {
    color: rgba(226, 232, 240, 0.85);
    font-size: 0.95rem;
}

.order-search {
    display: none;
}

@media (min-width: 400px) and (max-width: 1298.98px) {
    .order-restaurant-header {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.5rem 1.75rem;
        margin: 2rem auto;
        width: min(100%, calc(100% - 4rem));
        border-radius: 18px;
        border: 1px solid rgba(148, 163, 184, 0.2);
        background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(9, 18, 36, 0.95));
        box-shadow: 0 20px 45px rgba(3, 10, 26, 0.4);
        position: relative;
    }
}

@media (min-width: 450px) and (max-width: 1298.98px) {
    .order-restaurant-header {
        margin: 2rem 1rem;
        width: auto;
    }
}

.cart-items-scroll {
    min-height: 0;
    flex: 1;
    overflow-y: auto;
    padding-right: 0.35rem;
    margin-bottom: 1rem;
}

#checkout-view {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.order-section {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 1.5rem;
    padding-left: 4rem;
    padding-right: 4rem;
}

.section-heading {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 0.35rem;
}

.section-heading h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    font-family: var(--order-font-family, 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-heading p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    text-align: center;
}

.order-section--filters .section-heading h2 {
    font-size: 2rem;
}

/* FILTRY / KATEGORIE */

.category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.category-nav button {
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: var(--color-text);
    border-radius: 999px;
    padding: 0.45rem 1.1rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.category-nav button.active,
.category-nav button:hover {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-strong));
    border-color: transparent;
    transform: translateY(-1px);
}

/* OGŁOSZENIE / ALERT */

.announcement{
  position: relative;
  overflow: visible;

  background: rgba(0, 110, 224, 0.16);
  border: 1px solid rgba(0, 110, 224, 0.52);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  margin: 3rem 1rem 0rem 1rem;
  color: #dbeafe;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;

  /* neon glow (kolor jak background/border) */
  box-shadow:
    0 0 10px rgba(0,110,224,.35),
    0 0 26px rgba(0,110,224,.25),
    0 0 60px rgba(0,110,224,.18);
}

/* miękka „aura” dookoła */
.announcement::before{
  content:"";
  position:absolute;
  inset:-18px;
  border-radius: inherit;
  background: rgba(0,110,224,.22);
  filter: blur(22px);
  z-index:-1;
  opacity:.9;
}

/* wariant payments — nadpisuje kolor glow */
.announcement--payments{
  background: rgba(14, 165, 233, 0.16);
  border-color: rgba(56, 189, 248, 0.62);

  box-shadow:
    0 0 10px rgba(14,165,233,.35),
    0 0 26px rgba(14,165,233,.25),
    0 0 60px rgba(14,165,233,.18);
}

.announcement--payments::before{
  background: rgba(14,165,233,.22);
}

.announcement--payments strong{
  color: #f8fafc;
  margin-right: 0.25rem;
}

/* PROMO KAFELKI */

.promo-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-inline: clamp(2rem, 6vw, 4rem);
}

.promo-card {
    position: relative;
    width: min(520px, 100%);
    padding: 0.35rem 0.45rem;
    border-radius: 1.45rem;
    background: linear-gradient(140deg, rgba(56, 189, 248, 0.18), rgba(14, 165, 233, 0.12));
    border: 1.5px solid rgba(56, 189, 248, 0.65);
    box-shadow:
        0 18px 60px rgba(56, 189, 248, 0.35),
        0 12px 30px rgba(0, 110, 224, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    overflow: hidden;
    padding: 0.7rem;
}

.promo-card::before {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    background: var(--color-surface);
    box-shadow: 0 18px 45px rgba(8, 20, 49, 0.55);
    z-index: 0;
}

.promo-card__title,
.promo-card__value {
    position: relative;
    z-index: 1;
}

.promo-card__title {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #f9fafb;
    padding-left: 0.25rem;
}

.promo-card__value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.5rem;
    height: 2.9rem;
    padding: 0 1.25rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-strong));
    color: #0b1220;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.07em;
    box-shadow:
        inset 0 0 0 1px rgba(224, 247, 255, 0.85),
        0 10px 28px rgba(14, 165, 233, 0.55);
}

/* PRODUKTY */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(450px, 1fr));
    gap: 1.75rem;
}

.is-hidden {
    display: none !important;
}

.category-separator {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0.5rem 0 0.25rem;
}

.category-separator__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.category-separator__inner::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(148, 163, 184, 0.35);
}

.category-separator__label {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #e2e8f0;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.75rem;
    box-shadow: 0 8px 20px rgba(3, 10, 26, 0.4);
}

.product-card-wrapper {
    display: flex;
}

.product-card-wrapper--promo {
    border-radius: 1.45rem;
    box-shadow: 0px 0px 14px 10px rgb(56 189 248 / 64%), 0 12px 30px rgba(0, 110, 224, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card {
    background: var(--color-surface);
    border-radius: 1.25rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 18px 45px rgba(8, 20, 49, 0.55);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    width: 100%;
}

.product-card:hover {
    transform: scale(1.03);
    box-shadow: 0 26px 60px rgba(8, 20, 49, 0.8);
}

.order-featured {
    gap: 1rem;
    width: 100%;
    max-width: 100%;
}

.featured-slider-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    align-self: stretch;
}

.featured-slider-wrap::before,
.featured-slider-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 70px;
    z-index: 4;
    pointer-events: none;
}

.featured-slider-wrap::before {
    left: 0;
}

.featured-slider-wrap::after {
    right: 0; 
}

.featured-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 14, 26, 0.92);
    border: 1px solid rgba(59, 130, 246, 0.45);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    color: var(--color-accent-strong);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.featured-arrow:hover {
    background: rgba(20, 26, 46, 0.95);
    border-color: rgba(96, 165, 250, 0.75);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.65);
}

.featured-arrow:active {
    transform: translateY(-50%) scale(0.98);
}

.featured-arrow .material-icons-outlined {
    font-size: 28px;
    color: var(--color-accent);
}

.featured-arrow--prev {
    left: -6px;
}

.featured-arrow--next {
    right: -6px;
}

.featured-arrow:disabled {
    opacity: 0;
    pointer-events: none;
}

.featured-slider {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.featured-slider:focus-visible {
    outline: 2px solid rgba(59, 130, 246, 0.7);
    outline-offset: 6px;
}

.featured-slider::-webkit-scrollbar {
    display: none;
}

.featured-slider__track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 1rem;
    scroll-snap-type: x mandatory;
    padding: 0.25rem 0.5rem 0.5rem;
}

.featured-slider__item {
    flex: 0 0 auto;
    width: clamp(280px, 40vw, 380px);
    height: 7rem;
    scroll-snap-align: start;
}

.order-featured .product-card.featured-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    height: 7.5rem;
    padding: 0.75rem 0.9rem;
    border-radius: 1rem;
    overflow: hidden;
}

.order-featured .product-card:hover {
    transform: none;
    box-shadow: 0 18px 45px rgba(8, 20, 49, 0.55);
}

.featured-card__media {
    position: relative;
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    border-radius: 0.5rem;
    overflow: hidden;
    background: rgba(148, 163, 184, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    background-image: var(--product-frame-img);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 108% 108%;
}

.featured-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transform: translate(var(--img-offset-x), var(--img-offset-y)) scale(var(--img-scale));
}

.featured-card__img--placeholder {
    font-size: 0.6rem;
    text-align: center;
    line-height: 1.2;
    color: rgba(226, 232, 240, 0.8);
    padding: 0.25rem;
}

.featured-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    height: 100%;
    align-self: stretch;
    gap: 0.15rem;
}

.product-info-block--featured {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr auto;
    align-items: start;
    height: 100%;
    row-gap: 0.2rem;
}

.product-info-block--featured .featured-card__title {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
}

.product-info-block--featured .featured-card__price {
    grid-column: 2;
    grid-row: 3;
    justify-self: end;
    align-self: end;
}

.product-info-block--featured .featured-card__desc {
    grid-column: 1 / -1;
    grid-row: 2;
}

.featured-card__title {
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.featured-card__desc {
    font-size: 0.8rem;
    line-height: 1.5;
    opacity: 0.85;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-card__info {
    margin-top: 0.1rem;
    line-height: 1;
}

.featured-card__price {
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: baseline;
}

.featured-card__add {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-frame {
    position: relative;
    background: rgba(148, 163, 184, 0.08);
    aspect-ratio: 4 / 3;
    overflow: hidden;
    z-index: 1;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(var(--img-offset-x, 0px), var(--img-offset-y, 0px)) scale(var(--img-scale, 1));
    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: translate(var(--img-offset-x, 0px), var(--img-offset-y, 0px)) scale(calc(var(--img-scale, 1) * 1.05));
}

.product-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(226, 232, 240, 0.8);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    aspect-ratio: 4 / 3;
    background: rgba(148, 163, 184, 0.12);
}

.product-card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 40%;
}

.product-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #ffffff;
}

.product-card p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.product-ingredients-preview {
    margin-top: 0.25rem;
    font-size: 0.95rem;
    color: rgb(210 222 251);
    line-height: 2.4;
}

@media (max-width: 575.98px) {

  .product-ingredients-preview {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: rgb(210 222 251);
    line-height: 2;
}

}

.product-info-block {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "title info"
        "desc desc"
        "ingredients ingredients";
    column-gap: 1rem;
    row-gap: 0.25rem;
    align-items: baseline;
}

.product-info-block__title {
    grid-area: title;
}

.product-info-block__desc {
    grid-area: desc;
}

.product-info-block .product-info-trigger {
    grid-area: info;
    justify-self: start;
    font-size: calc(11px) !important;
    font-weight: 10 !important;
}

.product-info-block .product-ingredients-preview {
    grid-area: ingredients;
}

.product-price {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.product-price .price-old {
    color: rgba(148, 163, 184, 0.9);
    text-decoration: line-through;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

.product-card-wrapper--promo .product-card {
    border-color: rgba(56, 189, 248, 0.55);
    box-shadow: 0 24px 60px rgba(56, 189, 248, 0.25);
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.08), var(--color-surface));
}

.product-price .price-new {
    color: var(--color-accent-strong);
    font-weight: 700;
    font-size: 1.25rem;
}

.product-price .price-regular {
    font-weight: 600;
    font-size: 1.15rem;
    color: #e5e7eb;
}

.product-card .btn {
    align-self: flex-start;
    padding: 0.7rem;
    border-radius: 0.75rem;
    font-weight: 600;
    display: flex;
}

/* BADGE */

.badge-discount {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-strong));
    color: #0b1220;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 2;
}

.badge-featured {
    color: #020617;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.4rem 0.75rem;
    text-transform: uppercase;
    z-index: 10;
}

.product-image-frame .badge-featured {
    top: -5%;
    left: -5%;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

@media (max-width: 575.98px) {

.product-image-frame .badge-featured {
    top: 0%;
    left: 0%;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

}

.product-image-frame .badge-featured .material-symbols-outlined {
    line-height: 1;
    font-size: 1.3rem;
    color: #facc15;
    text-shadow: 0 0 10px rgba(250, 204, 21, 1);
    filter: drop-shadow(0 0 2px rgba(250, 204, 21, 0.45));
}

.product-image-frame .badge-discount {
    bottom: 0%;
    right: 0%;
    margin: 0 !important;
}

@media (max-width: 575.98px) {

.product-image-frame .badge-discount {
    bottom: 5%;
    right: 5%;
    margin: 0 !important;
}

}

.badge-unavailable {
    background: rgba(148, 163, 184, 0.18);
    color: rgba(248, 250, 252, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.4);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: 0.7rem;
    z-index: 11;
}

.product-card.is-unavailable {
    opacity: 0.65;
    filter: grayscale(0.35);
    box-shadow: 0 12px 30px rgba(8, 20, 49, 0.35);
}

.product-card.is-unavailable:hover {
    transform: none;
    box-shadow: 0 12px 30px rgba(8, 20, 49, 0.35);
}

.product-card.is-unavailable .add-to-cart {
    cursor: not-allowed;
    opacity: 0.7;
}

.product-card.is-unavailable .add-to-cart:disabled {
    pointer-events: none;
}

.product-modal-unavailable {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.2);
    color: rgba(248, 250, 252, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.35);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ORDER HIGHLIGHTS (jeśli używane) */

.order-highlights {
    position: relative;
    padding: 10px clamp(1.5rem, 6vw, 4rem) 40px;
    background: linear-gradient(180deg, rgba(7, 18, 36, 0.96), rgba(5, 8, 22, 0.98));
    border-top: 1px solid rgba(31, 41, 55, 0.85);
    border-bottom: 1px solid rgba(31, 41, 55, 0.8);
}

.order-highlights .section-heading {
    margin-bottom: 1.5rem;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.order-highlight-card {
    background: rgba(7, 18, 36, 0.96);
    border: 1px solid rgba(31, 41, 55, 0.9);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 24px 50px rgba(5, 10, 25, 0.75);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.order-highlight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 30px 70px rgba(5, 10, 25, 0.9);
}

.highlight-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: #0b1220;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.highlight-meta {
    color: rgba(148, 163, 184, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    margin-bottom: 0.35rem;
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
}

.order-highlight-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1.4rem;
}

.order-highlight-card p {
    color: rgba(226, 232, 240, 0.85);
    margin-bottom: 1rem;
}

.highlight-price {
    display: flex;
    align-items: baseline;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.highlight-price .price-old {
    text-decoration: line-through;
    color: rgba(148, 163, 184, 0.7);
    font-size: 0.95rem;
}

.highlight-price .price-new {
    color: #facc15;
    font-weight: 700;
    font-size: 1.2rem;
}

.highlight-price .price-regular {
    color: #e2e8f0;
    font-weight: 700;
    font-size: 1.15rem;
}

.highlight-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.highlight-actions .btn {
    flex: 1;
    border-radius: 12px;
    font-weight: 600;
    padding: 0.75rem 1rem;
}

.highlight-actions .btn-outline-light {
    border-color: rgba(148, 163, 184, 0.4);
}

/* CART DRAWER + OVERLAY */

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(460px, 92vw);
    height: 100vh;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 1050; /* nad top-nav, pod pickup/modal */
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(7, 16, 36, 0.98), rgba(5, 8, 22, 0.98));
    border-left: 1px solid rgba(31, 41, 55, 0.9);
    box-shadow: -30px 0 80px rgba(3, 10, 26, 0.95);
}

@supports (height: 100dvh) {
    .cart-drawer {
        height: 100dvh;
    }
}

@supports not (height: 100dvh) {
    .cart-drawer {
        height: calc(var(--app-vh, 1vh) * 100);
    }
}

.cart-header {
    padding: 1.5rem clamp(1.25rem, 5vw, 1.8rem) 0.75rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
    position: sticky;
    top: 0;
    background: rgba(5, 11, 31, 0.98);
    z-index: 2;
}

.cart-header__content {
    min-width: 0;
}

.cart-header-actions {
    padding: 0.75rem clamp(1.25rem, 5vw, 1.8rem) 1.25rem;
    display: flex;
    justify-content: center;
    background: rgba(5, 11, 31, 0.98);
    border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

.cart-drawer__title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
}

.cart-count-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    display: block;
}

.cart-close {
    background: rgba(148, 163, 184, 0.16);
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 12px;
    color: #ffffff;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.cart-close:hover,
.cart-close:focus {
    background: rgba(148, 163, 184, 0.3);
    transform: rotate(90deg);
}

@media (min-width: 1300px) {
    .cart-close {
        display: none;
    }
}

.cart-drawer__body {
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.cart-panel {
    background: rgba(7, 18, 36, 0.98);
    padding: 1.5rem;
    padding-bottom: calc(var(--cart-footer-height, 6rem) + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 20px 50px rgba(8, 20, 49, 0.65);
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    --cart-footer-height: 0px;
}

.cart-checkout-bar {
    position: sticky;
    bottom: 0;
    z-index: 3;
    padding: 1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 -18px 45px rgba(3, 10, 26, 0.55);
    backdrop-filter: blur(10px);
}

.cart-checkout-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
}

.cart-checkout-bar #checkout-button {
    width: 100%;
}

.cart-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item .thumb {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.2);
    margin-right: 0.85rem;
}

.cart-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details-toggle {
    padding: 0;
    font-size: 0.85rem;
}

.cart-item-details {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.quantity-control {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-control .btn {
    border-radius: 0.5rem;
    padding: 0.35rem 0.75rem;
}

.quantity-control .qty-value {
    min-width: 2rem;
    text-align: center;
    font-weight: 600;
}

.cart-price-block {
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
}

.cart-price-old {
    text-decoration: line-through;
    color: rgba(148, 163, 184, 0.65);
    font-size: 0.85rem;
}

.cart-price-new {
    font-weight: 600;
    color: #facc15;
}

.cart-price-note {
    margin-top: 0.35rem;
}

.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 10, 25, 0.7);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1045; /* tło pod szufladą koszyka, nad top-nav */
}

body.cart-open {
    overflow: hidden;
}

body.cart-open .cart-drawer {
    transform: translateX(0);
}

body.cart-open .cart-drawer-overlay {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer--highlight {
    box-shadow: -30px 0 70px rgba(0, 110, 224, 0.65);
}

@media (max-width: 1298.98px) {
    body.cart-open {
        overflow: auto;
    }

    .cart-profile-fields {
        display: none;
    }
}

/* TOAST */

.cart-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: rgba(7, 16, 36, 0.98);
    border: 1px solid rgba(0, 110, 224, 0.5);
    border-radius: 18px;
    padding: 1rem 1.35rem;
    color: #f8fafc;
    box-shadow: 0 25px 50px rgba(2, 6, 23, 0.85);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(25px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 1200;
}

.cart-toast.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cart-toast .cart-toast-close {
    background: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    padding: 0.1rem 0.4rem;
    border-radius: 8px;
}

.cart-toast .cart-toast-close:hover,
.cart-toast .cart-toast-close:focus {
    color: #ffffff;
    background: rgba(148, 163, 184, 0.2);
}

/* FORMULARZE + BUTTONY */

.form-control,
.form-select {
    background-color: rgba(11, 18, 32, 0.98);
    border-color: rgba(31, 41, 55, 0.85);
    color: #ffffff;
    border-radius: 0.75rem;
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 110, 224, 0.35);
    border-color: rgba(0, 110, 224, 0.8);
}

textarea.form-control {
    min-height: 120px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-strong));
    border: none;
    box-shadow: 0 12px 30px rgba(0, 110, 224, 0.6);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--color-accent-strong), var(--color-accent));
}

.btn-outline-light {
    border-radius: 0.75rem;
    border-color: rgba(148, 163, 184, 0.4);
    color: #e2e8f0;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    background: rgba(148, 163, 184, 0.2);
    color: #ffffff;
}

/* PAYMENT NOTE */

.payment-note {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.45);
    color: #bbf7d0;
    border-radius: 0.75rem;
    padding: 0.75rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ORDER STATUS SCREEN, MAPY, PICKUP itd. – kolory dopasowane */

#order-main-layout {
    min-height: 100vh;
    position: relative;
    isolation: isolate;
}

#order-main-layout.order-main-layout--hidden {
    display: none;
}

.order-status-screen {
    display: none;
    position: relative;
    min-height: 100vh;
    padding: 3rem 1.5rem;
    background: radial-gradient(circle at top, rgba(0, 110, 224, 0.25), rgba(5, 10, 25, 0.96));
    color: #ffffff;
    align-items: center;
    justify-content: center;
}

.order-status-screen.order-status-screen--visible {
    display: flex;
}

.order-status-container {
    width: min(920px, 100%);
    margin: 0 auto;
}

.order-status-shell {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.order-status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem;
}

.order-status-actions {
    padding: 1rem;
}

.order-status-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.order-status-logo {
    width: 180px;
    height: auto;
}

.order-status-grid {
    display: block;
    padding: 1rem;
}

.status-panel {
    background-color: #050816;
    border-radius: 1.25rem;
    border: 1px solid rgba(0, 110, 224, 0.5);
    padding: 2.5rem;
    box-shadow: 0 25px 65px rgba(8, 20, 49, 0.7);
}

.status-summary {
    margin-top: 1.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    padding-top: 1.25rem;
}

.status-summary h3 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(148, 163, 184, 0.8);
    margin-bottom: 0.75rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.summary-row:last-child {
    margin-bottom: 0;
}

.summary-row.text-success {
    color: #4ade80 !important;
}

.summary-meta {
    font-size: 0.85rem;
    color: rgba(148, 163, 184, 0.9);
    margin-top: 0.5rem;
}

/* ================================
   ORDER STATUS – SUMMARY + ITEMS (override)
   ================================ */

.status-summary {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.status-items {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 0.85rem 0 1.15rem;
    max-height: 260px;
    overflow: auto;
    overscroll-behavior: contain;
    padding-right: 6px;
}

.status-items::-webkit-scrollbar { width: 8px; }
.status-items::-webkit-scrollbar-thumb {
    background: rgba(0, 110, 224, 0.28);
    border-radius: 999px;
}
.status-items::-webkit-scrollbar-track { background: transparent; }

.status-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;

    padding: 0.85rem 0.95rem;
    border-radius: 1rem;

    background: rgba(9, 16, 36, 0.62);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow:
        0 10px 26px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.status-item > div:first-child {
    min-width: 0;
    flex: 1;
}

.status-item-title {
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.18;
    color: rgba(255, 255, 255, 0.96);

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.status-item-meta {
    margin-top: 0.35rem;
    font-size: 0.88rem;
    color: rgba(148, 163, 184, 0.95);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.status-item-meta::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(0, 110, 224, 0.75);
    opacity: 0.9;
    display: inline-block;
}

.status-item-oldprice {
    text-decoration: line-through;
    opacity: 0.7;
    font-weight: 650;
}

.status-item-price {
    white-space: nowrap;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.96);
    padding-top: 1px;
}

.summary-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: baseline;
    margin-bottom: 0.45rem;
}

.summary-row span:last-child {
    font-variant-numeric: tabular-nums;
    font-weight: 850;
}

#status-total-row {
    margin-top: 0.6rem;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

#status-total {
    font-size: 1.15rem;
    font-weight: 950;
    color: rgba(255, 255, 255, 0.98);
}

.summary-meta {
    margin-top: 0.75rem;
    padding: 0.65rem 0.8rem;
    border-radius: 0.95rem;

    background: rgba(0, 110, 224, 0.10);
    border: 1px solid rgba(0, 110, 224, 0.18);
    color: rgba(226, 232, 240, 0.95);
}

@media (max-width: 575.98px) {
    .status-items { max-height: 220px; }
    .status-item { padding: 0.78rem 0.85rem; }
    .status-item-title { white-space: normal; }
}

/* ===== Timeline ===== */

.material-symbols-rounded{
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    display: inline-block;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

#order-status-wrapper{
  --st-icon: 44px;
  --st-line: 3px;
  --st-progress: var(--status-progress, 0);
  --st-track: rgba(148,163,184,.18);
  --st-glow: rgba(56,189,248,.22);
}

/* wyłącz stare kropki/łączniki, jeśli były robione pseudo-elementami na krokach */
#order-status-wrapper .status-step::before,
#order-status-wrapper .status-step::after{
  display:none !important;
}

/* timeline container */
#order-status-wrapper #status-steps,
#order-status-wrapper .status-steps{
  position:relative;
  isolation:isolate;
  display:flex !important;
  flex-direction:row !important;          /* desktop/tablet: poziomo */
  justify-content:space-between;
  align-items:flex-start;
  gap: 0 !important;
  margin-top: 1.25rem;
  padding-top: 0 !important;
}

/* track (desktop horizontal) */
#order-status-wrapper #status-steps::before,
#order-status-wrapper .status-steps::before{
  content:"";
  position:absolute;
  left: calc(var(--st-icon) / 2);
  right: calc(var(--st-icon) / 2);
  top: calc(var(--st-icon) / 2);
  height: var(--st-line);
  border-radius: 999px;
  background: var(--st-track);
  z-index:0;
}

/* progress (desktop horizontal) */
#order-status-wrapper #status-steps::after,
#order-status-wrapper .status-steps::after{
  content:"";
  position:absolute;
  left: calc(var(--st-icon) / 2);
  top: calc(var(--st-icon) / 2);
  height: var(--st-line);
  width: calc((100% - var(--st-icon)) * var(--st-progress));
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(56,189,248,.0), rgba(56,189,248,.55), rgba(37,99,235,.92));
  box-shadow: 0 0 16px rgba(56,189,248,.14);
  opacity: .95;
  z-index:1;
  transition: width .75s cubic-bezier(.2,.9,.2,1), opacity .55s ease;
}

/* step (desktop) */
#order-status-wrapper .status-step{
  position:relative;
  flex: 1 1 0;
  min-width: 0;
  text-align:center;
  padding: calc(var(--st-icon) + 14px) .7rem 0;
  opacity: .96;
  transform: translateZ(0);
  transition: opacity .35s ease;
  z-index: 5;
}

/* icon wrapper – NIE zmieniamy pozycji/rozmiaru w active (żeby pasek zawsze trafiał) */
#order-status-wrapper .status-step-icon{
  position:absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: var(--st-icon);
  height: var(--st-icon);
  border-radius: 999px;
  display:grid;
  place-items:center;
  color: rgba(226,232,240,.82);
  background: rgba(2,6,23,.36);
  border: 1px solid rgba(59,130,246,.26);
  box-shadow: 0 16px 42px rgba(0,0,0,.30);
  z-index:2;
}

/* subtelna poświata jako osobny layer, nie “morda po oczach” */
#order-status-wrapper .status-step-icon::after{
  content:"";
  position:absolute;
  inset: -10px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(56,189,248,.20), transparent 62%);
  opacity: 0;
  transform: scale(.99);
  pointer-events:none;
  transition: opacity .55s ease;
}

/* Material icon */
#order-status-wrapper .status-step-icon .material-symbols-rounded{
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
  font-size: 22px;
  line-height: 1;
  display:block;
}

/* typography */
#order-status-wrapper .status-step h3{
  margin: .55rem 0 .35rem;
  font-family: var(--order-font-family, "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: clamp(1.05rem, 1.35vw, 1.55rem);
  color: rgba(226,232,240,.96);
}
#order-status-wrapper .status-step p{
  margin: 0;
  max-width: 22ch;
  margin-inline: auto;
  color: rgba(148,163,184,.92);
}

/* completed – spokojniejsze */
#order-status-wrapper .status-step.completed{
  opacity: .95;
}
#order-status-wrapper .status-step.completed .status-step-icon{
  color:#fff;
  background: rgba(37,99,235,.52);
  border-color: rgba(56,189,248,.42);
  box-shadow: 0 18px 52px rgba(37,99,235,.16);
}

/* active – wyraźne, ale miękkie, bez przesuwania ikony */
#order-status-wrapper .status-step.active{
  opacity: 1;
}
#order-status-wrapper .status-step.active .status-step-icon{
  color:#fff;
  border-color: rgba(56,189,248,.58);
  background: linear-gradient(180deg, rgba(37,99,235,.96), rgba(30,64,175,.96));
  box-shadow:
    0 22px 62px rgba(37,99,235,.22),
    inset 0 0 0 1px rgba(255,255,255,.08);
}
#order-status-wrapper .status-step.active .status-step-icon::after{
  opacity: .55;
  animation: stHalo 2.2s ease-in-out infinite;
}

/* pop na zmianę kroku – minimalny, premium */
#order-status-wrapper .status-step.just-activated .status-step-icon{
  animation: stPop .42s cubic-bezier(.2,1.12,.2,1);
}

@keyframes stHalo{
  0%,100%{ transform: scale(.99); opacity:.32; }
  50%{ transform: scale(1.04); opacity:.55; }
}
@keyframes stPop{
  from{ filter: saturate(1.06); }
  to  { filter: saturate(1); }
}

/* ===== Feedback CTA (ładny, nie nachalny) ===== */
.status-feedback-cta-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
  margin: 10px 0 14px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
}
.status-feedback-cta-wrap.is-in{
  opacity: 1;
  transform: translateY(0);
}
.status-feedback-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  padding: 11px 16px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .01em;
  color: rgba(255,255,255,.96);
  border: 1px solid rgba(56,189,248,.38);
  background:
    radial-gradient(circle at 20% 15%, rgba(56,189,248,.26), transparent 58%),
    linear-gradient(180deg, rgba(37,99,235,.95), rgba(30,64,175,.95));
  box-shadow:
    0 18px 45px rgba(37,99,235,.22),
    inset 0 0 0 1px rgba(255,255,255,.08);
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.status-feedback-cta:hover{
  transform: translateY(-1px);
  border-color: rgba(56,189,248,.58);
  box-shadow:
    0 24px 65px rgba(37,99,235,.26),
    inset 0 0 0 1px rgba(255,255,255,.10);
  filter: saturate(1.06);
}
.status-feedback-cta:active{ transform: translateY(0); }

/* ===== Smooth wrapper transition on status change ===== */
#order-status-wrapper.status-changing .status-panel{
  opacity: .98;
  filter: saturate(.995);
}

/* ===== Subtle animated background per status (soft, not harsh) ===== */
#order-status-wrapper .status-panel{
  position:relative;
  overflow:hidden;
}
#order-status-wrapper .status-panel::after{
  content:"";
  position:absolute;
  inset:-55%;
  pointer-events:none;
  opacity: 0;
  transition: opacity .75s ease;
  filter:saturate(1);
  z-index:0;
}

/* (upewnij się, że content w panelu ma wyższy z-index; u Ciebie .status-panel * ma z-index:1) */
#order-status-wrapper[data-order-status="pending"] .status-panel::after{
  opacity:.46;
  background:
    radial-gradient(circle at 18% 12%, rgba(56,189,248,.10), transparent 60%),
    radial-gradient(circle at 85% 22%, rgba(37,99,235,.12), transparent 62%),
    radial-gradient(circle at 50% 115%, rgba(2,6,23,.70), transparent 72%);
  animation: stDrift 10s ease-in-out infinite;
}
#order-status-wrapper[data-order-status="preparing"] .status-panel::after{
  opacity:.52;
  background:
    radial-gradient(circle at 25% 20%, rgba(56,189,248,.12), transparent 58%),
    radial-gradient(circle at 72% 35%, rgba(37,99,235,.14), transparent 62%),
    linear-gradient(90deg, transparent, rgba(56,189,248,.09), transparent);
  transform: rotate(10deg);
  animation: stShimmer 6.6s ease-in-out infinite;
}
#order-status-wrapper[data-order-status="ready"] .status-panel::after{
  opacity:.48;
  background:
    radial-gradient(circle at 50% 12%, rgba(56,189,248,.12), transparent 65%),
    radial-gradient(circle at 50% 120%, rgba(37,99,235,.10), transparent 72%);
  animation: stDrift 11.5s ease-in-out infinite;
}
#order-status-wrapper[data-order-status="out_for_delivery"] .status-panel::after{
  opacity:.50;
  background:
    radial-gradient(circle at 12% 46%, rgba(56,189,248,.11), transparent 62%),
    radial-gradient(circle at 90% 56%, rgba(37,99,235,.13), transparent 64%),
    linear-gradient(90deg, rgba(56,189,248,.0), rgba(56,189,248,.08), rgba(56,189,248,.0));
  animation: stSlide 8.2s ease-in-out infinite;
}
#order-status-wrapper[data-order-status="completed"] .status-panel::after{
  opacity:.56;
  background:
    radial-gradient(circle at 50% 15%, rgba(56,189,248,.14), transparent 62%),
    radial-gradient(circle at 22% 75%, rgba(37,99,235,.12), transparent 64%),
    radial-gradient(circle at 85% 78%, rgba(56,189,248,.10), transparent 66%);
  animation: stCelebrate 12s ease-in-out infinite;
}

@keyframes stShimmer{
  0%,100%{ transform: translateX(-1.5%) rotate(10deg); opacity:.46; }
  50%{ transform: translateX(1.5%) rotate(10deg); opacity:.60; }
}
@keyframes stSlide{
  0%,100%{ transform: translateX(-1.2%); opacity:.44; }
  50%{ transform: translateX(1.2%); opacity:.58; }
}
@keyframes stDrift{
  0%,100%{ transform: translate3d(-1.2%, -0.8%, 0); opacity:.44; }
  50%{ transform: translate3d(1.2%, 0.8%, 0); opacity:.58; }
}
@keyframes stCelebrate{
  0%,100%{ transform: scale(1.00); opacity:.48; }
  50%{ transform: scale(1.02); opacity:.60; }
}

/* ===== Mobile (<=575.98px): pionowa oś + ikony po lewej ===== */
@media (max-width: 799.98px){
  #order-status-wrapper #status-steps,
  #order-status-wrapper .status-steps{
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1.35rem !important;
    padding-left: calc(var(--st-icon) / 2);
  }

  /* track vertical */
  #order-status-wrapper #status-steps::before,
  #order-status-wrapper .status-steps::before{
    left: 2.6rem;
    right: auto;
    top: calc(var(--st-icon) / 2);
    bottom: calc(var(--st-icon) / 2);
    width: var(--st-line);
    height: auto;
  }

  /* progress vertical */
  #order-status-wrapper #status-steps::after,
  #order-status-wrapper .status-steps::after{
    left: 2.6rem;
    top: calc(var(--st-icon) / 2);
    width: var(--st-line);
    height: calc((100% - var(--st-icon)) * var(--st-progress));
  }

  #order-status-wrapper .status-step{
    text-align:left;
    padding: 0 0 0 calc(var(--st-icon) + 14px);
  }

  #order-status-wrapper .status-step-icon{
    left: 0;
    transform: none;
  }

  #order-status-wrapper .status-step p{
    margin-inline: 0;
    max-width: 34ch;
  }

  .status-feedback-cta{ width: 100%; }
}

/* PICKUP MODAL */

.pickup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 10, 25, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1060; /* nad koszykiem, pod bootstrap modalem */
    padding: 1.5rem;
}

.pickup-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.pickup-modal {
    background: #050816;
    border: 1px solid rgba(0, 110, 224, 0.55);
    border-radius: 1rem;
    padding: 1.5rem;
    width: min(420px, 100%);
    transform: translateY(35px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 60px rgba(10, 20, 40, 0.65);
}

.pickup-overlay.show .pickup-modal {
    transform: translateY(0);
}

.pickup-modal h2 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.pickup-modal .form-control {
    background-color: #071224;
}

.pickup-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.pickup-error {
    display: none;
    font-size: 0.85rem;
    color: #f87171;
    margin-top: 0.75rem;
}

.pickup-error.show {
    display: block;
}

body.pickup-open {
    overflow: hidden;
}

/* backdrops under modal content */
.modal-backdrop {
    z-index: 1070 !important; /* spójny porządek nad pickup/cart overlay, pod treścią modala */
    pointer-events: none;      /* ukryta warstwa z fade nie blokuje kliku */
}

.modal-backdrop.show {
    pointer-events: auto;
}

.product-addon-modal {
    z-index: 1080 !important; /* nad backdropem, nie przebija globalnego UI */
    position: fixed;
}

.product-addon-modal::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.product-addon-modal .modal-dialog {
    position: relative;
    z-index: 1;
}

/* MODAL DODATKÓW */

.product-addon-modal .modal-dialog {
    transform: scale(0.94);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.product-addon-modal.show .modal-dialog {
    transform: scale(1);
}

.product-addon-modal .modal-content {
    background: radial-gradient(circle at 20% 20%, #0f2144, #050816);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
    border-radius: 20px;
}

.product-modal .modal-content {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.product-modal .modal-body {
    overflow-y: auto;
    padding-bottom: 5rem;
}

.product-modal-meta .product-price {
    font-weight: 700;
}

.product-modal-section-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.product-modal-section {
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 16px;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.4);
}

.product-modal-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.product-modal-section-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.2);
    color: #bfdbfe;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.product-modal-option-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-modal-option {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.65);
}

.product-modal-option.is-hidden {
    display: none;
}

.product-modal-option-label {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    flex: 1 1 auto;
}

.product-modal-option-text {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.product-modal-option-name {
    font-weight: 600;
}

.product-modal-option-info {
    background: transparent;
    border: none;
    color: #38bdf8;
    font-size: 0.8rem;
    padding: 0;
    text-align: left;
    cursor: pointer;
}

.product-modal-option-description {
    color: rgba(226, 232, 240, 0.75);
    font-size: 0.8rem;
}

.product-modal-option-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.product-modal-option-price {
    font-weight: 600;
    color: #fbbf24;
}

.product-modal-option-stepper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-modal-show-more {
    color: #38bdf8;
    padding: 0;
    align-self: flex-start;
}

.product-modal-sticky {
    margin-top: auto;
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    background: #0b1120;
}

.product-modal-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-modal-qty .btn {
    min-width: 36px;
}

.product-modal-sticky .btn-primary {
    flex: 1 1 auto;
}

.product-modal-visual {
    overflow: hidden;
}

.product-modal-image-frame {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
}

.product-modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(var(--img-offset-x, 0px), var(--img-offset-y, 0px)) scale(var(--img-scale, 1));
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.product-modal-image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(226, 232, 240, 0.8);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(148, 163, 184, 0.12);
    z-index: 2;
}

.product-modal-image-frame.no-image .product-modal-image {
    display: none;
}

.product-modal-image-frame:not(.no-image) .product-modal-image-placeholder {
    display: none;
}

.product-addon-modal .modal-header {
    align-items: flex-start;
}

.product-addon-modal .modal-kicker {
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
}

.product-addon-modal .modal-title {
    font-weight: 700;
    font-size: 1.4rem;
}

.product-addon-modal .btn-close {
    filter: invert(1);
}

.product-addon-modal .addon-list {
    display: grid;
    gap: 0.75rem;
}

.product-addon-modal .addon-list label,
.addon-option {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.2s ease;
}

.product-addon-modal .addon-list label:hover,
.addon-option:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.25);
}

.material-symbols-outlined {
    line-height: 2;
}

/* STOPKA – DOPASOWANA DO LANDING */
footer {
    z-index: 0;
}

.footer_section,
footer.footer_section {
    background: transparent !important;
    padding: 24px 2.5rem 22px;
    border-top: 1px solid rgba(31, 41, 55, 0.95);
    color: var(--color-text);
}

.footer-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2rem;
    align-items: flex-start;
    font-size: 0.86rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.footer-logo {
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 0.1rem;
}

.footer-contact-line span {
    color: var(--color-text-muted);
    margin-right: 0.4rem;
}

.footer-contact-line a {
    color: #ffffff;
    text-decoration: none;
}

.footer-contact-line a:hover {
    color: var(--color-accent-strong);
}

.footer-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-right-title {
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--color-text-muted);
}

.footer-privacy-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.footer-privacy-link i {
    font-size: 0.9rem;
}

.footer-privacy-link:hover {
    color: var(--color-accent-strong);
}

.footer-copy {
    margin-top: 16px;
    text-align: center;
    font-size: 0.76rem;
    color: var(--color-text-muted);
}

.border-top {
    border-top: none !important;
}

.text-muted {
    color: #ffffffd2 !important
}

.alert {
    margin: 4rem;
}

/* RESPONSYWNOŚĆ + dopasowanie kafelków na mobile */

@media (max-width: 1199.98px) {
    :root{ --tilebar-w:56px; --tile:28px; --tile-step:56px; --tile-opacity:.26; }

    .order-layout {
        padding: 2.25rem clamp(1.5rem, 5vw, 2.5rem) 3.5rem;
    }

    body.cart-open .cart-drawer {
        transform: translateX(0);
    }

    .footer-inner {
        grid-template-columns: minmax(0, 1fr);
        text-align: left;
    }

    .footer-right {
        text-align: left;
        align-items: flex-start;
    }
}

@media (max-width: 1599.98px) {
    .product-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(260px, 1fr));
        gap: 1.75rem;
    }
}

@media (max-width: 991.98px) {
    :root{ --tilebar-w:48px; --tile:24px; --tile-step:48px; --tile-opacity:.24; }

    .product-info-block {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "desc"
            "ingredients"
            "info";
    }

    .product-info-block .product-info-trigger {
        margin-left: 0;
    }

    .order-hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-feature-card {
        max-width: 520px;
        margin: 0 auto;
    }

    .order-nav .navbar-collapse {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(5, 11, 31, 0.98);
        padding: 1.5rem 1.25rem 1.75rem;
        border-bottom: 1px solid rgba(31, 41, 55, 0.9);
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
        box-shadow: 0 22px 45px rgba(5, 10, 25, 0.85);
    }

    .order-nav__content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .order-nav__content .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-meta,
    .account-actions {
        width: 100%;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0.75rem;
        flex-direction: column;
    }

    .lang-switcher {
        width: 100%;
    }

    .order-layout {
        padding: 2rem clamp(1.25rem, 5vw, 2rem) 3rem;
    }

    .cart-drawer {
        width: min(400px, 100%);
    }

    .order-status-logo {
        width: 150px;
    }

    #order-map {
        height: 45vh;
    }
}

@media (max-width: 768px) {
    :root{ --tilebar-w:36px; --tile:18px; --tile-step:36px; --tile-opacity:.22; }

    .order-hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-secondary {
        justify-content: center;
    }

    .order-layout {
        padding: 1.75rem 1.25rem 3rem;
        gap: 1.5rem;
    }

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

    .cart-drawer {
        width: 100%;
    }

    #order-map {
        height: 50vh;
        min-height: 240px;
    }

    .status-steps {
        flex-direction: column;
    }

    .status-step {
        padding-top: 0;
        text-align: left;
    }

    .status-step::before {
        left: 0;
        transform: none;
    }

    .status-step::after {
        display: none;
    }

    .status-step h3,
    .status-step p {
        padding-left: 32px;
    }
}

@media (max-width: 799.98px) {
    .cart-drawer__body {
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .cart-drawer__body::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    .cart-panel {
        flex: 0 0 auto;
        min-height: auto;
        overflow: visible;
        padding-bottom: 1.5rem;
    }

    .cart-items-scroll {
        overflow: visible;
        margin-bottom: 0;
        padding-right: 0;
    }

    .cart-checkout-bar {
        position: static;
        padding-bottom: 1rem;
    }
}

@media (max-width: 575.98px) {
    :root{ --tilebar-w:32px; --tile:16px; --tile-step:32px; --tile-opacity:.20; }

    .order-layout {
        padding: 1.5rem 1rem 2.5rem;
    }

    .pickup-actions {
        flex-direction: column-reverse;
    }

    .pickup-actions .btn {
        width: 100%;
    }

    .status-panel {
        padding: 1.75rem;
    }

    .cart-drawer {
        right: 0;
        width: 100%;
        max-width: 100%;
        transform: translateX(100%);
    }

    body.cart-open .cart-drawer {
        transform: translateX(0);
    }

    .end-0 {
        right: 15px !important;
    }

    .top-0 {
        top: 85px !important;
    }

    #menu-items .product-card .add-to-cart {
        position: absolute;
        right: 5px !important;
        bottom: 85px !important;
        z-index: 6;
        width: 30px;
        height: 30px;
        padding: 0 !important;
        border-radius: 999px !important;
        background: #05142a !important;
        border: 1px solid rgba(56, 189, 248, .55) !important;
        box-shadow: none !important;
    }

    .h6, h6 {
        font-size: 6px;
}
}

@media (max-width: 420px){
    :root{ --tilebar-w:26px; --tile:13px; --tile-step:26px; --tile-opacity:.18; }
}

/* =========================================================
   LIEFERANDO-LIKE MENU (OVERRIDES) — wklej na koniec order.css
   Cel: zamiast kafelków -> responsywna lista, obrazek po prawej,
   cena + przycisk po lewej, jak w Lieferando.
   ========================================================= */

:root{
  --menu-max-width: 980px;
  --menu-item-radius: 18px;
  --menu-item-border: rgba(148,163,184,.16);
  --menu-item-bg: rgba(7,18,36,.92);
  --menu-item-bg-hover: rgba(10,24,50,.95);
  --menu-item-shadow: 0 18px 45px rgba(8,20,49,.45);
  --menu-item-shadow-hover: 0 28px 70px rgba(8,20,49,.65);
  --menu-item-img: 128px;
  --menu-item-gap: 14px;
}

/* trochę ciaśniej jak Lieferando */
.order-layout{
  max-width: var(--menu-max-width);
}

.order-section{
  width: 100%;
  padding-left: clamp(1rem, 4vw, 3rem) !important;
  padding-right: clamp(1rem, 4vw, 3rem) !important;
}

/* ===== Kategorie: na mobile poziomy scroll (jak tabs w Lieferando) ===== */
#menu-section .category-nav{
  width: 100%;
  justify-content: flex-start;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: .6rem;
  padding: .25rem .1rem .5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
#menu-section .category-nav::-webkit-scrollbar{ display:none; }
#menu-section .category-nav{ scrollbar-width: none; -ms-overflow-style: none; }

#menu-section .category-nav button{
  scroll-snap-align: start;
  white-space: nowrap;
}

/* na desktop możesz zostawić centrowanie i wrap */
@media (min-width: 992px){
  #menu-section .category-nav{
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 0;
  }
}

/* ===== Menu items: lista zamiast grid ===== */
#menu-items{
  width: 100%;
}

#menu-items .product-grid{
  width: 100%;
  display: flex !important;
  flex-direction: column !important;
  gap: .9rem !important;
}

/* wrapper pełna szerokość */
#menu-items .product-card-wrapper{
  width: 100%;
  display: block;
}

/* główny “wiersz” jak Lieferando */
#menu-items .product-card{
  width: 100%;
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch;
  gap: var(--menu-item-gap);
  padding: 14px;
  border-radius: var(--menu-item-radius);
  background: var(--menu-item-bg) !important;
  border: 1px solid var(--menu-item-border) !important;
  box-shadow: var(--menu-item-shadow);
  transform: none !important; /* wyłącz “scale” z poprzednich kafelków */
}

#menu-items .product-card:hover{
  background: var(--menu-item-bg-hover) !important;
  box-shadow: var(--menu-item-shadow-hover);
}

/* obrazek po prawej, kwadratowy */
#menu-items .product-image-frame{
  order: 2;
  flex: 0 0 var(--menu-item-img);
  width: var(--menu-item-img);
  aspect-ratio: 1/1;
  border-radius: 12px;
  overflow: hidden;
  background: unset;
  align-self: center;
}

/* img bez “zoom” na hover (Lieferando jest stabilne) */
#menu-items .product-card img{
  transform: translate(var(--img-offset-x, 0px), var(--img-offset-y, 0px)) scale(var(--img-scale, 1)) !important;
}
#menu-items .product-card:hover img{
  transform: translate(var(--img-offset-x, 0px), var(--img-offset-y, 0px)) scale(var(--img-scale, 1)) !important;
}

/* content po lewej */
#menu-items .product-card .card-body{
  order: 1;
  padding: 0 !important;
  height: auto !important;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

/* tytuł jak w listach */
#menu-items .product-card h3{
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* sekcja cena + przycisk */
#menu-items .product-card .d-flex.justify-content-between{
  margin-top: auto;
  align-items: flex-end !important;
}

/* cena jak w Lieferando: old + new w jednej linii */
#menu-items .product-price{
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline;
  gap: .65rem;
}

#menu-items .product-price .price-old{
  font-size: .92rem;
  opacity: .75;
}

#menu-items .product-price .price-new{
  font-size: 1.05rem;
  font-weight: 800;
}

#menu-items .product-price .price-regular{
  font-size: 1.02rem;
  font-weight: 800;
}

/* przycisk “+ / koszyk” jako okrągły */
#menu-items .add-to-cart.btn{
  width: 26px;
  height: 26px;
  padding: 0 !important;
  border-radius: 999px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(0,110,224,.45);
}
#menu-items .add-to-cart .material-icons-outlined{
  font-size: 16px;
  line-height: 1;
}

/* badges: trochę ciaśniej i bez bootstrapowego “m-3” rozpychającego */
#menu-items .badge{
  margin: .6rem !important;
}

#menu-items .badge-discount,
#menu-items .badge-featured{
  font-size: .7rem;
  padding: .3rem .4rem;
}

/* promo wrapper: subtelny “glow” jak wyróżnienie */
#menu-items .product-card-wrapper--promo .product-card{
  border-color: rgba(56,189,248,.38) !important;
  box-shadow:
    0 18px 55px rgba(56,189,248,.20),
    var(--menu-item-shadow);
}

/* ===== Mobile tuning ===== */
@media (max-width: 575.98px){
  :root{ --menu-item-img: 96px; }

  #menu-items .product-card{
    padding: 12px;
    gap: 12px;
  }

  #menu-items .product-card h3{
    font-size: 1.02rem;
  }

  /* na bardzo małym ekranie cena może iść w kolumnie (czytelniej) */
  #menu-items .product-price{
    flex-direction: column !important;
    gap: .2rem;
  }

  #menu-items .add-to-cart.btn{
    width: 44px;
    height: 44px;
  }

  #menu-items .badge-featured,
  #menu-items .badge-discount {
    margin: 0 !important;
  }
}

@media (max-width: 360px){
  :root{ --menu-item-img: 86px; }
}

/* ADD button: prawy dolny róg + tło przezroczyste */
#menu-items .product-card{
  position: relative; /* safety, bo masz position-relative w HTML, ale niech będzie */
}

#menu-items .product-card .add-to-cart{
    position: absolute;
    right: 8px;
    bottom: 118px;
    z-index: 6;
    width: 30px;
    height: 30px;
    padding: 0 !important;
    border-radius: 999px !important;
    background: #05142a !important;
    border: 1px solid rgba(56, 189, 248, .55) !important;
    box-shadow: none !important;
}

/* żeby hover dalej był “miły”, ale bez wypełnienia */
#menu-items .product-card .add-to-cart:hover,
#menu-items .product-card .add-to-cart:focus{
  background: rgba(56,189,248,.10) !important; /* możesz dać transparent jeśli ma być 100% */
  border-color: rgba(56,189,248,.85) !important;
  transform: none !important;
}

/* === FIX: klik + warstwy (button zawsze klikalny) === */
#menu-items .product-card{
  isolation: isolate; /* stabilne z-index w środku karty */
}

#menu-items .product-card .add-to-cart{
  z-index: 50 !important;
  pointer-events: auto !important;
}

#menu-items .product-image-frame,
#menu-items .product-card .card-body{
  pointer-events: auto;
}
/* === Navigation overlay & sheet === */
.order-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 1065;
}
body.nav-open .order-nav-overlay {
  opacity: 1;
  pointer-events: auto;
}

.order-nav-sheet {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1070;
}
body.nav-open .order-nav-sheet {
  pointer-events: auto;
}
.order-nav-sheet__panel {
  width: min(560px, 92vw);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: rgba(7,18,36,.96);
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,.7);
}

.order-nav-sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(148,163,184,.16);
}
.order-nav-sheet__title {
  font-weight: 600;
  font-size: 1.05rem;
}
.order-nav-sheet__close {
  border: 1px solid rgba(148,163,184,.28);
  background: rgba(148,163,184,.16);
  color: #e5e7eb;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all .18s ease;
}
.order-nav-sheet__close:hover,
.order-nav-sheet__close:focus {
  border-color: rgba(148,163,184,.48);
  background: rgba(148,163,184,.28);
  color: #fff;
}

.order-nav-sheet__body {
  padding: 16px 18px 20px;
  display: grid;
  gap: 10px;
}
.order-nav-sheet__links {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.order-nav-sheet__links .nav-link {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15,23,42,.48);
  border: 1px solid rgba(148,163,184,.18);
}
.order-nav-sheet__links .nav-link:hover,
.order-nav-sheet__links .nav-link:focus {
  border-color: rgba(148,163,184,.38);
  background: rgba(15,23,42,.7);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(15,23,42,.4);
  border: 1px solid rgba(148,163,184,.18);
}
.nav-row + .nav-row {
  margin-top: 6px;
}
.nav-row__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.nav-row.header-opening .nav-row__label {
  gap: 0;
}
.nav-row.header-opening .nav-row__label .fa-regular {
  margin-right: 0 !important;
}
.nav-row__value {
  color: #cbd5e1;
  font-weight: 600;
}

.nav-lang {
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,.18);
  background: rgba(15,23,42,.4);
  overflow: hidden;
}
.nav-lang[open] {
  border-color: rgba(148,163,184,.35);
  background: rgba(15,23,42,.58);
}
.nav-lang summary {
  list-style: none;
}
.nav-lang summary::-webkit-details-marker { display: none; }

.nav-lang__options {
  padding: 6px 0 10px;
}
.nav-lang__options a {
  display: block;
  padding: 10px 14px 10px 18px;
  color: inherit;
}
.nav-lang__options a:hover,
.nav-lang__options a:focus {
  background: rgba(148,163,184,.08);
  color: #fff;
}

body.nav-open {
  overflow: hidden;
}

body.has-cart-items .cart-button {
  transform: translateY(-1px);
  box-shadow: 0 22px 50px rgba(0, 110, 224, 0.7);
}

body:not(.has-cart-items) .cart-button {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
}

body.nav-open .cart-button {
  opacity: 0.35;
  pointer-events: none;
  transform: translateY(0);
}

body.cart-open .cart-button {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
}

@media (max-width: 991.98px){
  .order-nav-sheet {
    align-items: stretch;
    justify-content: stretch;
  }
  .order-nav-sheet__panel {
    width: 100vw;
    height: 100vh;
    max-height: none;
    border-radius: 0;
  }
}

@keyframes cart-button-float-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Banner */
.order-banner {
  position: relative;
  z-index: 1010;
}
.order-banner__surface {
  width: 100%;
  aspect-ratio: 6 / 1;
  min-height: clamp(84px, 12vw, 220px);
  max-height: 320px;
  overflow: hidden;
  background-color: #0f172a;
  background-image:
    linear-gradient(135deg, rgb(14 165 233 / 17%),
    rgba(59, 130, 246, .18)), url(../images/banner.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: stretch;
}
.order-banner__content {
  padding: clamp(12px, 2vw, 18px) clamp(14px, 3vw, 24px);
  color: #e2e8f0;
  display: grid;
  gap: 4px;
  align-content: center;
  background: linear-gradient(90deg, rgba(2,6,23,.6) 0%, rgba(2,6,23,.15) 60%, transparent 100%);
  width: min(50%, 520px);
}
.order-banner__kicker {
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: .08em;
  color: #67e8f9;
}
.order-banner__title {
  font-size: clamp(1.05rem, 3vw, 1.4rem);
  font-weight: 700;
}
.order-banner__text {
  color: #cbd5e1;
  font-size: .95rem;
}

.cart-fulfillment-toggle {
  display: flex;
  margin-top: 0;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 100%;
}

.cart-fulfillment-toggle__group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  background: rgba(15, 23, 42, 0.9);
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  max-width: 100%;
}

.cart-fulfillment-toggle__btn {
  border: none;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  background: transparent;
  color: rgba(226, 232, 240, 0.85);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.cart-fulfillment-toggle__btn.is-active {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-strong));
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 110, 224, 0.4);
}

.cart-fulfillment-toggle__btn:disabled {
  color: rgba(148, 163, 184, 0.6);
  background: rgba(148, 163, 184, 0.1);
  box-shadow: none;
  cursor: not-allowed;
}

.cart-fulfillment-toggle__note {
  display: block;
  margin-top: 0.45rem;
  color: rgba(148, 163, 184, 0.85);
  font-size: 0.8rem;
}

.cart-fulfillment-legacy {
  display: none !important;
}

.cart-empty {
  display: none;
  flex: 1;
  flex-direction: column;
  gap: 1rem;
}

.cart-panel.is-empty .cart-empty {
  display: flex;
}

.cart-panel.is-empty #checkout-view {
  display: none;
}

.cart-empty__state {
  display: none;
}

@media (min-width: 1299px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  #order-main-layout::after {
    display: block;
    right: clamp(360px, 28vw, 420px);
    z-index: 0;
  }

  #order-main-layout::before {
    right: auto;
    z-index: 0;
  }

  .order-nav .nav-shell {
    max-width: none;
    width: 100%;
    margin: 0;
    padding-inline: clamp(24px, 3vw, 40px);
  }

  .order-nav__lang {
    display: flex;
  }

  .order-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(360px, 28vw, 420px);
    gap: 0;
    align-items: start;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 4rem;
    height: calc(100vh - var(--header-height));
    min-height: calc(100vh - var(--header-height));
  }

  .order-shell__left {
    min-width: 0;
    min-height: 0;
    padding-inline: 0;
    padding-right: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
  }

  .order-shell__scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .order-shell__inner {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding-inline: clamp(24px, 3vw, 40px);
    padding-right: clamp(24px, 2.5vw, 36px);
  }

  .order-footer .container {
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
    padding-inline: clamp(24px, 3vw, 40px);
  }

  .order-banner {
    padding-inline: 0;
  }

  .order-layout {
    max-width: none;
    margin: 0;
    gap: 2rem;
  }

  .order-section {
    align-items: stretch;
    padding-left: 0;
    padding-right: 0;
  }

  .section-heading h2,
  .section-heading p {
    text-align: left;
  }

  .order-restaurant-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem 1.75rem;
    margin: 2rem 2rem 2rem 2rem;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(9, 18, 36, 0.95));
    box-shadow: 0 20px 45px rgba(3, 10, 26, 0.4);
    order: 0;
    position: relative;
    padding-right: clamp(6.5rem, 18vw, 9rem);
  }

  .order-restaurant-header__top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    position: relative;
  }

  .order-restaurant-header__eyebrow {
    margin: 0 0 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.7rem;
    color: rgba(148, 163, 184, 0.85);
  }

  .order-restaurant-header__title {
    margin: 0;
    font-size: clamp(1.6rem, 2vw, 2rem);
    font-weight: 700;
  }

  .order-restaurant-header__status {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.45);
    color: #a7f3d0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    position: absolute;
    right: 1rem;
    top: 20%;
    transform: translateY(-50%);
  }

  .order-restaurant-header__status.is-closed {
    background: rgba(248, 113, 113, 0.18);
    border-color: rgba(248, 113, 113, 0.45);
    color: #fecaca;
  }

  .order-restaurant-header__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(203, 213, 225, 0.9);
    font-size: 0.95rem;
  }

  .order-restaurant-header__rating {
    font-weight: 600;
    color: #facc15;
  }

  .order-restaurant-header__message {
    color: rgba(226, 232, 240, 0.85);
    font-size: 0.95rem;
  }

  .order-layout > .announcement,
  .order-layout > .alert {
    order: 2;
  }

  .order-layout > .announcement--payments {
    order: -1;
  }

  .order-layout > #promotions-section {
    order: 3;
  }

  .order-layout > .order-featured {
    order: 4;
  }

  .order-layout > #menu-section {
    order: 5;
  }

  .order-layout > #menu-items {
    order: 6;
  }

  .order-layout > .modal {
    order: 99;
  }

  .category-separator {
    scroll-margin-top: calc(var(--header-height) + 160px);
  }

  .cart-drawer {
    position: sticky;
    top: var(--header-height);
    height: calc(100vh - var(--header-height));
    min-height: calc(100vh - var(--header-height));
    width: clamp(360px, 28vw, 420px);
    transform: none;
    margin-bottom: 0;
    align-self: stretch;
  }

  .cart-drawer__body {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .cart-panel {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: calc(var(--cart-footer-height, 0px) + 1.5rem);
    --cart-footer-height: 0px;
  }

  .cart-items-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    margin-bottom: 1rem;
    padding-right: 0.25rem;
  }

  .cart-empty__mobile {
    display: none;
  }

  .cart-panel.is-empty .cart-empty__state {
    display: grid;
    place-items: center;
    text-align: center;
    gap: 0.35rem;
    padding: 2rem 1.5rem;
    border-radius: 18px;
    border: 1px dashed rgba(148, 163, 184, 0.3);
    background: rgba(5, 10, 25, 0.55);
    color: #e2e8f0;
  }

  .cart-empty__icon {
    font-size: 2.4rem;
    color: rgba(125, 211, 252, 0.95);
  }

  .cart-empty__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
  }

  .cart-empty__text {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(203, 213, 225, 0.85);
  }

  body.cart-open {
    overflow: hidden;
  }

  .cart-drawer-overlay {
    display: none;
  }

  .cart-fulfillment-toggle {
    display: flex;
    margin: 0;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
  }

  .cart-fulfillment-toggle__group {
    padding: 0.2rem;
    gap: 0.25rem;
    border-radius: 999px;
    min-width: 240px;
  }

  .cart-fulfillment-toggle__btn {
    padding: 0.32rem 0.8rem;
    font-size: 0.82rem;
  }

  .cart-fulfillment-toggle__note {
    text-align: center;
  }

  .cart-profile-fields {
    display: none !important;
  }
}

@media (max-width: 1298.98px){
  .order-banner__surface{
    width: 100% !important;
    aspect-ratio: 3 / 1 !important;
    min-height: 0 !important;
    max-height: 220px !important;

    overflow: hidden !important;
    background-color: #0f172a !important;
    background-image:
      linear-gradient(135deg, rgb(14 165 233 / 17%), rgba(59, 130, 246, .18)),
      url(../images/banner_medium.webp) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: cover !important;

    display: flex !important;
    align-items: stretch !important;
  }
}
@media (max-width: 849.98px){
  .order-banner__surface{
    width: 100% !important;

    /* klucz: ratio jak desktop (albo jak banner_small) */
    aspect-ratio: 3 / 1 !important;

    /* usuń min-height, bo łamie ratio i powoduje crop */
    min-height: 0 !important;

    /* max-height możesz zostawić jako bezpiecznik */
    max-height: 220px !important;

    overflow: hidden !important;
    background-color: #0f172a !important;
    background-image:
      linear-gradient(135deg, rgb(14 165 233 / 17%), rgba(59, 130, 246, .18)),
      url(../images/banner_small.webp) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: cover !important;

    display: flex !important;
    align-items: stretch !important;
  }
}

/* Language flags */
.order-nav__lang {
  display: flex;
  justify-self: center;
  align-items: center;
}
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang-flags {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.lang-flags--menu {
  position: absolute;
  top: 50%;
  right: calc(100% + 8px);
  flex-direction: row;
  padding: 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px) translateY(-50%);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
}
.lang-switcher.is-open .lang-flags--menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) translateY(-50%);
}
.lang-flag--active {
  cursor: pointer;
}
.lang-flag{
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0;
  background: rgba(15,23,42,.68);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  transition: all .16s ease;
  color: inherit;
  border: none;
}
.lang-flag::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(148,163,184,.28);
  pointer-events: none;
}
.lang-flag .fi{
  width: 100%;
  position: absolute;
  inset: 0;
  display: block;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.lang-flag:hover,
.lang-flag:focus{
  background: rgba(59,130,246,.18);
  color: #fff;
}
.lang-flag:hover::after,
.lang-flag:focus::after{
  border-color: rgba(148,163,184,.5);
}
.lang-flag.is-active{
  background: radial-gradient(circle at 30% 30%, rgba(125,211,252,.22), rgba(15,23,42,.9));
  box-shadow: 0 0 0 2px rgba(56,189,248,.32), 0 10px 26px rgba(15,118,110,.35);
}
.lang-flag.is-active::after{
  border-color: rgba(56,189,248,.8);
}
.nav-row--lang {
  gap: 12px;
}

.lang-flags > a.lang-flag > span.fi{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;

  display: block !important;
  border-radius: 50% !important;

  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;

  transform: scale(1.06);
}
.nav-toggle {
  margin-right: 1rem;
}
/* Fulfillment switch */
.fulfillment-switch {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(15,23,42,.7);
  border: 1px solid rgba(148,163,184,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  overflow: hidden;
}
.fulfillment-switch__indicator {
  position: absolute;
  inset: 6px;
  width: calc(50% - 6px);
  background: linear-gradient(135deg, rgba(59,130,246,.35), rgba(14,165,233,.35));
  border-radius: 999px;
  transition: transform .22s ease;
  z-index: 0;
  border: 1px solid rgba(125,211,252,.4);
  box-shadow: 0 10px 24px rgba(14,165,233,.18);
}
[data-fulfillment-switch][data-active="pickup"] .fulfillment-switch__indicator {
  transform: translateX(0);
}
[data-fulfillment-switch][data-active="delivery"] .fulfillment-switch__indicator {
  transform: translateX(100%);
}
.fulfillment-option {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  color: #cbd5e1;
  cursor: pointer;
  transition: color .16s ease, transform .12s ease;
}
.fulfillment-option:hover {
  color: #fff;
  transform: translateY(-1px);
}
.fulfillment-option__content {
  display: grid;
  gap: 3px;
}
.fulfillment-option__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: .01em;
}
.fulfillment-option__icon {
  font-size: 20px;
}
.fulfillment-option__note {
  font-size: .9rem;
  color: #e2e8f0;
  opacity: .72;
}
.fulfillment-option__note:empty {
  display: none;
}
.fulfillment-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.fulfillment-switch:focus-within {
  outline: 2px solid rgba(56,189,248,.5);
  outline-offset: 3px;
}

@media (max-width: 767.98px){
  .order-banner__content {
    width: 100%;
  }
}

.order-footer {
    margin-bottom: 5rem;
}
.account-actions.nav-list .nav-link{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, .4);
    border: 1px solid rgba(148, 163, 184, .18);
    width: 100%;
}

.account-actions.nav-list .nav-link .material-icons-outlined{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 28px;
  flex: 0 0 auto;
}

.nav-auth-actions{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 1rem;
}

.nav-auth-note{
  font-size: .95rem;
  color: #cbd5e1;
}

.nav-auth-actions .nav-auth-button{
  font-weight: 600;
  border-radius: 12px;
  text-align: center;
}

:root{
  --product-frame-img: url("../images/product-frame.webp");
}

/* wspólne ustawienia */
.product-image-frame,
.product-modal-image-frame{
  position: relative;
  overflow: hidden;
}

.product-image-frame::after,
.product-modal-image-frame::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;

  background-image: var(--product-frame-img);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 107% 107%;
  border-radius: inherit;
}

/* Shrink ONLY this modal on desktop (Bootstrap modal-lg override) */
@media (min-width: 992px){
  #product-modal .modal-dialog.modal-lg{
    --bs-modal-width: 640px !important;       /* docelowa szerokość */
    max-width: 640px !important;
    width: min(640px, calc(100vw - 2rem)) !important;
    margin-inline: auto;
  }
}

/* SmashThat "closed" alert – premium pill (no bootstrap pink) */
.alert.alert-danger.mb-0,
.alert.alert-danger {
  position: relative;
  overflow: hidden;

  /* kształt i spacing */
  border-radius: 999px !important;
  padding: 0.95rem 1.35rem !important;
  margin: 1.1rem !important;

  /* typografia */
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
  color: rgba(248, 250, 252, 0.96) !important;

  /* tło "glass" + subtle danger tone */
  background:
    radial-gradient(900px 180px at 50% 0%, rgba(56,189,248,0.14), transparent 60%),
    linear-gradient(180deg, rgba(9,14,26,0.55), rgba(9,14,26,0.78)) !important;

  /* zamiast grubej ramki: delikatny border + soft glow */
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(255,255,255,0.04) !important;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  /* usuń bootstrapowe tło/kolory */
  background-color: transparent !important;
}

/* "danger accent" – cienka kreska od dołu + delikatna czerwień */
.alert.alert-danger.mb-0::after,
.alert.alert-danger::after {
  content: "";
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 0.55rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(248,113,113,0),
    rgba(248,113,113,0.65),
    rgba(251,146,60,0.55),
    rgba(248,113,113,0.65),
    rgba(248,113,113,0)
  );
  filter: drop-shadow(0 0 10px rgba(248,113,113,0.30));
  opacity: 0.9;
  pointer-events: none;
}

/* Ikona po lewej (CSS-only) – wygląda jak "status badge", nie input */
.alert.alert-danger.mb-0::before,
.alert.alert-danger::before {
  content: "!";
  position: absolute;
  left: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.95rem;

  background: radial-gradient(circle at 30% 30%, rgba(248,113,113,0.35), rgba(9,14,26,0.15));
  border: 1px solid rgba(248,113,113,0.35);
  color: rgba(248,250,252,0.95);

  box-shadow:
    0 10px 28px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.05) inset;
  pointer-events: none;
}

/* daj oddech tekstowi przez ikonkę */
.alert.alert-danger.mb-0,
.alert.alert-danger {
  padding-left: 3.1rem !important;
}

/* hover: minimalny "wow" */
@media (hover:hover) {
  .alert.alert-danger.mb-0:hover,
  .alert.alert-danger:hover {
    border-color: rgba(56,189,248,0.28) !important;
    box-shadow:
      0 22px 70px rgba(0,0,0,0.42),
      inset 0 0 0 1px rgba(255,255,255,0.05),
      0 0 0 1px rgba(56,189,248,0.10);
  }
}

/* mobile tuning */
@media (max-width: 640px) {
  .alert.alert-danger.mb-0,
  .alert.alert-danger {
    border-radius: 1.2rem !important; /* na mobile mniej "piguła", bardziej card */
    padding: 0.9rem 1rem 0.9rem 3rem !important;
    font-size: 0.95rem;
  }
}

/* Mobile FAB mode (cart-button moved to <body>) */
@media (max-width: 1299px) {
  body.is-cart-fab .cart-button {
    position: fixed !important;
    top: auto !important;
    left: auto !important;
    right: calc(18px + env(safe-area-inset-right, 0px)) !important;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    margin: 25px !important;
    z-index: 500 !important;
  }

  /* placeholder keeps top-nav spacing when button is moved out */
  .cart-button-slot {
    display: inline-block;
  }
}

/* hide helper */
.is-hidden { display: none !important; }

/* ===========================
   Loader
   =========================== */

/* overlay */
.st-loader{
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  padding: max(18px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
           max(18px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity .26s ease;
}

.st-loader.is-visible{
  opacity: 1;
  pointer-events: auto;
}

.stl-backdrop{
  position:absolute;
  inset:0;
  background: rgba(4, 8, 16, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.stl-stage{
  position: relative;
  width: min(420px, 92vw);
  border-radius: 18px;
  color: #f4f7ff;
  background: rgba(10, 18, 32, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
  padding: 28px 24px 24px;
  text-align: center;
  display: grid;
  gap: 12px;
  justify-items: center;
  transform: translateY(10px);
  transition: transform .26s ease;
}

.st-loader.is-visible .stl-stage{
  transform: translateY(0);
}

.stl-logo{
  width: 120px;
  height: auto;
}

.stl-message{
  font-size: 16px;
  font-weight: 600;
}

.stl-submessage{
  font-size: 13px;
  color: rgba(244,247,255,.7);
}

.stl-spinner{
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(244,247,255,.25);
  border-top-color: rgba(244,247,255,.9);
  animation: stlSpinSimple 0.9s linear infinite;
}

@keyframes stlSpinSimple{
  to{ transform: rotate(360deg); }
}

@media (max-width: 480px){
  .stl-stage{
    padding: 24px 18px 22px;
  }
  .stl-logo{
    width: 96px;
  }
}

@media (prefers-reduced-motion: reduce){
  .st-loader,
  .stl-stage,
  .stl-spinner{
    animation: none !important;
    transition: none !important;
  }
}

/* helper class for scroll lock */
html.stl-noscroll { overflow: hidden !important; }

.vipps-policy-modal{
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.vipps-policy-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(6px);
}

.vipps-policy-card{
  position: relative;
  z-index: 1;
  max-width: 520px;
  width: 100%;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 28px 26px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.6);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vipps-policy-close{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(148, 163, 184, 0.15);
  color: #e2e8f0;
  font-size: 20px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.vipps-policy-close:hover{
  background: rgba(148, 163, 184, 0.25);
}

.vipps-policy-title{
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: #f8fafc;
}

.vipps-policy-body{
  margin: 0;
  color: rgba(226, 232, 240, 0.9);
  line-height: 1.6;
}

.vipps-policy-links{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.vipps-policy-links a{
  color: #93c5fd;
  font-weight: 600;
  text-decoration: none;
}

.vipps-policy-links a:hover{
  color: #bfdbfe;
  text-decoration: underline;
}

.vipps-policy-action{
  align-self: flex-start;
}

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

@media (max-width: 480px){
  .vipps-policy-card{
    padding: 22px 20px;
  }
  .vipps-policy-title{
    font-size: 1.2rem;
  }
  .vipps-policy-action{
    width: 100%;
    text-align: center;
  }
}
