/* User-requested local visual preview, based on Aurielle's design language.
   Kept separate from the recorded Tesha Ehmett identity for easy comparison. */
:root {
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  --ink: #061d43;
  --navy: var(--ink);
  --teal: var(--ink);
  --cream: oklch(.98 .01 85);
  --ivory: var(--cream);
  --gold: oklch(.78 .14 85);
  --sand: oklch(.94 .025 85);
  --muted: oklch(.45 .01 60);
  --line: oklch(.9 .02 85);
  --preview-radius: 20px;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.625;
  background: var(--cream);
  color: var(--ink);
}

body :is(h1, h2, h3, legend) {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.01em;
}

body h1 { font-size: clamp(44px, 6.5vw, 88px); line-height: 1; }
body h2 { font-size: clamp(36px, 3.75vw, 48px); line-height: 1.1; }
body h3 { line-height: 1.33; }
body em { font-weight: 400; }

body :is(.hero--purpose h1, .commerce-title, .product-page h1) {
  font-weight: 400;
  letter-spacing: -.01em;
}

body .hero--purpose h1 { font-size: clamp(52px, 6.5vw, 88px); line-height: 1; }
body .hero-subtitle { font: italic 400 clamp(28px, 3vw, 40px)/1.1 var(--serif); }
body .hero--purpose .hero-description { font-size: 18px; line-height: 1.625; max-width: 48ch; }

body :is(.eyebrow, .hero--purpose .eyebrow, .brand-line-card .eyebrow) {
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero--purpose .eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

body :is(.hero--purpose .hero-description, .collection-intro > p,
    .story-copy > p:not(.eyebrow), .care-grid p, .faq-list details p,
    .history-prose p, .information-page p, .information-card p,
    .home-tierra-mar > div > p:not(.eyebrow):not(.brand-line-quote),
    .home-combine > div > p:not(.separate-sale), .home-process p) {
  line-height: 1.625;
  color: var(--muted);
}

body :is(.hero--purpose .hero-image, .brand-line-media img,
    .editorial-gallery img, .history-image img, .product-main-image) {
  border-radius: var(--preview-radius);
  border: 0;
  outline: none;
}

body .hero--purpose .hero-image img { object-fit: contain; }
body .hero--purpose { background: var(--cream); padding-block: 40px 72px; gap: 6%; }
.storefront-page main { --home-section-space: clamp(64px, 8.2vw, 112px); }
body .section { padding-block: clamp(64px, 8.2vw, 112px); }

body .brand-line-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--preview-radius);
  padding: 32px;
  box-shadow: 0 4px 20px #00000003;
}

body :is(.brand-line-card h3, .care-grid h3, .product-title-row h3) { font-weight: 400; }
body .brand-line-card h3 { font-size: 36px; }
body .brand-line-quote { font-size: 24px; line-height: 1.3; }
body .home-tierra-mar { background: var(--sand); border: 1px solid var(--line); border-radius: var(--preview-radius); }
body .home-tierra-mar h3, body .home-combine h2 { font-size: clamp(36px, 3.75vw, 48px); }
body .home-combine { background: var(--cream); }
body #origen { background: var(--sand); border-radius: var(--preview-radius); }
body #origen .story-photo { border-radius: var(--preview-radius); }
body .story-copy h2 { font-size: clamp(36px, 3.75vw, 48px); }
body .home-gifts { background: var(--ink); border: 0; border-radius: var(--preview-radius); }
body .home-gifts h2, body .home-gifts em { color: var(--cream); }
body .home-gifts .eyebrow { color: var(--gold); }
body .home-gifts p:not(.eyebrow) { color: var(--sand); }
body :is(.faq, .social-links) { background: var(--sand); }
body .size-guide { background: var(--cream); }

/* One shared treatment for actions across catalog, detail, cart and checkout. */
body .button,
body .detail-copy .product-purchase-actions .button,
body .checkout-summary .button,
body .contact-page a.button {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .2em;
  text-transform: uppercase;
  border-radius: var(--preview-radius);
  padding: 14px 28px;
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--gold);
  text-align: center;
  justify-content: center;
  min-height: 50px;
  overflow-wrap: anywhere;
}

body .button:hover, body .contact-page a.button:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

body .button.light, body .detail-copy .product-purchase-actions .purchase-add {
  background: transparent;
  color: var(--ink);
  border-color: currentColor;
}
body .home-gifts .button.light { color: var(--cream); }
body .button.light:hover, body .detail-copy .product-purchase-actions .purchase-add:hover {
  background: var(--ink);
  color: var(--cream);
}
body .home-gifts .button.light:hover { background: var(--gold); color: var(--ink); }

body .text-link {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .2em;
  text-transform: uppercase;
  border-color: var(--line);
}
body .text-link:hover { border-color: var(--gold); }
body :is(.product-title-row h3, .cart-row h3) { font-size: 24px; }
body :is(.product-title-row span, .detail-copy .price) { font-family: var(--sans); letter-spacing: .12em; font-weight: 400; }
body .product-image { border-radius: var(--preview-radius); background: var(--sand); }
body .product-category { font-size: 11px; letter-spacing: .25em; }
body .badge { border-radius: 20px; font-size: 11px; letter-spacing: .16em; }
body :is(.information-card, .checkout-section, .checkout-summary, .product-inquiry-panel, .policy-draft) {
  border: 1px solid var(--line);
  border-radius: var(--preview-radius);
  background: #fff;
}
body .contact-page .contact-primary { background: var(--sand); }
body .faq-list details { border-color: var(--line); }
body .faq-list summary { font-family: var(--sans); font-weight: 400; }
body .care-grid article { border-color: var(--line); }
body :is(.checkout-section legend, .drawer-header h2) { font-weight: 400; }
body dialog { border: 1px solid var(--line); border-radius: var(--preview-radius); }
body .cart-dialog { border-radius: var(--preview-radius) 0 0 var(--preview-radius); }
body :is(input, select, textarea) { font-family: var(--sans); }
body :is(a, button, input, select, textarea, summary):focus-visible { outline-color: var(--ink); }
body :is(footer, .home-gifts) :is(a, button):focus-visible { outline-color: var(--gold); }

body .storefront-footer { background: var(--ink); color: var(--cream); border-color: var(--line); padding-top: 64px; }
body .storefront-footer .footer-nav h2 { font: 500 12px/1.6 var(--sans); letter-spacing: .25em; text-transform: uppercase; color: var(--gold); }
body .storefront-footer .footer-link-grid a { font-family: var(--sans); color: var(--sand); font-size: 14px; }
body .footer-bottom { color: var(--sand); border-color: #ffffff20; }
body .announcement { background: var(--ink); border-color: var(--gold); font: 400 12px/1.6 var(--sans); letter-spacing: .12em; }
body .public-header { background: var(--cream); border-color: var(--line); }
body .public-header #navigation { background: transparent; }
body .public-header #navigation .category-submenu { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; }
body .public-header #navigation .category-submenu a:hover { color: var(--ink); background: var(--sand); }

@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  body .public-header { background: oklch(.98 .01 85 / .86); }
}

@media (max-width: 1199px) {
  body .public-header.navigation-ready #navigation.open { background: var(--cream); }
}

@media (max-width: 700px) {
  body .hero--purpose { padding: 32px 6% 56px; gap: 28px; }
  body.storefront-page .hero--purpose h1 { font-size: clamp(44px, 12vw, 56px); line-height: 1; margin-bottom: 20px; }
  body.storefront-page .hero-subtitle { font-size: 30px; line-height: 1.1; margin-bottom: 20px; }
  body .hero--purpose .hero-description { font-size: 16px; }
  body .brand-line-card { padding: 24px; }
  body :is(.product-title-row h3, .cart-row h3) { font-size: 22px; }
  body .button, body .detail-copy .product-purchase-actions .button { padding: 14px 20px; font-size: 12px; letter-spacing: .16em; }
  body .product-title-row span { font-size: 14px; letter-spacing: .04em; }
}

body :is(.home-tierra-mar, .home-combine, .story-copy, .edit, .care-grid,
    .detail-copy, .information-page, .history-page, .collection) :is(h1, h2, h3) {
  font-weight: 400;
}
body .collection .product-card .catalog-add {
  font: 500 11px/1.6 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
  border-radius: var(--preview-radius);
  padding: 12px 16px;
  white-space: normal;
  overflow-wrap: anywhere;
}
body .collection .product-card .catalog-add:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
body .collection .catalog-filter-panel :is(select, #search),
body .collection .catalog-filter-panel #search-box .text-button {
  border-color: var(--line);
  border-radius: 12px;
  background-color: #fff;
  color: var(--ink);
}
body :is(.checkout-field input, .checkout-field select, .checkout-field textarea) {
  border-color: var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}

/* Darker gold for readable text on cream; the reference gold stays on surfaces. */
:root { --gold-text: #89651a; }
body .hero-subtitle, body :is(h1, h2, h3) em { color: var(--gold-text); }
body .hero--purpose .eyebrow { color: var(--gold-text); }
body .home-gifts :is(h2, em) { color: var(--cream); }
body dialog::backdrop { background: rgb(6 29 67 / .45); }
