:root {
  --bg: #f7f5f1;
  --paper: #ffffff;
  --ink: #211b18;
  --muted: #756d67;
  --line: #e2ddd7;
  --soft: #efeae4;
  --brown: #4b2d20;
  --brown-hover: #684332;
  --gold: #aa8051;
  --danger: #9c3d32;
  --shadow: 0 18px 55px rgba(45, 31, 23, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

/* Header */
.simple-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto minmax(260px, 760px) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  min-height: 74px;
  padding: 10px clamp(16px, 4vw, 58px);
  background: rgba(247, 245, 241, 0.96);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-is-compact .simple-header,
.product-body-page .simple-header {
  border-bottom-color: var(--line);
  box-shadow: 0 7px 25px rgba(37, 26, 20, 0.05);
}
.brand-minimal {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}
.brand-minimal img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}
.brand-minimal strong {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
}
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  white-space: nowrap;
}
.catalogue-link {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}
.catalogue-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--brown);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.cart-button:hover { background: var(--brown-hover); }
.cart-button [data-cart-count] {
  display: grid;
  place-items: center;
  min-width: 23px;
  height: 23px;
  padding: 0 6px;
  border-radius: 99px;
  background: #fff;
  color: var(--brown);
  font-size: 0.78rem;
}

.compact-search-wrap {
  position: relative;
  width: 100%;
  opacity: 0;
  transform: translateY(-5px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.search-is-compact .compact-search-wrap {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.compact-search,
.product-header-search {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 38px;
  align-items: center;
  min-height: 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 6px 20px rgba(45, 31, 23, 0.05);
}
.compact-search svg,
.product-header-search svg,
.hero-search svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  color: var(--muted);
}
.compact-search svg,
.product-header-search svg { margin-left: 14px; }
.compact-search input,
.product-header-search input,
.hero-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  outline: 0;
}
.compact-search input,
.product-header-search input { padding: 0 12px; }
.compact-search button,
.product-header-search button {
  align-self: stretch;
  border: 0;
  background: transparent;
  color: var(--brown);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
}
.product-header-search { width: min(100%, 720px); justify-self: center; }

/* Hero search */
.search-hero {
  display: grid;
  place-items: center;
  min-height: clamp(570px, calc(78svh - 74px), 780px);
  padding: 80px 20px 92px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,0.96) 0 28%, rgba(255,255,255,0.45) 55%, transparent 75%),
    var(--bg);
}
.search-hero-inner {
  width: min(930px, 100%);
  text-align: center;
}
.search-hero h1 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.search-subtitle {
  max-width: 680px;
  margin: 22px auto 34px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.13rem);
  line-height: 1.65;
}
.hero-search-wrap { position: relative; width: 100%; }
.hero-search {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 76px;
  overflow: hidden;
  border: 1px solid #d8d1ca;
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 20px 55px rgba(48, 33, 24, 0.12);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hero-search:focus-within {
  border-color: var(--brown);
  box-shadow: 0 22px 62px rgba(48, 33, 24, 0.16), 0 0 0 4px rgba(75,45,32,0.07);
}
.hero-search svg { margin-left: 22px; width: 25px; height: 25px; }
.hero-search input {
  height: 74px;
  padding: 0 20px;
  font-size: clamp(1rem, 2vw, 1.18rem);
}
.hero-search input::placeholder,
.compact-search input::placeholder,
.product-header-search input::placeholder { color: #958c85; }
.hero-search button {
  align-self: stretch;
  border: 0;
  border-left: 1px solid var(--line);
  padding: 0 25px;
  background: var(--brown);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.hero-search button:hover { background: var(--brown-hover); }
.search-examples {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.86rem;
}
.search-examples button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255,255,255,0.56);
  color: var(--ink);
  cursor: pointer;
}
.search-examples button:hover { background: var(--paper); border-color: #c8bdb4; }

/* Suggestions */
.search-suggestions {
  position: absolute;
  z-index: 45;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 24px 65px rgba(39, 27, 20, 0.18);
  text-align: left;
}
.compact-suggestions { top: calc(100% + 8px); }
.search-suggestion {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.search-suggestion:hover { background: #faf7f3; }
.suggestion-image {
  width: 58px;
  height: 52px;
  overflow: hidden;
  border-radius: 9px;
  background: var(--soft);
}
.suggestion-image img { width: 100%; height: 100%; object-fit: cover; }
.suggestion-copy { display: block; min-width: 0; }
.suggestion-copy > strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggestion-copy > small { display: block; margin-top: 2px; color: var(--muted); }
.suggestion-price { font-weight: 700; }
.suggestion-all {
  width: 100%;
  border: 0;
  padding: 14px 18px;
  background: #f4efe9;
  color: var(--brown);
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}
.no-suggestion { margin: 0; padding: 18px; color: var(--muted); }

/* Product listing */
.products-section,
.related-section,
.offers-section-simple,
.order-info,
.product-page {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: clamp(18px, 5vw, 72px);
  padding-right: clamp(18px, 5vw, 72px);
}
.products-section { padding-top: 88px; padding-bottom: 100px; scroll-margin-top: 92px; }
.products-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}
.products-heading h2,
.simple-section-heading h2,
.order-info h2,
.related-heading h2,
.olfactory-heading h2,
.properties-section h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.25rem, 4.7vw, 4.7rem);
  line-height: 1.02;
}
.products-heading p:not(.eyebrow) { margin: 13px 0 0; color: var(--muted); }
.outline-button {
  border: 1px solid #bdb2aa;
  border-radius: 999px;
  padding: 11px 17px;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}
.outline-button:hover { background: var(--paper); border-color: var(--ink); }
.link-button { display: inline-flex; text-decoration: none; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.product-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.product-card:hover {
  transform: translateY(-3px);
  border-color: #cec4bc;
  box-shadow: var(--shadow);
}
.product-card-main {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.product-visual {
  display: block;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--soft);
}
.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.product-card:hover .product-visual img { transform: scale(1.025); }
.best-flag {
  position: absolute;
  z-index: 2;
  top: 11px;
  left: 11px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  color: var(--brown);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  box-shadow: 0 5px 15px rgba(40,28,20,0.08);
}
.product-card-copy { display: flex; flex: 1; flex-direction: column; padding: 17px 17px 14px; }
.product-topline {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.product-name {
  display: block;
  margin-top: 7px;
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  line-height: 1.18;
}
.product-brand { display: block; margin-top: 4px; color: var(--muted); font-size: 0.9rem; }
.product-price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 17px;
}
.product-price small { color: var(--muted); }
.product-price strong { font-size: 1.23rem; }
.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 14px 14px;
}
.product-card-actions a,
.product-card-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}
.product-card-actions button { border-color: var(--brown); background: var(--brown); color: #fff; }
.product-card-actions button:hover { background: var(--brown-hover); }
.load-more-row { display: flex; justify-content: center; padding-top: 34px; }
.empty-results {
  grid-column: 1 / -1;
  padding: 68px 24px;
  border: 1px dashed #cfc5bd;
  border-radius: 13px;
  background: rgba(255,255,255,0.45);
  text-align: center;
  color: var(--muted);
}
.empty-results strong { display: block; color: var(--ink); font-size: 1.15rem; }
.empty-results p { margin: 8px 0 0; }

/* Color-coded olfactory families */
.family-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.family-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid color-mix(in srgb, var(--family-color) 42%, transparent);
  border-radius: 999px;
  padding: 5px 8px;
  background: var(--family-bg);
  color: var(--family-text);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}
.family-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--family-color); }
.family-chips-suggestion { margin-top: 5px; gap: 4px; }
.family-chips-suggestion .family-chip { padding: 3px 6px; font-size: 0.63rem; }
.family-chips-detail { margin: 20px 0 0; gap: 8px; }
.family-chips-detail .family-chip { padding: 8px 11px; font-size: 0.82rem; }

/* Offers and order info */
.offers-section-simple {
  padding-top: 82px;
  padding-bottom: 92px;
  border-bottom: 1px solid var(--line);
}
.promo-heading-center {
  max-width: 860px;
  margin: 0 auto 34px;
  text-align: center;
}
.simple-section-heading { max-width: 820px; margin-bottom: 34px; }
.simple-section-heading > p:last-child { color: var(--muted); line-height: 1.65; }
.offer-spotlight {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 22px;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid color-mix(in srgb, var(--gold) 44%, var(--line));
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--gold) 22%, transparent) 0, transparent 33%),
    linear-gradient(135deg, color-mix(in srgb, var(--paper) 86%, #fff) 0%, color-mix(in srgb, var(--paper) 72%, var(--gold) 28%) 100%);
  box-shadow: 0 20px 60px color-mix(in srgb, var(--gold) 12%, transparent);
}
.offer-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.offer-spotlight-range {
  margin: 16px 0 8px;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.offer-spotlight h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.6rem, 6vw, 5.3rem);
  line-height: 0.94;
}
.offer-spotlight h3 span {
  display: inline-block;
  color: var(--danger);
}
.offer-spotlight-text {
  max-width: 600px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}
.offer-spotlight-prices {
  display: grid;
  gap: 14px;
}
.offer-price-box {
  display: grid;
  gap: 4px;
  align-content: center;
  min-height: 150px;
  padding: 18px 20px;
  border: 1px solid color-mix(in srgb, var(--ink) 10%, var(--line));
  border-radius: 20px;
  background: color-mix(in srgb, var(--paper) 92%, white 8%);
  text-align: center;
}
.offer-price-box small {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.offer-price-box strong {
  color: var(--danger);
  font-family: "Playfair Display", serif;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1;
}
.offer-price-box span {
  color: var(--muted);
  font-size: 0.92rem;
}
.simple-offers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.simple-offers-grid-enhanced { align-items: stretch; }
.simple-offer-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 20px;
  align-items: start;
  padding: 28px;
  border: 1px solid #d8cfc6;
  border-radius: 18px;
  background: var(--paper);
}
.simple-offer-card > span { color: var(--gold); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; }
.simple-offer-card > div { grid-row: 1 / 4; grid-column: 2; display: flex; flex-direction: column; align-items: flex-end; }
.simple-offer-card del { color: var(--muted); font-size: 1.05rem; }
.simple-offer-card strong { color: var(--danger); font-family: "Playfair Display", serif; font-size: clamp(2.7rem, 5vw, 4.7rem); line-height: 1; }
.simple-offer-card h3 {
  margin: 2px 0 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 2.3vw, 2.35rem);
  line-height: 1.05;
}
.simple-offer-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.luxury-offer-card {
  background: linear-gradient(135deg, color-mix(in srgb, var(--paper) 88%, white) 0%, color-mix(in srgb, var(--paper) 72%, var(--gold) 28%) 100%);
}
.offer-info-card {
  background: linear-gradient(135deg, color-mix(in srgb, var(--paper) 92%, white) 0%, color-mix(in srgb, var(--paper) 82%, var(--brown) 18%) 100%);
}
.offer-info-icon {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  display: grid !important;
  place-items: center;
  font-size: 1.9rem;
  background: color-mix(in srgb, var(--gold) 20%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 36%, transparent);
}
.order-info {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 7vw, 100px);
  padding-top: 90px;
  padding-bottom: 100px;
  border-top: 1px solid var(--line);
}
.order-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 30px; }
.order-info-grid p { margin: 0; padding: 20px 0; border-top: 1px solid var(--line); color: var(--muted); line-height: 1.55; }
.order-info-grid strong { color: var(--gold); margin-right: 7px; }

/* Footer */
.site-footer-simple {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 35px;
  align-items: start;
  padding: 50px clamp(18px, 5vw, 72px);
  background: #221a16;
  color: #f7f3ed;
}
.site-footer-simple strong { font-family: "Playfair Display", serif; letter-spacing: 0.12em; }
.site-footer-simple p,
.site-footer-simple span,
.site-footer-simple a { margin: 7px 0 0; color: #cfc4bb; line-height: 1.55; }
.site-footer-simple > a { margin: 0; font-weight: 700; }

/* Cart */
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 9px;
  padding: 13px 20px;
  background: var(--brown);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}
.primary-button:hover { background: var(--brown-hover); }
.full-button { width: 100%; }
.cart-drawer {
  position: fixed;
  z-index: 70;
  top: 0;
  right: 0;
  width: min(520px, 100%);
  height: 100%;
  transform: translateX(100%);
  background: var(--paper);
  box-shadow: -25px 0 70px rgba(25, 15, 10, 0.2);
  transition: transform 0.25s;
}
.cart-drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-family: "Playfair Display", serif; font-size: 2rem; }
.drawer-head button { border: 0; background: transparent; font-size: 2rem; cursor: pointer; }
.drawer-scroll { height: calc(100% - 91px); overflow: auto; padding: 22px; }
.drawer-overlay { position: fixed; z-index: 60; inset: 0; background: rgba(28, 20, 16, 0.5); }
.cart-empty { color: var(--muted); }
.cart-item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item-head,
.cart-item-foot { display: flex; justify-content: space-between; gap: 15px; }
.cart-item h3 { margin: 0; font-size: 1rem; }
.cart-item p { margin: 5px 0; color: var(--muted); font-size: 0.88rem; }
.remove-item { border: 0; background: transparent; color: var(--danger); cursor: pointer; }
.qty-mini { display: flex; align-items: center; gap: 9px; }
.qty-mini button { width: 29px; height: 29px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.cart-total { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: 1.15rem; }
.cart-total strong { font-size: 1.45rem; }
.cart-total del { color: var(--muted); margin-right: 8px; }
.cash-note { padding: 16px; margin-bottom: 22px; border-radius: 9px; background: var(--soft); }
.cash-note p { margin: 6px 0 0; color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
#orderForm { display: grid; gap: 14px; }
#orderForm label { display: grid; gap: 7px; font-size: 0.88rem; font-weight: 600; }
#orderForm input,
#orderForm textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: var(--paper);
  color: var(--ink);
}
#orderForm input:focus,
#orderForm textarea:focus { outline: 2px solid rgba(75,45,32,0.16); border-color: var(--brown); }
#orderForm fieldset { display: grid; gap: 12px; margin: 0; padding: 0; border: 0; }
#orderForm legend { margin-bottom: 8px; font-weight: 700; }
.field-help { margin: -4px 0 4px; color: var(--muted); font-size: 0.81rem; line-height: 1.45; }
.honeypot { display: none !important; }
.form-feedback { min-height: 22px; margin: 0; color: var(--muted); }
.toast {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  border-radius: 9px;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
}

/* Product page */
.product-page { padding-top: 34px; padding-bottom: 70px; }
.back-link { display: inline-block; margin-bottom: 24px; color: var(--muted); text-decoration: none; font-weight: 600; }
.back-link:hover { color: var(--ink); }
.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(38px, 6vw, 82px); align-items: start; }
.product-gallery { min-height: 620px; overflow: hidden; border-radius: 14px; background: var(--soft); }
.product-gallery img { width: 100%; height: 100%; min-height: 620px; object-fit: cover; }
.product-info { padding: 26px 0; }
.product-info h1 { margin: 0; font-family: "Playfair Display", serif; font-size: clamp(3rem, 5.8vw, 5.8rem); line-height: 0.98; }
.product-brand-large { margin-top: 12px; font-size: 1.05rem; }
.product-info .lead { margin: 24px 0 0; color: var(--muted); font-size: 1.04rem; line-height: 1.72; }
.format-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 30px 0 14px; }
.format-picker button { display: grid; gap: 5px; border: 1px solid var(--line); border-radius: 9px; padding: 14px; background: var(--paper); text-align: left; cursor: pointer; }
.format-picker button span { color: var(--muted); font-size: 0.87rem; }
.format-picker button.is-selected { border-color: var(--brown); box-shadow: inset 0 0 0 1px var(--brown); }
.buy-row { display: grid; grid-template-columns: 128px 1fr; gap: 10px; }
.qty-picker { display: grid; grid-template-columns: 39px 1fr 39px; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--paper); }
.qty-picker button { border: 0; background: transparent; font-size: 1.2rem; cursor: pointer; }
.qty-picker span { display: grid; place-items: center; }
.product-practical-note { display: grid; gap: 4px; margin-top: 17px; padding: 15px; border-radius: 9px; background: var(--soft); }
.product-practical-note span { color: var(--muted); font-size: 0.87rem; }
.olfactory-section,
.properties-section { margin-top: 82px; }
.olfactory-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 28px; }
.olfactory-heading > p { max-width: 570px; margin: 0; color: var(--muted); line-height: 1.65; }
.olfactory-profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.olfactory-profile-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-height: 126px;
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--family-color) 35%, var(--line));
  border-radius: 12px;
  background: var(--family-bg);
  color: var(--family-text);
}
.olfactory-color { flex: 0 0 auto; width: 14px; height: 14px; margin-top: 4px; border-radius: 50%; background: var(--family-color); }
.olfactory-profile-card h3 { margin: 0; font-family: "Playfair Display", serif; font-size: 1.4rem; }
.olfactory-profile-card p { margin: 7px 0 0; line-height: 1.45; }
.no-family-data { color: var(--muted); }
.properties-section h2 { font-size: clamp(2rem, 4vw, 3.7rem); }
.properties { margin-top: 25px; border-top: 1px solid var(--line); }
.property-row { display: grid; grid-template-columns: minmax(150px, 0.72fr) minmax(0, 1.28fr); gap: 25px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.property-row span { color: var(--muted); }
.related-section { padding-top: 70px; padding-bottom: 95px; border-top: 1px solid var(--line); }
.related-heading { margin-bottom: 32px; }
.related-heading h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
.loading { min-height: 50vh; display: grid; place-items: center; color: var(--muted); }

/* Responsive */
@media (max-width: 1120px) {
  .simple-header { grid-template-columns: auto minmax(220px, 1fr) auto; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-detail { gap: 42px; }
  .product-gallery,
  .product-gallery img { min-height: 540px; }
}

@media (max-width: 820px) {
  .simple-header { grid-template-columns: auto 1fr auto; gap: 14px; padding-left: 14px; padding-right: 14px; }
  .brand-minimal strong { font-size: 0.88rem; }
  .catalogue-link { font-size: 0.88rem; }
  .cart-label { display: none; }
  .search-hero { min-height: 590px; padding-top: 68px; }
  .products-heading,
  .olfactory-heading { display: block; }
  .products-heading .outline-button,
  .olfactory-heading > p { margin-top: 20px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .offer-spotlight { grid-template-columns: 1fr; }
  .simple-offers-grid { grid-template-columns: 1fr; }
  .order-info { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .product-gallery,
  .product-gallery img { min-height: 480px; }
  .olfactory-profile-grid { grid-template-columns: 1fr; }
  .site-footer-simple { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .simple-header {
    grid-template-columns: 1fr auto;
    min-height: 66px;
  }
  .brand-minimal img { width: 39px; height: 39px; }
  .header-actions { gap: 10px; }
  .compact-search-wrap {
    grid-column: 1 / -1;
    max-height: 0;
    overflow: visible;
    opacity: 0;
    transform: translateY(-5px);
    transition: max-height 0.2s, opacity 0.2s, transform 0.2s;
  }
  .search-is-compact .compact-search-wrap { max-height: 58px; margin-bottom: 2px; opacity: 1; transform: none; }
  .simple-header-product { grid-template-columns: 1fr auto; }
  .product-header-search { grid-column: 1 / -1; grid-row: 2; }
  .search-hero { min-height: calc(100svh - 66px); padding: 60px 15px 75px; }
  .search-hero h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  .search-subtitle { margin-top: 18px; margin-bottom: 25px; }
  .hero-search { grid-template-columns: 25px minmax(0, 1fr) 54px; min-height: 66px; border-radius: 18px; }
  .hero-search svg { width: 22px; height: 22px; margin-left: 17px; }
  .hero-search input { height: 64px; padding: 0 14px; }
  .hero-search button { width: 54px; padding: 0; font-size: 0; }
  .hero-search button::after { content: "→"; font-size: 1.25rem; }
  .search-suggestion { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; padding: 10px; }
  .suggestion-image { width: 48px; height: 46px; }
  .suggestion-copy > small { font-size: 0.72rem; }
  .family-chips-suggestion { display: none; }
  .products-section { padding-top: 65px; padding-bottom: 75px; }
  .products-heading h2 { font-size: 2.65rem; }
  .product-grid { gap: 9px; }
  .product-card { border-radius: 10px; }
  .product-visual { aspect-ratio: 1 / 1; }
  .product-card-copy { padding: 13px 12px 11px; }
  .product-name { font-size: 1.08rem; }
  .product-brand { font-size: 0.78rem; }
  .family-chips-card { gap: 4px; margin-top: 9px; }
  .family-chips-card .family-chip { padding: 4px 6px; font-size: 0.61rem; }
  .family-chips-card .family-chip i { width: 5px; height: 5px; }
  .product-price { display: block; padding-top: 12px; }
  .product-price small { display: block; margin-bottom: 2px; font-size: 0.7rem; }
  .product-price strong { font-size: 1rem; }
  .product-card-actions { grid-template-columns: 1fr; padding: 0 10px 10px; }
  .product-card-actions a { display: none; }
  .product-card-actions button { min-height: 38px; font-size: 0.82rem; }
  .offer-spotlight { padding: 22px 18px; border-radius: 22px; }
  .offer-pill { min-height: 29px; padding: 0 11px; font-size: 0.72rem; }
  .offer-spotlight h3 { font-size: clamp(2.45rem, 12vw, 4.1rem); }
  .offer-spotlight-text { font-size: 0.96rem; }
  .offer-price-box { min-height: 126px; padding: 16px; }
  .simple-offer-card { grid-template-columns: 1fr; }
  .simple-offer-card > div { grid-row: auto; grid-column: auto; align-items: flex-start; }
  .simple-offer-card h3 { font-size: 1.75rem; }
  .offer-info-icon { width: 58px; height: 58px; }
  .order-info-grid { grid-template-columns: 1fr; }
  .product-page { padding-top: 24px; }
  .product-gallery,
  .product-gallery img { min-height: 390px; }
  .product-info { padding-top: 7px; }
  .product-info h1 { font-size: 3.4rem; }
  .format-picker { grid-template-columns: 1fr; }
  .buy-row { grid-template-columns: 112px 1fr; }
  .olfactory-section,
  .properties-section { margin-top: 60px; }
  .property-row { grid-template-columns: 1fr; gap: 6px; }
  .related-section { padding-top: 55px; }
}

@media (max-width: 390px) {
  .catalogue-link { font-size: 0.8rem; }
  .search-examples span { width: 100%; }
  .product-name { font-size: 1rem; }
  .family-chips-card .family-chip:nth-child(n+3) { display: none; }
}

/* V5 — accueil ultra simple, thèmes clair/sombre et panier raffiné */
:root {
  color-scheme: light;
  --header-glass: rgba(247, 245, 241, 0.78);
  --search-glow: rgba(75, 45, 32, 0.13);
  --hero-orb: rgba(255, 255, 255, 0.96);
  --hover-paper: #faf7f3;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #11100f;
  --paper: #1b1917;
  --ink: #f4efe9;
  --muted: #aaa19a;
  --line: #332f2b;
  --soft: #24211e;
  --brown: #e2b47f;
  --brown-hover: #f0c796;
  --gold: #d2a66f;
  --danger: #ef8d80;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  --header-glass: rgba(17, 16, 15, 0.78);
  --search-glow: rgba(226, 180, 127, 0.16);
  --hero-orb: rgba(43, 39, 35, 0.72);
  --hover-paper: #24211e;
}

body, .simple-header, .search-hero, .product-card, .cart-drawer,
.search-suggestions, .hero-search, .compact-search, .simple-offer-card,
#orderForm input, #orderForm textarea {
  transition: background-color .28s ease, color .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.simple-header {
  background: var(--header-glass);
}

.search-hero {
  min-height: calc(100svh - 74px);
  padding-top: 60px;
  padding-bottom: 60px;
  background:
    radial-gradient(circle at 50% 42%, var(--hero-orb) 0 27%, color-mix(in srgb, var(--hero-orb) 42%, transparent) 55%, transparent 76%),
    var(--bg);
}

.search-hero-inner { width: min(980px, 100%); }
.search-hero h1 { font-size: clamp(3.2rem, 7.5vw, 7.2rem); }
.search-subtitle { max-width: 610px; font-size: clamp(1rem, 1.8vw, 1.18rem); }

.hero-search {
  min-height: 84px;
  border-radius: 26px;
  border-color: color-mix(in srgb, var(--line) 75%, var(--ink) 25%);
  box-shadow: 0 24px 70px var(--search-glow);
}
.hero-search:focus-within {
  border-color: var(--brown);
  box-shadow: 0 28px 84px var(--search-glow), 0 0 0 5px color-mix(in srgb, var(--brown) 12%, transparent);
}
.hero-search input { height: 82px; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-search button { min-width: 132px; }

.hero-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.hero-catalogue-link,
.hero-bestsellers-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 999px;
  padding: 0 17px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.hero-catalogue-link {
  border: 1px solid var(--line);
  background: var(--paper);
}
.hero-bestsellers-link {
  border: 0;
  background: transparent;
  color: var(--muted);
}
.hero-catalogue-link:hover { border-color: var(--ink); }
.hero-bestsellers-link:hover { color: var(--ink); }

.theme-toggle {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 62px;
  height: 34px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.theme-toggle::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--soft);
  transition: transform .25s ease;
}
:root[data-theme="dark"] .theme-toggle::before { transform: translateX(28px); }
.theme-icon { position: relative; z-index: 1; display: grid; place-items: center; font-size: .86rem; }

:root[data-theme="dark"] .cart-button { color: #17130f; }
:root[data-theme="dark"] .cart-button [data-cart-count] { background: #17130f; color: var(--brown); }
:root[data-theme="dark"] .search-suggestion:hover { background: var(--hover-paper); }
:root[data-theme="dark"] .suggestion-all { background: var(--soft); color: var(--brown); }
:root[data-theme="dark"] .hero-search button { color: #17130f; }

/* Panier */
.cart-drawer {
  width: min(460px, 100%);
  background: var(--paper);
  box-shadow: -26px 0 80px rgba(0, 0, 0, .22);
}
.drawer-head {
  padding: 25px 26px 20px;
  background: var(--paper);
}
.drawer-head h2 { font-size: 2.25rem; }
.drawer-subtitle { margin: 5px 0 0; color: var(--muted); font-size: .86rem; }
.drawer-head > button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
}
.drawer-scroll { padding: 18px 26px 30px; }
.cart-item {
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--paper) 92%, var(--soft));
}
.cart-item-head { align-items: flex-start; }
.remove-item { padding: 0; font-size: .8rem; }
.qty-mini {
  overflow: hidden;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}
.qty-mini button { width: 32px; height: 30px; border: 0; color: var(--ink); }
.qty-mini span { min-width: 30px; text-align: center; font-size: .88rem; }
.cart-item-foot { align-items: center; margin-top: 13px; }
.cart-total {
  margin: 18px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cart-total strong { font-size: 1.65rem; }
.cash-note { border: 1px solid var(--line); border-radius: 14px; }
#orderForm input, #orderForm textarea { border-radius: 12px; }

@media (max-width: 820px) {
  .theme-toggle { width: 54px; }
  .theme-toggle::before { width: 24px; height: 24px; top: 4px; }
  :root[data-theme="dark"] .theme-toggle::before { transform: translateX(24px); }
}

@media (max-width: 620px) {
  .brand-minimal strong { display: none; }
  .header-actions { gap: 8px; }
  .catalogue-link { font-size: .82rem; }
  .theme-toggle { width: 50px; height: 32px; }
  .theme-toggle::before { width: 24px; height: 24px; }
  :root[data-theme="dark"] .theme-toggle::before { transform: translateX(20px); }
  .search-hero { min-height: calc(100svh - 66px); padding-top: 35px; padding-bottom: 45px; }
  .search-hero h1 { font-size: clamp(3.2rem, 16vw, 5.1rem); }
  .hero-search { min-height: 70px; border-radius: 21px; }
  .hero-search input { height: 68px; }
  .hero-search button { min-width: 58px; }
  .hero-links { margin-top: 18px; }
  .cart-drawer { width: 100%; }
}
