:root {
  --paper: #f8f4ec;
  --paper-deep: #eee3d3;
  --pearl: #fffaf0;
  --nacre: #eadfcf;
  --ink: #251d18;
  --muted: #75685d;
  --coffee: #4a3328;
  --olive: #687052;
  --terracotta: #a3634d;
  --gold: #b99a5e;
  --line: rgba(37, 29, 24, 0.14);
  --white: #fffdf8;
  --shadow: 0 20px 60px rgba(37, 29, 24, 0.12);
  --radius: 8px;
  --serif: "Cormorant Garamond", "Iowan Old Style", Garamond, Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.68;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.product-card,
.collection-card,
.category-card,
.journal-card,
.cart-line,
.checkout-summary-line,
.content-card,
.account-order {
  overflow-wrap: anywhere;
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.commerce-topbar {
  position: relative;
  display: block;
  min-height: 48px;
  overflow: hidden;
  padding: 0;
  background: var(--ink);
  color: var(--pearl);
  font-size: 18px;
  font-weight: 800;
}

.commerce-topbar__track {
  display: flex;
  width: max-content;
  min-width: 200%;
  animation: commerce-marquee 24s linear infinite;
}

.commerce-topbar:hover .commerce-topbar__track {
  animation-play-state: paused;
}

.commerce-topbar__items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  min-width: 100vw;
  padding: 11px 22px;
  white-space: nowrap;
}

.commerce-topbar a {
  color: #e5c486;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes commerce-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .commerce-topbar__track {
    animation: none;
    transform: none;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 92px;
  padding: 0 34px;
  border-bottom: 1px solid rgba(74, 51, 40, 0.14);
  background: rgba(255, 253, 248, 0.9);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo-image {
  width: 246px;
  height: 76px;
  object-fit: contain;
  object-position: left center;
}

.brand-mark__symbol {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
}

.brand-mark strong,
.brand-mark small {
  display: block;
}

.brand-mark strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.05;
}

.brand-mark small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--coffee);
  font-size: 22px;
  font-weight: 800;
}

.main-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  transition: color 180ms ease;
}

.text-link,
.product-card__body > a,
.journal-card > a,
.breadcrumb a,
.commerce-topbar a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
}

.main-nav a:hover {
  color: var(--terracotta);
}

.cart-button,
.nav-toggle,
.icon-button {
  border: 0;
  background: transparent;
  color: inherit;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border: 1px solid rgba(74, 51, 40, 0.24);
  border-radius: 999px;
  color: var(--coffee);
  font-size: 20px;
  font-weight: 700;
}

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

.social-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-actions a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(74, 51, 40, 0.18);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.72);
  color: var(--coffee);
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.social-actions a:hover {
  transform: translateY(-1px);
  background: var(--coffee);
  color: var(--white);
}

.social-actions svg {
  width: 20px;
  height: 20px;
}

.social-actions rect,
.social-actions circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-actions circle:last-child,
.social-actions path {
  fill: currentColor;
  stroke: 0;
}

.account-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid rgba(74, 51, 40, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--coffee);
  font-size: 18px;
  font-weight: 800;
}

.cart-button strong {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 12px;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 55;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(37, 211, 102, 0.34);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 22px 44px rgba(37, 211, 102, 0.42);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: calc(100svh - 120px);
  overflow: hidden;
  background: var(--coffee);
  color: var(--white);
}

.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(37, 29, 24, 0.86) 0%, rgba(37, 29, 24, 0.56) 44%, rgba(255, 250, 240, 0.16) 100%),
    radial-gradient(circle at 76% 34%, rgba(255, 250, 240, 0.34), transparent 36%),
    linear-gradient(0deg, rgba(37, 29, 24, 0.18), rgba(37, 29, 24, 0.18));
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 54px;
  align-items: center;
  align-content: center;
  min-height: calc(100svh - 120px);
  padding: 96px 0 86px;
}

.hero__copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--terracotta);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e5c486;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.05;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: 98px;
}

h2 {
  margin-bottom: 18px;
  font-size: 58px;
}

h3 {
  margin-bottom: 10px;
  font-size: 29px;
}

.hero__lead {
  max-width: 700px;
  color: rgba(255, 253, 248, 0.84);
  font-size: 24px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.hero-shop-card {
  align-self: end;
  padding: 18px;
  border: 1px solid rgba(255, 253, 248, 0.32);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.9);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-shop-card__label {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--terracotta);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-shop-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 6px;
}

.hero-shop-card p {
  margin: 16px 0 2px;
  color: var(--coffee);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.05;
}

.hero-shop-card strong {
  display: block;
  color: var(--ink);
  font-size: 24px;
}

.hero-shop-card small {
  display: block;
  margin: 6px 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 17px;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

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

.button--primary {
  background: var(--gold);
  color: var(--ink);
}

.button--ghost {
  border-color: rgba(255, 253, 248, 0.5);
  color: var(--white);
}

.button--light {
  border-color: var(--line);
  background: var(--white);
  color: var(--coffee);
}

.button--full {
  width: 100%;
}

.text-link {
  color: var(--terracotta);
  font-weight: 700;
}

.pearl-rule {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--gold);
}

.pearl-rule::before,
.pearl-rule::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
}

.pearl-rule span {
  width: 13px;
  height: 13px;
  border: 1px solid rgba(185, 154, 94, 0.7);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 32%, #fff 0 20%, #f3eadb 42%, #c7a46b 100%);
  box-shadow: inset -2px -3px 8px rgba(74, 51, 40, 0.18);
}

.signal-strip {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(185, 154, 94, 0.28);
  background:
    linear-gradient(120deg, rgba(255, 250, 240, 0.98), rgba(235, 222, 202, 0.94)),
    var(--pearl);
}

.signal-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 34px 0;
}

.signal-strip article {
  min-height: 230px;
  padding: 34px 26px;
  border-right: 1px solid rgba(185, 154, 94, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.54), rgba(255, 253, 248, 0.12));
}

.signal-strip article:last-child {
  border-right: 0;
}

.signal-strip article span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  border: 1px solid rgba(185, 154, 94, 0.44);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 20px;
  background:
    radial-gradient(circle at 36% 28%, #fff 0 18%, #f2e8d8 45%, #c8a46b 100%);
}

.signal-strip article strong {
  display: block;
  max-width: 220px;
  margin-bottom: 16px;
  color: var(--coffee);
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
}

.signal-strip article small {
  display: block;
  max-width: 260px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.section {
  padding: 94px 0;
}

.section--muted {
  background: #f0e8dc;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading--row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.section-heading p {
  color: var(--muted);
  font-size: 19px;
}

.collection-grid,
.product-grid,
.category-grid,
.journal-grid,
.trust-section__grid {
  display: grid;
  gap: 18px;
}

.collection-grid {
  grid-template-columns: repeat(4, 1fr);
}

.collection-card,
.category-card,
.product-card,
.journal-card,
.trust-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

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

.category-card {
  display: grid;
}

.category-card__image {
  height: 340px;
  overflow: hidden;
  background: var(--paper-deep);
}

.category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card__body {
  display: grid;
  gap: 10px;
  padding: 24px;
}

.category-card__body span {
  color: var(--olive);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.category-card__body p {
  color: var(--muted);
  font-size: 16px;
}

.category-section {
  padding: 42px 0 84px;
  border-top: 1px solid var(--line);
}

.collection-card {
  display: grid;
  grid-template-rows: 250px 1fr;
  min-height: 520px;
}

.collection-card__image {
  height: 250px;
  overflow: hidden;
}

.collection-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-card__body {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  min-height: 270px;
  padding: 24px;
}

.collection-card__body h3,
.collection-card__body p {
  margin-bottom: 0;
}

.collection-card__body .text-link {
  align-self: end;
}

.collection-card__body p,
.product-card__meta,
.journal-card p,
.trust-card p {
  color: var(--muted);
  font-size: 16px;
}

.collection-card__body span,
.product-card__tag {
  color: var(--olive);
  font-size: 14px;
  font-weight: 700;
}

.split-feature {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 58px;
  align-items: center;
  padding: 34px 0 100px;
}

.split-feature__media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-feature__media img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.split-feature__content p {
  color: var(--muted);
}

.story-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.story-points span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--coffee);
  font-size: 14px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-bar button {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--coffee);
  font-size: 14px;
}

.filter-bar button.is-active {
  border-color: var(--coffee);
  background: var(--coffee);
  color: var(--white);
}

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

.product-card {
  display: grid;
}

.product-card__image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-deep);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.9);
}

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

.product-card__body h3 {
  margin-bottom: 0;
  font-size: 27px;
}

.product-card__meta {
  margin: 0;
  font-size: 14px;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-card__footer strong {
  color: var(--coffee);
  font-size: 25px;
}

.product-card__footer button {
  min-height: 44px;
  padding: 9px 14px;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
}

.product-card__commerce {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}

.product-card__commerce span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--olive);
  font-size: 14px;
  font-weight: 800;
}

.product-card__commerce span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--olive);
}

.product-card__commerce a {
  color: var(--terracotta);
  font-size: 14px;
  font-weight: 800;
}

.material-board {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  padding: 92px 0;
  align-items: start;
}

.material-board__items {
  display: grid;
  gap: 14px;
}

.material-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.material-swatch {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(37, 29, 24, 0.2);
  border-radius: 50%;
}

.material-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.editorial-band {
  background: var(--coffee);
  color: var(--white);
}

.editorial-band__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: center;
  padding: 82px 0;
}

.editorial-band__image {
  overflow: hidden;
  border-radius: var(--radius);
}

.editorial-band__image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.editorial-band__copy p {
  color: rgba(255, 253, 248, 0.78);
}

.journal-grid {
  grid-template-columns: repeat(3, 1fr);
}

.journal-card {
  padding: 24px;
}

.journal-card__image {
  display: block;
  height: 190px;
  margin: -8px -8px 20px;
  overflow: hidden;
  border-radius: calc(var(--radius) - 4px);
  background: var(--paper);
}

.journal-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.journal-card:hover .journal-card__image img {
  transform: scale(1.035);
}

.journal-card span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--olive);
  font-size: 14px;
  font-weight: 700;
}

.trust-section {
  padding: 74px 0;
  background: var(--white);
}

.trust-section__grid {
  grid-template-columns: repeat(4, 1fr);
}

.trust-card {
  padding: 22px;
}

.trust-card h3 {
  font-size: 26px;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  background: rgba(37, 29, 24, 0);
  transition: background 180ms ease;
}

.cart-drawer.is-open {
  pointer-events: auto;
  background: rgba(37, 29, 24, 0.36);
}

.cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(430px, 100%);
  height: 100%;
  padding: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 220ms ease;
}

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

.cart-drawer__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font-size: 24px;
}

.cart-items {
  display: grid;
  gap: 14px;
  min-height: 180px;
  padding: 22px 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.cart-item p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 14px;
}

.cart-item__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  padding: 18px 0 24px;
  border-top: 1px solid var(--line);
}

.site-footer {
  padding: 68px 0 76px;
  background: var(--ink);
  color: var(--white);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.8fr 1fr;
  gap: 38px;
}

.site-footer p,
.site-footer a,
.site-footer label {
  color: rgba(255, 253, 248, 0.72);
}

.site-footer a {
  display: block;
  margin-bottom: 9px;
}

.brand-mark--footer {
  margin-bottom: 18px;
}

.newsletter label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
}

.newsletter__field {
  display: grid;
  grid-template-columns: 1fr auto;
  border: 1px solid rgba(255, 253, 248, 0.24);
  border-radius: var(--radius);
  overflow: hidden;
}

.newsletter input {
  min-width: 0;
  border: 0;
  padding: 13px 14px;
  background: transparent;
  color: var(--white);
}

.newsletter input::placeholder {
  color: rgba(255, 253, 248, 0.42);
}

.newsletter button {
  width: 48px;
  border: 0;
  background: var(--gold);
  color: var(--ink);
}

@media (max-width: 980px) {
  .commerce-topbar {
    font-size: 16px;
  }

  .commerce-topbar__track {
    animation-duration: 22s;
  }

  .commerce-topbar__items {
    gap: 30px;
  }

  .site-header {
    grid-template-columns: auto auto auto;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 92px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--coffee);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
    gap: 12px;
  }

  .main-nav a {
    min-height: 46px;
  }

  .brand-mark small,
  .cart-button span {
    display: none;
  }

  .social-actions a {
    width: 40px;
    height: 40px;
  }

  h1 {
    font-size: 68px;
  }

  h2 {
    font-size: 44px;
  }

  .signal-strip__inner,
  .collection-grid,
  .category-grid,
  .product-grid,
  .journal-grid,
  .trust-section__grid,
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-feature,
  .material-board,
  .editorial-band__inner,
  .hero__content {
    grid-template-columns: 1fr;
  }

  .hero-shop-card {
    max-width: 430px;
  }

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

  .collection-card {
    min-height: 500px;
  }

  .filter-bar {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .commerce-topbar {
    min-height: 44px;
    font-size: 14px;
  }

  .commerce-topbar__track {
    animation-duration: 18s;
  }

  .commerce-topbar__items {
    gap: 22px;
    min-width: 150vw;
    padding: 4px 16px;
  }

  .commerce-topbar span,
  .commerce-topbar a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
  }

  .page-shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    gap: 12px;
    padding: 0 14px;
  }

  .brand-mark strong {
    font-size: 18px;
  }

  .hero,
  .hero__content {
    min-height: calc(100svh - 126px);
  }

  .hero__content {
    padding: 58px 0 46px;
  }

  .hero__overlay {
    background: rgba(37, 29, 24, 0.58);
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 38px;
  }

  .hero__lead {
    font-size: 19px;
  }

  .button {
    width: 100%;
  }

  .hero-shop-card {
    padding: 14px;
  }

  .hero-shop-card img {
    height: 180px;
  }

  .collection-card {
    grid-template-rows: 220px auto;
    min-height: auto;
  }

  .collection-card__image {
    height: 220px;
  }

  .collection-card__body {
    min-height: auto;
  }

  .signal-strip__inner,
  .collection-grid,
  .category-grid,
  .product-grid,
  .journal-grid,
  .trust-section__grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .signal-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .split-feature__media img,
  .editorial-band__image img {
    height: 380px;
  }

  .section {
    padding: 70px 0;
  }

  .cart-drawer__panel {
    padding: 20px;
  }
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 62px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(255, 253, 248, 0.94), rgba(238, 227, 211, 0.82)),
    var(--paper);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 8vw;
  bottom: 22px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(185, 154, 94, 0.32);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 32%, rgba(255, 255, 255, 0.92) 0 14%, rgba(238, 227, 211, 0.38) 45%, rgba(185, 154, 94, 0.2) 100%);
  opacity: 0.72;
}

.page-hero .page-shell {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 780px;
  color: var(--coffee);
  font-size: 72px;
}

.page-hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: 20px;
}

.hero-brand-logo {
  width: min(360px, 72vw);
  margin-bottom: 18px;
  mix-blend-mode: multiply;
}

.product-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.product-card__image {
  color: inherit;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--coffee);
  font-weight: 700;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 56px;
  align-items: start;
  padding-bottom: 84px;
}

.product-detail__media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-deep);
  box-shadow: var(--shadow);
}

.product-detail__media img {
  width: 100%;
  height: min(720px, 72vh);
  object-fit: cover;
}

.product-detail__content {
  position: sticky;
  top: 98px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.82);
}

.product-detail__content h1 {
  font-size: 70px;
}

.product-detail__lead {
  color: var(--muted);
  font-size: 18px;
}

.product-detail__price {
  margin: 24px 0;
  color: var(--coffee);
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 700;
}

.product-specs {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
}

.product-specs div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.product-specs dt {
  color: var(--muted);
}

.product-specs dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.product-story {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 40px;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.product-story p,
.detail-accordion p {
  color: var(--muted);
}

.detail-list {
  display: grid;
  gap: 12px;
  align-content: start;
}

.detail-list span {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--coffee);
  font-weight: 700;
}

.detail-accordion {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-bottom: 64px;
}

.detail-accordion article,
.content-card,
.admin-card,
.checkout-card,
.cart-summary-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.detail-accordion article {
  padding: 22px;
}

.page-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 46px;
  align-items: start;
  padding: 78px 0;
}

.content-card {
  padding: 26px;
}

.content-card p {
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-form,
.checkout-form {
  display: grid;
  gap: 14px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

.field label {
  color: var(--coffee);
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 12px;
  background: var(--paper);
  color: var(--ink);
}

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

.cart-page {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 26px;
  align-items: start;
  padding: 72px 0;
}

.cart-lines {
  display: grid;
  gap: 14px;
}

.cart-line {
  display: grid;
  grid-template-columns: 92px 1fr auto auto auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.cart-line img {
  width: 92px;
  height: 110px;
  object-fit: cover;
  border-radius: 6px;
}

.quantity-control {
  display: inline-grid;
  grid-template-columns: 34px 38px 34px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  text-align: center;
}

.quantity-control button {
  height: 34px;
  border: 0;
  background: var(--paper);
}

.quantity-control--small {
  grid-template-columns: 28px 32px 28px;
  font-size: 14px;
}

.quantity-control--small button {
  height: 30px;
}

.cart-remove {
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid rgba(163, 99, 77, 0.28);
  border-radius: 999px;
  background: rgba(163, 99, 77, 0.08);
  color: var(--terracotta);
  font-size: 13px;
  font-weight: 800;
}

.cart-line__remove {
  justify-self: end;
}

.cart-summary-card {
  position: sticky;
  top: 98px;
  padding: 22px;
}

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

.checkout-summary-line {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.checkout-summary-line img {
  width: 58px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
}

.checkout-summary-line strong,
.checkout-summary-line span {
  display: block;
}

.checkout-summary-line strong {
  color: var(--coffee);
  font-size: 15px;
  line-height: 1.25;
}

.checkout-summary-line span {
  color: var(--muted);
  font-size: 13px;
}

.checkout-summary-line b {
  color: var(--ink);
  font-size: 15px;
  white-space: nowrap;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.summary-row--total {
  color: var(--coffee);
  font-size: 20px;
  font-weight: 800;
}

.checkout-trust {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.checkout-trust span {
  padding: 9px 10px;
  border: 1px solid rgba(185, 154, 94, 0.26);
  border-radius: 999px;
  background: var(--paper);
  color: var(--coffee);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 26px;
  align-items: start;
  padding: 72px 0;
}

.checkout-card {
  padding: 24px;
}

.order-result-slot {
  margin-top: 16px;
}

.order-result {
  padding: 18px;
  border: 1px solid rgba(104, 112, 82, 0.25);
  border-radius: var(--radius);
  background: rgba(104, 112, 82, 0.1);
}

.order-result h3 {
  margin: 4px 0 6px;
  color: var(--coffee);
  font-size: 28px;
}

.order-result p {
  margin-bottom: 0;
}

.empty-state {
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

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

.auth-card,
.account-panel,
.account-order {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.auth-card {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.auth-card--wide {
  grid-column: 1 / -1;
}

.auth-page--single {
  grid-template-columns: minmax(0, 620px);
  justify-content: center;
}

.auth-card h1,
.auth-card h2 {
  margin: 0;
  color: var(--coffee);
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1.05;
}

.auth-message {
  grid-column: 1 / -1;
  min-height: 48px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--muted);
  font-weight: 800;
}

.auth-message:empty {
  display: none;
}

.auth-message[data-state="error"] {
  border-color: rgba(163, 99, 77, 0.32);
  background: rgba(163, 99, 77, 0.08);
  color: var(--terracotta);
}

.auth-message[data-state="success"] {
  border-color: rgba(104, 112, 82, 0.28);
  background: rgba(104, 112, 82, 0.1);
  color: var(--olive);
}

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

.account-page {
  display: grid;
  gap: 24px;
  padding: 72px 0;
}

.account-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
}

.account-panel h2 {
  margin: 0 0 6px;
  color: var(--coffee);
  font-family: var(--serif);
  font-size: 42px;
}

.account-panel p {
  margin-bottom: 0;
}

.account-orders {
  display: grid;
  gap: 12px;
}

.account-order {
  display: grid;
  gap: 14px;
  padding: 16px;
  box-shadow: none;
}

.account-panel__actions,
.account-order__head,
.account-order__totals,
.account-order__items li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-panel__actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.account-order__head strong {
  display: block;
  color: var(--coffee);
  font-size: 18px;
}

.account-order__head span,
.account-order__details span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.account-order__statuses,
.account-order__details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.account-order__statuses span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--pearl);
  color: var(--coffee);
  font-weight: 700;
  font-size: 13px;
}

.account-order__items {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-order__items li,
.account-order__totals {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.account-order b,
.account-order__items strong,
.account-order__totals strong {
  color: var(--coffee);
  white-space: nowrap;
}

.account-order__totals {
  flex-wrap: wrap;
}

.order-result__items {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding-left: 18px;
  color: var(--coffee);
  font-weight: 800;
}

.order-result__meta {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.order-result--error {
  border-color: rgba(142, 75, 55, 0.32);
  background: rgba(142, 75, 55, 0.08);
}

.admin-shell {
  min-height: 100vh;
  background: #f2ece2;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.admin-header__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
}

.admin-sidebar {
  min-height: calc(100vh - 78px);
  padding: 24px;
  border-right: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
}

.admin-sidebar a {
  display: block;
  padding: 10px 0;
  color: rgba(255, 253, 248, 0.76);
}

.admin-main {
  padding: 30px;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}

.admin-chart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.admin-chart-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.admin-chart-card h2 {
  margin-bottom: 18px;
  font-size: 24px;
}

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

.admin-bar {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) 2fr auto;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-bar div {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(198, 174, 126, 0.2);
}

.admin-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--olive));
}

.admin-card {
  padding: 20px;
}

.admin-card strong {
  display: block;
  color: var(--coffee);
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.05;
}

.admin-form {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

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

.admin-check {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--coffee);
  font-weight: 800;
}

.admin-check input {
  width: 18px;
  height: 18px;
}

.admin-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.admin-message {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 800;
}

.admin-message:empty {
  display: none;
}

.admin-message[data-state="success"] {
  color: var(--olive);
}

.admin-message[data-state="error"] {
  color: var(--terracotta);
}

.admin-table {
  display: block;
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  overflow-x: auto;
}

.admin-table thead,
.admin-table tbody,
.admin-table tr {
  width: 100%;
}

.admin-table th,
.admin-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-size: 13px;
}

.admin-table small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.admin-order-detail-row td {
  padding-top: 0;
  background: rgba(255, 253, 248, 0.54);
}

.admin-order-detail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 4px);
  background: var(--paper);
}

.admin-order-detail span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-order-detail strong {
  color: var(--coffee);
  font-size: 13px;
  line-height: 1.45;
}

.status {
  display: inline-flex;
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.status--live {
  border-color: rgba(53, 126, 76, 0.32);
  background: rgba(53, 126, 76, 0.16);
  color: #2f6f45;
}

.status--danger {
  border-color: rgba(142, 75, 55, 0.36);
  background: rgba(142, 75, 55, 0.14);
  color: #8e3f31;
}

.status--muted {
  background: rgba(117, 104, 93, 0.14);
  color: var(--muted);
}

.stock-badge {
  display: inline-grid;
  gap: 1px;
  min-width: 72px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 800;
}

.stock-badge strong,
.stock-badge small {
  display: block;
}

.stock-badge small {
  font-size: 11px;
}

.stock-badge--ok {
  border-color: rgba(53, 126, 76, 0.28);
  background: rgba(53, 126, 76, 0.12);
  color: #2f6f45;
}

.stock-badge--low {
  border-color: rgba(188, 137, 48, 0.34);
  background: rgba(188, 137, 48, 0.14);
  color: #8a611d;
}

.stock-badge--empty {
  border-color: rgba(142, 75, 55, 0.36);
  background: rgba(142, 75, 55, 0.14);
  color: #8e3f31;
}

.admin-shipping-form {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.admin-shipping-form label {
  display: grid;
  gap: 6px;
}

.admin-shipping-form input,
.admin-shipping-form select {
  min-height: 38px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--coffee);
  font: inherit;
  font-size: 13px;
}

.admin-shipping-form button {
  align-self: end;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: var(--coffee);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-row-actions button,
.admin-row-actions a {
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--coffee);
  font-size: 13px;
  font-weight: 800;
}

.content-card--wide {
  grid-column: 1 / -1;
}

@media (max-width: 980px) {
  .brand-logo-image {
    width: 168px;
  }

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

  .product-detail__content,
  .cart-summary-card {
    position: static;
  }

  .detail-accordion,
  .admin-order-detail,
  .admin-shipping-form {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-form .field-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-sidebar {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .brand-logo-image {
    width: 132px;
    height: 42px;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
    grid-column: 1 / -1;
  }

  .account-link,
  .cart-button {
    font-size: 16px;
  }

  .social-actions {
    order: 3;
    width: 100%;
    justify-content: flex-end;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }

  .page-hero {
    padding: 58px 0 42px;
  }

  .page-hero h1,
  .product-detail__content h1 {
    font-size: 44px;
  }

  .product-actions,
  .field-grid,
  .cart-line,
  .account-panel,
  .account-order__head,
  .detail-accordion,
  .admin-order-detail,
  .admin-shipping-form {
    grid-template-columns: 1fr;
  }

  .account-panel,
  .account-panel__actions,
  .account-order__head {
    align-items: flex-start;
  }

  .account-panel,
  .account-order__head {
    flex-direction: column;
  }

  .account-panel__actions {
    justify-content: flex-start;
  }

  .admin-form .field-grid {
    grid-template-columns: 1fr;
  }

  .cart-line img {
    width: 100%;
    height: 220px;
  }

  .cart-line__remove {
    justify-self: start;
  }
}
