:root {
  /* Core design tokens for final polish pass */
  --bg: #f6f7f9;
  --card: #ffffff;
  --border: rgba(0, 0, 0, 0.06);
  --text: #111111;
  --muted: #6b7280;
  --accent: #e30613;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 22px;
  --shadow-sm: 0 6px 16px rgba(12, 18, 30, 0.08);
  --shadow-md: 0 14px 32px rgba(12, 18, 30, 0.12);
  --shadow: var(--shadow-md);
  --shadow-soft: var(--shadow-sm);
  --line: var(--border);
  --accent-strong: #bc0712;
  --accent-soft: rgba(227, 6, 19, 0.12);
  --accent-warm: #ff6249;
  --success: #1d9b52;
  --danger: #c8243e;
  --sticky-category-offset: 96px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #f4f4f2;
  color: var(--text);
  font-family: "Montserrat", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.4;
  padding: 0 0 calc(132px + env(safe-area-inset-bottom));
}

.bg-orb {
  position: fixed;
  pointer-events: none;
  z-index: -1;
  filter: blur(80px);
  opacity: 0.35;
}

.bg-orb-a {
  width: 320px;
  height: 320px;
  left: -140px;
  top: -120px;
  background: rgba(227, 6, 19, 0.6);
}

.bg-orb-b {
  width: 380px;
  height: 380px;
  right: -180px;
  top: 25%;
  background: rgba(255, 126, 86, 0.48);
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.05);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(1.12rem, 3.2vw, 1.45rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.05rem, 2.8vw, 1.28rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(0.98rem, 2.3vw, 1.1rem);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.field {
  display: grid;
  gap: 6px;
}

.field > span {
  font-size: 0.81rem;
  color: var(--muted);
}

input,
textarea,
button,
select {
  font: inherit;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  min-height: 46px;
  background: #fff;
  color: var(--text);
  padding: 10px 12px;
}

textarea {
  min-height: 84px;
  resize: vertical;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible,
button:focus-visible {
  outline: 2px solid color-mix(in oklab, var(--accent) 65%, white);
  outline-offset: 2px;
}

input.field-error,
textarea.field-error,
select.field-error {
  border-color: rgba(200, 36, 62, 0.9);
  background: rgba(200, 36, 62, 0.06);
  box-shadow: 0 0 0 3px rgba(200, 36, 62, 0.12);
}

.btn {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text);
  font-weight: 700;
  padding: 0 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

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

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

.btn:disabled {
  opacity: 0.64;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(130deg, var(--accent-strong), var(--accent), var(--accent-warm));
  box-shadow: 0 10px 22px rgba(227, 6, 19, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 14px 26px rgba(227, 6, 19, 0.34);
}

.btn-ghost {
  background: #f6f7fa;
}

.topbar {
  position: sticky;
  top: 10px;
  z-index: 20;
  padding: 12px;
  display: grid;
  gap: 8px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(680px 180px at 88% -34%, rgba(227, 6, 19, 0.1), transparent 60%),
    #fff;
  border-bottom: 1px solid rgba(21, 29, 42, 0.12);
}

.header-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: 72px;
  height: 54px;
  border-radius: 0;
  border: 0;
  background: transparent;
  display: grid;
  place-items: start center;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.subline {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

.discover-search input {
  padding-left: 38px;
  min-height: 44px;
  border-radius: 14px;
  border-color: rgba(17, 24, 39, 0.08);
  background: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 10px 24px rgba(17, 24, 39, 0.04);
}

.search-wrap {
  position: relative;
}

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

.discover-search input:focus-visible {
  border-color: color-mix(in oklab, var(--accent) 54%, white);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.12);
}

.topbar-right {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, auto);
  gap: 8px;
}

.m-nav-btn {
  display: none;
}

.m-drawer,
.m-drawer-backdrop {
  display: none;
}

.account-menu {
  position: relative;
}

.account-btn {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 4px;
  text-align: left;
  background: #fff;
  font-size: 0.88rem;
}

.account-btn small {
  font-size: 0.77rem;
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 240px;
  padding: 8px;
  z-index: 25;
  border-radius: 14px;
  box-shadow: 0 16px 30px rgba(16, 20, 28, 0.16);
}

.account-link {
  display: block;
  width: 100%;
  border: 0;
  text-decoration: none;
  color: var(--text);
  text-align: left;
  border-radius: 10px;
  background: transparent;
  padding: 10px;
  cursor: pointer;
  font-weight: 600;
}

.account-link:hover {
  background: var(--accent-soft);
}

.header-cart-btn {
  min-height: 42px;
  border: 1px solid color-mix(in oklab, var(--accent) 24%, var(--line));
  border-radius: 14px;
  background:
    radial-gradient(140px 52px at 90% 0%, rgba(227, 6, 19, 0.12), transparent 60%),
    #fff;
  color: var(--text);
  cursor: pointer;
  display: grid;
  justify-items: end;
  align-content: center;
  padding: 5px 10px;
  line-height: 1.1;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.header-cart-btn:hover {
  transform: translateY(-1px);
  border-color: color-mix(in oklab, var(--accent) 36%, var(--line));
  box-shadow: var(--shadow-soft);
}

.header-cart-btn.bump {
  animation: bumpCart 0.24s ease;
}

@keyframes bumpCart {
  0% { transform: scale(1); }
  60% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.header-cart-btn span {
  color: var(--muted);
  font-size: 0.74rem;
}

.header-cart-btn b {
  font-size: 0.96rem;
}

.sticky-category {
  position: sticky;
  top: calc(var(--sticky-category-offset) + env(safe-area-inset-top));
  z-index: 18;
  margin-top: 8px;
  padding: 4px 6px 6px;
  border-radius: var(--radius);
}

.sticky-category-inner {
  display: grid;
  gap: 6px;
}

.sticky-category-btn {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  min-height: 34px;
  cursor: pointer;
}

.sticky-category-btn .label {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-size: 0.74rem;
}

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 1px 4px 4px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.chip {
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  scroll-snap-align: start;
}

.chip-name {
  font-weight: 650;
}

.chip-count {
  min-width: 22px;
  min-height: 22px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  padding: 0 5px;
  font-size: 0.73rem;
  background: #f2f4f8;
  border: 1px solid rgba(20, 26, 36, 0.12);
  color: var(--muted);
}

.chip:hover,
.chip.is-active {
  transform: translateY(-1px);
  border-color: rgba(227, 6, 19, 0.42);
  box-shadow: var(--shadow-md);
  color: var(--text);
}

.chip.is-active {
  background: var(--accent);
  color: #fff;
}

.chip.is-active .chip-count {
  background: rgba(255, 255, 255, 0.92);
  border-color: transparent;
  color: var(--accent-strong);
}

.chip-skeleton,
.product-skeleton {
  border-color: rgba(21, 29, 42, 0.07);
  background: linear-gradient(100deg, #f8f9fb 8%, #eff2f6 18%, #f8f9fb 33%);
  background-size: 280% 100%;
  animation: shimmer 1.2s linear infinite;
}

.product-skeleton {
  min-height: 102px;
}

@keyframes shimmer {
  to { background-position-x: -200%; }
}

.layout {
  display: grid;
  gap: 12px;
  margin-top: 0;
}

.content-col {
  display: grid;
  gap: 12px;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
}

.step,
.step-back {
  min-height: 38px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: #f6f7fa;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
}

.step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.step span {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  font-size: 0.75rem;
}

.step.is-active,
.step:hover {
  background: var(--accent-soft);
  color: var(--text);
  border-color: rgba(227, 6, 19, 0.24);
}

.step.is-active span {
  background: linear-gradient(120deg, rgba(227, 6, 19, 0.82), rgba(255, 98, 73, 0.72));
  color: #fff;
  border-color: transparent;
}

.dff-progress-track {
  height: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(26, 34, 48, 0.08);
  overflow: hidden;
}

.dff-progress-fill {
  height: 100%;
  width: 34%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
  transition: width 0.2s ease;
}

.discover {
  padding: 22px 26px 18px;
  display: grid;
  gap: 8px;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82));
}

.dff-promo-row {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.dff-badge {
  min-height: 30px;
  border-radius: 999px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(227, 6, 19, 0.3);
  background: rgba(227, 6, 19, 0.09);
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 0.76rem;
}

.dff-fries {
  font-size: 0.96rem;
}

.state {
  padding: 14px;
}

.promo-rail {
  padding: 10px;
  overflow: hidden;
}

.promo-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.promo-banner {
  position: relative;
  min-width: min(340px, 86vw);
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(227, 6, 19, 0.2);
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 230, 144, 0.44), transparent 44%),
    linear-gradient(145deg, rgba(227, 6, 19, 0.06), rgba(227, 6, 19, 0.02));
  scroll-snap-align: start;
}

.promo-banner p {
  color: var(--muted);
}

.promo-badge {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  padding: 0 9px;
  font-size: 0.72rem;
}

.config-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
}

.config-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(7, 12, 20, 0.52);
  cursor: pointer;
}

.configurator {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(720px, calc(100% - 18px));
  max-height: min(86vh, 760px);
  padding: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 26px 52px rgba(3, 9, 18, 0.3);
}

.config-head {
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  background:
    radial-gradient(540px 120px at 90% -30%, rgba(227, 6, 19, 0.12), transparent 60%),
    #fff;
}

.config-head .muted {
  margin-top: 4px;
  font-size: 0.88rem;
}

.config-groups {
  display: grid;
  gap: 10px;
  overflow: auto;
  padding: 12px 16px 16px;
  background: #fafbfc;
}

.config-group {
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 14px;
  padding: 10px 10px 8px;
  display: grid;
  gap: 7px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
}

.config-group > p {
  margin: 0;
  font-size: 0.92rem;
}

.config-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 12px;
  background: #fff;
  padding: 9px 10px;
}

.config-row:hover {
  border-color: rgba(227, 6, 19, 0.24);
  background: rgba(227, 6, 19, 0.03);
}

.config-row.is-selected {
  border-color: rgba(227, 6, 19, 0.46);
  background: rgba(227, 6, 19, 0.09);
  box-shadow: 0 10px 20px rgba(227, 6, 19, 0.14);
}

.config-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.config-row input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--accent);
}

.config-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  background: #fff;
}

.configurator .inline-error {
  margin: 0;
  border-radius: 0 0 20px 20px;
  border: 0;
  border-top: 1px solid rgba(200, 36, 62, 0.24);
}

body.config-open {
  overflow: hidden;
}

.product-grid {
  display: grid;
  gap: 18px;
}

.category-block {
  display: grid;
  gap: 14px;
}

.category-block + .category-block {
  margin-top: 38px;
}

.category-head {
  border: 1px solid rgba(227, 6, 19, 0.1);
  border-radius: 24px;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background:
    radial-gradient(circle at left top, rgba(227, 6, 19, 0.06), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 251, 249, 0.96));
  box-shadow:
    0 20px 40px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.category-head h3 {
  margin-top: 4px;
  font-size: clamp(1.28rem, 1.1rem + 0.4vw, 1.6rem);
  line-height: 1.05;
}

.category-count {
  min-width: 34px;
  min-height: 34px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #fff;
  color: var(--text);
  font-weight: 800;
  font-size: 0.82rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.category-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.product-card {
  position: relative;
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 252, 251, 0.97));
  overflow: hidden;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  min-height: 0;
  padding: 22px 78px 78px 22px;
  transform: scale(1);
  box-shadow:
    0 18px 44px rgba(15, 23, 42, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}

.product-card:hover {
  border-color: rgba(227, 6, 19, 0.26);
  box-shadow:
    0 24px 50px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(227, 6, 19, 0.04);
  transform: translateY(-4px);
}

.product-card.is-pressing {
  transform: scale(0.98);
}

.product-list-main {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 10px;
  align-content: start;
}

.product-list-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-right: 48px;
}

.product-card-actions {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.product-list-side {
  width: 0;
  min-width: 0;
  display: block;
}

.product-media {
  display: none;
}

.product-placeholder-icon {
  display: none;
}

.product-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.meta-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(227, 6, 19, 0.22);
  background: rgba(227, 6, 19, 0.1);
  color: var(--accent-strong);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.meta-tag.subtle {
  border-color: rgba(15, 23, 42, 0.08);
  background: #f5f5f3;
  color: #6b7280;
}

.product-card h3 {
  font-size: 1.3rem;
  line-height: 1.06;
  letter-spacing: -0.02em;
  display: block;
  overflow: visible;
  text-wrap: balance;
}

.price {
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 800;
  white-space: nowrap;
  text-align: right;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.product-desc {
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.96rem;
  line-height: 1.5;
}

.product-add {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 42px;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  background: linear-gradient(135deg, #ff422f, #eb1c24);
  color: #fff;
  font-weight: 900;
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 26px rgba(227, 6, 19, 0.26);
  padding: 0;
  z-index: 2;
  flex-shrink: 0;
}

.product-add:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 14px 28px rgba(227, 6, 19, 0.24);
}

.product-add:active {
  transform: scale(0.95);
}

/* Micro-interaction for add button */
.product-add.pulse {
  animation: pulse 0.22s ease;
}

@keyframes pulse {
  0% { transform: scale(1); }
  55% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.product-favorite {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  color: var(--text);
  font-size: 0.92rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  z-index: 2;
}

.product-favorite.is-on {
  color: var(--accent-strong);
  border-color: rgba(227, 6, 19, 0.32);
  background: rgba(227, 6, 19, 0.09);
}

.checkout-flow {
  display: grid;
  gap: 12px;
}

.dff-page-footer {
  margin: 34px clamp(18px, 3vw, 44px) 18px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  padding: 28px 0 8px;
}

.dff-page-footer-inner {
  display: grid;
  gap: 6px;
  justify-items: start;
}

.dff-page-footer-mark {
  margin: 0;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
}

.dff-page-footer-title {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.dff-page-footer-copy {
  color: var(--muted);
  max-width: 560px;
}

.flow-step {
  padding: 16px;
}

.flow-step > .muted {
  margin-top: 2px;
}

.details-layout {
  margin-top: 10px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
}

.details-main {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  background: linear-gradient(180deg, #ffffff, #fcfbfa);
  display: grid;
  gap: 14px;
}

.fulfillment-toggle {
  display: grid;
  gap: 8px;
}

.toggle {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.toggle.is-active {
  border-color: rgba(15, 23, 42, 0.18);
  background: linear-gradient(180deg, #fff8f5, #fff1eb);
  color: #111827;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 10px 24px rgba(227, 6, 19, 0.08);
}

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

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

.checkout-payment-layout {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

.checkout-payment-main,
.checkout-payment-side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.checkout-side-card {
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: linear-gradient(180deg, #ffffff, #fcfbfa);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.05);
}

.checkout-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.checkout-side-head .btn {
  width: auto;
  min-height: 38px;
}

.promo-row {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.promo-row .btn {
  width: auto;
  white-space: nowrap;
}

.delivery-info,
.summary {
  margin-top: 10px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #fbfbfa);
  padding: 14px 16px;
}

.summary {
  display: grid;
  gap: 8px;
}

.checkout-summary-card {
  position: relative;
  overflow: hidden;
  gap: 10px;
  padding: 18px 18px 16px;
  border-color: rgba(227, 6, 19, 0.12);
  background:
    radial-gradient(260px 110px at 100% 0%, rgba(227, 6, 19, 0.12), transparent 60%),
    linear-gradient(180deg, #fffdfa, #ffffff 38%, #fbfbfa 100%);
  box-shadow:
    0 20px 42px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.checkout-summary-head {
  display: grid;
  gap: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  margin-bottom: 2px;
}

.checkout-summary-head h3 {
  font-size: 1.2rem;
}

.checkout-summary-head .muted {
  max-width: 28ch;
  font-size: 0.9rem;
}

.summary > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}

.summary > div span {
  color: var(--muted);
}

.summary > div b {
  font-weight: 800;
}

.checkout-summary-card > div:not(.checkout-summary-head):not(.total) {
  padding: 4px 0;
}

.summary .total {
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  padding-top: 12px;
  font-size: 1.08rem;
}

.checkout-cart-flow {
  margin-top: 10px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #fbfbfa);
  padding: 12px 14px;
}

.checkout-cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.checkout-cart-head .btn {
  min-height: 34px;
  width: auto;
}

.checkout-cart-list {
  margin-top: 8px;
  display: grid;
  gap: 6px;
}

.checkout-cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.9rem;
}

.checkout-cart-total {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.pay-btn {
  margin-top: 10px;
  width: 100%;
  min-height: 54px;
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(227, 6, 19, 0.18);
  letter-spacing: 0.01em;
}

.checkline {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
}

.checkline input {
  width: 16px;
  min-height: 16px;
}

.inline-error {
  margin-top: 8px;
  border: 1px solid rgba(200, 36, 62, 0.3);
  border-radius: 10px;
  background: rgba(200, 36, 62, 0.09);
  color: var(--danger);
  font-size: 0.9rem;
  padding: 8px 10px;
}

.upsell-box {
  margin-bottom: 10px;
}

.upsell-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

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

.free-item-box {
  gap: 10px;
}

.free-item-list {
  display: grid;
  gap: 10px;
}

.free-item-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 16px;
  background: #fff;
}

.free-item-card.is-selected {
  border-color: rgba(29, 155, 82, 0.42);
  background: rgba(29, 155, 82, 0.07);
}

.free-item-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.free-item-card p {
  margin: 0;
}

.free-item-card .muted {
  font-size: 0.88rem;
}

.free-item-card .btn {
  width: auto;
}

.upsell-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.upsell-meta {
  min-width: 0;
}

.upsell-meta b,
.upsell-meta .muted {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.loyalty-progress {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.loyalty-progress-track {
  height: 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f1f4f8;
  overflow: hidden;
}

.loyalty-progress-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  transition: width 0.24s ease;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
}

.cart-list,
.cart-panel-list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.cart-line {
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
  padding: 12px;
  display: grid;
  gap: 6px;
  background: linear-gradient(180deg, #ffffff, #fbfbfa);
}

.cart-row-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.cart-options {
  color: var(--muted);
  font-size: 0.82rem;
}

.qty-stepper {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.qty-stepper button {
  width: 40px;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #f6f7fa;
  color: var(--text);
  cursor: pointer;
}

.qty-stepper b {
  min-width: 22px;
  text-align: center;
}

.cart-panel {
  padding: 20px 20px 18px;
  display: grid;
  gap: 12px;
}

.cart-head {
  position: sticky;
  top: -1px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(21, 29, 42, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92));
}

.badge {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(227, 6, 19, 0.18);
  color: var(--accent);
  background: rgba(227, 6, 19, 0.06);
  font-weight: 800;
  transition: transform 0.2s ease;
}

.badge.bump {
  animation: badgePulse 0.28s ease;
}

@keyframes badgePulse {
  0% { transform: scale(1); }
  55% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

#sideProgress,
#stickyProgress {
  margin: 2px 0 0;
  font-size: 0.8rem;
}

.sheet-handle {
  display: none;
}

.sticky-bar {
  position: fixed;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 15;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 8px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
  box-shadow: var(--shadow-md);
}

.mini-cart {
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  font-weight: 700;
}

.mini-cart span {
  color: var(--muted);
  font-size: 0.82rem;
}

.mini-cart strong {
  font-size: 1.02rem;
}

#flowBtn {
  min-width: 150px;
  min-height: 48px;
  box-shadow: 0 10px 24px rgba(227, 6, 19, 0.22);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 86px;
  transform: translateX(-50%) translateY(14px);
  border: 1px solid rgba(29, 155, 82, 0.35);
  border-radius: 12px;
  background: rgba(29, 155, 82, 0.14);
  color: #155e37;
  padding: 8px 10px 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.toast .toast-text {
  font-weight: 700;
}

.toast .toast-action {
  width: auto;
  min-height: 34px;
  border-radius: 9px;
  border: 1px solid rgba(29, 155, 82, 0.4);
  background: rgba(255, 255, 255, 0.72);
  color: #155e37;
  padding: 6px 10px;
  font-weight: 700;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(7, 12, 20, 0.5);
  cursor: pointer;
}

.auth-sheet {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border-radius: 18px;
  padding: 14px;
  display: grid;
  gap: 10px;
  box-shadow: 0 24px 44px rgba(4, 9, 18, 0.25);
}

.auth-sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.auth-close {
  width: auto;
  min-height: 36px;
}

.auth-method-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.auth-sheet-grid {
  margin-top: 0;
}

.auth-status {
  font-size: 0.92rem;
}

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

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

.value-flash {
  animation: valueFlash 0.32s ease;
}

@keyframes valueFlash {
  0% { transform: scale(1); }
  45% { transform: scale(1.06); color: var(--accent-strong); }
  100% { transform: scale(1); }
}

body.checkout-open .discover,
body.checkout-open #menuState,
body.checkout-open #productGrid,
body.checkout-open #configurator,
body.checkout-open .cart-panel,
body.checkout-open .sticky-category,
body.checkout-open .sticky-bar,
body.checkout-open .hero,
body.checkout-open .dff-page-footer {
  display: none !important;
}

body.checkout-open .topbar {
  top: 0;
  padding: 10px 18px;
  gap: 8px;
}

body.checkout-open .topbar .header-search,
body.checkout-open .topbar .header-cart-btn,
body.checkout-open .topbar .subline,
body.checkout-open .topbar .eyebrow {
  display: none;
}

body.checkout-open .topbar-right {
  grid-template-columns: 1fr;
}

body.checkout-open #checkoutFlow {
  margin-top: 8px;
  margin-bottom: 88px;
}

body.checkout-open .layout {
  padding-top: 12px;
}

body.checkout-open .flow-step[data-step="2"],
body.checkout-open .flow-step[data-step="3"] {
  max-width: 1180px;
  margin-inline: auto;
}

@media (min-width: 760px) {
  :root {
    --sticky-category-offset: 74px;
  }

  body {
    padding: 14px 14px calc(124px + env(safe-area-inset-bottom));
  }

  .topbar {
    grid-template-columns: auto auto;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
  }

  .topbar-right {
    grid-template-columns: minmax(150px, 1fr) minmax(140px, auto);
    align-items: center;
  }

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

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

  .auth-sheet {
    left: 50%;
    transform: translateX(-50%);
    width: min(580px, calc(100% - 20px));
    right: auto;
    bottom: 14px;
  }

  .fulfillment-toggle {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 980px) {
  .checkout-payment-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
    align-items: start;
  }

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

  #deliveryFields .field-full {
    grid-column: 1 / -1;
  }

  body.checkout-open .flow-step[data-step="2"] {
    padding: 18px 20px 16px;
  }

  body.checkout-open .flow-step[data-step="2"] > .muted {
    margin-bottom: 2px;
  }

  body.checkout-open #notesField textarea,
  body.checkout-open #deliveryFields textarea {
    min-height: 104px;
  }
}

@media (min-width: 1024px) {
  .main-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
  }

  .product-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .product-row {
    padding: 22px 24px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 252, 251, 0.97));
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: all 0.18s ease;
  }

  .product-row:hover {
    transform: translateY(-2px);
    box-shadow:
      0 18px 40px rgba(15, 23, 42, 0.08),
      0 2px 8px rgba(15, 23, 42, 0.04);
  }

  .add-btn {
    width: 42px;
    height: 42px;
    min-height: 42px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff422f, #eb1c24);
    box-shadow: 0 12px 26px rgba(227, 6, 19, 0.26);
    transition: all 0.15s ease;
    font-size: 1.15rem;
  }

  .add-btn:hover {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 14px 28px rgba(227, 6, 19, 0.24);
  }

  .cart-panel {
    background: linear-gradient(180deg, #ffffff, #f9f8f7);
    border-radius: 28px;
    box-shadow:
      0 0 0 1px rgba(17, 24, 39, 0.05),
      0 22px 44px rgba(17, 24, 39, 0.08);
    padding: 20px;
  }

  .category-tab {
    transition: all 0.15s ease;
  }

  .category-tab:hover {
    transform: translateY(-1px);
  }

  .category-tab.active,
  .category-tab.is-active {
    background: linear-gradient(135deg, #ff3b30, #ff6a00);
    color: #fff;
    box-shadow: 0 6px 18px rgba(255, 59, 48, 0.25);
    border-color: transparent;
  }

  .search-input {
    height: 52px;
    border-radius: 14px;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  }

  .search-input:focus {
    box-shadow: 0 6px 18px rgba(255, 59, 48, 0.15);
  }

  .product-row,
  .add-btn,
  .cart-panel,
  .category-tab {
    transition: all 0.18s ease;
  }
}

@media (min-width: 1120px) {
  body {
    padding: 0 0 32px;
  }

  .layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 20px;
  }

  .cart-panel {
    position: sticky;
    top: 24px;
    max-height: calc(100vh - 48px);
    overflow: auto;
  }

  #sideFlowBtn {
    width: 100%;
    min-height: 52px;
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(227, 6, 19, 0.24);
  }

  .summary .total b {
    font-weight: 900;
  }

  .sticky-bar {
    display: none;
  }

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

  .auth-sheet {
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
  }

  body.checkout-open #checkoutFlow {
    width: min(930px, 100%);
    margin-inline: auto;
    margin-bottom: 24px;
  }
}

@media (max-width: 1119px) {
  .cart-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 14;
    border-radius: 26px 26px 0 0;
    border-bottom: 0;
    transform: translateY(calc(100% - 84px));
    transition: transform 0.26s ease;
  }

  .cart-panel.is-open {
    transform: translateY(0);
  }

  .sheet-handle {
    display: block;
    width: 72px;
    height: 6px;
    border: 0;
    border-radius: 999px;
    margin: 0 auto 4px;
    background: rgba(27, 33, 44, 0.24);
  }

  .cart-panel .summary,
  .cart-panel #sideFlowBtn,
  .cart-panel #sideProgress {
    display: none;
  }
}

@media (max-width: 640px) {
  .configurator {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    transform: none;
    width: 100%;
    max-height: 84vh;
    border-radius: 18px 18px 0 0;
  }

  .config-head {
    padding: 14px 12px 10px;
  }

  .config-groups {
    padding: 10px 12px 12px;
  }

  .config-actions {
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  }

  .configurator .inline-error {
    border-radius: 0;
  }

  .topbar {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 12px !important;
  }

  .topbar {
    position: static;
  }

  .brand-logo {
    width: 58px !important;
    height: 42px !important;
  }

  #brandName {
    font-size: 18px !important;
    line-height: 1.15 !important;
  }

  #brandMeta {
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-size: 12px !important;
    opacity: .75;
  }

  .topbar-right {
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .m-nav-btn {
    display: inline-grid !important;
    place-items: center;
    margin-left: auto !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    background: #fff !important;
    color: var(--text);
    cursor: pointer;
    font-size: 1.1rem;
  }

  body.m-drawer-ready .topbar-right .account-menu,
  body.m-drawer-ready .topbar-right .header-cart-btn {
    display: none !important;
  }

  .discover {
    margin-top: 10px !important;
    padding: 10px !important;
  }

  .discover-search input,
  .search-input {
    height: 46px !important;
    border-radius: 14px !important;
    font-size: 15px !important;
  }

  .chips {
    display: flex !important;
    overflow-x: auto !important;
    gap: 10px !important;
    padding-bottom: 6px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .chips::-webkit-scrollbar {
    display: none !important;
  }

  .category-tab,
  .chip {
    flex: 0 0 auto !important;
    padding: 10px 14px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    white-space: nowrap !important;
  }

  .sticky-category {
    top: calc(8px + env(safe-area-inset-top));
  }

  .header-brand {
    align-items: flex-start;
  }

  .account-dropdown {
    left: 0;
    right: 0;
    min-width: 0;
  }

  .flow-step {
    padding: 14px;
  }

  .step,
  .step-back {
    min-height: 40px;
    font-size: 0.9rem;
  }

  .step span {
    width: 20px;
    height: 20px;
  }

  #flowBtn {
    min-width: 142px;
  }

  .mini-cart span {
    display: none;
  }

  .mini-cart strong::before {
    content: "Totaal ";
    font-size: 0.88rem;
    color: var(--muted);
    margin-right: 4px;
  }

  .sticky-bar {
    left: 10px !important;
    right: 10px !important;
    bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    z-index: 50 !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 40px rgba(0,0,0,0.16) !important;
  }

  .sticky-bar .btn {
    height: 52px !important;
    border-radius: 16px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
  }

  body {
    padding-bottom: 110px !important;
  }

  .m-drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 100;
  }

  .m-drawer {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: min(88vw, 360px);
    height: 100vh;
    background: #fff;
    z-index: 101;
    transform: translateX(110%);
    transition: transform .22s ease;
    box-shadow: -20px 0 60px rgba(0,0,0,0.18);
    flex-direction: column;
  }

  .m-drawer.is-open {
    transform: translateX(0);
  }

  .m-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }

  .m-drawer-title {
    font-size: 16px;
    font-weight: 700;
  }

  .m-drawer-close {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
    cursor: pointer;
  }

  .m-drawer-body {
    padding: 14px;
    overflow: auto;
    display: grid;
    gap: 12px;
  }

  .pf-sheet-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.48);
    z-index: 110;
  }

  .pf-sheet {
    position: fixed;
    inset: 0;
    background: #222;
    color: #fff;
    z-index: 111;
    transform: translateY(104%);
    transition: transform .2s ease;
    display: grid;
    grid-template-rows: auto 1fr auto;
  }

  .pf-sheet.is-open {
    transform: translateY(0);
  }

  .pf-sheet-head {
    padding: 14px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }

  .pf-sheet-title {
    margin: 0;
    font-size: 1.1rem;
  }

  .pf-sheet-price {
    margin-top: 2px;
    color: rgba(255,255,255,.82);
    font-weight: 700;
  }

  .pf-sheet-desc {
    margin-top: 4px;
    color: rgba(255,255,255,.62);
    font-size: .86rem;
  }

  .pf-sheet-close {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.08);
    color: #fff;
  }

  .pf-sheet-body {
    overflow: auto;
    padding: 14px;
  }

  .pf-sheet-options {
    display: grid;
    gap: 8px;
  }

  .pf-opt-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
  }

  .pf-opt-head h3 {
    margin: 0;
    font-size: 1rem;
  }

  .pf-opt-badge {
    min-height: 22px;
    border-radius: 999px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.78);
    font-size: .72rem;
  }

  .pf-opt-list {
    display: grid;
    gap: 8px;
  }

  .pf-opt-group + .pf-opt-group {
    margin-top: 16px;
  }

  .pf-opt-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    align-items: center;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    padding: 10px;
    background: rgba(255,255,255,.04);
  }

  .pf-opt-row input {
    width: 18px;
    min-height: 18px;
    margin: 0;
  }

  .pf-radio-row {
    width: 100%;
    text-align: left;
    background: rgba(255,255,255,.04);
    color: #fff;
    grid-template-columns: auto 1fr auto;
  }

  .pf-radio-row.is-active {
    border-color: rgba(255,255,255,.34);
    background: rgba(255,255,255,.11);
    box-shadow: 0 8px 20px rgba(0,0,0,.14);
  }

  .pf-radio-dot {
    width: 20px;
    display: inline-grid;
    place-items: center;
    font-size: 12px;
    color: rgba(255,255,255,.92);
  }

  .pf-opt-row.is-disabled {
    opacity: .4;
  }

  .pf-opt-label {
    font-size: .92rem;
  }

  .pf-opt-price {
    font-size: .9rem;
    white-space: nowrap;
  }

  .pf-mini-stepper {
    display: inline-grid;
    grid-template-columns: 28px 24px 28px;
    align-items: center;
    gap: 4px;
    margin-left: 6px;
  }

  .pf-mini-stepper button {
    height: 28px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.08);
    color: #fff;
    font-weight: 800;
  }

  .pf-mini-stepper button:disabled {
    opacity: .48;
  }

  .pf-mini-stepper span {
    text-align: center;
    font-weight: 700;
    font-size: .88rem;
  }

  .pf-inline-hint {
    margin: 8px 2px 0;
    color: rgba(255,255,255,.72);
    font-size: .78rem;
  }

  .pf-hidden-row {
    display: none !important;
  }

  .pf-more {
    margin-top: 10px;
    width: 100%;
    min-height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    color: #fff;
    font-weight: 600;
  }

  .pf-sheet-footer {
    padding: 12px;
    border-top: 1px solid rgba(255,255,255,.12);
    background: #1f1f1f;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
  }

  .pf-qty {
    display: inline-grid;
    grid-template-columns: 38px 38px 38px;
    gap: 6px;
    align-items: center;
  }

  .pf-qty-btn,
  .pf-qty-val {
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
    color: #fff;
  }

  .pf-add {
    min-height: 52px;
    border-radius: 14px;
    border: 0;
    background: linear-gradient(135deg, #e30613, #ff6a00);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 12px 24px rgba(227,6,19,.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .pf-add:disabled {
    opacity: .62;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
}

/* DoubleFF storefront layout pass: hero + tabs + right cart */
body.dff-home-theme {
  background:
    radial-gradient(900px 320px at 10% -10%, rgba(227, 6, 19, 0.1), transparent 55%),
    radial-gradient(1000px 500px at 110% 120%, rgba(255, 98, 73, 0.1), transparent 58%),
    linear-gradient(180deg, #f7f4f1 0%, #f3f2ef 100%);
  overflow-x: hidden;
}

:root {
  --dff-topbar-offset: 92px;
}

body.dff-home-theme .topbar,
body.dff-home-theme .hero,
body.dff-home-theme .sticky-category,
body.dff-home-theme .layout {
  max-width: none;
  width: 100%;
  margin-inline: 0;
}

body.dff-home-theme .topbar {
  position: sticky;
  top: 0;
  z-index: 44;
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 0;
  margin-bottom: 0;
  padding-inline: clamp(18px, 3vw, 44px);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.04);
}

body.dff-home-theme .topbar .eyebrow,
body.dff-home-theme .topbar h1,
body.dff-home-theme .topbar .subline {
  color: var(--text);
}

body.dff-home-theme .header-cart-btn,
body.dff-home-theme .account-btn {
  border-color: rgba(17, 24, 39, 0.08);
}

body.dff-home-theme .header-cart-btn {
  background: linear-gradient(135deg, #eb1c24, #ff3a2f);
  color: #fff;
  box-shadow: 0 14px 28px rgba(227, 6, 19, 0.16);
}

body.dff-home-theme .header-cart-btn span,
body.dff-home-theme .header-cart-btn b {
  color: #fff;
}

body.dff-home-theme .account-btn {
  background: #fff;
  color: var(--text);
}

body.dff-home-theme .bg-orb {
  display: none;
}

body.dff-home-theme .brand-logo {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.hero {
  margin-top: 0;
  position: relative;
  min-height: clamp(240px, 32vw, 360px);
  display: block;
  overflow: hidden;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(56%, 720px);
  min-height: clamp(240px, 32vw, 360px);
  padding: clamp(18px, 3.2vw, 34px);
  color: #fff;
  display: grid;
  align-content: center;
  gap: 10px;
  background:
    linear-gradient(110deg, rgba(10, 14, 22, 0.94) 0%, rgba(10, 14, 22, 0.82) 56%, rgba(10, 14, 22, 0.24) 100%),
    linear-gradient(130deg, rgba(227, 6, 19, 0.22), rgba(18, 22, 32, 0.1));
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffd8d8;
}

.hero-title {
  font-size: clamp(1.8rem, 4.5vw, 3.4rem);
  line-height: 0.98;
  margin: 0;
}

.hero-subtitle {
  margin: 0;
  color: #ffd55b;
  font-size: clamp(1.05rem, 2.2vw, 1.7rem);
  font-weight: 700;
}

.hero-actions {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-toggle {
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(8, 12, 19, 0.36);
  color: #fff;
  font-weight: 800;
  padding: 0 18px;
  cursor: pointer;
}

.hero-toggle.is-active {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.hero-address {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-height: clamp(240px, 32vw, 360px);
  background:
    radial-gradient(circle at 14% 82%, rgba(255, 196, 113, 0.16), transparent 40%),
    linear-gradient(120deg, rgba(20, 25, 36, 0.62), rgba(20, 25, 36, 0.14)),
    var(--hero-image, url("/DSC_8590.jpg"));
  background-size: cover;
  background-position: center center;
}

.sticky-category {
  margin-top: 0;
  position: sticky;
  top: calc(var(--dff-topbar-offset) + env(safe-area-inset-top));
  z-index: 36;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(244, 244, 242, 0.96);
  box-shadow: 0 14px 24px rgba(17, 24, 39, 0.04);
}

body.dff-home-theme .stepper {
  border: 0;
  box-shadow: none;
  padding: 0;
  background: transparent;
}

body.dff-home-theme .stepper .step {
  display: none !important;
}

body.dff-home-theme .dff-progress-track {
  display: none !important;
}

.sticky-category-btn {
  display: none;
}

body.dff-home-theme .sticky-category-inner,
body.dff-home-theme .chips {
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.chips {
  padding: 14px clamp(18px, 3vw, 44px);
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip.category-tab {
  flex: 0 0 auto;
  border-radius: 999px;
  border-color: #d8dadd;
  background: #fff;
  font-weight: 800;
  max-width: min(74vw, 280px);
  overflow: hidden;
  min-height: 48px;
  padding-inline: 18px;
}

.chip.category-tab .chip-name {
  overflow: hidden;
  text-overflow: ellipsis;
}

.chip.category-tab.is-active,
.chip.category-tab.active {
  background: #111315;
  color: #fff;
  border-color: #111315;
}

.layout {
  margin-top: 0;
  background: transparent;
  border-radius: 0;
  padding: 24px clamp(18px, 3vw, 44px) 0;
}

body.dff-home-theme .sticky-bar {
  z-index: 42;
}

.discover {
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82));
}

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

@media (min-width: 900px) {
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-content {
    width: 100%;
    min-height: 230px;
  }
  .hero-media {
    min-height: 230px;
  }

  .chips {
    padding-inline: 8px;
    gap: 8px;
  }

  .dff-page-footer {
    margin: 24px 18px 10px;
    padding-top: 22px;
  }

  .chip.category-tab {
    max-width: 70vw;
    min-height: 34px;
    padding: 0 10px;
  }
}

@media (min-width: 1120px) {
  body.dff-home-theme .cart-panel {
    position: sticky;
    top: calc(var(--dff-topbar-offset) + 32px);
    max-height: calc(100vh - var(--dff-topbar-offset) - 44px);
    overflow: auto;
  }
}
