/* Home, catalog, product, checkout and content-page presentation. */

p {
  color: var(--muted);
}

.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  background: #fff;
  z-index: 100;
  padding: 12px;
}

.skip:focus {
  top: 10px;
}

.hero {
  display: grid;
  grid-template-columns: 47% 53%;
  min-height: 670px;
}

.hero-copy {
  padding: 75px 8% 45px 10.6%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 em {
  color: #8b774f;
}

.hero-intro {
  max-width: 365px;
  font-size: 17px;
  line-height: 1.8;
  margin: 28px 0;
}

.hero-buttons {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-direction: column;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 55px;
}

.hero-note>span {
  font-size: 12px;
  letter-spacing: 2px;
  color: #76643f;
}

.hero-note p {
  border-left: 1px solid var(--line);
  padding-left: 22px;
  font-size: 12px;
  line-height: 1.6;
}

.hero-visual {
  position: relative;
  background: #ecebe7;
  overflow: hidden;
}

.hero-visual>img {
  height: 100%;
  width: 100%;
  position: absolute;
  inset: 0;
  object-position: center;
}

.hero-visual > img.hero-product-image {
  object-fit: cover;
  object-position: 75% center;
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 22px 32px;
  color: #fff;
  font-size: 12px;
  background: linear-gradient(transparent,#0009);
}

.image-caption a {
  border-bottom: 1px solid #fff8;
}

.benefit-strip {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  padding: 24px 5%;
  gap: 20px;
  background: #f6f6f2;
  font-size: 13px;
  text-align: center;
}

.benefit-strip > * + * {
  border-left: 0;
  border-inline-start: 0;
}

.benefit-strip button {
  font-size: 13px;
}

.section {
  padding: 95px 5%;
}

section.selection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
  color: #fff;
  position: relative;
  margin: 0 5%;
  min-height: 570px;
  overflow: hidden;
}

section.selection>div:first-child {
  padding: 75px 13% 60px 10%;
  z-index: 1;
}

section.selection small {
  display: block;
  color: #b9bfaf;
  font-size: 12px;
  margin-top: 20px;
}

.selection-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.selection-image {
  min-height: 500px;
}

.selection-number {
  position: absolute;
  bottom: -70px;
  left: 34%;
  font: 300px var(--serif);
  color: #ffffff07;
  pointer-events: none;
}

.philosophy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 9%;
  align-items: center;
  min-width: 0;
}

.philosophy > * {
  min-width: 0;
}

.philosophy-image {
  position: relative;
  height: 670px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.philosophy-image picture {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-width: 0;
}

.philosophy-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-label {
  position: absolute;
  bottom: 20px;
  left: 24px;
  letter-spacing: 2px;
  font-size: 10px;
  background: #fffe;
  padding: 7px 11px;
}

.principle {
  display: flex;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.principle>span {
  color: #9d8452;
  font-size: 13px;
  padding-top: 2px;
}

.principle h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.principle p {
  font-size: 14px;
  max-width: 400px;
}

.journal {
  padding-top: 76px;
  background: #f7f7f3;
  border-top: 1px solid var(--line);
}

.ritual {
  background: #f5f5f0;
}

.ritual-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 50px;
  margin-top: 60px;
}

.ritual-grid article+article {
  border-left: 1px solid #d7d8cf;
  padding-left: 45px;
}

.step {
  font-size: 12px;
  letter-spacing: 1.6px;
  color: #76643f;
}

.ritual h3 {
  font-family: var(--serif);
  font-size: 29px;
  margin: 25px 0 16px;
}

.ritual-grid p {
  font-size: 15px;
}

.review-section {
  text-align: center;
  padding: 90px 5%;
  border-bottom: 1px solid var(--line);
}

blockquote {
  font: 400 clamp(28px,3.2vw,47px)/1.4 var(--serif);
  letter-spacing: -.025em;
  margin: 25px auto;
  max-width: 900px;
}

.review-date {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 20px;
}

.gallery {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 42px)/3);
  gap: 21px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  scroll-behavior: smooth;
}

.gallery button {
  padding: 0;
  scroll-snap-align: start;
  height: 400px;
  overflow: hidden;
  background: #ecece7;
  box-shadow: 0 14px 40px #20251e0d;
}

.gallery picture {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform .6s;
}

.gallery button:hover img {
  transform: none;
}

.gallery-caption {
  font-size: 12px;
  margin-top: 12px;
}

.faq {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 10%;
  padding-top: 75px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 0 0 22px;
  margin-bottom: 22px;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-size: 17px;
  display: flex;
  gap: 25px;
  justify-content: space-between;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:after {
  content: '+';
  font-size: 23px;
  font-weight: 400;
}

.faq-list details[open] summary:after {
  content: '−';
}

.faq-list details p {
  font-size: 15px;
  margin-top: 18px;
}

.faq-list details button {
  margin-top: 15px;
}

.newsletter {
  background: #eaece3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  padding: 65px 8%;
  align-items: center;
}

.newsletter h2 {
  font-size: 43px;
}

.newsletter p {
  font-size: 14px;
  margin-top: 15px;
}

.newsletter label {
  font-size: 13px;
}

.email-row {
  display: flex;
  border-bottom: 1px solid #6d7361;
  margin-top: 10px;
}

.email-row input {
  border: 0;
  background: none;
  width: 100%;
  padding: 12px 0;
  min-width: 0;
  border-radius: 0;
  color: var(--ink);
  font-size: 16px;
}

.email-row button {
  white-space: nowrap;
  font-size: 14px;
}

.consent {
  min-height: 44px;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}

.consent input {
  accent-color: var(--ink);
  width: 16px;
  height: 16px;
}

.newsletter small {
  font-size: 11px;
  color: #646959;
  display: block;
  margin-top: 8px;
}

.lightbox {
  max-width: 100%;
  max-height: 70dvh;
  object-fit: contain;
  margin: auto;
}

.product-gallery {
  min-width: 0;
}

.demo-note {
  display: block;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.gallery-shell {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0,1fr) 52px;
  align-items: center;
  gap: 12px;
  min-width: 0;
  width: 100%;
  overflow: hidden;
}

.gallery-shell .gallery {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.gallery-shell .gallery::-webkit-scrollbar {
  display: none;
}

select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.demo-banner {
  padding: 8px 24px;
  text-align: center;
  font-size: .875rem;
  background: var(--cream);
  color: var(--ink);
}

.quick-view {
  font-size: .875rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 0;
}

.page-intro {
  margin: 24px 0 32px;
  max-width: 650px;
}

.content-page {
  max-width: 1100px;
  margin: auto;
  min-height: 55vh;
}

.content-page h1,
.checkout-page h1 {
  font-size: clamp(36px, 5vw, 66px);
  margin-bottom: 32px;
  overflow-wrap: anywhere;
}

.content-page p,
.content-page h2 {
  margin: 24px 0;
}

.content-page h2 {
  font-size: 32px;
}

.catalog-page h1 {
  font-size: clamp(38px, 5vw, 64px);
}

.catalog-tools {
  display: flex;
  margin-bottom: 16px;
}

#result-count {
  font-size: .875rem;
  margin: 0 0 24px;
}

.empty-results {
  grid-column: 1 / -1;
  padding: 40px 0;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 100px);
}

.product-main-image {
  display: block;
  width: 100%;
  background: var(--cream);
  padding: 0;
  cursor: zoom-in;
}

.product-main-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.product-copy {
  padding-top: 24px;
}

/* Audit corrections: useful information close to the product and its action. */
.catalog-page { padding-top: 32px; }
.catalog-page .breadcrumbs { margin-bottom: 20px; }
.catalog-page .eyebrow { margin-bottom: 12px; }
.catalog-page .page-intro { margin: 16px 0 24px; }
.catalog-tools { align-items: center; margin-bottom: 12px; max-width: 100%; grid-template-columns: minmax(220px, 400px) auto; justify-content: space-between; }
.catalog-tools .field { margin: 0; }
.compare-link { margin-bottom: 0; justify-self: end; }
.catalog-page .filters { margin: 20px 0 16px; }
.catalog-page .product-photo { height: 270px; }
.source-note, .card-detail { color: var(--muted); font-size: .875rem; line-height: 1.7; }
.source-note a, .content-page p a, .product-information p a { text-decoration: underline; text-underline-offset: 3px; }
.card-detail { margin: 12px 0 4px; }
.product-jumps { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0; }
.product-jumps a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; font-size: .875rem; }
.official-buy { margin: 8px 0; }
.product-information { scroll-margin-top: 120px; }
.product-information p { max-width: 80ch; line-height: 1.75; margin: 16px 0; }
.inci-details { border: 1px solid var(--line); padding: 16px 20px; margin: 16px 0; }
.inci-details summary { cursor: pointer; min-height: 44px; align-content: center; }
.inci-list { font-size: .875rem; overflow-wrap: anywhere; }
.comparison { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); scroll-margin-top: 120px; }
.comparison h2 { margin: 16px 0; font-size: clamp(32px, 4vw, 48px); }
.comparison > p { max-width: 76ch; line-height: 1.7; }
.comparison table { width: 100%; border-collapse: collapse; margin: 32px 0; table-layout: fixed; font-size: .875rem; }
.comparison caption { text-align: left; font-weight: 600; padding-bottom: 16px; }
.comparison th, .comparison td { text-align: left; vertical-align: top; padding: 20px 16px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; line-height: 1.65; }
.comparison th:first-child { width: 16%; }
.comparison thead th { background: var(--cream); }
.comparison th img { display: block; width: 104px; height: 104px; object-fit: contain; margin: 0 auto 16px; mix-blend-mode: multiply; }
.comparison th span { display: block; margin-top: 8px; font-weight: 400; }
.comparison-cards { display: none; }
.comparison-cards article { padding: 24px 0; border-bottom: 1px solid var(--line); }
.comparison-cards h3 { font-size: 22px; }
.comparison-cards dt { font-weight: 600; margin-top: 16px; }
.comparison-cards dd { margin: 6px 0 0; line-height: 1.65; }
.compare-quick { display: block; margin-top: 20px; }
.cart-shop-link { display: block; margin-top: 8px; }
.content-page h2 { font-size: clamp(26px, 3vw, 36px); margin: 36px 0 16px; }
.content-page p { line-height: 1.75; }
.content-page .text-link { margin: 12px 0; display: inline-block; }
.philosophy-copy h2 { font-size: 30px; margin: 28px 0 16px; }
.section.product-page { padding-top: 40px; }
.btn.outline { border: 1px solid var(--line); }
.header nav { align-items: center; }
.header nav button, .header nav a { line-height: 1.5; display: inline-flex; align-items: center; margin: 0; }

.product-copy h1 {
  font-size: clamp(38px, 4vw, 64px);
  line-height: 1.12;
}

.stock-note,
.image-hint {
  font-size: .875rem;
  margin: 12px 0;
}

.purchase-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 20px;
  margin: 24px 0;
}

.product-information {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.product-information h2 {
  font-size: 30px;
  margin-bottom: 24px;
}

.product-information dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
}

.product-information dd {
  margin: 0;
  color: var(--muted);
}

.related-products {
  margin-top: 80px;
}

.related-products h2 {
  margin: 16px 0 40px;
}

.mobile-purchase {
  display: none;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 64px;
  align-items: start;
}

.checkout-layout > *,
.checkout-layout fieldset {
  min-width: 0;
}

.checkout-layout legend {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.checkout-layout fieldset {
  padding: 24px 0;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.checkout-layout legend {
  font-size: 21px;
  padding: 16px 0;
}

.checkout-summary {
  position: sticky;
  top: 130px;
  padding: 32px;
  background: var(--cream);
}

.checkout-summary h2 {
  font-size: 32px;
  margin-bottom: 24px;
}

.checkout-summary p {
  margin: 16px 0;
}

.product-value {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 20px 0;
  border-block: 1px solid var(--line);
  font-size: .9375rem;
}
.product-value div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 16px; }
.product-value dt { font-weight: 500; }
.product-value dd { margin: 0; color: var(--muted); }
.unit-price { margin: 4px 0 0; color: var(--muted); font-size: .875rem; }
.product-buy .product-jumps { margin-top: 24px; }
.continue-shopping { display: block; margin: 12px auto 0; min-height: 44px; }
.checkout-steps { display: flex; flex-wrap: wrap; gap: 12px 32px; padding: 0; margin: 28px 0 40px; list-style: none; color: var(--muted); }
.checkout-steps li { padding: 8px 0; border-bottom: 2px solid transparent; }
.checkout-steps [aria-current] { color: var(--ink); border-color: var(--ink); font-weight: 500; }
.checkout-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.checkout-item img { width: 56px; height: 72px; object-fit: contain; background: #fff; }
.checkout-item p { margin: 4px 0 0; color: var(--muted); font-size: .875rem; }
.checkout-item strong { white-space: nowrap; }
.checkout-summary .cart-line { margin-bottom: 16px; }
.checkout-summary .cart-total { margin-top: 24px; }
.checkout-privacy { margin-top: 16px; font-size: .875rem; color: var(--muted); }
.checkout-privacy a { text-decoration: underline; text-underline-offset: 3px; }
#review-title { margin-bottom: 28px; font-size: 32px; }
.review-block { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.review-block h3 { font: 500 1rem var(--sans); margin-bottom: 12px; }
.review-block p { overflow-wrap: anywhere; }
#checkout-edit { text-align: left; min-height: 44px; }
.payment-action { margin-top: 28px; }
.payment-action .cart-note { margin-top: 12px; }
.section.checkout-page { padding-top: 32px; }
.checkout-page .breadcrumbs { margin-bottom: 24px; }
.checkout-page h1 { font-size: clamp(36px, 4vw, 54px); margin-bottom: 16px; }
.checkout-page .page-intro { margin: 12px 0 20px; }
.checkout-page .checkout-steps { margin: 20px 0 32px; }
.product-main-image { background: #fff; }
