:root {
  --bg: #f8f8f8;
  --surface: #ffffff;
  --text: #121212;
  --muted: #5f5f5f;
  --accent: #e6c3a7;
  --accent-dark: #c99773;
  --line: #e8e8e8;
  /* Shared header, mission band, and footer tint (lighter than previous header) */
  --surface-sand: #f3dcc8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

body.launch-locked .announcement-bar,
body.launch-locked .site-header,
body.launch-locked main,
body.launch-locked .site-footer {
  visibility: hidden;
  pointer-events: none;
}

.launch-gate {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(245, 235, 225, 0.96);
}

.launch-gate-card {
  width: min(560px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.launch-logo {
  display: block;
  width: min(150px, 42vw);
  height: auto;
  margin: 0 auto 8px;
  object-fit: contain;
}

.launch-eyebrow {
  margin: 0;
  color: #7a6757;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.launch-gate-copy {
  margin: 6px 0 0;
  color: var(--muted);
}

.launch-countdown {
  margin: 14px 0 18px;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.launch-event-card {
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid #eadfD5;
  border-radius: 14px;
  background: #fff8f2;
}

.launch-event-card h2 {
  margin: 0;
  font-size: 1rem;
}

.launch-event-name {
  margin: 6px 0 0;
  font-weight: 800;
  font-size: 1.03rem;
}

.launch-event-time {
  margin: 4px 0 0;
  font-weight: 700;
  color: #2f241d;
}

.launch-event-address {
  margin: 6px 0 0;
  color: #5e4e42;
  line-height: 1.45;
}

.launch-bypass {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.launch-bypass input {
  width: min(320px, 70vw);
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid #d7d7d7;
  padding: 0 12px;
  font: inherit;
}

.launch-socials {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
}

.launch-socials a {
  color: #111;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.announcement-bar {
  background: #111111;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
  white-space: nowrap;
}

.announcement-track {
  display: inline-flex;
  gap: 42px;
  min-width: 100%;
  padding: 8px 0;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  animation: announcementScroll 16s linear infinite;
}

@keyframes announcementScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.site-header {
  background: var(--surface-sand);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 20;
}

.nav-wrap {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 0 clamp(14px, 3vw, 44px);
}

.nav-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-text-btn {
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 14px;
  border-radius: 999px;
  color: #1a1a1a;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-text-btn:hover {
  background: rgba(255, 255, 255, 0.55);
}

.mobile-menu {
  display: none;
}

.mobile-nav-tabs {
  display: none;
}

.cart-button-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  box-sizing: border-box;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  pointer-events: none;
  z-index: 2;
  border: 2px solid var(--surface-sand);
}

.cart-badge.hidden {
  display: none;
}

.brand {
  justify-self: start;
}

.main-nav {
  justify-self: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand-logo {
  display: block;
  height: 74px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 56px;
  font-weight: 500;
}

.main-nav a:hover {
  opacity: 0.9;
}

.nav-link {
  position: relative;
  padding-bottom: 5px;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #111;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.icon-button {
  border: 0;
  background: transparent;
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
}

.icon-button:hover {
  background: rgba(0, 0, 0, 0.06);
}

.icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #1d1d1d;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero {
  padding: 30px 0 88px;
  text-align: center;
}

.hero-image-wrap {
  width: min(860px, 88%);
  margin: 0 auto 24px;
  border-radius: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.hero-image {
  display: block;
  width: 100%;
  max-height: none;
  object-fit: contain;
  opacity: 1;
}

.intro-text-hidden #homeView .hero-image {
  opacity: 0;
  animation: heroImageFade 2s ease forwards;
}

.hero-copy {
  opacity: 1;
  transition: opacity 0.45s ease;
}

.intro-text-hidden #homeView .hero-copy {
  opacity: 0;
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroImageFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h1 {
  margin: 14px auto 10px;
  max-width: 820px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.07;
}

.hero-highlight {
  margin: 0 auto;
  max-width: 900px;
  font-size: clamp(1.35rem, 3.2vw, 3rem);
  color: var(--accent);
  font-weight: 800;
  line-height: 1.06;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 146px;
  height: 44px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

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

.btn-primary {
  background: #111111;
  color: #ffffff;
}

.btn-secondary {
  background: #efefef;
  color: #262626;
}

.btn-header {
  margin-top: 18px;
  background: var(--surface-sand);
  color: #111111;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-small {
  min-width: 110px;
  height: 40px;
  margin-top: 0;
}

.section {
  padding: 78px 0;
}

.section-muted {
  background: var(--surface-sand);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
}

.section-intro {
  margin-top: 10px;
  color: var(--muted);
  max-width: 760px;
}

.section-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.product-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.product-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.product-top-link {
  display: block;
}

.product-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin-bottom: 12px;
}

.product-price {
  color: var(--muted);
  margin: 10px 0;
}

.shipping-note {
  margin: -2px 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-link {
  display: block;
  margin-top: 10px;
  width: fit-content;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #e7c2a5;
  color: #111111;
  font-weight: 700;
}

.variant-toggle {
  border: 1px solid #d3d3d3;
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  display: block;
}

.hidden-view {
  display: none;
}

.hidden {
  display: none;
}

.product-layout {
  max-width: 1100px;
}

.mission-wrap {
  text-align: center;
}

.mission-wrap .section-intro {
  margin-left: auto;
  margin-right: auto;
}

.product-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8d8d8;
  background: #fff;
  border-radius: 999px;
  height: 38px;
  padding: 0 14px;
  cursor: pointer;
  margin-bottom: 16px;
  color: #333;
  font-weight: 700;
}

.product-detail-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}

.detail-top-layout {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(320px, 380px);
  gap: 30px;
  align-items: start;
}

.detail-image-viewer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 4px 0 14px;
  min-width: 0;
}

.detail-image {
  width: min(360px, 100%);
  height: 360px;
  display: block;
  margin: 0;
  object-fit: contain;
  cursor: zoom-in;
}

.detail-purchase-panel h2 {
  margin-top: 0;
}

.image-nav-button {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 1px solid #d4d4d4;
  background: #fff;
  color: #1a1a1a;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
  display: grid;
  place-items: center;
}

.product-tag {
  margin: 0 0 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
}

.detail-price-label {
  margin-top: 12px;
}

.shipping-detail {
  margin-top: 4px;
}

.detail-content-box {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}

.detail-info-grid {
  display: grid;
  gap: 16px;
}

.detail-info-grid.is-collapsed {
  max-height: 210px;
  overflow: hidden;
  position: relative;
}

.detail-info-grid.is-collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff 82%);
  pointer-events: none;
}

.detail-info-grid.is-expanded {
  max-height: none;
  overflow: visible;
}

.detail-info-grid h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.detail-info-grid p {
  margin: 0;
  color: var(--muted);
}

.detail-description.is-collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.detail-description.is-expanded {
  display: block;
}

.detail-toggle-button {
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: #111111;
  font: inherit;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
}

.detail-toggle-button:hover {
  text-decoration: underline;
}

.detail-info-toggle {
  margin-top: 10px;
}

.reviews-section {
  margin-top: 26px;
}

.reviews-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}

.review-form {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.review-form.hidden {
  display: none;
}

.review-form label {
  font-weight: 700;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  max-width: 480px;
  border: 1px solid #cfcfcf;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}

.review-form .btn {
  margin-top: 4px;
  width: fit-content;
}

.review-form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.review-helper {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.review-list {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

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

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

.review-head span {
  font-weight: 700;
}

.review-verified-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #205620;
  background: #e7f7e7;
  border: 1px solid #bfe2bf;
}

.review-card p {
  margin: 0;
  color: var(--muted);
}

.review-open-button {
  margin-top: 10px;
}

.review-message {
  margin: 10px 0 0;
  color: #7a1d1d;
  font-weight: 700;
}

.review-image {
  margin-top: 10px;
  width: min(240px, 100%);
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.ingredient-intro {
  margin-bottom: 8px;
}

.detail-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.detail-list li {
  margin: 4px 0;
}

.field-group {
  margin: 16px 0;
}

.field-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

.field-group select,
.field-group input {
  width: 100%;
  max-width: 220px;
  height: 42px;
  border: 1px solid #cfcfcf;
  border-radius: 10px;
  padding: 0 12px;
  font: inherit;
  background: #fff;
}

.checkout-layout {
  max-width: 900px;
}

.business-hours-card {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}

.business-hours-card h3 {
  margin: 0 0 8px;
}

.business-hours-card p {
  margin: 6px 0;
  color: var(--muted);
}

.contact-form {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
  display: grid;
  gap: 10px;
}

.contact-form h3 {
  margin: 0 0 2px;
}

.contact-form label {
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

.checkout-items {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.cart-item-row {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.cart-item-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.cart-remove-btn {
  border: 1px solid #d7d7d7;
  background: #fff;
  color: #8c1b1b;
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.cart-remove-btn:hover {
  background: #fff5f5;
}

.cart-item-row h4 {
  margin: 0;
}

.cart-qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.cart-qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid #d7d7d7;
  background: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cart-qty-input {
  width: 58px;
  min-height: 28px;
  text-align: center;
  border-radius: 8px;
  border: 1px solid #d7d7d7;
  font: inherit;
}

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

.checkout-totals {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}

.checkout-totals p {
  margin: 7px 0;
  display: flex;
  justify-content: space-between;
}

.checkout-grand {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 10px;
}

.order-form {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
  display: grid;
  gap: 10px;
}

.order-form h3 {
  margin: 0 0 2px;
}

.order-form label {
  font-weight: 700;
}

.order-form input,
.order-form textarea {
  width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

.order-form .btn {
  margin-top: 4px;
  width: fit-content;
}

.order-message {
  margin: 4px 0 0;
  color: #1d4f1d;
  font-weight: 700;
}

.order-message.is-error {
  color: #7a1d1d;
}

.checkout-success-card {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 20px;
}

.checkout-success-meta {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: #fcfcfc;
}

.checkout-success-meta p {
  margin: 6px 0;
  color: var(--muted);
}

.checkout-success-card .btn {
  margin-top: 10px;
}

.checkout-receipt-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  z-index: 60;
}

.cart-drawer {
  position: fixed;
  right: 0;
  top: 0;
  width: min(410px, 92vw);
  height: 100vh;
  background: #fff;
  z-index: 70;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
}

.cart-drawer.hidden,
.cart-overlay.hidden {
  display: none;
}

.cart-drawer-header {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-header h3 {
  margin: 0;
}

.cart-close {
  border: 0;
  background: transparent;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: grid;
  gap: 12px;
}

.cart-summary {
  padding: 14px 16px 8px;
  border-top: 1px solid var(--line);
}

.cart-summary p {
  margin: 6px 0;
  display: flex;
  justify-content: space-between;
}

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

.cart-checkout-btn {
  width: calc(100% - 32px);
  margin: 10px 16px 18px;
}

.image-zoom-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
}

.zoomed-image {
  max-width: min(1000px, 94vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.image-zoom-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

.image-zoom-overlay.hidden {
  display: none;
}

.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.story-layout p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 62ch;
}

.story-photo {
  display: block;
  width: 100%;
  max-height: min(420px, 52vh);
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--line);
  margin-top: 18px;
}

.cta {
  background: linear-gradient(180deg, #fff8f2 0%, #fff 100%);
}

.cta-wrap {
  text-align: center;
}

.cta p {
  color: var(--muted);
  margin: 10px auto 26px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface-sand);
  padding: 10px 0 18px;
}

.footer-wrap {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #666;
}

.footer-brand p {
  margin: 2px 0;
}

.footer-socials {
  display: inline-flex;
  gap: 8px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.45);
  color: #111;
}

.footer-socials a svg {
  width: 22px;
  height: 22px;
  display: block;
}

.footer-socials a:hover {
  background: rgba(255, 255, 255, 0.75);
}

.review-open-button.btn-review-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  margin-top: 12px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  border: 0;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}

.review-open-button.btn-review-pill:hover {
  opacity: 0.92;
}

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

.checkout-address-grid .span-2 {
  grid-column: 1 / -1;
}

.muted-label {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.9em;
}

@media (min-width: 640px) {
  .checkout-address-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.checkout-promo-block {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.checkout-promo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.checkout-promo-row input[type="text"] {
  flex: 1 1 180px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font: inherit;
}

.checkout-discount {
  color: #1a7f37;
}

.checkout-discount.hidden {
  display: none;
}

.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.auth-overlay.hidden {
  display: none;
}

.auth-dialog {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.auth-dialog h3 {
  margin: 0 0 6px;
}

.auth-tabs {
  display: flex;
  gap: 8px;
  margin: 14px 0 16px;
}

.auth-tabs button {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fafafa;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.auth-tabs button.is-active {
  background: #111;
  color: #fff;
  border-color: #111;
}

.auth-dialog label {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

.auth-dialog input {
  width: 100%;
  margin-top: 4px;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font: inherit;
}

.auth-dialog.signed-in .auth-tabs,
.auth-dialog.signed-in #authSubmitButton,
.auth-dialog.signed-in .auth-password-block {
  display: none;
}

.auth-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.auth-message {
  margin-top: 10px;
  font-size: 0.88rem;
  color: #b42318;
}

.auth-close {
  float: right;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

.footer-contact {
  display: grid;
  gap: 4px;
  justify-items: end;
}

.footer-contact p {
  margin: 0;
  color: #666;
  font-size: 0.85rem;
  line-height: 1.35;
}

.shop-grid {
  margin-top: 20px;
}

@media (max-width: 900px) {
  .brand-logo {
    height: 52px;
  }

  .announcement-track {
    font-size: 0.73rem;
    gap: 28px;
  }

  .main-nav {
    display: none;
  }

  .nav-wrap {
    grid-template-columns: 1fr auto;
  }

  .nav-actions {
    display: none;
  }

  .mobile-nav-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 0 14px 12px;
    background: var(--surface-sand);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  .mobile-nav-tab {
    text-align: center;
    padding: 9px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.45);
    font-size: 0.86rem;
    font-weight: 700;
  }

  .mobile-menu.is-open {
    display: grid;
    gap: 10px;
    padding: 12px clamp(14px, 3vw, 24px) 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--surface-sand);
  }

  .mobile-menu-link {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.45);
    font-weight: 600;
  }

  .mobile-menu-actions {
    display: flex;
    gap: 10px;
  }

  .hero {
    padding-top: 20px;
  }

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

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

  .hero-image {
    max-height: none;
  }

  .detail-image {
    height: 300px;
  }

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

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

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

  .footer-wrap {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .footer-contact {
    justify-items: start;
  }
}
