:root {
  --bg: #0d0f0f;
  --bg-deep: #090b0b;
  --surface: #161817;
  --surface-strong: #1b1d1c;
  --ink: #f5f0e8;
  --ink-soft: #d6cec3;
  --muted: #98938c;
  --line: rgba(226, 185, 126, .14);
  --primary: #d4a15f;
  --primary-dark: #b87d3d;
  --primary-soft: rgba(212, 161, 95, .13);
  --sage: #20251f;
  --sage-soft: rgba(132, 154, 123, .12);
  --gold: #d4a15f;
  --gold-soft: #edd0a0;
  --on-primary: #17120c;
  --focus-ring: rgba(236, 201, 143, .34);
  --success: #79c99a;
  --success-soft: rgba(74, 166, 111, .15);
  --danger: #ff8d85;
  --danger-soft: rgba(224, 76, 67, .14);
  --warning: #edc179;
  --warning-soft: rgba(212, 161, 95, .14);
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, .18);
  --shadow-md: 0 22px 55px rgba(0, 0, 0, .3);
  --shadow-lg: 0 35px 90px rgba(0, 0, 0, .42);
  --shell: 1480px;
}

html { scroll-padding-top: 125px; }
body { color: var(--ink); background: radial-gradient(circle at 50% -15%, #24201a 0, #111313 35%, #0b0d0d 72%); }

.tbar-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.06); background: rgba(13,15,15,.9); backdrop-filter: blur(20px); }
.tbar-header.is-scrolled { box-shadow: 0 14px 34px rgba(0,0,0,.35); }
.tbar-header__top { height: 84px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.tbar-header__tools, .tbar-header__actions { display: flex; align-items: center; gap: 12px; }
.tbar-header__tools { justify-content: flex-start; }
.tbar-header__actions { justify-content: flex-end; }
.tbar-brand { display: inline-flex; align-items: center; justify-self: center; gap: 12px; color: var(--gold-soft); }
.tbar-brand > svg { width: 50px; height: 50px; fill: rgba(212,161,95,.12); stroke: var(--primary); stroke-width: 2; }
.tbar-brand > span { display: grid; line-height: 1.2; text-align: center; }
.tbar-brand strong { font-size: 25px; letter-spacing: -.8px; }
.tbar-brand small { margin-top: 5px; color: #a57c4a; font-size: 7px; letter-spacing: 4px; direction: ltr; }
.tbar-search { width: min(100%, 330px); height: 43px; border-color: rgba(255,255,255,.1); border-radius: 24px; background: rgba(255,255,255,.035); }
.tbar-search input { color: var(--ink); }
.tbar-search input::placeholder { color: #6f6d69; }
.tbar-grid-button, .tbar-login, .tbar-header .cart-button { height: 43px; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; background: rgba(255,255,255,.025); }
.tbar-grid-button { width: 43px; display: grid; grid-template-columns: repeat(2, 5px); place-content: center; gap: 4px; padding: 0; cursor: pointer; }
.tbar-grid-button span { width: 5px; height: 5px; border-radius: 2px; background: #8f8b84; }
.tbar-login { display: flex; align-items: center; gap: 8px; padding: 0 17px; font-size: 10px; }
.tbar-login svg { width: 18px; }
.tbar-account { position: relative; }
.tbar-account > .tbar-login { cursor: pointer; }
.tbar-account__chevron { width: 12px !important; transition: transform .2s ease; }
.tbar-account > .tbar-login[aria-expanded="true"] .tbar-account__chevron { transform: rotate(180deg); }
.tbar-account-menu { position: absolute; z-index: 95; top: calc(100% + 12px); left: 0; width: 255px; overflow: hidden; padding: 8px; border: 1px solid rgba(212,161,95,.2); border-radius: 18px; background: rgba(22,24,23,.98); box-shadow: var(--shadow-md); }
.tbar-account-menu::before { content: ""; position: absolute; top: 0; right: 20px; left: 20px; height: 1px; background: linear-gradient(90deg, transparent, var(--primary), transparent); }
.tbar-account-menu__profile { display: grid; grid-template-columns: 42px minmax(0,1fr); align-items: center; gap: 11px; margin-bottom: 7px; padding: 11px; border-bottom: 1px solid var(--line); }
.tbar-account-menu__profile > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: var(--on-primary); background: var(--primary); font-size: 15px; font-weight: 900; }
.tbar-account-menu__profile > div { min-width: 0; display: grid; }
.tbar-account-menu__profile strong { overflow: hidden; color: var(--ink); font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.tbar-account-menu__profile small { margin-top: 2px; color: var(--muted); font-size: 9px; text-align: right; }
.tbar-account-menu > a, .tbar-account-menu > button { width: 100%; min-height: 42px; display: flex; align-items: center; gap: 10px; padding: 8px 11px; color: var(--ink-soft); border: 0; border-radius: 11px; background: transparent; font-size: 10px; text-align: right; cursor: pointer; }
.tbar-account-menu > a:hover, .tbar-account-menu > button:hover { color: var(--gold-soft); background: var(--primary-soft); }
.tbar-account-menu > a svg, .tbar-account-menu > button svg { width: 17px; color: var(--primary); }
.tbar-header .cart-button { position: relative; width: 43px; padding: 0; justify-content: center; color: var(--primary); }
.tbar-header .cart-count { position: absolute; top: -7px; left: -5px; min-width: 20px; height: 20px; color: #17120c; background: var(--gold-soft); }
.tbar-nav { border-top: 1px solid rgba(255,255,255,.045); }
.tbar-nav .shell { height: 46px; display: flex; align-items: center; justify-content: center; gap: 54px; }
.tbar-nav .shell { scrollbar-width: none; }
.tbar-nav .shell::-webkit-scrollbar { display: none; }
.tbar-nav a { position: relative; color: #b9b4ad; font-size: 11px; }
.tbar-nav a::after { content: ""; position: absolute; right: 50%; bottom: -15px; width: 0; height: 2px; border-radius: 4px; background: var(--primary); transform: translateX(50%); transition: width .2s ease; }
.tbar-nav a:hover, .tbar-nav a.is-active { color: var(--gold-soft); }
.tbar-nav a:hover::after, .tbar-nav a.is-active::after { width: 38px; }

.tbar-hero { margin-top: 16px; }
.tbar-hero__viewport { position: relative; min-height: 520px; overflow: hidden; border: 1px solid rgba(230,190,126,.13); border-radius: 28px; background: #101212; box-shadow: var(--shadow-md); }
.tbar-hero__slides { position: absolute; inset: 0; }
.tbar-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; background-position: left center; background-size: cover; transform: scale(1.025); transition: opacity .7s ease, transform 1s ease, visibility .7s; }
.tbar-slide.is-active { opacity: 1; visibility: visible; transform: scale(1); }
.tbar-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,12,12,.02) 0%, rgba(11,12,12,.24) 39%, rgba(11,12,12,.93) 67%, #111313 100%); }
.tbar-slide--coffee { background-image: url("/images/tbar-hero-coffee-v2.png"); }
.tbar-slide--coldbrew { background-image: url("/images/tbar-hero-coldbrew.png"); }
.tbar-slide--decaf { background-image: url("/images/tbar-hero-coffee-v2.png"); background-position: 18% center; }
.tbar-slide__content { position: absolute; z-index: 2; top: 50%; right: 285px; width: min(430px, 37%); transform: translateY(-50%); }
.tbar-slide__eyebrow { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 11px; color: var(--primary); font-size: 10px; font-weight: 700; }
.tbar-slide__eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.tbar-slide h1 { margin: 0; font-size: clamp(48px, 5vw, 72px); line-height: 1.1; letter-spacing: -2px; }
.tbar-slide h1 em { color: var(--primary); font-style: normal; }
.tbar-slide h2 { margin: 14px 0 6px; font-size: clamp(22px, 2vw, 31px); }
.tbar-slide p { margin: 0 0 27px; color: #aaa59e; font-size: 13px; }
.tbar-cta { min-height: 51px; display: inline-flex; align-items: center; gap: 18px; padding: 0 25px; border-radius: 13px; color: #18130d; background: linear-gradient(105deg, #ecc98f, #c88d49); box-shadow: 0 15px 35px rgba(184,125,61,.2); font-size: 12px; font-weight: 900; transition: transform .2s ease, box-shadow .2s ease; }
.tbar-cta:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(184,125,61,.32); }
.tbar-cta svg { width: 17px; }
.tbar-hero__benefits { position: absolute; z-index: 3; top: 50%; right: 30px; width: 215px; display: grid; gap: 22px; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.1); transform: translateY(-50%); }
.tbar-hero__benefits > div { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 11px; }
.tbar-hero__benefits > div > span { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(212,161,95,.5); border-radius: 50%; color: var(--primary); }
.tbar-hero__benefits p { display: grid; margin: 0; }
.tbar-hero__benefits strong { font-size: 10px; }
.tbar-hero__benefits small { color: #817e78; font-size: 8px; }
.tbar-slider-controls { position: absolute; z-index: 5; right: 50%; bottom: 15px; display: flex; align-items: center; gap: 13px; transform: translateX(50%); }
.tbar-slider-controls > button { width: 30px; height: 30px; display: grid; place-items: center; color: #bbb5ad; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; background: rgba(0,0,0,.18); cursor: pointer; }
.tbar-slider-controls svg { width: 14px; }
.tbar-slider-controls > div { display: flex; gap: 8px; }
.tbar-slider-controls > div button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #6d6b67; cursor: pointer; transition: width .25s ease, background .25s ease; }
.tbar-slider-controls > div button.is-active { width: 24px; border-radius: 5px; background: var(--primary); }

.tbar-category-carousel { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 8px; margin-top: 14px; }
.tbar-category-carousel.has-overflow { grid-template-columns: 32px minmax(0, 1fr) 32px; }
.tbar-categories { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 5); gap: 12px; min-width: 0; overflow-x: auto; padding-block: 4px; scroll-snap-type: x proximity; overscroll-behavior-inline: contain; scrollbar-width: none; }
.tbar-categories::-webkit-scrollbar { display: none; }
.tbar-category-arrow { display: grid; place-items: center; width: 32px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 12px; color: var(--primary); background: var(--surface); cursor: pointer; }
.tbar-category-arrow svg { width: 16px; }
.tbar-category-arrow:hover:not(:disabled) { border-color: var(--primary); background: var(--primary-soft); }
.tbar-category-arrow:disabled { opacity: .3; cursor: default; }
.tbar-category { min-width: 0; display: grid; grid-template-columns: 52px 1fr 18px; align-items: center; gap: 9px; min-height: 78px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: linear-gradient(135deg, #1b1d1c, #141616); scroll-snap-align: start; transition: transform .2s ease, border-color .2s ease; }
.tbar-category:hover { transform: translateY(-3px); border-color: rgba(212,161,95,.35); }
.tbar-category__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; color: var(--primary); background: rgba(212,161,95,.08); font-size: 24px; }
.category-image { display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; border-radius: inherit; }
.category-image img { width: 100%; height: 100%; object-fit: cover; }
.category-chip .category-image { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 8px; }
.tbar-category > span:nth-child(2) { min-width: 0; display: grid; }
.tbar-category strong { overflow: hidden; font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }
.tbar-category small { color: #8d887f; font-size: 7px; }
.tbar-category > svg { width: 14px; color: #716d67; }

.tbar-featured { display: grid; grid-template-columns: minmax(245px,.9fr) minmax(620px,2.35fr) minmax(210px,.72fr); gap: 16px; margin-top: 16px; }
.tbar-promo, .tbar-products-panel { min-height: 345px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 22px; background-color: var(--surface); }
.tbar-promo { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 27px; background-position: left center; background-size: cover; }
.tbar-promo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,9,9,.96), rgba(8,9,9,.1) 74%); }
.tbar-promo > * { position: relative; z-index: 1; }
.tbar-promo span { color: var(--primary); font-size: 9px; font-weight: 700; }
.tbar-promo h2 { margin: 5px 0 7px; font-size: 22px; }
.tbar-promo p { margin: 0 0 15px; color: #9e9991; font-size: 9px; }
.tbar-promo b { width: max-content; padding: 8px 12px; border: 1px solid rgba(212,161,95,.27); border-radius: 10px; color: var(--gold-soft); font-size: 8px; background: rgba(0,0,0,.3); }
.tbar-promo--origin { background-image: url("/images/tbar-hero-coffee-v2.png"); background-position: 25% center; }
.tbar-promo--cold { background-image: url("/images/tbar-hero-coldbrew.png"); background-position: 19% center; }
.tbar-products-panel { padding: 20px; }
.tbar-panel-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.tbar-panel-heading > div { display: grid; }
.tbar-panel-heading span { color: var(--primary); font-size: 8px; }
.tbar-panel-heading h2 { margin: 2px 0 0; font-size: 20px; }
.tbar-panel-heading > a { color: #9e9991; font-size: 8px; }
.tbar-products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tbar-products-grid .product-card { border-color: rgba(255,255,255,.08); border-radius: 15px; background: #1a1c1b; box-shadow: none; }
.tbar-products-grid .product-card__visual { height: 165px; border-radius: 13px 13px 5px 5px; background: radial-gradient(circle at 50% 70%, rgba(212,161,95,.1), transparent 50%), #131514; }
.tbar-products-grid .product-packshot__pack { width: 76px; height: 112px; }
.tbar-products-grid .product-packshot__pack b { font-size: 6px; }
.tbar-products-grid .product-packshot__pack small { font-size: 5px; }
.tbar-products-grid .product-card__body { padding: 10px; }
.tbar-products-grid .product-card h3 { color: #e9e4dc; font-size: 9px; }
.tbar-products-grid .product-card__body > p, .tbar-products-grid .mini-rating, .tbar-products-grid .quick-view { display: none; }
.tbar-products-grid .product-card__footer { margin-top: 8px; }
.tbar-products-grid .price strong { color: var(--gold-soft); font-size: 9px; }
.tbar-products-grid .add-button { width: 31px; height: 31px; border: 1px solid rgba(212,161,95,.3); color: var(--primary); background: rgba(212,161,95,.08); box-shadow: none; }
.tbar-products-grid .product-badge, .tbar-products-grid .discount-bubble { font-size: 6px; }

.tbar-service-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 16px; margin-bottom: 28px; padding: 13px 20px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: #161817; }
.tbar-service-strip > div { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; }
.tbar-service-strip > div + div { border-right: 1px solid rgba(255,255,255,.07); }
.tbar-service-strip > div > span { width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid rgba(212,161,95,.35); border-radius: 50%; color: var(--primary); }
.tbar-service-strip p { display: grid; margin: 0; }
.tbar-service-strip strong { font-size: 9px; }
.tbar-service-strip small { color: #817e78; font-size: 7px; }

/* Shared pages in the same dark T-Bar language. */
.page-hero, .checkout-header { border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #191b1a, #101212); }
.page-hero--menu::after { color: rgba(212,161,95,.05); }
.menu-toolbar-section { background: rgba(13,15,15,.92); border-color: var(--line); }
.search-box, .header-search, .category-chip, .filter-toggle, .compact-select select { color: var(--ink); border-color: var(--line); background: #181a19; }
.header-search:focus-within, .search-box:focus-within {
  border-color: var(--primary);
  background: var(--surface-strong);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.header-search input, .search-box input { color-scheme: dark; caret-color: var(--gold-soft); }
.category-chip:hover, .category-chip:focus-visible { color: var(--gold-soft); border-color: var(--primary); background: var(--primary-soft); }
.category-chip.is-active { color: #18130d; border-color: var(--primary); background: var(--primary); }
.section--offers { background: #111313; }
.product-card, .cart-panel, .order-summary, .checkout-card, .checkout-summary, .detail-card, .order-card, .success-card, .profile-stat { color: var(--ink); border-color: var(--line); background: var(--surface); }
.product-card__visual { background: radial-gradient(circle at 50% 70%, rgba(212,161,95,.1), transparent 50%), #121413; }
.product-card__image { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; background: #121413; transition: transform .45s var(--ease), opacity .2s ease; }
.product-card:hover .product-card__image { transform: scale(1.035); }
.product-card__visual::after { z-index: 2; }
.product-badge, .discount-bubble { z-index: 3; }
.quick-view { z-index: 4; }
.product-modal__visual .product-modal__image { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; padding: 18px; object-fit: contain; background: #111313; }
.product-card__body > p, .section-heading p, .page-hero p { color: var(--muted); }
.field input, .field textarea, .field select, .coupon-box input { color: var(--ink); border-color: var(--line); background: #111313; }
.pickup-note, .detail-fact, .order-pickup-time, .pickup-success, .success-order-number { color: var(--ink); border-color: var(--line); background: #111313; }
.pickup-note small { font-size: 10px; line-height: 1.8; }
.tab-switcher { background: #0c0e0e; }
.catalog-inline-state { min-height: 250px; display: grid; place-content: center; gap: 8px; padding: 28px; color: var(--muted); text-align: center; }
.catalog-inline-state strong { color: var(--ink); font-size: 14px; }
.catalog-inline-state span { max-width: 310px; font-size: 10px; line-height: 1.9; }
.catalog-inline-state--error strong, .empty-state--error h2 { color: #df9d78; }
.tab-switcher button.is-active { color: #17120c; background: var(--primary); }
.site-footer { color: #ddd7ce; border-top: 1px solid rgba(255,255,255,.07); background: #090b0b; }
.site-footer p, .site-footer a, .footer-bottom { color: #88847e; }
.site-footer .brand__mark { color: #17120c; background: var(--primary); }
.mobile-nav { border-color: rgba(212,161,95,.16); background: rgba(17,19,18,.96); }
.mobile-cart-fab { border-color: #0d0f0f; color: #15100b; background: var(--primary); }
.cart-drawer, .product-modal { color: var(--ink); background: #151716; }
.drawer-item, .addons label { border-color: var(--line); }
.product-modal .nutrition-row span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  color: #f0d2a1;
  border: 1px solid rgba(212,161,95,.38);
  background: rgba(212,161,95,.13);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.6;
}
.product-modal .nutrition-row span::before {
  content: "✓";
  width: 20px;
  height: 20px;
  display: grid;
  flex: 0 0 20px;
  place-items: center;
  color: #16110b;
  border-radius: 7px;
  background: var(--gold-soft);
  font-size: 11px;
  font-weight: 900;
}

/* Design QA: semantic states, controls and feedback */
:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.button--primary {
  color: var(--on-primary);
  background: linear-gradient(105deg, #ecc98f, #c88d49);
  box-shadow: 0 12px 28px rgba(184, 125, 61, .2);
}
.button--primary:hover {
  color: #0d0b08;
  background: linear-gradient(105deg, #f3d7a5, #d89b55);
  box-shadow: 0 16px 36px rgba(184, 125, 61, .3);
}
.button--outline { color: var(--ink-soft); border-color: rgba(212,161,95,.28); background: transparent; }
.button--outline:hover { color: var(--gold-soft); border-color: var(--primary); background: var(--primary-soft); }
.button--ghost { color: var(--ink-soft); border-color: var(--line); background: #111313; }
.button--dark { color: var(--ink); background: #090b0b; }
.button:disabled, .add-button:disabled, button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .48;
  transform: none;
  box-shadow: none;
}
.is-loading {
  pointer-events: none;
}
.button-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  vertical-align: middle;
  animation: tbar-spin .7s linear infinite;
}
.button-loading-label {
  padding: 0 !important;
  border: 0 !important;
  font-size: inherit !important;
  white-space: nowrap;
}

.menu-count { border-color: rgba(212,161,95,.22); background: rgba(212,161,95,.07); }
.menu-count strong { color: var(--gold-soft); }
.round-button, .scroll-top {
  color: var(--gold-soft);
  border-color: rgba(212,161,95,.24);
  background: #171918;
}
.round-button:hover, .scroll-top:hover { color: var(--on-primary); background: var(--primary); }
.text-button--danger { color: var(--danger); }
.text-button--danger:hover { color: #ffc1bc; }
.text-button--danger.is-armed { padding-inline: 10px; border-radius: 8px; color: #ffd0cc; background: var(--danger-soft); }
.button--muted { color: #f1f1ef; background: #555956; box-shadow: none; }
.button--muted:hover { background: #666b67; }
.text-button--muted { color: #aaa9a5; }
.text-button--muted:hover { color: #d0cfca; }
.remove-item { color: #8f8a83; background: #101212; }
.remove-item:hover { color: var(--danger); background: var(--danger-soft); }
.coupon-box button { color: var(--on-primary); background: var(--primary); font-weight: 800; }
.coupon-box button:hover { background: #e0b06f; }
.summary-row--success, .summary-row--success b { color: var(--success); }

.field input, .field textarea, .field select, .coupon-box input, .compact-select select { color-scheme: dark; }
.field input[type="tel"] { direction: ltr; text-align: right; }
.checkout-form .field input[name="phone"] { direction: ltr; text-align: left; }
.field input::placeholder, .field textarea::placeholder, .coupon-box input::placeholder { color: #716d67; opacity: 1; }
.field input:focus, .field textarea:focus, .field select:focus, .coupon-box input:focus, .compact-select select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--focus-ring);
}
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select, .field input[aria-invalid="true"] {
  border-color: var(--danger);
  background: linear-gradient(90deg, var(--danger-soft), #111313 30%);
  box-shadow: 0 0 0 3px rgba(255,141,133,.08);
}
.field small[data-error] {
  min-height: 17px;
  color: var(--danger);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.7;
}

.addons input {
  appearance: none;
  width: 18px;
  height: 18px;
  display: grid;
  place-content: center;
  flex: 0 0 auto;
  margin: 0;
  border: 1px solid #77716a;
  border-radius: 5px;
  background: #0d0f0f;
  cursor: pointer;
}
.addons input::before {
  content: "✓";
  color: var(--on-primary);
  font-size: 12px;
  font-weight: 900;
  transform: scale(0);
  transition: transform .16s ease;
}
.addons input:checked { border-color: var(--primary); background: var(--primary); }
.addons input:checked::before { transform: scale(1); }

.toast-stack { isolation: isolate; }
.toast {
  min-height: 54px;
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.1);
  border-right-width: 3px;
  background: rgba(24,27,25,.96);
  box-shadow: 0 18px 50px rgba(0,0,0,.4);
  backdrop-filter: blur(18px);
}
.toast--success { border-right-color: var(--success); }
.toast--error { border-right-color: var(--danger); }
.toast--warning { border-right-color: var(--warning); }
.toast__icon { color: #07110b; background: var(--success); }
.toast--error .toast__icon { color: #1d0807; background: var(--danger); }
.toast--warning .toast__icon { color: #181107; background: var(--warning); }
.toast span:last-child { color: var(--ink-soft); font-size: 11px; line-height: 1.7; }
.confirm-backdrop { background: rgba(0,0,0,.66); backdrop-filter: blur(8px); }
.confirm-dialog { border-color: rgba(226,185,126,.18); background: #181b19; box-shadow: 0 28px 80px rgba(0,0,0,.58); }
.confirm-dialog__icon { color: #171311; background: var(--gold-soft); }
.confirm-dialog__content .eyebrow { color: var(--gold-soft); }
.confirm-dialog__content p { color: var(--ink-soft); }
.confirm-dialog__actions .button--ghost { border: 1px solid var(--line); background: #101211; }

.checkout-card__title > span, .profile-avatar { color: var(--on-primary); }
.checkout-steps .is-done { color: var(--success); }
.demo-notice span { color: #07110b; background: var(--success); }
.success-page { background: radial-gradient(circle at 50% 30%, rgba(212,161,95,.09), transparent 45%), var(--bg); }
.success-burst > span, .success-progress > div.is-active > span, .timeline-step.is-done > span {
  color: #06100a;
  background: var(--success);
  border-color: var(--success);
}
.order-status { color: #211609; background: var(--warning); }
.order-status--success { color: #06100a; background: var(--success); }
.error-code {
  color: rgba(212,161,95,.11);
  text-shadow: 0 0 55px rgba(212,161,95,.05);
}
.skeleton { background: #1b1d1c; }
.skeleton::after { background: linear-gradient(90deg, transparent, rgba(212,161,95,.11), transparent); }

@keyframes tbar-spin { to { transform: rotate(360deg); } }

@media (max-width: 1180px) {
  .tbar-slide__content { right: 250px; width: 40%; }
  .tbar-categories { grid-auto-columns: calc((100% - 24px) / 3); }
  .tbar-featured { grid-template-columns: 1fr 2fr; }
  .tbar-promo--cold { display: none; }
  .tbar-products-grid { grid-template-columns: repeat(2, 1fr); }
  .tbar-products-grid .product-card:nth-child(n+3) { display: none; }
}

@media (max-width: 820px) {
  .tbar-header__top { height: 70px; grid-template-columns: 1fr auto 1fr; gap: 12px; }
  .tbar-brand > svg { width: 40px; height: 40px; }
  .tbar-brand strong { font-size: 19px; }
  .tbar-brand small { font-size: 5px; letter-spacing: 2px; }
  .tbar-search { width: 43px; padding: 0; justify-content: center; }
  .tbar-search input { display: none; }
  .tbar-grid-button, .tbar-login span { display: none; }
  .tbar-login { width: 43px; padding: 0; justify-content: center; }
  .tbar-account__chevron { display: none; }
  .tbar-account-menu { position: fixed; top: auto; right: 14px; bottom: 82px; left: 14px; width: auto; }
  .tbar-nav .shell { gap: 30px; overflow-x: auto; justify-content: flex-start; }
  .tbar-nav a { flex: 0 0 auto; }
  .tbar-hero { width: 100%; margin-top: 0; }
  .tbar-hero__viewport { min-height: 560px; border-width: 0 0 1px; border-radius: 0 0 27px 27px; }
  .tbar-slide { background-position: 24% center; }
  .tbar-slide::before { background: linear-gradient(180deg, rgba(11,12,12,.97) 0%, rgba(11,12,12,.82) 48%, rgba(11,12,12,.22) 100%); }
  .tbar-slide__content { top: 48px; right: 28px; left: 28px; width: auto; transform: none; }
  .tbar-slide h1 { font-size: 48px; }
  .tbar-hero__benefits { display: none; }
  .tbar-featured { grid-template-columns: 1fr; }
  .tbar-promo--origin { min-height: 300px; }
  .tbar-service-strip { grid-template-columns: repeat(2, 1fr); }
  .tbar-service-strip > div + div { border-right: 0; }
  .tbar-service-strip > div:nth-child(even) { border-right: 1px solid rgba(255,255,255,.07); }
  .checkout-form { grid-row: 1; }
  .checkout-summary { grid-row: auto; }
}

@media (max-width: 580px) {
  .tbar-header__tools { flex-direction: row-reverse; justify-content: flex-end; }
  .tbar-header__actions { justify-content: flex-start; }
  .tbar-brand > span { display: none; }
  .tbar-nav .shell { height: 42px; gap: 23px; padding-inline: 3px; }
  .tbar-nav a { font-size: 9px; }
  .tbar-hero__viewport { min-height: 520px; }
  .tbar-slide { background-position: 27% center; }
  .tbar-slide__content { top: 36px; right: 20px; left: 20px; }
  .tbar-slide__eyebrow { font-size: 8px; }
  .tbar-slide h1 { font-size: 39px; }
  .tbar-slide h2 { margin-top: 10px; font-size: 20px; }
  .tbar-slide p { max-width: 270px; font-size: 9px; }
  .tbar-cta { min-height: 45px; font-size: 10px; }
  .tbar-category-carousel { margin-top: 9px; gap: 5px; }
  .tbar-category-carousel.has-overflow { grid-template-columns: 26px minmax(0, 1fr) 26px; }
  .tbar-category-arrow { width: 26px; height: 36px; border-radius: 9px; }
  .tbar-categories { grid-auto-columns: min(85%, 240px); gap: 8px; }
  .tbar-category { grid-template-columns: 43px 1fr 13px; min-height: 64px; padding: 8px; border-radius: 13px; }
  .tbar-category__icon { width: 43px; height: 43px; font-size: 19px; }
  .tbar-featured { gap: 9px; margin-top: 9px; }
  .tbar-promo--origin { min-height: 260px; padding: 21px; }
  .tbar-products-panel { min-height: 0; padding: 14px; }
  .tbar-products-grid { grid-template-columns: repeat(2, 1fr); }
  .tbar-products-grid .product-card:nth-child(n+3) { display: block; }
  .tbar-products-grid .product-card__visual { height: 150px; }
  .tbar-service-strip { margin-top: 9px; padding: 8px; }
  .tbar-service-strip > div { justify-content: flex-start; padding: 6px; }
  .tbar-service-strip strong { font-size: 8px; }
}

/* Readability pass: keep the premium density while improving Persian legibility. */
.tbar-nav a { font-size: 12px; }
.tbar-slide__eyebrow { font-size: 11px; }
.tbar-slide p { font-size: 14px; line-height: 2; }
.tbar-hero__benefits strong { font-size: 11px; }
.tbar-hero__benefits small { font-size: 9px; line-height: 1.7; }
.tbar-category strong { font-size: 12px; }
.tbar-category small { margin-top: 2px; font-size: 8.5px; }
.tbar-promo span { font-size: 10px; }
.tbar-promo p { font-size: 10.5px; line-height: 1.8; }
.tbar-promo b { font-size: 9.5px; }
.tbar-panel-heading span { font-size: 9.5px; }
.tbar-panel-heading h2 { font-size: 22px; }
.tbar-panel-heading > a { font-size: 9.5px; }
.tbar-products-grid .product-card h3 { font-size: 11.5px; line-height: 1.75; }
.tbar-products-grid .price strong { font-size: 11px; }
.tbar-products-grid .product-badge,
.tbar-products-grid .discount-bubble { font-size: 7px; }
.tbar-service-strip strong { font-size: 10.5px; }
.tbar-service-strip small { font-size: 8.5px; line-height: 1.7; }

.product-card h3 { font-size: 14px; line-height: 1.75; }
.product-card__body > p { height: 44px; font-size: 10.5px; line-height: 2; }
.price strong { font-size: 13px; }
.product-badge, .quick-view { font-size: 9px; }
.breadcrumb, .result-heading > span { font-size: 10px; }
.page-hero p { font-size: 12px; line-height: 2; }

.drawer-item__info strong { font-size: 12px; line-height: 1.7; }
.drawer-item__info small { font-size: 9px; }
.drawer-item__info b { font-size: 11px; }
.cart-item__main strong { font-size: 15px; line-height: 1.7; }
.cart-item__main small { font-size: 9.5px; }
.cart-item__main > span { font-size: 12px; }
.field > span { font-size: 10.5px; }
.checkout-mini-item strong { font-size: 11px; line-height: 1.7; }
.checkout-mini-item small { font-size: 8.5px; }
.checkout-mini-item > b { font-size: 9.5px; }
.detail-item strong { font-size: 11.5px; line-height: 1.7; }
.detail-item small { font-size: 9px; }
.detail-item > b { font-size: 10px; }
.order-card__header strong { font-size: 13px; }
.order-card__header small { font-size: 9px; }
.order-card__side span { font-size: 9px; }
.order-card__side strong { font-size: 16px; }
.order-card__side a { font-size: 9.5px; }
.modal-add-button {
  min-height: 52px;
  padding-inline: 22px;
  font-size: 14px;
}
.modal-add-button > span {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  padding-right: 16px;
  border-right-color: rgba(23,18,12,.24);
  font-size: 11.5px;
  font-weight: 750;
}
.modal-add-button > span b { font-size: 13.5px; font-weight: 900; }

@media (max-width: 580px) {
  .tbar-nav a { font-size: 10px; }
  .tbar-slide__eyebrow { font-size: 9.5px; }
  .tbar-slide p { max-width: 290px; font-size: 11px; }
  .tbar-category strong { font-size: 10.5px; }
  .tbar-category small { font-size: 8px; }
  .product-card h3,
  .tbar-products-grid .product-card h3 { font-size: 12px; }
  .product-card__body > p { height: 39px; font-size: 9.5px; }
  .price strong,
  .tbar-products-grid .price strong { font-size: 11.5px; }
  .cart-item__main strong { font-size: 13px; }
  .field > span { font-size: 10px; }
  .modal-add-button { padding-inline: 18px; font-size: 13.5px; }
  .modal-add-button > span { padding-right: 12px; font-size: 11px; }
  .modal-add-button > span b { font-size: 13px; }
}

/* Compact hour, minute and AM/PM selectors with a live pickup-time preview. */
.pickup-field { min-width: 0; gap: 10px; }
.pickup-field__heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.pickup-field__heading > span:first-child { color: var(--ink); font-size: 14px; font-weight: 700; }
.pickup-picker { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.pickup-clock { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr); gap: 12px; }
.pickup-clock__field { display: grid; gap: 7px; min-width: 0; }
.pickup-clock__field > span:first-child { color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.pickup-clock__control { position: relative; display: block; min-width: 0; }
.pickup-clock__control > svg { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; color: var(--primary); pointer-events: none; transform: translateY(-50%); }
.pickup-field .pickup-clock select { min-width: 0; min-height: 54px; padding: 10px 12px 10px 34px; appearance: none; color: var(--gold-soft); border-color: var(--line); border-radius: 12px; background: var(--surface); font-size: 16px; font-weight: 600; cursor: pointer; }
.pickup-field .pickup-clock select:invalid { color: var(--muted); }
.pickup-field .pickup-clock select:hover { border-color: var(--primary); }
.pickup-field .pickup-clock select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--focus-ring); }
.pickup-field .pickup-clock select[aria-invalid="true"] { border-color: var(--danger); background: var(--danger-soft); }
.pickup-clock select option { color: var(--ink); background: var(--surface); }
.pickup-selection { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.pickup-selection > svg { flex: 0 0 24px; width: 24px; color: var(--muted); }
.pickup-selection > div { display: grid; flex: 1; gap: 2px; }
.pickup-selection > div > span { color: var(--muted); font-size: 11px; }
.pickup-selection strong { color: var(--ink-soft); font-size: 14px; font-weight: 600; text-wrap: balance; }
.pickup-selection__check { visibility: hidden; display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; color: var(--gold-soft); background: var(--primary-soft); }
.pickup-selection.has-selection strong, .pickup-selection.has-selection > svg { color: var(--gold-soft); }
.pickup-selection.has-selection .pickup-selection__check { visibility: visible; }
.pickup-field__help { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.9; }
.pickup-field.is-invalid .pickup-picker { border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-soft); }
.pickup-field > small[data-error] { font-size: 12px; }
.pickup-field > small[data-error]:empty { display: none; }
@media (max-width: 580px) {
  .pickup-picker { padding: 12px; border-radius: 16px; }
  .pickup-clock { gap: 8px; }
  .pickup-field .pickup-clock select { padding-right: 8px; padding-left: 25px; }
  .pickup-clock__control > svg { left: 7px; width: 14px; }
  .pickup-clock__field--period { grid-column: 3; }
}
@media (max-width: 380px) {
  .pickup-clock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pickup-clock__field--period { grid-column: 1 / -1; }
}

.account-login-page { min-height: calc(100dvh - 210px); display: grid; align-items: center; padding-block: 52px 70px; background: radial-gradient(circle at 50% 20%, rgba(212,161,95,.08), transparent 38%); }
.account-shell { max-width: 540px; }
.account-login-card { position: relative; overflow: hidden; padding: 38px; border-radius: 28px; text-align: center; }
.account-login-card::before { content: ""; position: absolute; top: 0; right: 15%; left: 15%; height: 1px; background: linear-gradient(90deg, transparent, var(--primary), transparent); }
.account-login-mark { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 18px; color: var(--gold-soft); border: 1px solid rgba(212,161,95,.26); border-radius: 19px; background: var(--primary-soft); }
.account-login-mark svg { width: 36px; fill: none; stroke: currentColor; stroke-width: 2; }
.account-login-heading { display: grid; justify-items: center; gap: 7px; }
.account-login-heading .eyebrow { color: var(--primary); }
.account-login-heading h1 { margin: 0; font-size: 28px; }
.account-login-heading p { max-width: 390px; margin: 0; color: var(--muted); font-size: 12px; line-height: 2; }
.account-login-heading p b { color: var(--gold-soft); font-weight: 700; }
.account-mobile-field { margin: 26px auto 20px; text-align: right; }
.account-mobile-field input { min-height: 54px; text-align: center; font-size: 17px; letter-spacing: 1px; }
.account-login-action { display: flex; justify-content: center; }
.account-login-action .button, .account-login-submit { width: min(280px, 100%); min-height: 52px; }
.account-code-section { position: relative; }
.account-change-mobile { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 18px; padding: 0; color: var(--muted); border: 0; background: transparent; font-size: 11px; cursor: pointer; }
.account-change-mobile:hover { color: var(--gold-soft); }
.account-change-mobile svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.account-code-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 3px; color: var(--gold-soft); border-radius: 15px; background: var(--primary-soft); font-size: 18px; font-weight: 900; }
.otp-inputs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 28px 0 22px; }
.otp-inputs input { width: 100%; min-width: 0; height: 58px; padding: 0; color: var(--ink); border: 1px solid var(--line); border-radius: 13px; outline: 0; background: #111313; caret-color: var(--gold-soft); font-family: inherit; font-size: 22px; font-weight: 800; text-align: center; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.otp-inputs input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--focus-ring); transform: translateY(-2px); }
.otp-inputs input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-soft); }
.account-resend { min-height: 25px; display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 17px; color: var(--muted); font-size: 10px; }
.account-resend button { padding: 0; color: var(--gold-soft); border: 0; background: transparent; font: inherit; font-weight: 700; cursor: pointer; }
.account-resend button:disabled { color: var(--muted); cursor: default; }
.account-shell [data-login-message] { min-height: 24px; margin: 16px 0 0; color: var(--muted); font-size: 11px; line-height: 2; }
.account-shell [data-login-message].is-success { color: var(--success); }
.account-shell [data-login-message].is-error { color: var(--danger); }
@media (max-width: 520px) {
  .account-login-page { align-items: start; padding-block: 24px 45px; }
  .account-login-card { padding: 28px 18px; border-radius: 22px; }
  .account-login-heading h1 { font-size: 24px; }
  .otp-inputs { gap: 6px; }
  .otp-inputs input { height: 52px; border-radius: 11px; font-size: 19px; }
}
.detail-fact b, .success-order-number strong, .order-card__header strong { overflow-wrap: anywhere; }

/* Admin orders: server-rendered, responsive and consistent with the storefront. */
.admin-orders-heading { min-height: 230px; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 35px; }
.admin-orders-heading h1 { margin: 8px 0 5px; font-size: clamp(30px, 4vw, 48px); }
.admin-orders-heading .eyebrow { color: var(--primary); }
.admin-orders-count { min-width: 175px; display: grid; gap: 3px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.025); text-align: center; }
.admin-orders-count span { color: var(--muted); font-size: 11px; }
.admin-orders-count strong { color: var(--gold-soft); font-size: 34px; }
.admin-orders-section { min-height: 420px; padding-block: 36px 70px; }
.admin-order-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; padding: 6px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.admin-order-tabs button { min-height: 42px; flex: 1; padding: 8px 18px; color: var(--muted); border: 0; border-radius: 11px; background: transparent; font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; transition: color .2s ease, background .2s ease; }
.admin-order-tabs button:hover:not(:disabled) { color: var(--ink); background: rgba(255,255,255,.04); }
.admin-order-tabs button.is-active { color: #171311; background: var(--gold-soft); }
.admin-order-tabs button:disabled { cursor: wait; opacity: .65; }
.admin-orders-loading { margin-bottom: 14px; color: var(--gold-soft); font-size: 10px; text-align: center; }
.admin-alert { margin-bottom: 18px; padding: 14px 18px; border: 1px solid; border-radius: 14px; font-size: 12px; }
.admin-alert--success { color: var(--success); border-color: rgba(121,201,154,.28); background: var(--success-soft); }
.admin-table-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-sm); }
.admin-table-scroll { overflow-x: auto; }
.admin-orders-table { width: 100%; min-width: 1040px; border-collapse: collapse; }
.admin-orders-table th { padding: 15px 18px; color: var(--muted); border-bottom: 1px solid var(--line); background: #111313; font-size: 10px; font-weight: 700; text-align: right; white-space: nowrap; }
.admin-orders-table td { padding: 18px; border-bottom: 1px solid rgba(226,185,126,.09); font-size: 11px; vertical-align: middle; }
.admin-orders-table tbody tr:last-child td { border-bottom: 0; }
.admin-orders-table tbody tr:hover { background: rgba(212,161,95,.025); }
.admin-orders-table td > strong, .admin-orders-table td > small { display: block; }
.admin-orders-table td > small { margin-top: 5px; color: var(--muted); font-size: 8px; }
.admin-order-reference { text-align: right; }
.admin-order-reference > .admin-order-number, .admin-order-reference > small { width: 100%; text-align: right; unicode-bidi: isolate; }
.admin-order-number { color: var(--gold-soft); overflow-wrap: anywhere; }
.admin-customer-mobile { display: inline-block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.admin-customer-mobile:hover { color: var(--gold-soft); }
.admin-payment-status, .admin-status { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 10px; border-radius: 20px; white-space: nowrap; }
.admin-payment-status { color: var(--warning); background: var(--warning-soft); }
.admin-status--registered { color: var(--warning); background: var(--warning-soft); }
.admin-status--delivered { color: var(--success); background: var(--success-soft); }
.admin-status--cancelled { color: var(--danger); background: var(--danger-soft); }
.admin-order-action { width: 230px; }
.admin-order-actions { display: flex; align-items: center; gap: 8px; }
.admin-order-actions form { margin: 0; }
.admin-order-action .button { min-height: 38px; padding-inline: 15px; border: 0; border-radius: 11px; font-size: 10px; cursor: pointer; white-space: nowrap; }
.admin-action-done { color: var(--muted); font-size: 9px; white-space: nowrap; }
.admin-orders-empty { padding-block: 75px; }

@media (max-width: 760px) {
  .admin-orders-heading { min-height: 0; align-items: stretch; flex-direction: column; padding-block: 28px; }
  .admin-orders-count { min-width: 0; grid-template-columns: 1fr auto; align-items: center; padding: 16px 18px; text-align: right; }
  .admin-orders-count strong { font-size: 26px; }
  .admin-table-card, .admin-table-scroll { overflow: visible; border: 0; background: transparent; box-shadow: none; }
  .admin-orders-table { min-width: 0; }
  .admin-orders-table thead { display: none; }
  .admin-orders-table, .admin-orders-table tbody, .admin-orders-table tr, .admin-orders-table td { display: block; width: 100%; }
  .admin-orders-table tr { margin-bottom: 16px; padding: 11px 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
  .admin-orders-table td { display: grid; grid-template-columns: 95px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(226,185,126,.08); text-align: left; }
  .admin-orders-table td::before { content: attr(data-label); color: var(--muted); font-size: 9px; text-align: right; }
  .admin-orders-table tbody tr:last-child td { border-bottom: 1px solid rgba(226,185,126,.08); }
  .admin-orders-table td:last-child { border-bottom: 0; }
  .admin-orders-table td > strong, .admin-orders-table td > small { text-align: left; }
  .admin-order-action { width: auto; }
  .admin-order-action .button { width: 100%; }
}

/* Retained styles for a future payment provider page. */
.demo-payment-page { max-width: 620px; padding-top: 40px; padding-bottom: 60px; }
.demo-gateway { overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-md); }
.demo-gateway__header { padding: 28px 32px 0; text-align: center; }
.demo-gateway__header h1 { margin: 8px 0 0; font-size: 28px; }
.demo-gateway__summary { min-width: 0; padding: 0 32px; }
.demo-gateway__amount { display: grid; gap: 9px; margin: 28px 0; text-align: center; }
.demo-gateway__amount > span { color: var(--muted); font-size: 14px; }
.demo-gateway__amount > strong { color: var(--gold-soft); font-size: 34px; line-height: 1.5; }
.demo-gateway__amount small { font-size: 15px; font-weight: 400; }
.demo-payment-facts { display: grid; gap: 16px; margin: 0; }
.demo-payment-facts > div { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.demo-payment-facts dt { color: var(--muted); }
.demo-payment-facts dd { margin: 0; overflow-wrap: anywhere; }
.demo-gateway__form { padding: 26px 32px; }
.demo-gateway__form > .button { min-height: 54px; font-size: 17px; }
.demo-gateway__form > .demo-notice { margin-bottom: 0; text-align: center; }
.demo-payment-error { padding: 13px 16px; color: var(--danger); border: 1px solid var(--danger); border-radius: 12px; background: var(--danger-soft); font-size: 13px; line-height: 1.9; }
.demo-payment-success { padding: 13px 16px; color: var(--success); border: 1px solid rgba(73, 174, 112, .45); border-radius: 12px; background: rgba(73, 174, 112, .1); font-size: 13px; line-height: 1.9; text-align: center; }
@media (max-width: 700px) {
  .demo-payment-page { padding-top: 24px; }
  .demo-gateway__header { padding: 24px 20px 0; }
  .demo-gateway__header h1 { font-size: 24px; }
  .demo-gateway__summary { padding: 0 20px; }
  .demo-gateway__form { padding: 24px 20px; }
}
