/* Immutable release asset v31: stable cart controls without full-view flashing. */
:root {
  color-scheme: light;
  --cream: #fdf6f0;
  --paper: #fffdfa;
  --body: #fdf7f1;
  --cocoa: #5b3d2f;
  --deep: #3d2922;
  --muted: #745444;
  --berry: #82192b;
  --berry-dark: #64111f;
  --sage: #6f8774;
  --sage-dark: #526b58;
  --line: #ebd8c9;
  --rose: #fbede6;
  --soft-rose: #fbede6;
  --soft-sage: #ebf0e6;
  --gold: #d5974a;
  --shadow: 0 18px 60px rgba(91, 61, 47, 0.12);
  --shadow-soft: 0 8px 26px rgba(91, 61, 47, 0.09);
  --radius: 8px;
  font-family: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--cocoa);
}

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

a {
  color: var(--berry);
}

.app-shell {
  min-height: 100vh;
}

.loading-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  gap: 12px;
  color: var(--berry);
}

.loading-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 250, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cocoa);
  text-decoration: none;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 19px;
  letter-spacing: 0;
  line-height: 1;
}

.brand span {
  display: block;
  margin-top: 3px;
  font: 700 11px/1.1 system-ui, sans-serif;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

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

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 20px 8px;
}

.hero-media {
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 253, 250, 0.95) 0%, rgba(255, 253, 250, 0.72) 46%, rgba(255, 253, 250, 0.08) 100%),
    url("/assets/editorial_portion_desserts-20260830.webp") center right / cover no-repeat;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(520px, 100%);
  padding: 36px;
}

.hero-wordmark {
  max-width: 330px;
  width: 80%;
  height: auto;
  margin-bottom: 20px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font: 800 12px/1.2 system-ui, sans-serif;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.hero h1,
.page-title {
  margin: 0;
  color: var(--deep);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: 0;
}

.hero p {
  max-width: 420px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.45;
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 20px 86px;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

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

.section-heading h2 {
  margin: 0;
  color: var(--deep);
  font-size: 30px;
  letter-spacing: 0;
}

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

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  color: var(--sage);
  font: 800 13px/1.2 system-ui, sans-serif;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
}

.status-line.warn {
  color: var(--berry);
}

.status-line.warn .status-dot {
  background: var(--berry);
}

.tabs,
.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tab,
.pill-button,
.icon-button,
.primary-button,
.secondary-button,
.ghost-button,
.danger-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--cocoa);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  text-decoration: none;
  font: 800 14px/1.1 system-ui, sans-serif;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.tab:hover,
.pill-button:hover,
.icon-button:hover,
.secondary-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
  border-color: rgba(130, 25, 43, 0.38);
}

.tab.active,
.pill-button.active {
  background: var(--berry);
  border-color: var(--berry);
  color: #fff;
}

.primary-button {
  border-color: var(--berry);
  background: var(--berry);
  color: #fff;
}

.primary-button:hover {
  background: var(--berry-dark);
}

.secondary-button {
  background: var(--soft-sage);
  border-color: transparent;
  color: var(--sage-dark);
}

.ghost-button {
  background: transparent;
}

.danger-button {
  background: #fff5f5;
  border-color: #e8b5b5;
  color: #9b1f1f;
}

.icon-button {
  width: 42px;
  padding: 0;
  font-size: 18px;
}

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

.product-card,
.panel,
.cart-panel,
.admin-card,
.policy-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-card img,
.detail-image {
  width: 100%;
  height: 190px;
  display: block;
  object-fit: cover;
  background: #f8e9df;
}

.product-body {
  padding: 16px;
  display: grid;
  gap: 12px;
  flex: 1;
}

.product-body h3,
.cart-panel h3,
.panel h3,
.admin-card h3 {
  margin: 0;
  color: var(--deep);
  font-size: 24px;
  line-height: 1.1;
}

.product-body p {
  min-height: 44px;
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
}

.product-footer,
.cart-line,
.total-row,
.admin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price {
  color: var(--berry);
  font-size: 28px;
  font-weight: 800;
  white-space: nowrap;
}

.cart-panel {
  position: sticky;
  top: 94px;
  padding: 18px;
}

.cart-list {
  display: grid;
  gap: 12px;
  margin: 14px 0;
}

.cart-line {
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.cart-line strong {
  display: block;
  color: var(--deep);
}

.cart-line small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  white-space: pre-line;
}

.cart-empty {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.55);
}

.total-row {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.detail-layout,
.checkout-layout,
.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.panel {
  padding: 20px;
}

.detail-image {
  height: min(420px, 45vw);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.detail-title {
  margin: 18px 0 8px;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: 0;
}

.detail-description {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.option-grid,
.flavor-grid,
.pickup-grid,
.admin-grid {
  display: grid;
  gap: 12px;
}

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

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

.option-tile,
.flavor-tile,
.pickup-tile {
  min-height: 70px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--cocoa);
  padding: 14px;
  text-align: left;
  display: grid;
  gap: 4px;
}

.option-tile strong,
.flavor-tile strong,
.pickup-tile strong {
  font: 800 15px/1.2 system-ui, sans-serif;
}

.option-tile span,
.flavor-tile span,
.pickup-tile span {
  color: var(--muted);
  font: 600 13px/1.25 system-ui, sans-serif;
}

.option-tile.active,
.flavor-tile.active,
.pickup-tile.active {
  border-color: var(--berry);
  background: #fff4f1;
  color: var(--berry);
}

.flavor-chip {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(91, 61, 47, 0.2);
  display: inline-block;
  margin-right: 6px;
  vertical-align: -2px;
}

.summary-box {
  display: grid;
  gap: 12px;
}

.summary-box pre,
.admin-order pre {
  margin: 0;
  white-space: pre-wrap;
  font: 600 13px/1.45 system-ui, sans-serif;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}

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

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

.field label {
  color: var(--cocoa);
  font: 800 13px/1.1 system-ui, sans-serif;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--deep);
  padding: 12px;
  outline: none;
}

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

.field input:focus,
.field textarea:focus {
  border-color: var(--berry);
  box-shadow: 0 0 0 3px rgba(130, 25, 43, 0.1);
}

.notice {
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}

.notice.error {
  border-color: #e8b5b5;
  background: #fff5f5;
  color: #8b1d1d;
}

.notice.success {
  border-color: #bdd1c1;
  background: #f1f7f1;
  color: var(--sage-dark);
}

.admin-card {
  padding: 16px;
}

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

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-order {
  display: grid;
  gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 4px 10px;
  background: var(--soft-sage);
  color: var(--sage-dark);
  font: 800 12px/1.1 system-ui, sans-serif;
}

.badge.berry {
  background: #fff4f1;
  color: var(--berry);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 24px 20px;
  background: var(--paper);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.footer a {
  font-weight: 800;
}

.policy-page {
  min-height: 100vh;
  padding: 28px 20px 70px;
  background: var(--cream);
}

.policy-back {
  display: inline-flex;
  margin: 0 auto 18px;
  width: fit-content;
  color: var(--berry);
  font: 800 14px/1.1 system-ui, sans-serif;
  text-decoration: none;
}

.policy-card {
  max-width: 850px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 46px);
}

.policy-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.policy-card h1 {
  margin: 14px 0 4px;
  font-size: 44px;
}

.policy-card h2 {
  margin: 28px 0 8px;
  color: var(--deep);
}

.policy-card p {
  color: var(--muted);
  line-height: 1.55;
}

.mobile-cart {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 30;
  box-shadow: var(--shadow);
}

@media (max-width: 980px) {
  .topbar-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .brand,
  .nav,
  .top-actions {
    justify-self: center;
  }

  .page-grid,
  .detail-layout,
  .checkout-layout,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    position: static;
  }

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

@media (max-width: 640px) {
  .hero {
    padding: 14px 12px 4px;
  }

  .hero-media {
    min-height: 300px;
    align-items: flex-start;
    background:
      linear-gradient(180deg, rgba(255, 253, 250, 0.9) 0%, rgba(255, 253, 250, 0.68) 50%, rgba(255, 253, 250, 0.12) 100%),
      url("/assets/editorial_portion_desserts-20260830.webp") center bottom / cover no-repeat;
  }

  .hero-copy {
    padding: 24px;
  }

  .hero p {
    font-size: 16px;
  }

  .page {
    padding: 18px 12px 86px;
  }

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

  .product-card img,
  .detail-image {
    height: 210px;
  }

  .detail-title {
    font-size: 32px;
  }

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

  .cart-panel.desktop-cart {
    display: none;
  }

  .mobile-cart {
    display: flex;
  }

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

/* Lamante web redesign */
:root {
  --cream: #fbf7f1;
  --paper: #fffdf9;
  --body: #fbf7f1;
  --cocoa: #392720;
  --deep: #1f1916;
  --muted: #786257;
  --berry: #7f1025;
  --berry-dark: #5e0b1a;
  --sage: #5f7b66;
  --sage-dark: #405b47;
  --line: #ead9c7;
  --gold: #b98238;
  --shadow: 0 24px 70px rgba(44, 31, 25, 0.12);
  --shadow-soft: 0 12px 34px rgba(44, 31, 25, 0.08);
}

body {
  background:
    linear-gradient(180deg, #fffdf9 0%, #fbf7f1 360px, #fffaf4 100%);
}

.topbar {
  background: rgba(255, 253, 249, 0.92);
  border-bottom: 1px solid rgba(185, 130, 56, 0.2);
}

.topbar-inner {
  max-width: 1460px;
  min-height: 104px;
  grid-template-columns: 260px 1fr auto;
  padding: 14px 34px;
}

.brand img {
  width: 260px;
  height: 76px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.nav {
  gap: 12px;
}

.tab,
.pill-button,
.icon-button,
.primary-button,
.secondary-button,
.ghost-button,
.danger-button {
  border-radius: 8px;
  min-height: 48px;
  padding: 12px 18px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.tab {
  min-width: 118px;
  background: rgba(255, 253, 249, 0.72);
  color: #4d372f;
}

.tab.active,
.pill-button.active {
  background: var(--deep);
  border-color: var(--deep);
  color: #fff;
}

.top-actions .icon-button {
  width: 52px;
  background: #fffaf5;
}

.hero {
  max-width: 1460px;
  padding: 38px 34px 12px;
}

.hero-media {
  min-height: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.editorial-hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(440px, 1.15fr);
  gap: 38px;
  align-items: stretch;
}

.hero-copy {
  width: auto;
  padding: clamp(34px, 5vw, 72px);
  background: #fffdf9;
  border: 1px solid rgba(185, 130, 56, 0.24);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-wordmark {
  max-width: 380px;
  width: 100%;
  margin-bottom: 34px;
  mix-blend-mode: multiply;
}

.eyebrow {
  color: var(--gold);
  letter-spacing: 2.2px;
}

.hero h1,
.page-title {
  color: var(--deep);
  font-size: clamp(36px, 4.6vw, 62px);
  max-width: 740px;
}

.hero p {
  max-width: 560px;
  color: #5b4036;
  font-size: 20px;
}

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

.hero-gallery {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: 520px;
}

.hero-gallery img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(185, 130, 56, 0.18);
  box-shadow: var(--shadow-soft);
}

.hero-gallery-main {
  grid-row: 1 / 3;
}

.page {
  max-width: 1460px;
  padding: 38px 34px 96px;
}

.page-grid {
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 34px;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2 {
  font-size: 44px;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 22px;
}

.product-card,
.panel,
.cart-panel,
.admin-card,
.policy-card {
  border-radius: 8px;
  border-color: rgba(185, 130, 56, 0.22);
  background: rgba(255, 253, 249, 0.94);
}

.product-card {
  box-shadow: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.product-card img {
  height: 260px;
}

.product-body {
  padding: 20px;
}

.product-body h3,
.cart-panel h3,
.panel h3,
.admin-card h3 {
  font-size: 28px;
}

.product-body p {
  min-height: 58px;
  font-size: 17px;
}

.price {
  color: var(--deep);
}

.primary-button {
  background: var(--deep);
  border-color: var(--deep);
}

.primary-button:hover {
  background: #000;
}

.secondary-button {
  color: var(--deep);
  background: #fff4e5;
}

.cart-panel {
  top: 116px;
  box-shadow: var(--shadow-soft);
}

.footer {
  background: #fffdf9;
  border-top-color: rgba(185, 130, 56, 0.22);
}

.footer-inner {
  max-width: 1460px;
}

.policy-logo {
  width: 220px;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

@media (max-width: 1100px) {
  .topbar-inner {
    grid-template-columns: 1fr;
  }

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

  .hero-gallery {
    min-height: 380px;
  }

  .page-grid,
  .detail-layout,
  .checkout-layout,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    position: static;
  }
}

@media (max-width: 700px) {
  .topbar-inner {
    min-height: auto;
    padding: 16px 14px;
  }

  .brand img {
    width: 220px;
    height: 66px;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .tab {
    min-width: 0;
    width: 100%;
  }

  .hero,
  .page {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-copy {
    padding: 28px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-gallery {
    grid-template-columns: 1fr 1fr;
    min-height: 310px;
  }

  .hero-gallery-main {
    grid-column: 1 / 3;
    grid-row: auto;
    min-height: 190px;
  }

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

  .product-card img {
    height: 230px;
  }
}

.cart-icon-button {
  position: relative;
  display: inline-grid;
  place-items: center;
}

.cart-icon-button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-count-badge {
  position: absolute;
  right: 0;
  bottom: -4px;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  border: 2px solid #261d18;
  border-radius: 999px;
  padding: 0 3px;
  background: #bd7d32;
  color: #fff;
  font: 800 9px/1 ui-sans-serif, system-ui, sans-serif;
  box-shadow: 0 2px 5px rgba(36, 26, 22, 0.24);
}

.hero-copy {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding-left: 0;
}

@media (min-width: 701px) {
  .brand img {
    width: 300px;
    height: 88px;
  }

  .topbar-inner {
    grid-template-columns: 310px 1fr auto;
  }
}

@media (min-width: 1101px) {
  .hero {
    padding-top: 26px;
  }

  .editorial-hero {
    grid-template-columns: minmax(430px, 0.95fr) minmax(500px, 1.05fr);
    gap: 30px;
  }

  .hero-wordmark {
    max-width: 220px;
    margin-bottom: 14px;
  }

  .hero h1 {
    font-size: clamp(34px, 3.2vw, 46px);
  }

  .hero p {
    font-size: 17px;
  }

  .hero-gallery {
    height: 420px;
    min-height: 0;
  }
}

/* Local-only premium design preview: /?mode=design-preview */
body.design-preview {
  --preview-ivory: #f7f2e8;
  --preview-paper: #fffdf8;
  --preview-ink: #241a16;
  --preview-cocoa: #604a3e;
  --preview-gold: #b79051;
  --preview-line: rgba(108, 78, 57, 0.16);
  background:
    radial-gradient(circle at 84% 10%, rgba(183, 144, 81, 0.08), transparent 28%),
    var(--preview-ivory);
  color: var(--preview-cocoa);
}

.design-preview .topbar {
  background: rgba(247, 242, 232, 0.9);
  border-bottom-color: var(--preview-line);
  backdrop-filter: blur(22px);
}

.design-preview .topbar-inner {
  max-width: 1380px;
  min-height: 72px;
  padding: 8px 26px;
  grid-template-columns: 230px 1fr auto;
  gap: 24px;
}

.design-preview .brand img {
  width: 210px;
  height: 54px;
  mix-blend-mode: multiply;
}

.design-preview .nav {
  gap: 4px;
}

.design-preview .tab {
  min-width: auto;
  min-height: 38px;
  padding: 9px 15px;
  border-color: transparent;
  background: transparent;
  color: #59443a;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.design-preview .tab:hover {
  transform: none;
  color: var(--preview-ink);
  border-color: var(--preview-line);
}

.design-preview .tab.active {
  color: var(--preview-ink);
  background: transparent;
  border-color: transparent;
  box-shadow: inset 0 -1px 0 var(--preview-gold);
}

.design-preview .top-actions {
  gap: 5px;
}

.design-preview .top-actions .icon-button {
  width: 38px;
  min-height: 38px;
  padding: 0;
  border-color: var(--preview-line);
  background: rgba(255, 253, 248, 0.72);
  color: var(--preview-ink);
  font-size: 13px;
}

.design-preview .premium-hero {
  max-width: 1380px;
  margin: 0 auto;
  padding: 22px 26px 18px;
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(520px, 1.22fr);
  gap: 34px;
  align-items: center;
}

.design-preview .premium-hero-copy {
  padding: 20px 4px 20px 12px;
}

.design-preview .premium-hero .eyebrow {
  margin-bottom: 12px;
  color: var(--preview-gold);
  font-size: 10px;
  letter-spacing: 0.24em;
}

.design-preview .premium-hero h1 {
  max-width: 560px;
  margin: 0;
  color: var(--preview-ink);
  font-family: "Bodoni 72", Didot, "Times New Roman", serif;
  font-size: clamp(42px, 4.2vw, 68px);
  font-weight: 500;
  line-height: 0.93;
  letter-spacing: -0.035em;
}

.design-preview .premium-hero p:not(.eyebrow) {
  max-width: 460px;
  margin: 16px 0 0;
  color: var(--preview-cocoa);
  font-size: 16px;
  line-height: 1.55;
}

.design-preview .hero-actions {
  margin-top: 22px;
  align-items: center;
}

.design-preview .primary-button {
  min-height: 42px;
  border-radius: 3px;
  border-color: var(--preview-ink);
  background: var(--preview-ink);
  padding: 11px 17px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.design-preview .primary-button:hover {
  background: #4a352b;
}

.design-preview .text-button {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: var(--preview-ink);
  padding: 10px 4px;
  font: 700 12px/1.1 ui-sans-serif, system-ui, sans-serif;
}

.design-preview .premium-hero-media {
  position: relative;
  height: 310px;
  overflow: hidden;
  background: #e9ddcd;
}

.design-preview .premium-hero-main {
  width: 72%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.design-preview .premium-hero-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 30%;
  height: 100%;
  object-fit: cover;
  border-left: 8px solid var(--preview-ivory);
}

.design-preview .premium-hero-seal {
  position: absolute;
  right: calc(30% - 32px);
  bottom: 18px;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(255, 253, 248, 0.72);
  border-radius: 50%;
  background: rgba(36, 26, 22, 0.84);
  color: #fffaf0;
  display: grid;
  place-content: center;
  text-align: center;
  font: 700 9px/1.25 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.13em;
  backdrop-filter: blur(8px);
}

.design-preview .premium-hero-seal small {
  color: #d9bd8d;
  font-size: 6px;
  letter-spacing: 0.16em;
}

.design-preview .page {
  max-width: 1380px;
  padding: 18px 26px 84px;
}

.design-preview .page-grid {
  display: block;
}

.design-preview .section-heading {
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--preview-line);
}

.design-preview .section-heading h2 {
  color: var(--preview-ink);
  font-family: "Bodoni 72", Didot, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.design-preview .section-heading .muted {
  margin: 3px 0 0;
  font: 500 12px/1.4 ui-sans-serif, system-ui, sans-serif;
}

.design-preview .status-line {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.design-preview .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.design-preview .product-card {
  border: 1px solid var(--preview-line);
  border-radius: 2px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: none;
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 420ms ease;
}

.design-preview .product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(183, 144, 81, 0.42);
  box-shadow: 0 22px 46px rgba(52, 35, 27, 0.11);
}

.design-preview .product-card img {
  height: 188px;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.design-preview .product-card:hover img {
  transform: scale(1.025);
}

.design-preview .product-body {
  padding: 13px;
  gap: 9px;
}

.design-preview .product-body h3 {
  color: var(--preview-ink);
  font-family: "Bodoni 72", Didot, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 500;
}

.design-preview .product-body p {
  min-height: 36px;
  color: var(--preview-cocoa);
  font: 500 12px/1.45 ui-sans-serif, system-ui, sans-serif;
}

.design-preview .product-footer {
  padding-top: 5px;
  border-top: 1px solid var(--preview-line);
}

.design-preview .price {
  color: var(--preview-ink);
  font-family: "Bodoni 72", Didot, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 500;
}

@media (prefers-reduced-motion: no-preference) {
  .design-preview .premium-hero-copy,
  .design-preview .premium-hero-media,
  .design-preview .product-card {
    animation: preview-rise 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .design-preview .premium-hero-media {
    animation-delay: 90ms;
  }

  .design-preview .product-card:nth-child(2) {
    animation-delay: 70ms;
  }

  .design-preview .product-card:nth-child(3) {
    animation-delay: 140ms;
  }

  .design-preview .product-card:nth-child(4) {
    animation-delay: 210ms;
  }
}

@keyframes preview-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .design-preview .topbar-inner {
    grid-template-columns: 1fr auto;
  }

  .design-preview .nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: center;
    order: 3;
  }

  .design-preview .premium-hero {
    grid-template-columns: 1fr;
  }

  .design-preview .premium-hero-media {
    height: 280px;
  }

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

@media (max-width: 620px) {
  .design-preview .topbar-inner {
    min-height: 62px;
    padding: 6px 14px;
  }

  .design-preview .brand img {
    width: 156px;
    height: 46px;
  }

  .design-preview .nav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .design-preview .tab {
    flex: 0 0 auto;
  }

  .design-preview .premium-hero {
    padding: 18px 14px 12px;
    gap: 18px;
  }

  .design-preview .premium-hero-copy {
    padding: 6px 0;
  }

  .design-preview .premium-hero h1 {
    font-size: 43px;
  }

  .design-preview .premium-hero-media {
    height: 228px;
  }

  .design-preview .premium-hero-main {
    width: 100%;
  }

  .design-preview .premium-hero-accent,
  .design-preview .premium-hero-seal {
    display: none;
  }

  .design-preview .page {
    padding: 14px 14px 76px;
  }

  .design-preview .section-heading {
    align-items: flex-start;
  }

  .design-preview .product-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .design-preview .product-card {
    display: grid;
    grid-template-columns: 118px 1fr;
  }

  .design-preview .product-card img {
    height: 100%;
    min-height: 154px;
  }

  .design-preview .product-body p {
    min-height: auto;
  }
}

/* Editorial home exploration — intentionally scoped to the local design preview. */
.design-preview .editorial-home-hero {
  max-width: 1440px;
  margin: 0 auto;
  padding: 30px 32px 104px;
}

.design-preview .editorial-home-figure {
  height: min(43vh, 440px);
  min-height: 340px;
  margin: 0;
  overflow: hidden;
  background: #ded4c5;
}

.design-preview .editorial-home-figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.design-preview .editorial-home-figure:hover img {
  transform: scale(1.012);
}

.design-preview .editorial-home-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(420px, 1.08fr);
  gap: 9vw;
  align-items: end;
  padding: 68px 6vw 0;
}

.design-preview .editorial-home-intro .eyebrow,
.design-preview .editorial-stories-heading .eyebrow {
  grid-column: 1 / -1;
  margin: 0 0 -3vw;
  color: #9a7650;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.design-preview .editorial-home-intro h1,
.design-preview .editorial-stories-heading h2,
.design-preview .editorial-story-copy h3 {
  margin: 0;
  color: #261d18;
  font-family: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.design-preview .editorial-home-intro h1 {
  font-size: clamp(48px, 5.8vw, 84px);
  line-height: 0.94;
}

.design-preview .editorial-home-story {
  max-width: 620px;
  padding-bottom: 3px;
}

.design-preview .editorial-home-story p {
  margin: 0;
  color: #604d43;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.72;
}

.design-preview .editorial-home-story p + p {
  margin-top: 20px;
}

.design-preview .editorial-stories {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px 136px;
}

.design-preview .editorial-stories-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 108px 6vw 86px;
  border-top: 1px solid rgba(82, 60, 48, 0.18);
}

.design-preview .editorial-stories-heading .eyebrow {
  margin: 0 0 28px;
}

.design-preview .editorial-stories-heading h2 {
  grid-column: 2;
  font-size: clamp(44px, 5.1vw, 74px);
  line-height: 0.98;
}

.design-preview .editorial-story {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  min-height: 560px;
  margin-bottom: 92px;
  background: #eee7dc;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.design-preview .editorial-story:focus-visible {
  outline: 3px solid #9a7650;
  outline-offset: 5px;
}

.design-preview .editorial-story-reverse {
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
}

.design-preview .editorial-story-image {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.design-preview .editorial-story.is-coming-soon {
  background: #deddd9;
}

.design-preview .editorial-story.is-coming-soon .editorial-story-image img {
  opacity: 0.5;
  filter: grayscale(0.9) saturate(0.18) contrast(0.9);
}

.design-preview .editorial-story.is-coming-soon:hover .editorial-story-image img {
  transform: none;
}

.design-preview .editorial-story.is-coming-soon .editorial-story-copy {
  opacity: 0.62;
}

.editorial-coming-soon-badge {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  min-width: max-content;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  padding: 11px 17px;
  background: rgba(62, 60, 58, 0.9);
  color: #fff;
  box-shadow: 0 10px 28px rgba(42, 40, 38, 0.2);
  font: 750 10px/1 system-ui, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.design-preview .editorial-story-reverse .editorial-story-image {
  order: 2;
}

.design-preview .editorial-story-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.design-preview .editorial-story-placeholder {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: grid;
  place-content: center;
  gap: 16px;
  overflow: hidden;
  color: #6e584a;
  text-align: center;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.72), transparent 31%),
    linear-gradient(135deg, #e6d7c7, #f6efe6 52%, #d9c4b1);
}

.design-preview .editorial-story-placeholder::before,
.design-preview .editorial-story-placeholder::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(113, 82, 61, 0.19);
  border-radius: 50%;
}

.design-preview .editorial-story-placeholder::before {
  width: 48%;
  aspect-ratio: 1;
  left: 8%;
  top: 9%;
}

.design-preview .editorial-story-placeholder::after {
  width: 36%;
  aspect-ratio: 1;
  right: 8%;
  bottom: 10%;
  background: rgba(255, 255, 255, 0.2);
}

.design-preview .editorial-story-placeholder span {
  color: rgba(88, 63, 47, 0.3);
  font: 400 clamp(88px, 13vw, 180px)/0.8 Georgia, serif;
  letter-spacing: -0.08em;
}

.design-preview .editorial-story-placeholder small {
  font: 700 10px/1 system-ui, sans-serif;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.design-preview .editorial-story-placeholder-mousse-cakes {
  background: linear-gradient(145deg, #ded4c8, #f2eadf 55%, #cbb8a6);
}

.design-preview .editorial-story-placeholder-cookies {
  background: linear-gradient(145deg, #eadcc5, #f8f1e5 54%, #d4b995);
}

.design-preview .editorial-story-placeholder-cakes {
  background: linear-gradient(145deg, #e5d3d1, #f7efeb 52%, #cdb6af);
}

.design-preview .editorial-story:hover .editorial-story-image img {
  transform: scale(1.018);
}

.design-preview .editorial-story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px clamp(38px, 5vw, 76px);
}

.design-preview .editorial-story-number {
  margin-bottom: auto;
  color: #9a7650;
  font: 600 10px/1 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.18em;
}

.design-preview .editorial-story-copy h3 {
  margin-top: 80px;
  font-size: clamp(44px, 4.4vw, 66px);
  line-height: 1;
}

.design-preview .editorial-story-copy p {
  max-width: 440px;
  margin: 25px 0 0;
  color: #604d43;
  font: 400 15px/1.7 ui-sans-serif, system-ui, sans-serif;
}

.design-preview .editorial-story-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-top: 28px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(96, 77, 67, 0.42);
  color: #39271e;
  font: 700 10px/1 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.design-preview .editorial-story-link span {
  transition: transform 280ms ease;
}

.design-preview .editorial-story:hover .editorial-story-link span,
.design-preview .editorial-story:focus-visible .editorial-story-link span {
  transform: translateX(4px);
}

@media (prefers-reduced-motion: no-preference) {
  .design-preview .editorial-home-figure,
  .design-preview .editorial-home-intro,
  .design-preview .editorial-stories-heading,
  .design-preview .editorial-story {
    animation: editorial-reveal 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .design-preview .editorial-home-intro {
    animation-delay: 120ms;
  }
}

@keyframes editorial-reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .design-preview .editorial-home-hero,
  .design-preview .editorial-stories {
    padding-left: 18px;
    padding-right: 18px;
  }

  .design-preview .editorial-home-figure {
    height: min(44vh, 380px);
    min-height: 320px;
  }

  .design-preview .editorial-home-intro {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 48px 4vw 0;
  }

  .design-preview .editorial-home-intro .eyebrow {
    margin: 0 0 -16px;
  }

  .design-preview .editorial-stories-heading {
    grid-template-columns: 1fr;
    padding: 74px 4vw 58px;
  }

  .design-preview .editorial-stories-heading h2 {
    grid-column: 1;
  }

  .design-preview .editorial-story,
  .design-preview .editorial-story-reverse {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-bottom: 52px;
  }

  .design-preview .editorial-story-image,
  .design-preview .editorial-story-reverse .editorial-story-image {
    min-height: 0;
    aspect-ratio: 4 / 3;
    order: 0;
  }

  .design-preview .editorial-story-copy {
    min-height: 330px;
    padding: 38px 34px 44px;
  }

  .design-preview .editorial-story-copy h3 {
    margin-top: 58px;
  }
}

@media (max-width: 520px) {
  .design-preview .editorial-home-hero {
    padding: 18px 12px 76px;
  }

  .design-preview .editorial-home-figure {
    height: 310px;
    min-height: 310px;
  }

  .design-preview .editorial-home-figure img {
    object-position: 58% center;
  }

  .design-preview .editorial-home-intro {
    padding: 40px 8px 0;
  }

  .design-preview .editorial-home-intro h1 {
    font-size: 47px;
  }

  .design-preview .editorial-stories {
    padding: 0 12px 90px;
  }

  .design-preview .editorial-stories-heading {
    padding: 62px 8px 48px;
  }

  .design-preview .editorial-stories-heading h2 {
    font-size: 43px;
  }

  .design-preview .editorial-story-copy {
    min-height: 300px;
    padding: 32px 24px 38px;
  }

  .design-preview .editorial-story-copy h3 {
    font-size: 44px;
  }
}

/* Fixed two-level header shared by every website screen. */
.design-preview .preview-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 112px;
  border: 0;
  background: linear-gradient(
    to bottom,
    #261d18 0,
    #261d18 34px,
    transparent 34px,
    transparent 100%
  );
  overflow: visible;
}

.design-preview .preview-header + .view-stage {
  padding-top: 34px;
}

.design-preview .preview-header + .view-stage > .page:first-child {
  margin-top: 78px;
}

.design-preview .preview-header + .view-stage > .editorial-home-hero:first-child {
  padding-top: 0;
}

.design-preview .preview-utility {
  max-width: 1440px;
  height: 34px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.design-preview .preview-utility-note {
  color: rgba(255, 252, 246, 0.72);
  font: 600 9px/1 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.design-preview .preview-utility-actions {
  height: 34px;
  gap: 2px;
}

.design-preview .preview-privacy-link {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  margin-right: 6px;
  padding: 0 12px;
  border-right: 1px solid rgba(255, 252, 246, 0.16);
  color: rgba(255, 252, 246, 0.72);
  font: 600 9px/1 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease;
}

.design-preview .preview-privacy-link:hover,
.design-preview .preview-privacy-link:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fffdf8;
}

.design-preview .preview-utility-actions .icon-button {
  min-width: 30px;
  height: 28px;
  padding: 3px 7px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 252, 246, 0.76);
}

.design-preview .preview-utility-actions .icon-button:hover,
.design-preview .preview-utility-actions .icon-button.active {
  background: rgba(255, 255, 255, 0.08);
  color: #fffdf8;
}

.design-preview .preview-utility-actions svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
}

.design-preview .preview-language {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.design-preview .preview-language img {
  display: block;
  width: 22px;
  height: 15px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 1px;
  object-fit: cover;
}

.design-preview .preview-nav-shell {
  position: absolute;
  top: 34px;
  left: 0;
  width: 100%;
  height: 78px;
  border-bottom: 1px solid rgba(80, 58, 46, 0.12);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.70) 42%,
    rgba(255, 255, 255, 0.38) 78%,
    rgba(255, 255, 255, 0.08) 100%
  );
  box-shadow: 0 8px 30px rgba(49, 34, 27, 0.05);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
}

.design-preview .preview-nav-inner {
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 230px 1fr 230px;
  align-items: center;
}

.design-preview .preview-nav-inner .brand {
  justify-self: start;
}

.design-preview .preview-nav-inner .brand img {
  width: 184px;
  height: 62px;
  object-fit: contain;
}

.design-preview .preview-nav-inner .nav {
  justify-self: center;
  grid-column: auto;
  order: initial;
  gap: 8px;
}

.design-preview .preview-nav-inner .tab {
  min-height: 44px;
  padding: 9px 17px;
  border: 0;
  background: transparent;
}

.design-preview .preview-nav-inner .tab:hover {
  background: rgba(255, 255, 255, 0.5);
}

.design-preview .preview-nav-inner .tab.active {
  background: transparent;
  box-shadow: inset 0 -1px 0 #9a7650;
}

.design-preview .editorial-home-hero {
  max-width: none;
  padding: 0 0 104px;
}

.design-preview .editorial-home-figure {
  width: 100%;
  height: min(48vh, 470px);
  min-height: 370px;
}

.design-preview .editorial-home-intro {
  max-width: 1376px;
  margin: 0 auto;
}

.design-preview .preview-category-page {
  padding-top: 24px;
}

.design-preview .preview-category-page .product-grid {
  padding-top: 0;
}

@media (max-width: 900px) {
  .design-preview .preview-nav-inner {
    grid-template-columns: 180px 1fr;
    padding: 0 20px;
  }

  .design-preview .preview-nav-balance {
    display: none;
  }

  .design-preview .preview-nav-inner .brand img {
    width: 160px;
  }

  .design-preview .preview-nav-inner .nav {
    justify-self: end;
  }

  .design-preview .preview-nav-inner .tab {
    padding: 9px 10px;
  }
}

@media (max-width: 720px) {
  .design-preview .preview-header {
    height: 96px;
  }

  .design-preview .preview-header + .view-stage {
    padding-top: 34px;
  }

  .design-preview .preview-header + .view-stage > .page:first-child {
    margin-top: 62px;
  }

  .design-preview .preview-utility {
    padding: 0 12px;
  }

  .design-preview .preview-utility-note {
    font-size: 8px;
    letter-spacing: 0.11em;
  }

  .design-preview .preview-privacy-link {
    margin-right: 2px;
    padding: 0 7px;
    font-size: 7.5px;
    letter-spacing: 0.05em;
  }

  .design-preview .preview-nav-shell {
    height: 62px;
  }

  .design-preview .preview-nav-inner {
    padding: 0 6px;
    grid-template-columns: 92px minmax(0, 1fr);
    grid-template-rows: 62px;
    gap: 2px;
  }

  .design-preview .preview-nav-inner .brand {
    justify-self: start;
  }

  .design-preview .preview-nav-inner .brand img {
    width: 88px;
    height: 40px;
  }

  .design-preview .preview-nav-inner .nav {
    display: flex;
    grid-template-columns: none;
    width: 100%;
    justify-self: stretch;
    justify-content: space-between;
    gap: 2px;
    overflow: visible;
    flex-wrap: nowrap;
  }

  .design-preview .preview-nav-inner .tab {
    width: auto;
    min-height: 36px;
    padding: 6px 2px;
    font-size: 8.2px;
    line-height: 1;
    white-space: nowrap;
  }

  .design-preview .editorial-home-hero {
    padding-top: 0;
  }

  .design-preview .editorial-home-figure {
    height: 360px;
    min-height: 360px;
  }

  .design-preview .preview-category-page {
    padding-top: 18px;
  }

}

/* One-screen portion dessert picker */
.design-preview .preview-category-page.portion-picker-page,
.portion-picker-page {
  min-height: calc(100dvh - 110px);
  padding: 24px 30px 28px;
}

.portion-picker-shell {
  width: min(1376px, 100%);
  margin: 0 auto;
}

.portion-picker-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  gap: 32px;
  align-items: end;
  margin-bottom: 18px;
}

.portion-picker-heading .eyebrow {
  margin: 0 0 5px;
}

.portion-picker-heading h1 {
  margin: 0;
  color: #251913;
  font: 400 clamp(34px, 3.4vw, 54px)/0.96 Georgia, serif;
  letter-spacing: -0.035em;
}

.portion-picker-heading > p {
  margin: 0 0 2px;
  color: #78665d;
  font-size: 14px;
  line-height: 1.55;
}

.portion-picker-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

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

.portion-product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e3d8cc;
  border-radius: 3px;
  background: rgba(255, 252, 247, 0.92);
  box-shadow: 0 12px 34px rgba(75, 50, 35, 0.06);
  transition: border-color 280ms ease, box-shadow 280ms ease, transform 280ms ease;
}

.portion-product-card.selected {
  border-color: #a27348;
  box-shadow: 0 14px 36px rgba(92, 58, 38, 0.12), inset 0 0 0 1px rgba(162, 115, 72, 0.12);
}

.portion-product-card.is-coming-soon {
  border-color: #d9d5d0;
  background: #efeeec;
  box-shadow: none;
}

.portion-product-card.is-coming-soon .portion-product-visual {
  cursor: default;
}

.portion-product-card.is-coming-soon .portion-image-main,
.portion-product-card.is-coming-soon .portion-image-cut {
  filter: grayscale(0.92) saturate(0.16) contrast(0.9);
}

.portion-product-card.is-coming-soon .portion-image-main {
  opacity: 0.5;
}

.portion-product-card.is-coming-soon .portion-image-cut {
  opacity: 0;
}

.portion-coming-soon-badge {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  min-width: max-content;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(64, 62, 60, 0.88);
  color: #fff;
  box-shadow: 0 8px 24px rgba(43, 41, 39, 0.2);
  font: 750 9px/1 system-ui, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portion-product-card.is-coming-soon .portion-product-info {
  opacity: 0.62;
  pointer-events: none;
}

.portion-product-card.is-coming-soon .portion-product-visual {
  pointer-events: none;
}

.portion-product-card.is-coming-soon .portion-product-name,
.portion-product-card.is-coming-soon .portion-details-link,
.portion-product-card.is-coming-soon .portion-stepper,
.portion-product-card.is-coming-soon .portion-card-stepper input {
  cursor: default;
  color: #76726e;
}

.portion-product-card.is-coming-soon .portion-details-link,
.portion-product-card.is-coming-soon .portion-stepper,
.portion-product-card.is-coming-soon .portion-card-stepper input {
  border-color: #d4d0cb;
  background: #e8e6e3;
}

.portion-product-visual {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid #e8dfd5;
  padding: 0;
  background: var(--portion-photo-bg, #f6eee6);
  cursor: pointer;
}

.portion-product-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 1900ms ease-in-out, transform 1900ms ease-in-out;
}

.portion-image-main {
  opacity: 1;
  transform: scale(1);
}

.portion-image-cut {
  opacity: 0;
  transform: scale(1.035);
}

.portion-product-visual:focus-visible .portion-image-main {
  opacity: 0;
  transform: scale(1.025);
}

.portion-product-visual:focus-visible .portion-image-cut {
  opacity: 1;
  transform: scale(1);
}

.portion-hover-hint {
  position: absolute;
  right: 9px;
  bottom: 8px;
  z-index: 2;
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(38, 25, 19, 0.74);
  color: #fff;
  font: 700 9px/1 system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 300ms ease, transform 300ms ease;
}

.portion-product-visual:focus-visible .portion-hover-hint {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .portion-product-card .portion-product-visual:not(.no-cut) .portion-image-main,
  .portion-product-card .portion-product-visual:not(.no-cut) .portion-image-cut {
    animation: none;
    transition-duration: 1600ms;
    transition-timing-function: cubic-bezier(0.45, 0, 0.2, 1);
  }

  .portion-product-card.hover-cycle-active .portion-product-visual:not(.no-cut) .portion-image-main {
    opacity: 0;
    transform: scale(1.02);
  }

  .portion-product-card.hover-cycle-active .portion-product-visual:not(.no-cut) .portion-image-cut {
    opacity: 1;
    transform: scale(1);
  }

  .portion-product-card.hover-cycle-active .portion-product-visual:not(.no-cut) .portion-hover-hint {
    opacity: 1;
    transform: translateY(0);
  }

  .portion-product-card.hover-cycle-finishing .portion-product-visual:not(.no-cut) .portion-image-main,
  .portion-product-card.hover-cycle-finishing .portion-product-visual:not(.no-cut) .portion-image-cut,
  .portion-product-card.hover-cycle-finishing .portion-product-visual:not(.no-cut) .portion-hover-hint {
    transition: none;
  }

  .portion-product-card.hover-cycle-finishing .portion-product-visual:not(.no-cut) .portion-image-main {
    animation: portion-hover-finish-main 2100ms cubic-bezier(0.45, 0, 0.2, 1) 1 both;
  }

  .portion-product-card.hover-cycle-finishing .portion-product-visual:not(.no-cut) .portion-image-cut {
    animation: portion-hover-finish-cut 2100ms cubic-bezier(0.45, 0, 0.2, 1) 1 both;
  }

  .portion-product-card.hover-cycle-finishing .portion-product-visual:not(.no-cut) .portion-hover-hint {
    animation: portion-hover-finish-hint 2100ms cubic-bezier(0.45, 0, 0.2, 1) 1 both;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .portion-detail-media:not(.no-cut) .portion-image-main {
    animation: portion-detail-ambient-main 24s ease-in-out infinite both;
  }

  .portion-detail-media:not(.no-cut) .portion-image-cut {
    animation: portion-detail-ambient-cut 24s ease-in-out infinite both;
  }
}

@media (max-width: 720px) and (prefers-reduced-motion: no-preference),
       (hover: none) and (prefers-reduced-motion: no-preference),
       (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  .portion-product-card.touch-cycle-active .portion-product-visual:not(.no-cut) .portion-image-main,
  .portion-product-card.touch-cycle-finishing .portion-product-visual:not(.no-cut) .portion-image-main {
    animation: portion-touch-natural-main 3700ms cubic-bezier(0.45, 0, 0.2, 1) 1 both;
  }

  .portion-product-card.touch-cycle-active .portion-product-visual:not(.no-cut) .portion-image-cut,
  .portion-product-card.touch-cycle-finishing .portion-product-visual:not(.no-cut) .portion-image-cut {
    animation: portion-touch-natural-cut 3700ms cubic-bezier(0.45, 0, 0.2, 1) 1 both;
  }

  .portion-product-card .portion-hover-hint {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html[data-preview-device="tablet"] .portion-product-card.touch-cycle-active .portion-product-visual:not(.no-cut) .portion-image-main,
  html[data-preview-device="tablet"] .portion-product-card.touch-cycle-finishing .portion-product-visual:not(.no-cut) .portion-image-main {
    animation: portion-touch-natural-main 3700ms cubic-bezier(0.45, 0, 0.2, 1) 1 both;
  }

  html[data-preview-device="tablet"] .portion-product-card.touch-cycle-active .portion-product-visual:not(.no-cut) .portion-image-cut,
  html[data-preview-device="tablet"] .portion-product-card.touch-cycle-finishing .portion-product-visual:not(.no-cut) .portion-image-cut {
    animation: portion-touch-natural-cut 3700ms cubic-bezier(0.45, 0, 0.2, 1) 1 both;
  }

  html[data-preview-device="tablet"] .portion-product-card .portion-hover-hint {
    display: none;
  }
}

.portion-detail-media .portion-hover-hint {
  display: none;
}

@keyframes portion-hover-finish-main {
  0% {
    opacity: var(--hover-main-start, 0);
  }

  24% {
    opacity: 0;
  }

  100% {
    opacity: var(--hover-main-rest, 1);
  }
}

@keyframes portion-hover-finish-cut {
  0% {
    opacity: var(--hover-cut-start, 1);
  }

  24% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes portion-hover-finish-hint {
  0%,
  24% {
    opacity: 1;
    transform: translateY(0);
  }

  62%,
  100% {
    opacity: 0;
    transform: translateY(4px);
  }
}

@keyframes portion-touch-natural-main {
  0%,
  100% {
    opacity: var(--touch-main-rest, 1);
    transform: scale(1);
  }

  43%,
  56% {
    opacity: 0;
    transform: scale(1.02);
  }
}

@keyframes portion-touch-natural-cut {
  0%,
  100% {
    opacity: 0;
    transform: scale(1.035);
  }

  43%,
  56% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes portion-detail-ambient-main {
  0%,
  4%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  18%,
  42% {
    opacity: 0;
    transform: scale(1);
  }

  56% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes portion-detail-ambient-cut {
  0%,
  4%,
  100% {
    opacity: 0;
    transform: scale(1);
  }

  18%,
  42% {
    opacity: 1;
    transform: scale(1);
  }

  56% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes portion-photo-cycle-main {
  0%,
  5%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  21%,
  45% {
    opacity: 0;
    transform: scale(1);
  }

  61% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes portion-photo-cycle-cut {
  0%,
  5%,
  100% {
    opacity: 0;
    transform: scale(1);
  }

  21%,
  45% {
    opacity: 1;
    transform: scale(1);
  }

  61% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes portion-photo-cycle-hint {
  0%,
  5%,
  61%,
  100% {
    opacity: 0;
    transform: translateY(4px);
  }

  21%,
  45% {
    opacity: 1;
    transform: translateY(0);
  }
}

.portion-product-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 88px;
  padding: 11px 11px 12px 13px;
}

.portion-product-info > div:first-child {
  min-width: 0;
}

.portion-card-actions {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.portion-product-info h2 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 4px;
  color: #2a1d17;
  font: 400 clamp(16px, 1.45vw, 20px)/1.04 Georgia, serif;
  white-space: normal;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.portion-product-name {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  margin: 0 0 4px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #2a1d17;
  font: 400 clamp(16px, 1.45vw, 20px)/1.04 Georgia, serif;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  cursor: default;
}

.portion-details-link {
  min-height: 34px;
  border: 1px solid #d9c9ba;
  border-radius: 999px;
  padding: 7px 11px;
  background: #fff;
  color: #38271f;
  font: 700 10px/1 system-ui, sans-serif;
  white-space: nowrap;
  cursor: pointer;
}

.portion-details-link:hover {
  background: #f3e5da;
}

.portion-product-info span {
  color: #8a6e5b;
  font: 700 12px/1.2 system-ui, sans-serif;
}

.portion-stepper {
  display: grid;
  grid-template-columns: 30px 27px 30px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #d9c9ba;
  border-radius: 999px;
  background: #fff;
}

.portion-stepper button {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #38271f;
  font: 500 19px/1 system-ui, sans-serif;
  cursor: pointer;
}

.portion-stepper button:hover:not(:disabled) {
  background: #f3e5da;
}

.portion-stepper button:disabled {
  color: #c9beb6;
  cursor: default;
}

.portion-stepper strong {
  text-align: center;
  font: 800 13px/1 system-ui, sans-serif;
}

.portion-card-stepper {
  grid-template-columns: 30px 38px 30px;
}

.portion-card-stepper input {
  width: 38px;
  height: 30px;
  border: 0;
  border-right: 1px solid #eee3d9;
  border-left: 1px solid #eee3d9;
  outline: 0;
  background: transparent;
  color: #2f211b;
  font: 800 12px/1 system-ui, sans-serif;
  text-align: center;
  appearance: textfield;
}

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

.portion-picker-summary {
  position: sticky;
  top: 128px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  width: 100%;
  height: clamp(430px, calc(100dvh - 245px), 620px);
  min-height: 0;
  border: 1px solid rgba(191, 151, 108, 0.34);
  border-radius: 8px;
  padding: 20px;
  background: linear-gradient(155deg, #33231c 0%, #271a15 58%, #201511 100%);
  color: #fffaf5;
  box-shadow: 0 24px 56px rgba(43, 29, 23, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.portion-picker-summary.is-coming-soon {
  border-color: rgba(125, 121, 117, 0.36);
  background: linear-gradient(155deg, #716e6b 0%, #5d5a57 58%, #504d4a 100%);
  box-shadow: 0 18px 42px rgba(55, 52, 49, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.portion-picker-summary.is-coming-soon .portion-summary-eyebrow,
.portion-picker-summary.is-coming-soon .portion-summary-list p,
.portion-picker-summary.is-coming-soon .portion-summary-total span {
  color: #dedbd7;
}

.portion-picker-summary.is-coming-soon .portion-add-button,
.design-preview .portion-picker-summary.is-coming-soon .portion-add-button {
  opacity: 0.74 !important;
  background: #d8d5d1 !important;
  color: #55514e !important;
}

.portion-summary-heading,
.portion-summary-total,
.portion-summary-list > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.portion-summary-heading {
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(226, 196, 164, 0.2);
}

.portion-summary-heading > div {
  display: grid;
  gap: 5px;
}

.portion-summary-heading > div > strong {
  font: 400 23px/1 Georgia, serif;
}

.portion-summary-eyebrow {
  color: #c9a97f;
  font: 700 8px/1 system-ui, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.portion-summary-count {
  border: 1px solid rgba(226, 196, 164, 0.26);
  border-radius: 999px;
  padding: 7px 9px;
  color: #f4e8dc;
  font: 700 10px/1 system-ui, sans-serif;
}

.portion-summary-list {
  display: grid;
  align-content: start;
  gap: 0;
  overflow: auto;
  padding: 14px 0;
}

.portion-summary-list > div {
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #eaded5;
  font: 600 12px/1.3 system-ui, sans-serif;
}

.portion-summary-list > div > span {
  display: grid;
  gap: 4px;
}

.portion-summary-list b {
  color: #fffaf5;
  font-size: 12px;
}

.portion-summary-list small {
  color: #bfa99b;
  font-size: 10px;
}

.portion-summary-list p {
  margin: 0;
  max-width: 220px;
  color: #cbb9ab;
  font: 500 12px/1.55 system-ui, sans-serif;
}

.portion-summary-total {
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid rgba(226, 196, 164, 0.2);
  font: 700 14px/1.2 system-ui, sans-serif;
}

.portion-summary-total strong {
  font: 400 25px/1 Georgia, serif;
}

.portion-summary-mobile-count {
  display: none;
}

.portion-picker-summary .portion-add-button,
.design-preview .portion-picker-summary .portion-add-button {
  width: 100%;
  min-height: 50px;
  border-radius: 3px;
  background: #f8eee4 !important;
  color: #2b1d17 !important;
}

.portion-picker-summary .portion-add-button:hover:not(:disabled),
.design-preview .portion-picker-summary .portion-add-button:hover:not(:disabled) {
  background: #fffaf5;
}

.portion-picker-summary .portion-add-button:disabled {
  opacity: 0.28;
}

.portion-add-label-mobile {
  display: none;
}

.portion-detail-page {
  max-width: 1380px;
  padding-top: 24px;
}

.portion-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(350px, 0.88fr);
  gap: clamp(26px, 4vw, 64px);
  align-items: start;
  margin-top: 10px;
}

.portion-detail-media {
  position: sticky;
  top: 118px;
  height: min(58vh, 560px);
  min-height: 0;
  overflow: hidden;
  border: 1px solid #e3d8cc;
  border-radius: 4px;
  background: var(--portion-photo-bg, #f6eee6);
  box-shadow: 0 20px 54px rgba(75, 50, 35, 0.09);
}

.portion-detail-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.portion-detail-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.portion-detail-backdrop {
  position: absolute;
  z-index: 0;
  inset: -22px;
  background-position: center;
  background-size: cover;
  filter: blur(18px) saturate(0.82) brightness(1.03);
  pointer-events: none;
}

.portion-detail-media:focus-within .portion-image-main {
  opacity: 0;
  transform: scale(1.02);
}

.portion-detail-media:focus-within .portion-image-cut {
  opacity: 1;
  transform: scale(1);
}

.portion-detail-copy {
  padding: 4px 0 0;
}

.portion-detail-copy h1 {
  margin: 5px 0 9px;
  color: #251913;
  font: 400 clamp(40px, 4.3vw, 60px)/0.94 Georgia, serif;
  letter-spacing: -0.045em;
}

.portion-detail-lede {
  max-width: 560px;
  margin: 0 0 15px;
  color: #78665d;
  font: 400 15px/1.45 system-ui, sans-serif;
}

.portion-facts {
  margin: 0;
  border-top: 1px solid #dfd3c7;
}

.portion-facts > div {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid #dfd3c7;
}

.portion-facts dt {
  color: #8a6e5b;
  font: 700 10px/1.4 system-ui, sans-serif;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.portion-facts dd {
  margin: 0;
  color: #34241d;
  font: 500 14px/1.5 system-ui, sans-serif;
}

.portion-detail-note {
  margin-top: 14px;
}

.portion-detail-note h2 {
  margin: 0 0 8px;
  color: #2a1d17;
  font: 400 24px/1.1 Georgia, serif;
}

.portion-detail-note p {
  margin: 0;
  color: #78665d;
  font-size: 14px;
  line-height: 1.45;
}

.portion-detail-order,
.portion-detail-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.portion-detail-order {
  margin-top: 14px;
  padding: 11px 0;
  border-top: 1px solid #dfd3c7;
  border-bottom: 1px solid #dfd3c7;
}

.portion-detail-order > div:first-child {
  display: grid;
  gap: 4px;
}

.portion-detail-order span,
.portion-detail-total span {
  color: #8a6e5b;
  font: 700 11px/1.2 system-ui, sans-serif;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.portion-detail-order strong {
  color: #2a1d17;
  font: 400 22px/1 Georgia, serif;
}

.portion-detail-stepper {
  grid-template-columns: 42px 38px 42px;
}

.portion-detail-stepper button {
  width: 42px;
  height: 38px;
}

.portion-detail-total {
  padding: 10px 0 8px;
}

.portion-detail-total strong {
  color: #2a1d17;
  font: 400 30px/1 Georgia, serif;
}

.portion-detail-add {
  width: 100%;
  min-height: 42px;
}

.product-photo-pending {
  height: 250px;
  display: grid;
  place-content: center;
  gap: 9px;
  border-bottom: 1px solid #ead9c7;
  background:
    radial-gradient(circle at 50% 35%, rgba(185, 130, 56, 0.12), transparent 34%),
    linear-gradient(145deg, #fffaf2, #f1e7db);
  color: #9b795c;
  text-align: center;
}

.product-photo-pending span {
  font-size: 25px;
}

.product-photo-pending small {
  font: 700 10px/1 system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .portion-picker-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

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

  .portion-product-info {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    min-height: 112px;
  }

  .portion-product-name,
  .portion-product-info h2 {
    min-height: 34px;
    font-size: 17px;
  }

  .portion-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .portion-detail-layout {
    grid-template-columns: 1fr;
  }

  .portion-detail-media {
    position: relative;
    top: auto;
    min-height: 520px;
  }
}

@media (max-width: 720px) {
  html {
    scrollbar-width: none;
    scrollbar-gutter: auto;
  }

  html::-webkit-scrollbar,
  body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .design-preview .preview-category-page.portion-picker-page,
  .portion-picker-page {
    min-height: calc(100dvh - 96px);
    padding: 18px 10px calc(var(--mobile-summary-clearance, 104px) + env(safe-area-inset-bottom));
  }

  .portion-picker-heading {
    display: block;
    margin-bottom: 10px;
  }

  .portion-picker-heading .eyebrow {
    margin-bottom: 2px;
    font-size: 8px;
  }

  .portion-picker-heading h1 {
    font-size: 28px;
    line-height: 1;
  }

  .portion-picker-heading > p {
    display: none;
  }

  .portion-picker-layout {
    display: block;
  }

  .portion-picker-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .portion-product-card,
  .portion-product-card.selected {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    height: 88px;
    transform: none;
  }

  .portion-product-visual {
    grid-row: 1;
    width: 96px;
    height: 88px;
    border-right: 1px solid #e8dfd5;
    border-bottom: 0;
  }

  .portion-product-visual img {
    object-fit: cover;
  }

  .portion-coming-soon-badge {
    padding: 6px 7px;
    font-size: 6.5px;
    letter-spacing: 0.07em;
  }

  .portion-hover-hint {
    display: none;
  }

  .portion-product-info {
    grid-row: 1;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 2px;
    min-height: 88px;
    padding: 6px 8px 6px 10px;
  }

  .portion-card-actions {
    display: flex;
    width: 100%;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
  }

  .portion-product-info h2 {
    margin-bottom: 3px;
    min-height: 0;
    font-size: 17px;
  }

  .portion-product-name {
    display: block;
    width: 100%;
    overflow: hidden;
    margin-bottom: 3px;
    min-height: 0;
    font-size: clamp(14px, 4.15vw, 17px);
    line-height: 1;
    white-space: nowrap;
    text-overflow: clip;
  }

  .portion-details-link {
    padding: 7px 9px;
    font-size: 9px;
  }

  .portion-stepper {
    grid-template-columns: 28px 24px 28px;
  }

  .portion-stepper button {
    width: 28px;
    height: 30px;
  }

  .portion-picker-summary {
    position: fixed;
    top: auto;
    left: 12px;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    width: auto;
    z-index: 45;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(142px, 1.18fr);
    align-items: center;
    gap: 8px;
    min-height: 0;
    height: auto;
    border: 1px solid rgba(216, 177, 135, 0.45);
    border-radius: 14px;
    padding: 8px;
    background: rgba(39, 25, 20, 0.96);
    box-shadow: 0 18px 44px rgba(36, 22, 17, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
  }

  .portion-summary-heading,
  .portion-summary-list {
    display: none;
  }

  .portion-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 6px;
    border: 0;
  }

  .portion-summary-total span {
    display: grid;
    gap: 4px;
    color: #cfbfb4;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
  }

  .portion-summary-mobile-count {
    display: block;
    color: #f3e5d8;
    font: 700 8px/1.1 ui-sans-serif, system-ui, sans-serif;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
  }

  .portion-summary-total strong {
    color: #fffaf5;
    font-size: 23px;
    white-space: nowrap;
  }

  .portion-picker-summary .portion-add-button,
  .design-preview .portion-picker-summary .portion-add-button {
    min-height: 46px;
    border-radius: 10px;
    padding: 8px 10px;
    background: #f8eee4 !important;
    color: #2b1d17 !important;
    font-size: 9px;
    letter-spacing: 0.03em;
  }

  .portion-add-label-desktop {
    display: none;
  }

  .portion-add-label-mobile {
    display: inline;
  }

  .cart-count-badge {
    right: -8px;
    bottom: -8px;
    min-width: 23px;
    height: 23px;
    border: 2px solid #fff8f1;
    padding: 0 4px;
    background: #a91235;
    color: #fff;
    font-size: 10px;
    box-shadow: 0 4px 10px rgba(89, 7, 30, 0.38);
  }

  .portion-detail-page {
    padding: 18px 12px 86px;
  }

  .portion-detail-layout {
    gap: 12px;
    margin-top: 12px;
  }

  .portion-detail-media {
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .portion-detail-copy {
    padding-top: 10px;
  }

  .portion-detail-copy h1 {
    font-size: 43px;
  }

  .portion-detail-order {
    position: sticky;
    bottom: 0;
    z-index: 4;
    margin-left: -12px;
    margin-right: -12px;
    padding: 12px;
    background: rgba(255, 253, 249, 0.96);
    backdrop-filter: blur(14px);
  }
}

/* Portion dessert details are a single responsive viewport, never a vertical slide. */
/* v27 removes purchasing from the detail; catalog and cart own quantities. */
html.portion-detail-lock {
  overflow: hidden;
}

.design-preview.portion-detail-lock {
  overflow: hidden;
}

.design-preview.portion-detail-lock .view-stage {
  height: 100dvh;
  overflow: hidden;
}

.design-preview.portion-detail-lock .footer,
.design-preview.portion-detail-lock .mobile-cart {
  display: none;
}

.design-preview.portion-detail-lock .portion-detail-page {
  height: calc(100dvh - 112px);
  padding: 12px 26px 10px;
  overflow-y: auto;
}

.design-preview.portion-detail-lock .portion-detail-layout {
  height: 100%;
  min-height: 0;
  margin-top: 8px;
  align-items: stretch;
}

.design-preview.portion-detail-lock .portion-detail-media {
  position: relative;
  top: auto;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.design-preview.portion-detail-lock .portion-detail-image {
  object-fit: contain;
}

.design-preview.portion-detail-lock .portion-detail-media:not(.has-mobile-detail-photo) .portion-detail-image {
  inset: auto 0 auto 0;
  top: 50%;
  width: 100%;
  height: auto;
  transform: translateY(-50%);
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-composite: intersect;
}

.design-preview.portion-detail-lock .portion-detail-media .portion-image-main,
.design-preview.portion-detail-lock .portion-detail-media .portion-image-cut,
.design-preview.portion-detail-lock .portion-detail-media:hover .portion-image-main,
.design-preview.portion-detail-lock .portion-detail-media:hover .portion-image-cut {
  transform: scale(1);
}

.design-preview.portion-detail-lock .portion-detail-copy {
  height: auto;
  min-height: 0;
  overflow: visible;
}

.design-preview.portion-detail-lock .portion-detail-copy h1 {
  line-height: 1;
  padding-bottom: 3px;
}

@media (min-width: 721px) and (max-width: 980px) {
  .design-preview.portion-detail-lock .portion-detail-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(330px, 1.1fr);
    gap: 18px;
  }

  .design-preview.portion-detail-lock .portion-detail-copy h1 {
    font-size: clamp(36px, 5vw, 48px);
  }
}

@media (max-height: 760px) and (min-width: 721px) {
  .design-preview.portion-detail-lock .portion-detail-page {
    padding-top: 8px;
    padding-bottom: 6px;
  }

  .design-preview.portion-detail-lock .portion-detail-page > .ghost-button {
    min-height: 38px;
    padding: 8px 14px;
  }

  .design-preview.portion-detail-lock .portion-detail-layout {
    height: 100%;
    margin-top: 6px;
  }

  .design-preview.portion-detail-lock .portion-detail-copy h1 {
    margin: 3px 0 6px;
    font-size: clamp(36px, 4vw, 44px);
  }

  .design-preview.portion-detail-lock .portion-detail-lede {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.3;
  }

  .design-preview.portion-detail-lock .portion-facts > div {
    padding: 6px 0;
  }

  .design-preview.portion-detail-lock .portion-detail-note {
    margin-top: 8px;
  }

  .design-preview.portion-detail-lock .portion-detail-note h2 {
    margin-bottom: 4px;
    font-size: 20px;
  }

  .design-preview.portion-detail-lock .portion-detail-note p {
    font-size: 12px;
    line-height: 1.3;
  }

  .design-preview.portion-detail-lock .portion-detail-order {
    margin-top: 8px;
    padding: 6px 0;
  }

  .design-preview.portion-detail-lock .portion-detail-total {
    padding: 6px 0 5px;
  }

  .design-preview.portion-detail-lock .portion-detail-add {
    min-height: 36px;
  }
}

@media (max-width: 720px) {
  .design-preview.portion-detail-lock .portion-detail-page {
    height: calc(100dvh - 96px);
    padding: 6px 10px 6px;
  }

  .design-preview.portion-detail-lock .portion-detail-page > .ghost-button {
    min-height: 36px;
    padding: 7px 11px;
    font-size: 12px;
  }

  .design-preview.portion-detail-lock .portion-detail-layout {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(80px, min(46dvh, 380px)) auto;
    height: 100%;
    gap: 6px;
    margin-top: 0;
    align-content: start;
  }

  .design-preview.portion-detail-lock .portion-detail-media {
    height: 100%;
    aspect-ratio: auto;
  }

  .design-preview.portion-detail-lock .portion-detail-media:not(.has-mobile-detail-photo) .portion-detail-image {
    inset: 0 auto 0 50%;
    top: 0;
    width: auto;
    height: 100%;
    transform: translateX(-50%);
  }

  .design-preview.portion-detail-lock .portion-detail-media.has-mobile-detail-photo .portion-detail-image {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
    object-fit: contain;
    object-position: center;
  }

  .design-preview.portion-detail-lock .portion-detail-copy {
    padding-top: 0;
    height: auto;
    overflow: visible;
  }

  .design-preview.portion-detail-lock .portion-detail-copy .eyebrow {
    margin-bottom: 1px;
    font-size: 8px;
  }

  .design-preview.portion-detail-lock .portion-detail-copy h1 {
    margin: 1px 0 3px;
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1;
  }

  .design-preview.portion-detail-lock .portion-detail-lede {
    margin: 0 0 4px;
    font-size: 13px;
    line-height: 1.25;
  }

  .design-preview.portion-detail-lock .portion-facts > div {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 8px;
    padding: 3px 0;
  }

  .design-preview.portion-detail-lock .portion-facts dt {
    font-size: 9px;
  }

  .design-preview.portion-detail-lock .portion-facts dd {
    font-size: 13px;
    line-height: 1.25;
  }

  .design-preview.portion-detail-lock .portion-detail-note {
    margin-top: 4px;
  }

  .design-preview.portion-detail-lock .portion-detail-note h2 {
    margin-bottom: 2px;
    font-size: 16px;
  }

  .design-preview.portion-detail-lock .portion-detail-note p {
    font-size: 13px;
    line-height: 1.3;
  }

  .design-preview.portion-detail-lock .portion-detail-order {
    position: static;
    margin: 4px 0 0;
    padding: 4px 0;
    background: transparent;
    backdrop-filter: none;
  }

  .design-preview.portion-detail-lock .portion-detail-order span,
  .design-preview.portion-detail-lock .portion-detail-total span {
    font-size: 8px;
  }

  .design-preview.portion-detail-lock .portion-detail-order strong {
    font-size: 17px;
  }

  .design-preview.portion-detail-lock .portion-detail-stepper {
    grid-template-columns: 28px 24px 28px;
  }

  .design-preview.portion-detail-lock .portion-detail-stepper button {
    width: 28px;
    height: 28px;
  }

  .design-preview.portion-detail-lock .portion-detail-total {
    padding: 3px 0;
  }

  .design-preview.portion-detail-lock .portion-detail-total strong {
    font-size: 22px;
  }

  .design-preview.portion-detail-lock .portion-detail-add {
    min-height: 32px;
    padding: 6px 10px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portion-product-visual img,
  .portion-detail-media img,
  .portion-detail-layer,
  .portion-product-card,
  .portion-hover-hint {
    transition: none;
    animation: none !important;
  }
}

/* Direct catalog: every category uses the same card, quantity and detail pattern. */
.portion-product-visual.no-cut:hover .portion-image-main,
.portion-product-visual.no-cut:focus-visible .portion-image-main,
.portion-detail-media.no-cut:hover .portion-image-main,
.portion-detail-media.no-cut:focus-within .portion-image-main {
  animation: none !important;
  opacity: 1;
  transform: scale(1);
}

.portion-detail-media.no-cut .portion-detail-image {
  object-fit: contain;
}

.portion-detail-stepper input {
  width: 38px;
  height: 38px;
  border: 0;
  border-right: 1px solid #eee3d9;
  border-left: 1px solid #eee3d9;
  outline: 0;
  background: transparent;
  color: #2f211b;
  font: 800 13px/1 system-ui, sans-serif;
  text-align: center;
  appearance: textfield;
}

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

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

.category-makaronsai .portion-product-visual {
  aspect-ratio: 1.18 / 1;
}

/* The source is square while this card is intentionally wider. Fill the frame by
   trimming only the empty photo background, so the image canvas never shows as
   a smaller rectangle inside the card and the product itself stays complete. */
.category-makaronsai .portion-product-visual img {
  object-fit: cover;
}

.direct-picker-page .portion-product-card:not(.selected):not(.is-coming-soon):hover {
  border-color: #cbb39d;
  box-shadow: 0 16px 38px rgba(75, 50, 35, 0.1);
}

@media (max-width: 720px) {
  .category-makaronsai .portion-picker-grid {
    grid-template-columns: 1fr;
  }

  .portion-detail-stepper input {
    width: 24px;
    height: 28px;
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .design-preview .preview-nav-inner {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 1px;
    padding: 0 4px;
  }

  .design-preview .preview-nav-inner .brand img {
    width: 64px;
    height: 34px;
  }

  .design-preview .preview-nav-inner .nav {
    gap: 0;
  }

  .design-preview .preview-nav-inner .tab {
    padding: 6px 1px;
    font-size: 7.5px;
  }
}

/* v30: recognizable product photos and responsive quantity controls in the shopping cart. */
.cart-line-main {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1 1 auto;
}

.cart-line-image {
  width: 92px;
  height: 92px;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(185, 130, 56, 0.22);
  border-radius: 8px;
  background: #f6ede4;
}

.cart-line-copy {
  min-width: 0;
}

.cart-line-actions {
  display: grid;
  gap: 8px;
  justify-items: end;
  flex: 0 0 auto;
}

.cart-line-action-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.cart-line-quantity {
  display: inline-grid;
  grid-template-columns: 36px 34px 36px;
  align-items: center;
  min-height: 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.cart-line-quantity span {
  color: var(--deep);
  font-weight: 800;
  text-align: center;
}

.cart-quantity-button {
  width: 36px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--deep);
  font: inherit;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
}

.cart-quantity-button:hover,
.cart-quantity-button:focus-visible {
  background: var(--cream);
}

@media (max-width: 640px) {
  .cart-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .cart-line-main {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
  }

  .cart-line-image {
    width: 76px;
    height: 76px;
  }

  .cart-line-actions {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
  }

  .cart-line-actions > strong {
    justify-self: start;
  }
}
