:root {
  --black: #050505;
  --ink: #171412;
  --paper: #fffdf8;
  --milk: #f5f1e8;
  --line: #ded6c8;
  --muted: #756f66;
  --gold: #b38744;
  --amber: #f3d34a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { max-width: 100%; }

.entry {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--black);
}
.entry-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: .72;
}
.entry-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.68), rgba(0,0,0,.22) 42%, rgba(0,0,0,.78)),
    radial-gradient(circle at center, rgba(0,0,0,.08), rgba(0,0,0,.84));
}
.entry-inner {
  position: relative;
  width: min(620px, 88vw);
  display: grid;
  justify-items: center;
  gap: 22px;
  color: var(--paper);
  text-align: center;
  margin-left: auto;
  margin-right: 7vw;
}
.entry-logo {
  width: min(420px, 78vw);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.45));
}
.entry-inner p,
.eyebrow,
.filter-label {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.3px;
  text-transform: uppercase;
}
.entry-inner p { color: #eadfca; }
.enter-button,
.cta,
.header-shop {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid rgba(255,255,255,.75);
  background: rgba(255,255,255,.06);
  color: var(--paper);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.enter-button:hover,
.cta:hover {
  background: var(--paper);
  color: var(--black);
}

.promo-bar {
  min-height: 34px;
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 8px 5vw;
  background: var(--amber);
  color: var(--black);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.promo-bar a { text-decoration: underline; text-underline-offset: 3px; }
.site-header {
  min-height: 84px;
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px 5vw;
  border-bottom: 1px solid var(--line);
  background: rgba(255,253,248,.96);
  backdrop-filter: blur(16px);
}
.brand img {
  width: 150px;
  height: 56px;
  object-fit: contain;
}
.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 1.8vw, 26px);
}
.main-nav a,
footer a {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.main-nav a:hover,
footer a:hover { color: var(--gold); }
.header-shop {
  border-color: var(--black);
  background: var(--black);
}
.header-shop:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
  background: var(--black);
  color: var(--paper);
}
.hero-image {
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: cover;
  object-position: center;
}
.hero-copy {
  align-self: end;
  padding: 7vw 5vw;
}
.eyebrow { color: var(--gold); }
h1,
h2 {
  margin: 0;
  font-family: Italiana, Georgia, serif;
  font-weight: 400;
  line-height: .96;
}
h1 { font-size: clamp(84px, 13vw, 168px); }
h2 { font-size: clamp(58px, 8vw, 112px); }
.hero-copy p:not(.eyebrow),
.section-copy,
.about p {
  color: #d9d1c4;
  line-height: 1.8;
}
.hero-copy p:not(.eyebrow) {
  max-width: 520px;
  margin: 22px 0 30px;
}
.cta {
  border-color: var(--amber);
  background: var(--amber);
  color: var(--black);
}

.begin {
  padding: 72px 5vw 84px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.compact-heading {
  margin-bottom: 26px;
}
.begin-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.begin-grid a {
  position: relative;
  min-height: 330px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
  color: var(--paper);
}
.begin-grid img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
  transition: transform .35s ease, opacity .35s ease;
}
.begin-grid a:hover img {
  opacity: .86;
  transform: scale(1.035);
}
.begin-grid span {
  position: relative;
  width: 100%;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
  font-family: Italiana, Georgia, serif;
  font-size: clamp(28px, 3.3vw, 48px);
  line-height: 1;
}

.brand-moment {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, .85fr) minmax(320px, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--black);
  color: var(--paper);
}
.brand-moment img {
  width: 100%;
  height: 540px;
  object-fit: cover;
}
.brand-moment img:first-child {
  object-position: center top;
}
.brand-moment > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 62px 5vw;
}
.brand-moment h2 {
  max-width: 620px;
  font-size: clamp(46px, 6vw, 86px);
}
.brand-moment p:not(.eyebrow) {
  max-width: 560px;
  color: #d9d1c4;
  line-height: 1.8;
}

.shop {
  padding: 78px 5vw 96px;
}
.section-heading {
  max-width: 1200px;
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
}
.section-copy {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}
.filter-panel {
  max-width: 1200px;
  margin: 0 auto 20px;
  display: grid;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--line);
}
.filter-label {
  margin-bottom: 9px;
  color: var(--gold);
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.button-row button,
#clearFilters {
  min-height: 38px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0 13px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.button-row button.active,
.button-row button:hover,
#clearFilters:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--paper);
}
.catalogue-note {
  max-width: 1200px;
  min-height: 52px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.product-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 18px;
}
.product-card { min-width: 0; }
.product-image {
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
  border: 1px solid #ebe4d7;
  background: var(--milk);
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.product-card:hover img { transform: scale(1.035); }
.badge {
  position: absolute;
  left: 9px;
  top: 9px;
  background: var(--amber);
  color: var(--black);
  padding: 6px 7px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.product-info { padding: 12px 0 0; }
.product-meta {
  margin: 0 0 7px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.product-info h3 {
  min-height: 42px;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}
.product-info p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.product-price {
  color: var(--black) !important;
  font-weight: 800;
}
.empty-state {
  grid-column: 1 / -1;
  max-width: 560px;
  margin: 36px auto 0;
  color: var(--muted);
  line-height: 1.8;
  text-align: center;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  background: var(--black);
  color: var(--paper);
}
.about-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}
.about > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 82px 7vw;
}
.about h2 { max-width: 720px; }
.about p {
  max-width: 650px;
  color: #d9d1c4;
}
.story-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.story-grid article {
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 18px;
}
.story-grid h3 {
  margin: 0 0 10px;
  color: var(--paper);
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.story-grid p {
  margin: 0 0 8px;
  font-size: 13px;
}
.story-grid a {
  color: var(--amber);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 28px;
  padding: 28px 5vw;
  border-top: 1px solid var(--line);
}
footer img {
  width: 130px;
  height: 58px;
  object-fit: contain;
}
footer div {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px;
}

/* Product showcase pages extend the existing Felicéa visual system. */
.product-page { min-height: 70vh; }
.product-loading {
  min-height: 55vh;
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.product-showcase {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  border-bottom: 1px solid var(--line);
}
.product-gallery { min-width: 0; padding: 44px 3vw 44px 5vw; }
.product-gallery-main {
  min-height: 650px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--milk);
}
.product-gallery-main img { width: 100%; height: 100%; max-height: 820px; object-fit: contain; }
.product-thumbnails { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.product-thumbnails button {
  width: 76px;
  height: 92px;
  flex: 0 0 auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--milk);
  cursor: pointer;
}
.product-thumbnails button.active { border-color: var(--black); }
.product-thumbnails img { width: 100%; height: 100%; object-fit: cover; }
.product-summary {
  align-self: center;
  padding: 72px 6vw 72px 4vw;
}
.product-summary h1,
.product-error h1 {
  margin: 12px 0 26px;
  font-family: Italiana, Georgia, serif;
  font-size: clamp(52px, 6vw, 92px);
  font-weight: 400;
  line-height: .98;
}
.product-page-price { margin: 0 0 24px; font-size: 18px; font-weight: 800; }
.product-description { color: var(--muted); line-height: 1.85; white-space: pre-line; }
.buy-contrado {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 0 30px;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--paper);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}
.buy-contrado:hover { border-color: var(--gold); background: var(--gold); }
.checkout-note { color: var(--muted); font-size: 11px; line-height: 1.6; }
.product-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--black);
  color: var(--paper);
}
.product-details article { min-height: 300px; padding: 54px 4vw; border-right: 1px solid rgba(255,255,255,.14); }
.product-details article:last-child { border-right: 0; }
.product-details h2 { margin: 12px 0 18px; font-size: clamp(34px, 4vw, 54px); }
.product-details article > p:last-child { color: #d9d1c4; line-height: 1.75; }
.related-products { padding: 78px 5vw 96px; }
.related-products .section-heading { display: block; }
.related-products .section-heading h2 { margin-top: 8px; font-size: clamp(52px, 7vw, 88px); }
.product-error { max-width: 850px; min-height: 65vh; margin: 0 auto; padding: 12vh 5vw; text-align: center; }
.product-error .buy-contrado { margin-top: 24px; }

@media (max-width: 1000px) {
  .site-header { grid-template-columns: 140px 1fr auto; }
  .main-nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-image { min-height: 520px; }
  .begin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-moment { grid-template-columns: 1fr 1fr; }
  .brand-moment > div { grid-column: 1 / -1; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .story-grid { grid-template-columns: 1fr; }
  .product-showcase { grid-template-columns: 1fr; }
  .product-gallery { padding: 34px 5vw 0; }
  .product-summary { padding: 48px 5vw 64px; }
  .product-details { grid-template-columns: 1fr; }
  .product-details article { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
}

@media (max-width: 760px) {
  .promo-bar { justify-content: space-between; font-size: 9px; }
  .site-header {
    grid-template-columns: 120px 1fr;
    min-height: 72px;
    padding: 8px 4vw;
  }
  .brand img { width: 112px; }
  .header-shop { justify-self: end; min-height: 38px; padding: 0 16px; }
  .entry-bg {
    object-fit: cover;
    object-position: center top;
  }
  .entry-inner {
    margin: 0 auto;
    align-self: end;
    padding-bottom: 38px;
  }
  .hero-image { min-height: 460px; }
  .hero-copy { padding: 54px 6vw; }
  h1 { font-size: clamp(72px, 22vw, 112px); }
  .begin { padding: 54px 4vw 64px; }
  .begin-grid { gap: 10px; }
  .begin-grid a { min-height: 230px; }
  .brand-moment { grid-template-columns: 1fr; }
  .brand-moment img { height: 420px; }
  .section-heading { display: block; }
  .section-copy { margin-top: 14px; }
  .button-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }
  .button-row button { flex: 0 0 auto; }
  .catalogue-note {
    align-items: flex-start;
    flex-direction: column;
  }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .product-info h3 { min-height: 54px; font-size: 12px; }
  .about { grid-template-columns: 1fr; }
  .about-image img { min-height: 360px; }
  footer { grid-template-columns: 1fr; }
  footer div { justify-content: flex-start; }
  .product-gallery-main { min-height: 430px; }
  .product-summary h1 { font-size: clamp(48px, 15vw, 76px); }
  .product-details article { padding: 44px 6vw; }
  .related-products { padding: 58px 4vw 76px; }
}

@media (max-width: 420px) {
  .promo-bar { display: block; text-align: center; line-height: 1.6; }
  .shop { padding: 58px 4vw 76px; }
  .begin-grid { grid-template-columns: 1fr; }
  .begin-grid a { min-height: 220px; }
  .brand-moment img { height: 360px; }
  .product-grid { gap: 18px 10px; }
}

@media (max-width: 350px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-info h3 { min-height: 0; }
}
