:root {
  --color-primary: #556628;
  --color-primary-dark: #3a481c;
  --color-gold: #c5a056;
  --color-gold-dark: #8a6c2a;
  --color-heading: #1a1c12;
  --color-text: #2f3228;
  --color-faded: #5c5f54;
  --color-bg: #f7f4ec;
  --color-bg-alt: #efe9db;
  --color-card: #fff;
  --color-border: #e4ddd0;
  --color-ticker: #2a3118;
  --color-footer: #242b18;
  --color-footer-text: #d2cec0;
  --color-footer-link: #f3efe4;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
  --font-logo: "Cormorant Garamond", Palatino, serif;
  --ticker-h: 34px;
  --header-h: 118px;
  --promo-h: 44px;
  --content: 1180px;
  --header-max: 1280px;
  --page-gutter: max(16px, calc((100vw - var(--header-max)) / 2));
  --radius: 4px;
  --shadow: 0 10px 30px rgba(28, 28, 20, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-heading); }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; color: var(--color-heading); margin: 0 0 1rem; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(100% - 40px, var(--content));
  margin-inline: auto;
}

.section-title {
  text-align: center;
  font-family: var(--font-serif);
  color: var(--color-heading);
  font-size: clamp(1.75rem, 2.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.section-lead {
  text-align: center;
  max-width: 52ch;
  margin: 0 auto 2.2rem;
  color: var(--color-text);
  font-size: 1rem;
}

.motif,
.section-title::before,
.page-hero h1::before,
.form-card h1::before,
.confirm-box h1::before,
.empty-cart h1::before,
.section-cta h2::before,
.hero-kicker::before,
.about-split h2::before {
  background: url("../img/motif.png") center / contain no-repeat;
}
.section-title::before,
.page-hero h1::before,
.form-card h1::before,
.confirm-box h1::before,
.empty-cart h1::before,
.section-cta h2::before {
  content: "";
  display: block;
  width: 168px;
  height: 54px;
  margin: 0 auto 12px;
}
.section-head .section-title::before { display: none; }
.section-cta h2::before {
  background-image: url("../img/motif-light.png");
  margin-bottom: 16px;
}
.form-card h1::before {
  margin-left: 0;
  margin-right: auto;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 1.5rem;
}
.section-head .section-title { text-align: left; margin: 0; }
.section-head a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-heading);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.section-head a:hover { color: var(--color-gold-dark); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 2px;
  border: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; }
.btn-gold {
  background: transparent;
  color: var(--color-gold-dark);
  border: 1px solid var(--color-gold);
  width: 100%;
  padding: 10px 16px;
  font-size: 13px;
}
.btn-gold:hover { background: var(--color-gold); color: #fff; }
.btn-light { background: #fff; color: var(--color-heading); }
.btn-light:hover { background: var(--color-gold); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--color-heading);
  border: 1px solid var(--color-heading);
}
.btn-outline:hover { background: var(--color-heading); color: #fff; }
.btn-solid { width: auto; }
.btn-icon { width: 16px; height: 16px; }

/* Ticker */
.ticker {
  position: sticky;
  top: 0;
  z-index: 92;
  height: var(--ticker-h);
  background: var(--color-ticker);
  color: #f2e4b8;
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 48px;
  height: 100%;
  width: max-content;
  animation: ticker 32s linear infinite;
  padding-left: 24px;
}
.ticker-track span { white-space: nowrap; }
.ticker-motif {
  display: block;
  flex: 0 0 72px;
  width: 72px;
  height: 22px;
  background: url("../img/motif-light.png") center / contain no-repeat;
  opacity: 0.88;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.site-header {
  position: sticky;
  top: var(--ticker-h);
  z-index: 90;
  background: rgba(243, 241, 234, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(28, 28, 20, 0.06); }
.nav-open .site-header { z-index: 96; }

.header-inner {
  width: 100%;
  padding-inline: var(--page-gutter);
  min-height: 84px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  color: var(--color-heading);
  cursor: pointer;
  place-items: center;
  padding: 0;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.brand { color: inherit; justify-self: start; display: flex; align-items: center; }
.brand-logo {
  display: block;
  width: 128px;
  height: 63px;
  max-width: none;
  object-fit: contain;
}

.header-search {
  display: flex;
  align-items: center;
  max-width: 420px;
  width: 100%;
  justify-self: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0 6px 0 16px;
  height: 42px;
}
.header-search input {
  flex: 1;
  border: 0;
  background: transparent;
  min-width: 0;
  height: 100%;
  color: var(--color-text);
}
.header-search input:focus { outline: none; }
.header-search input::placeholder { color: #b0aea4; font-size: 13px; }
.header-search button {
  width: 36px;
  height: 36px;
  border: 0;
  background: none;
  color: var(--color-heading);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.header-search svg { width: 18px; height: 18px; }

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 2px;
}
.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--color-heading);
  position: relative;
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { color: var(--color-gold-dark); }

.cart-badge {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--color-gold);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.cart-badge[hidden] { display: none !important; }

.cart-wrap { position: relative; }
.mini-cart {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 300px;
  background: #fff;
  color: var(--color-text);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
  padding: 16px;
  z-index: 100;
}
.mini-cart-empty { margin: 0; font-size: 14px; color: var(--color-faded); }
.mini-cart-list { display: grid; gap: 12px; margin-bottom: 12px; }
.mini-cart-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.mini-cart-item img { width: 48px; height: 48px; object-fit: cover; }
.mini-cart-cta { width: 100%; }

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 16px 12px;
  flex-wrap: wrap;
}
.desktop-nav a {
  display: inline-flex;
  align-items: center;
  color: var(--color-heading);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
}
.desktop-nav a.is-current,
.desktop-nav a:hover { color: var(--color-primary); }

.promo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--promo-h);
  background: var(--color-gold);
  color: #1a1408;
  text-align: center;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
}
.promo-bar p { margin: 0; }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(22, 22, 15, 0.4);
  opacity: 0;
  pointer-events: none;
  z-index: 85;
  transition: opacity 0.25s ease;
}
.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(300px, 86vw);
  background: var(--color-bg);
  z-index: 95;
  padding: calc(var(--ticker-h) + 88px) 28px 40px;
  transform: translateX(-105%);
  transition: transform 0.28s ease;
  box-shadow: 8px 0 24px rgba(0, 0, 0, 0.08);
}
.nav-open .site-nav { transform: none; }
.site-nav-brand {
  display: block;
  margin-bottom: 28px;
  color: inherit;
}
.site-nav-brand img {
  display: block;
  width: 110px;
  height: 54px;
  max-width: none;
  object-fit: contain;
}
.site-nav ul { display: grid; gap: 6px; }
.site-nav a {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-heading);
  padding: 10px 0;
}
.site-nav a.is-current,
.site-nav a:hover { color: var(--color-primary); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  grid-template-areas: "copy visual";
  min-height: min(78vh, 680px);
  background: var(--color-bg);
  overflow: hidden;
}
.hero-visual {
  position: relative;
  grid-area: visual;
  min-height: 460px;
  background: #c9c2ae;
  overflow: hidden;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(270deg, rgba(26, 28, 18, 0.12) 0%, transparent 45%);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 1.4s ease;
  background: #c9c2ae center / cover no-repeat;
  transform: scale(1);
}
.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
  animation: heroZoom 14s ease forwards;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(247, 244, 236, 0.94);
  color: var(--color-heading);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(36, 43, 24, 0.16);
}
.hero-arrow svg { width: 20px; height: 20px; }
.hero-arrow:hover { background: #fff; color: var(--color-primary); }
.hero-arrow-prev { left: 18px; }
.hero-arrow-next { right: 18px; }
.hero-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 64px 40px 80px var(--page-gutter);
  position: relative;
  grid-area: copy;
  background: linear-gradient(180deg, #faf7f0 0%, #f3eee3 100%);
}
.hero-kicker {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 14px;
  font-weight: 700;
}
.hero-copy::before {
  content: "";
  position: absolute;
  right: 6%;
  bottom: 36px;
  width: min(300px, 72%);
  height: 104px;
  background: url("../img/motif.png") right bottom / contain no-repeat;
  opacity: 0.14;
  pointer-events: none;
}
.hero-kicker::before {
  content: "";
  display: block;
  width: 132px;
  height: 42px;
  margin-bottom: 12px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.15rem, 3.6vw, 3.35rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 13ch;
  margin: 0 0 1rem;
  color: var(--color-heading);
}
.hero p {
  max-width: 34ch;
  color: var(--color-text);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.7rem;
}
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: var(--page-gutter);
  display: flex;
  gap: 8px;
}
.hero-dots button {
  width: 32px;
  height: 4px;
  border: 0;
  padding: 0;
  background: #d5cebf;
  cursor: pointer;
}
.hero-dots button.is-active { background: var(--color-primary); }

.category-row {
  padding: 36px 0 12px;
}
.category-grid {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.category-item {
  display: grid;
  justify-items: center;
  gap: 10px;
  color: var(--color-heading);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  width: 96px;
  cursor: default;
}
.category-item span {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 1px solid #ddd6c6;
  background: #faf8f3;
  display: grid;
  place-items: center;
  color: var(--color-gold-dark);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.category-item svg { width: 32px; height: 32px; }
.category-item:hover { color: var(--color-primary); }
.category-item:hover span { border-color: var(--color-gold); background: #fff; }

.section-why {
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
}
.section-why::before {
  content: "";
  position: absolute;
  left: max(-40px, calc(50% - 620px));
  top: 28px;
  width: 320px;
  height: 110px;
  background: url("../img/motif.png") center / contain no-repeat;
  opacity: 0.09;
  pointer-events: none;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.why-item h3 { font-size: 1.08rem; margin-bottom: 0.3rem; font-family: var(--font-serif); }
.why-item p { margin: 0; font-size: 1rem; line-height: 1.65; }
.why-icon {
  width: 48px;
  height: 48px;
  padding: 10px;
  border-radius: 50%;
  border: 1px solid #ddd6c6;
  color: var(--color-gold-dark);
}
.why-photo {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background: var(--color-bg-alt);
}
.why-photo::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: 148px;
  height: 48px;
  background: url("../img/motif-light.png") center / contain no-repeat;
  filter: drop-shadow(0 6px 16px rgba(18, 18, 10, 0.35));
  pointer-events: none;
}
.why-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }

.section-products { padding: 24px 0 72px; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-card);
  border: 1px solid #efebe2;
  padding: 0 0 16px;
  height: 100%;
}
.product-card figure { position: relative; margin: 0; }
.product-card-media {
  display: block;
  background: #f7f4ee;
}
.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f7f4ee;
}
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  background: var(--color-heading);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 9px;
}
.card-cart {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: #fff;
  color: var(--color-gold-dark);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.card-cart svg { width: 18px; height: 18px; }
.card-cart:hover { background: var(--color-gold); color: #fff; border-color: var(--color-gold); }
.product-card h2,
.product-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 14px 16px 4px;
  line-height: 1.4;
}
.product-card h2 a,
.product-card h3 a { color: var(--color-heading); }
.product-card-meta {
  margin: 0 16px 6px;
  font-size: 13px;
  color: var(--color-text);
}
.price { margin: 0 16px 12px; font-size: 0.95rem; }
.price del { color: #6a6a60; margin-right: 8px; font-size: 0.85rem; }
.price ins { text-decoration: none; color: var(--color-heading); font-weight: 600; }
.product-card .btn-gold { width: calc(100% - 32px); margin: 0 16px; }

.section-cta {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background: #3a4a28 center / cover no-repeat;
  padding: 72px 24px;
}
.section-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(22, 22, 15, 0.48);
}
.section-cta::after {
  content: "";
  position: absolute;
  right: 7%;
  top: 50%;
  z-index: 1;
  width: min(360px, 42vw);
  height: 130px;
  transform: translateY(-50%);
  background: url("../img/motif-light.png") center / contain no-repeat;
  opacity: 0.28;
  pointer-events: none;
}
.section-cta .cta-inner { position: relative; z-index: 1; }
.section-cta h2 {
  font-family: var(--font-serif);
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  max-width: 18ch;
  margin: 0 auto 0.6rem;
}
.section-cta p { color: rgba(255,255,255,0.88); }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

.section-blog { padding: 72px 0; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: #fff;
  border: 1px solid #efebe2;
  overflow: hidden;
}
.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.blog-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-heading);
  margin: 16px 18px 6px;
}
.blog-card h3 a { color: inherit; }
.blog-card p { font-size: 0.95rem; color: var(--color-text); margin: 0 18px 20px; }

.section-trust {
  padding: 20px 0 72px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-grid::before {
  content: "";
  grid-column: 1 / -1;
  height: 56px;
  margin-bottom: 4px;
  background: url("../img/motif.png") center / 168px auto no-repeat;
}
.trust-grid h3 { font-size: 1rem; margin: 0.6rem 0 0.2rem; font-family: var(--font-serif); }
.trust-grid p { font-size: 0.85rem; margin: 0; }
.trust-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  padding: 14px;
  border-radius: 50%;
  border: 1px solid #ddd6c6;
  color: var(--color-gold-dark);
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--color-footer);
  color: var(--color-footer-text);
}
.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 78px;
  background: url("../img/motif-light.png") center / contain no-repeat;
  opacity: 0.28;
  pointer-events: none;
}
.site-footer::before {
  left: -20px;
  top: 32px;
}
.site-footer::after {
  right: -12px;
  bottom: 52px;
}
.footer-top {
  width: min(100% - 40px, var(--content));
  margin: 0 auto;
  padding: 48px 0 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.footer-logo { justify-self: start; color: inherit; }
.footer-logo-img {
  display: block;
  width: 140px;
  height: 69px;
  max-width: none;
  object-fit: contain;
}
.footer-nav { display: flex; gap: 28px; justify-content: center; }
.footer-nav a { color: var(--color-footer-link); font-size: 14px; }
.footer-nav a:hover { color: var(--color-gold); }
.footer-top .btn { justify-self: end; }

.footer-mid {
  width: min(100% - 40px, var(--content));
  margin: 0 auto;
  padding: 24px 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-mid h2 {
  color: var(--color-gold);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.footer-mid a { color: var(--color-footer-link); }
.footer-mid a:hover { color: #fff; }
.footer-mid p { margin: 0 0 0.35rem; font-size: 0.92rem; }
.socials { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-bottom {
  text-align: center;
  padding: 16px;
  font-size: 12px;
  letter-spacing: 0.04em;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.whatsapp-float {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 70;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  line-height: 0;
  box-shadow: 0 8px 20px rgba(18, 70, 32, 0.28);
}
.whatsapp-float svg {
  width: 26px;
  height: 26px;
  display: block;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.06); }

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--color-heading);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }

.page-hero {
  position: relative;
  padding: 40px 0 8px;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-serif);
  color: var(--color-heading);
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.prose {
  width: min(100% - 40px, 760px);
  margin: 0 auto 72px;
}
.prose p { color: var(--color-text); }

.form-card {
  width: min(100% - 40px, 460px);
  margin: 48px auto 80px;
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 36px 32px;
}
.form-card h1 { font-family: var(--font-serif); font-size: 2rem; margin-bottom: 1.4rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 500; font-size: 0.88rem; color: var(--color-heading); margin-bottom: 6px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 3em;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-text);
  padding: 0 1em;
}
.field textarea { height: 8rem; padding: 1em; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 1px solid var(--color-gold);
  border-color: var(--color-gold);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-check { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; margin: 8px 0 16px; }
.form-note { font-size: 0.9rem; margin-top: 12px; }
.alert {
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 0.92rem;
}
.alert-ok { background: #eef6e8; color: #3d5a20; }
.alert-err { background: #fdecec; color: #8a2a2a; }

.password-wrap { position: relative; }
.password-wrap input { padding-right: 44px; }
.toggle-pass {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--color-faded);
}

.product-detail {
  width: min(100% - 40px, var(--content));
  margin: 24px auto 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.gallery-main {
  background: #fff;
  border: 1px solid #efebe2;
  overflow: hidden;
}
.gallery-main img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #f7f4ee; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; }
.thumbs button {
  border: 1px solid var(--color-border);
  padding: 0;
  background: #fff;
  cursor: pointer;
  width: 72px;
}
.thumbs button.is-active { border-color: var(--color-gold); }
.thumbs img { width: 72px; height: 72px; object-fit: cover; }
.product-detail h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
.product-detail .price { margin: 0 0 1rem; font-size: 1.2rem; }
.product-detail .badge { position: static; display: inline-block; margin-bottom: 12px; }
.qty-row { display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.qty-row input {
  width: 72px;
  height: 44px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--color-border);
}
.product-meta { font-size: 0.92rem; color: var(--color-faded); display: grid; gap: 4px; margin-top: 20px; }

.shop-layout {
  width: min(100% - 40px, var(--content));
  margin: 24px auto 80px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 32px;
  align-items: start;
}
.cart-table { width: 100%; border-collapse: collapse; background: #fff; }
.cart-table th { text-align: left; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-faded); padding: 12px 16px; }
.cart-table td { padding: 16px; border-top: 1px solid var(--color-border); vertical-align: middle; }
.cart-prod { display: flex; gap: 12px; align-items: center; }
.cart-prod img { width: 72px; height: 72px; object-fit: cover; }
.link-btn { border: 0; background: none; color: var(--color-faded); cursor: pointer; font-size: 0.85rem; }
.summary-card {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 24px;
}
.summary-card h2 { font-family: var(--font-serif); font-size: 1.4rem; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 8px; }
.summary-row.total { font-weight: 600; color: var(--color-heading); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--color-border); }
.empty-cart { text-align: center; padding: 64px 16px 96px; }

.pay-methods { display: grid; gap: 10px; margin: 16px 0; }
.pay-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--color-border);
}
.card-fields { display: grid; gap: 12px; margin-top: 8px; }
.confirm-box { text-align: center; padding: 80px 16px; }
.confirm-box h1 { font-family: var(--font-serif); }
.confirm-box .order-id { font-size: 1.4rem; color: var(--color-gold-dark); }

.about-split {
  width: min(100% - 40px, var(--content));
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-split h2::before {
  content: "";
  display: block;
  width: 148px;
  height: 48px;
  margin: 0 0 14px;
  background: url("../img/motif.png") left center / contain no-repeat;
}

.contact-grid {
  width: min(100% - 40px, var(--content));
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-grid form {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 28px;
}

.search-empty {
  text-align: center;
  padding: 48px 16px 80px;
  color: var(--color-faded);
}

.toast {
  position: fixed;
  top: calc(var(--ticker-h) + 80px);
  right: 16px;
  z-index: 120;
  background: var(--color-heading);
  color: #fff;
  padding: 12px 16px;
  font-size: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: 0.2s ease;
}
.toast.is-on { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .header-inner { grid-template-columns: 44px 1fr 88px; }
  .brand { justify-self: center; }
  .header-search,
  .desktop-nav { display: none; }
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas: "visual" "copy";
    min-height: 0;
  }
  .hero-visual { min-height: 340px; }
  .hero-copy { padding: 36px 24px 64px; }
  .hero-copy::before { width: 180px; height: 64px; opacity: 0.1; right: 16px; bottom: 20px; }
  .hero-dots { left: 24px; }
  .brand-logo { width: 104px; height: 51px; }
  .hero-arrow { width: 38px; height: 38px; }
  .blog-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .section-cta::after { opacity: 0.16; width: 180px; height: 64px; right: 12px; top: auto; bottom: 18px; transform: none; }
  .site-footer::before,
  .site-footer::after { width: 160px; height: 52px; opacity: 0.22; }
  .section-why::before { display: none; }
  .footer-top { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-top .btn { justify-self: center; }
  .why-grid,
  .product-detail,
  .shop-layout,
  .about-split,
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .product-grid,
  .home .product-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-mid { grid-template-columns: 1fr; }
  .footer-nav { flex-direction: column; align-items: center; gap: 12px; }
  .hero h1 { font-size: 2.05rem; }
  .promo-bar { font-size: 13px; }
  .category-item { width: 76px; }
  .category-item span { width: 64px; height: 64px; }
  .section-title::before,
  .page-hero h1::before,
  .form-card h1::before,
  .confirm-box h1::before,
  .empty-cart h1::before,
  .section-cta h2::before {
    width: 132px;
    height: 42px;
  }
  .why-photo::after { width: 112px; height: 36px; }
}
