:root {
  --bg: #f5f1ea;
  --bg-2: #faf7f2;
  --panel: #ffffff;
  --panel-soft: #f2ece2;
  --text: #171411;
  --muted: #6b6258;
  --line: rgba(23, 20, 17, 0.1);
  --accent: #1f6f5f;
  --accent-2: #c26f43;
  --accent-3: #d9c4a4;
  --shadow: 0 18px 48px rgba(31, 22, 15, 0.09);
  --radius: 28px;
  --radius-sm: 18px;
  --container: min(1180px, calc(100vw - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(194, 111, 67, 0.14), transparent 30%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}

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

button,
a {
  font: inherit;
}

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

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.utility-bar {
  background: #181410;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.88rem;
}

.utility-row {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(250, 247, 242, 0.84);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-weight: 800;
  font-size: 1.04rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.brand:hover,
.brand:focus-visible {
  color: var(--text);
}

.cart-button,
.icon-button,
.button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.86rem 1rem;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(20, 12, 8, 0.06);
}

.cart-button span {
  min-width: 1.55rem;
  height: 1.55rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 0.84rem;
  font-weight: 700;
}

.hero,
.section {
  padding: 4.8rem 0;
}

.hero {
  padding-top: 5.8rem;
}

.hero-shell {
  display: block;
}

.hero-copy-wrap,
.spotlight-card,
.product-card,
.info-card,
.cart-drawer {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy-wrap {
  padding: clamp(1.6rem, 4vw, 2.6rem);
  max-width: 860px;
  margin: 0 auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

h1 {
  font-size: clamp(2.35rem, 3.7vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  max-width: 12ch;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.8rem;
}

h3 {
  font-size: 1.32rem;
  line-height: 1.15;
}

.hero-copy,
.product-short,
.product-description,
.section-heading p,
.info-card p,
.cart-note,
.footer-row p {
  color: var(--muted);
  line-height: 1.68;
}

.hero-actions,
.product-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.button {
  padding: 0.95rem 1.25rem;
  transition: transform 150ms ease, opacity 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button:hover,
.button:focus-visible,
.cart-button:hover,
.cart-button:focus-visible,
.icon-button:hover,
.icon-button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 10px 24px rgba(31, 111, 95, 0.2);
}

.button-secondary {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
}

.button-block {
  width: 100%;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.hero-points li,
.product-highlights li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted);
}

.hero-points li::before,
.product-highlights li::before {
  content: '';
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--accent-2);
  position: absolute;
  left: 0;
  top: 0.6rem;
}

.spotlight-grid {
  display: grid;
  gap: 1rem;
}

.spotlight-card {
  padding: 1rem;
  display: grid;
  gap: 1rem;
}

.spotlight-image {
  width: 100%;
  aspect-ratio: 1.1 / 1;
  object-fit: cover;
  border-radius: 22px;
  background: var(--panel-soft);
}

.spotlight-copy p {
  margin-bottom: 1rem;
}

.spotlight-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--muted);
}

.spotlight-meta strong {
  font-size: 1.4rem;
  color: var(--text);
}

.trust-strip {
  padding-bottom: 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.trust-grid article,
.info-card {
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}

.trust-grid strong {
  display: block;
  margin-bottom: 0.35rem;
}

.trust-grid span {
  color: var(--muted);
  line-height: 1.5;
}

.section-muted {
  background: rgba(255, 255, 255, 0.36);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.shop-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  max-width: none;
}

.collection-stack {
  display: grid;
  gap: 2.2rem;
}

.collection-block {
  display: grid;
  gap: 1.2rem;
}

.collection-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}

.collection-header p {
  margin-bottom: 0;
}

.products-grid,
.info-grid {
  display: grid;
  gap: 1rem;
}

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

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

.product-card {
  overflow: hidden;
}

.product-media-wrap {
  position: relative;
  aspect-ratio: 1.1 / 1;
  background: var(--panel-soft);
}

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

.product-badge {
  position: absolute;
  left: 1rem;
  top: 1rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(23, 20, 17, 0.08);
  padding: 0.52rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.product-copy {
  padding: 1.2rem;
}

.product-meta,
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.product-meta,
.product-collection,
.product-shipping,
.product-compare {
  font-size: 0.92rem;
  color: var(--muted);
}

.product-title {
  margin: 0.75rem 0;
}

.product-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.55rem;
}

.price-row {
  margin-bottom: 1rem;
}

.product-price {
  display: block;
  font-size: 1.38rem;
}

.product-compare {
  text-decoration: line-through;
}

.product-details {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  z-index: 40;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  transform: translateX(102%);
  transition: transform 180ms ease;
  background: var(--panel);
}

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

.cart-header,
.cart-row,
.cart-item-controls,
.cart-footer,
.cart-totals {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.cart-header {
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.icon-button {
  width: 2.25rem;
  height: 2.25rem;
  background: var(--panel-soft);
  color: var(--text);
}

.cart-body {
  flex: 1;
  overflow: auto;
  padding: 1rem 0;
  display: grid;
  gap: 0.8rem;
}

.cart-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  padding: 0.9rem;
}

.cart-item h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.cart-item p {
  margin-bottom: 0.7rem;
  color: var(--muted);
}

.cart-item-controls button {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: var(--panel);
  cursor: pointer;
}

.cart-item-controls span {
  min-width: 1.5rem;
  text-align: center;
}

.cart-footer {
  flex-direction: column;
  align-items: stretch;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.cart-totals > div {
  flex: 1;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.cart-totals span {
  display: block;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.cart-note {
  margin-bottom: 0;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(12, 9, 7, 0.45);
}

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

@media (max-width: 1024px) {
  .products-grid,
  .info-grid,
  .trust-grid,
  .shop-heading,
  .footer-row {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

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

@media (max-width: 760px) {
  .product-meta,
  .price-row,
  .spotlight-meta,
  .collection-header,
  .cart-totals {
    flex-direction: column;
    align-items: start;
  }

  .nav-row {
    flex-wrap: wrap;
    row-gap: 0.75rem;
    padding: 0.75rem 0;
  }

  .nav-links {
    display: flex;
    width: 100%;
    order: 3;
    gap: 0.55rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    white-space: nowrap;
    padding: 0.6rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--panel);
  }

  .utility-row {
    min-height: 36px;
  }

  .trust-grid,
  .info-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .section {
    padding: 3.4rem 0;
  }

  h1 {
    font-size: 2.1rem;
    max-width: none;
  }

  .hero-actions .button,
  .product-actions .button,
  .button-block {
    width: 100%;
    justify-content: center;
  }

  .hero-actions,
  .product-actions {
    flex-direction: column;
  }

  .cart-button {
    width: auto;
    padding: 0.78rem 0.9rem;
  }
}
