:root {
  --ink: #171717;
  --muted: #686868;
  --line: #e7e1da;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --accent: #0f766e;
  --accent-dark: #104e49;
  --rose: #c2415d;
  --gold: #c58a2b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 247, 0.9);
  border-bottom: 1px solid rgba(231, 225, 218, 0.8);
  backdrop-filter: blur(18px);
}

.brand,
.desktop-nav,
.header-actions,
.hero-actions,
.product-toolbar,
.site-footer > div:last-child {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.custom-logo {
  width: auto;
  max-height: 46px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 6px;
  font-size: 13px;
}

.desktop-nav {
  gap: 28px;
  font-size: 14px;
  color: #303030;
}

.desktop-nav li {
  list-style: none;
}

.desktop-nav a:hover {
  color: var(--accent);
}

.header-actions {
  gap: 10px;
}

.icon-button,
.cart-button {
  display: inline-grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
}

.icon-button span {
  padding: 0 10px;
  font-size: 13px;
  font-weight: 800;
}

.cart-button {
  position: relative;
  grid-template-columns: auto auto;
  gap: 7px;
  padding: 0 12px;
}

.cart-count {
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  color: #fff;
  background: var(--rose);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  padding: clamp(24px, 5vw, 72px);
  overflow: hidden;
  background: #151515;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18) 56%, rgba(0, 0, 0, 0.45));
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1483985988355-763728e1935b?auto=format&fit=crop&w=1800&q=85");
  background-position: center 34%;
  background-size: cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(58px, 10vw, 132px);
  line-height: 0.9;
}

.hero p:not(.eyebrow) {
  width: min(560px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.primary-button,
.ghost-button,
.member-form button,
.product-card .button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.primary-button {
  color: #fff;
  background: var(--accent);
}

.primary-button:hover {
  background: var(--accent-dark);
}

.ghost-button {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.44);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.trust-strip div {
  padding: 22px clamp(18px, 3vw, 42px);
  border-right: 1px solid var(--line);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(56px, 8vw, 108px) clamp(18px, 4vw, 56px);
}

.section-heading {
  width: min(850px, 100%);
  margin-bottom: 32px;
}

.section-heading.compact {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.section-heading h1,
.section-heading h2,
.member-band h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.04;
}

.collection-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-auto-rows: 310px;
  gap: 18px;
}

.collection-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #ddd;
}

.collection-card img,
.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.65));
}

.collection-card div {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 22px;
  color: #fff;
}

.collection-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.collection-card h3 {
  margin: 8px 0 0;
  font-size: clamp(24px, 3vw, 42px);
}

.collection-large {
  grid-row: span 2;
}

.product-section {
  background: #f2f7f5;
}

.product-toolbar {
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-chip {
  min-height: 38px;
  border: 1px solid #cbded9;
  border-radius: 999px;
  padding: 0 15px;
  color: #244b45;
  background: #fff;
  cursor: pointer;
}

.filter-chip.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

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

.product-card {
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.07);
}

.product-card.is-hidden {
  display: none;
}

.product-image {
  display: block;
  aspect-ratio: 4 / 5;
  background: #ddd;
}

.product-info {
  padding: 16px;
}

.product-info h3 {
  min-height: 44px;
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 14px;
}

.price {
  font-weight: 900;
}

.rating {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.product-card .button {
  width: 100%;
  min-height: 44px;
  color: #fff;
  background: var(--ink);
}

.empty-products {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px solid #cbded9;
  border-radius: 8px;
  background: #fff;
}

.member-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 6vw, 80px);
  align-items: center;
  padding: clamp(56px, 8vw, 100px) clamp(18px, 4vw, 56px);
  color: #fff;
  background: #173f3b;
}

.member-band p:not(.eyebrow) {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.member-form {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.member-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
}

.member-form div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.member-form input {
  min-width: 0;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 0 14px;
  color: #fff;
  background: rgba(0, 0, 0, 0.22);
}

.member-form button {
  color: var(--ink);
  background: #fff;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.flow-grid article,
.content-card {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.flow-grid span {
  color: var(--rose);
  font-weight: 900;
}

.flow-grid h3 {
  margin: 42px 0 10px;
  font-size: 21px;
}

.flow-grid p,
.content-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.content-card {
  min-height: 0;
  margin-bottom: 16px;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  justify-content: end;
  visibility: hidden;
  background: rgba(0, 0, 0, 0);
  transition: 0.2s ease;
}

.cart-drawer.open {
  visibility: visible;
  background: rgba(0, 0, 0, 0.34);
}

.cart-panel {
  display: flex;
  width: min(420px, 100%);
  height: 100%;
  flex-direction: column;
  background: #fff;
  transform: translateX(100%);
  transition: 0.2s ease;
}

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

.cart-head,
.cart-summary {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-head h2 {
  margin: 0;
}

.cart-items {
  flex: 1;
  overflow: auto;
  padding: 12px 18px;
}

.cart-items ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cart-items li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-summary {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.whatsapp-checkout {
  width: 100%;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer p {
  margin: 6px 0 0;
  color: var(--muted);
}

.site-footer > div:last-child {
  gap: 18px;
  color: var(--muted);
}

.site-footer li {
  list-style: none;
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .trust-strip,
  .product-grid,
  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .collection-grid,
  .member-band {
    grid-template-columns: 1fr;
  }

  .collection-large {
    grid-row: span 1;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
  }

  .hero {
    min-height: 86vh;
    padding: 24px 18px 42px;
  }

  .hero h1 {
    font-size: clamp(54px, 18vw, 86px);
  }

  .trust-strip,
  .product-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

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

  .section-heading.compact {
    display: block;
  }

  .collection-grid {
    grid-auto-rows: 260px;
  }

  .member-form div {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
  }
}
