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