: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;
}

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/home_hero_logo3_full.jpg") 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/home_hero_logo3_full.jpg") 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 {
  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;
}

.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 {
  min-height: 560px;
  overflow: hidden;
}

.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: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;
}

@media (prefers-reduced-motion: no-preference) {
  .design-preview .view-stage {
    animation: view-stage-enter 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .design-preview .view-stage.view-stage-exit {
    animation: view-stage-exit 360ms cubic-bezier(0.4, 0, 0.6, 1) both;
    pointer-events: none;
  }

  .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 view-stage-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(3px);
  }

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

@keyframes view-stage-exit {
  from {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }

  to {
    opacity: 0;
    transform: translateY(-10px);
    filter: blur(3px);
  }
}

@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;
  }
}

/* Two-level editorial header: utility strip + translucent category bar over the hero. */
.design-preview .preview-header {
  position: relative;
  z-index: 30;
  height: 34px;
  border: 0;
  background: #261d18;
  overflow: visible;
}

.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-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 span {
  font-size: 13px;
  line-height: 1;
}

.design-preview .preview-language small {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.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: rgba(255, 255, 255, 0.78);
  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: rgba(255, 255, 255, 0.72);
  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: 96px;
}

.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-utility {
    padding: 0 12px;
  }

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

  .design-preview .preview-language small {
    display: none;
  }

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

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

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

  .design-preview .preview-nav-inner .brand img {
    width: 92px;
    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 3px;
    font-size: 8.5px;
    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: 80px;
  }
}
