/* Shopping refinement: retain the ivory/gold identity with clearer hierarchy. */
[hidden] { display: none !important; }
/* A transformed page would trap the mobile fixed purchase bar in its bounds. */
@keyframes pageFadeIn { from { opacity: 0; } to { opacity: 1; } }
:root { --text-dim: #75695c; }
:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 4px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 2px; }
.btn { min-height: 46px; font-size: .75rem; letter-spacing: .1em; }
.btn-secondary { border-color: var(--border); }
.section-eyebrow, .hero-eyebrow { font-size: .75rem; color: var(--accent-dark); letter-spacing: .16em; }
.announcement-bar { font-size: .75rem; letter-spacing: .06em; font-weight: 500; }
.nav-link { font-size: .75rem; letter-spacing: .08em; }
.hero { min-height: 0; grid-template-columns: 1.05fr 1fr; }
.hero-text { align-items: flex-start; text-align: left; padding: clamp(2rem, 6vw, 7rem); }
.hero-heading { font-family: var(--font-display); font-size: clamp(3.25rem, 5.4vw, 5.7rem); font-weight: 400; line-height: 1.03; letter-spacing: -.025em; margin-bottom: 1.75rem; }
.hero-heading em { font-weight: 400; color: var(--accent-dark); }
.hero-tagline { font-family: var(--font-body); font-size: 1rem; line-height: 1.8; letter-spacing: 0; font-weight: 400; }
.hero-media { aspect-ratio: 4 / 5; max-height: 740px; }
.hero-media .hero-img { object-fit: cover; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero-actions .btn { padding-inline: 1.5rem; }
.hero-footnote { font-size: .8125rem; color: var(--text-muted); margin-top: 1.5rem; }
.section { padding-block: 5rem; }
.section-discovery-cta { padding-block: 3rem; background: var(--surface-2); border-bottom: 1px solid var(--border-light); }
.sample-intro { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; }
.sample-intro .section-title { margin-bottom: 0; }
.sample-starting-price { margin-top: .75rem; font-size: .8125rem; color: var(--text-muted); }
.offer-details { margin-top: 1rem; font-size: .8125rem; color: var(--text-muted); max-width: 60ch; }
summary { cursor: pointer; font-weight: 500; padding-block: .8rem; }
details p { padding-bottom: 1rem; }
.offer-details summary { padding-block: .25rem; text-decoration: underline; text-underline-offset: 4px; }
.sample-journey { list-style: decimal-leading-zero; padding-left: 2rem; margin: 0 0 1.5rem; }
.sample-journey li { padding-left: .65rem; margin-bottom: 1.1rem; }
.sample-journey li::marker { color: var(--accent-dark); font-size: .875rem; }
.sample-journey h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 500; line-height: 1.5; }
.sample-journey p, .sampling-guide { font-size: .875rem; line-height: 1.8; color: var(--text-muted); }
.sampling-guide { margin-top: 1rem; border-top: 1px solid var(--border); }
.sampling-guide summary { color: var(--text-primary); }
.sampling-guide ol { padding-left: 1.5rem; }
.sampling-guide .text-link { display: inline-block; padding-block: .75rem; }
.product-fit-label { display: block; font-size: .75rem; color: var(--accent-dark); margin-bottom: .35rem; }
.section-featured .section-header { text-align: left; max-width: none; margin-bottom: 2.5rem; }
.section-featured .section-rule { display: none; }
.featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.featured-card-body, .product-card-body { padding: 1.25rem; text-align: left; align-items: flex-start; }
.featured-card-num { display: none; }
.featured-card-name, .product-card-name { font-size: 1.75rem; }
.featured-card-tagline, .product-card-tagline { font-size: .75rem; letter-spacing: .06em; color: var(--text-muted); }
.product-card-notes { font-size: .8125rem; line-height: 1.65; color: var(--text-muted); }
.featured-card-price, .product-card-price { font-size: 1rem; margin-top: 1rem; }
.card-size { font-family: var(--font-body); font-size: .8125rem; font-weight: 400; color: var(--text-muted); }
.featured-card-cta, .product-card-cta { font-size: .75rem; letter-spacing: .08em; }
.card-badge, .detail-bestseller { font-size: .6875rem; letter-spacing: .05em; }
.section-finder-cta { background: #eee9df; }
.finder-cta-inner { max-width: 760px; }
.section-philosophy .split-image { aspect-ratio: 4 / 5; max-height: 540px; }
.section-philosophy .split-image img { object-fit: cover; height: 100%; width: 100%; }
.section-craft { padding-top: 0; }
.faq-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 5rem; }
.faq-list details, .product-accordion { border-bottom: 1px solid var(--border); }
.faq-list summary { font-size: 1rem; padding-block: 1.25rem; }
.faq-list p { font-size: .9375rem; color: var(--text-muted); line-height: 1.8; }
.faq-list p a, .purchase-reassurance a, .text-link { text-decoration: underline; text-underline-offset: 4px; }
.text-link { font-size: .875rem; color: var(--text-muted); padding-block: .5rem; }
.home-review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.home-review { padding: 1.5rem; background: var(--surface-2); }
.home-review > p { color: var(--accent-dark); }
.home-review blockquote { margin: 1rem 0; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.4; overflow-wrap: anywhere; }
.home-review figcaption { font-size: .875rem; }
.home-review figcaption a { display: block; }
.collection-toolbar { gap: 1rem; }
.filter-btn { min-height: 44px; font-size: .8125rem; letter-spacing: .05em; }
.collection-refinements { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.collection-refinements label { font-size: .75rem; color: var(--text-muted); font-weight: 500; }
.collection-refinements select { display: block; width: 100%; min-height: 46px; margin-top: .35rem; padding: .6rem .75rem; border: 1px solid var(--border); background: var(--surface); font-size: .875rem; color: var(--text); }
.collection-results { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; font-size: .8125rem; color: var(--text-muted); }
.product-grid--large { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding-bottom: 4rem; }
.product-detail-content { padding: 3rem clamp(1.5rem, 4vw, 4rem); gap: 1.25rem; }
.product-detail-name { font-size: clamp(2.5rem, 4vw, 4rem); }
.product-detail-headline { margin-bottom: 0; }
.product-detail-eyebrow, .size-label, .notes-title, .notes-label { font-size: .75rem; letter-spacing: .08em; }
.product-scent-summary { font-size: .9375rem; color: var(--text-muted); }
.product-price-display { margin: .25rem 0; }
.size-selector { margin-bottom: 0; }
.size-btn { min-height: 54px; min-width: 110px; font-size: .875rem; }
.size-price, .size-credit-label, .price-meta { font-size: .8125rem; }
.sample-credit-callout { font-size: .8125rem; padding: .875rem; }
.add-to-cart-section { margin-top: .5rem; gap: 1rem; }
.add-to-cart-section .btn { flex: 1; }
.purchase-reassurance { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .75rem; color: var(--text-muted); padding-block: .25rem 1rem; border-bottom: 1px solid var(--border); }
.scent-profile { display: grid; gap: .875rem; font-size: .875rem; }
.scent-profile > div { display: grid; grid-template-columns: 95px 1fr; gap: .75rem; }
.scent-profile dt { color: var(--text-muted); }
.scent-profile dd { margin: 0; }
.wear-note { font-size: .75rem; color: var(--text-muted); margin-top: -.5rem; }
.product-accordion summary { font-family: var(--font-display); font-size: 1.625rem; font-weight: 500; }
.product-detail-desc, .product-story-text { font-size: .9375rem; font-weight: 400; line-height: 1.8; }
.product-accordion .notes-section { padding-bottom: 1rem; }
.product-rating { align-self: flex-start; }
.reviews-section { scroll-margin-top: 100px; }
.mobile-purchase-bar { display: none; }
.discovery-free-title { font-size: 2rem; }
.discovery-free-lead, .discovery-picker-sub { font-size: .9375rem; }
.discovery-item-tagline, .discovery-terms, .discovery-how-step span { font-size: .8125rem; }
.discovery-how--picker { display: none; }
.discovery-free-offer { padding: 1.25rem; }
.checkout-form { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 4rem; max-width: 1100px; }
.checkout-main, .checkout-summary-panel { min-width: 0; }
.checkout-main > .checkout-section-title:first-child { margin-top: 0; }
.checkout-summary-panel { position: sticky; top: calc(var(--nav-height) + 2rem); align-self: start; padding: 1.5rem; background: var(--surface-2); border: 1px solid var(--border); }
.checkout-summary-panel > .checkout-section-title { margin-top: 0; }
.checkout-order-summary { margin-bottom: 0; }
.checkout-order-name, .checkout-order-price, .ship-method-name { font-size: .875rem; }
.checkout-order-meta, .ship-note, .ship-method-eta, .promo-help, .stripe-note, .tax-included-note { font-size: .8125rem; }
.checkout-promo-section { margin-block: 1.5rem; border-block: 1px solid var(--border); }
.checkout-promo-section > summary { font-size: .875rem; }
.checkout-promo-section .checkout-section-title { display: none; }
.checkout-promo-section .discount-row { margin-block: 1rem; }
.checkout-promo-section .promo-help { margin-top: .5rem; }
.form-group label { font-size: .8125rem; }
.form-group input, .form-group select, .form-group textarea, .discount-input, .collection-search input { font-size: 1rem; }
.footer-col-title, .footer-nav a, .footer-contact, .footer-stripe { font-size: .8125rem; }
@media (max-width: 1024px) {
  .hero-text { padding: 2.5rem; }
  .hero-heading { font-size: 3.7rem; }
  .hero-media { min-height: 480px; }
  .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid--large { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout-form { gap: 2rem; }
  .product-detail { display: grid; grid-template-columns: 1fr 1fr; }
  .product-detail-media { position: sticky; top: var(--nav-height); align-self: start; }
}
@media (max-width: 768px) {
  body:has(.nav-links.open) { overflow: hidden; }
  .section { padding-block: 3rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-text { padding: 2.5rem 1.25rem 2rem; }
  .hero-heading { font-size: clamp(3rem, 12vw, 4.5rem); margin-bottom: 1rem; }
  .hero-eyebrow { margin-bottom: 1rem; }
  .hero-tagline { font-size: .9375rem; }
  .hero-actions { width: 100%; gap: .5rem; margin-top: 1rem; }
  .hero-actions .btn { flex: 1; padding-inline: .6rem; }
  .hero-actions .btn { flex-basis: 100%; }
  .hero-footnote { font-size: .75rem; margin-top: 1rem; }
  .hero-media { min-height: 0; height: auto; aspect-ratio: 1 / 1; max-height: 520px; }
  .hero-media .hero-img { object-position: center 57%; }
  .sample-intro, .faq-layout { grid-template-columns: 1fr; gap: 1.25rem; }
  .featured-grid { gap: .75rem; }
  .featured-grid .featured-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc((100% - .75rem) / 2); justify-self: center; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .featured-card-body, .product-card-body { padding: 1rem .75rem; }
  .featured-card-name, .product-card-name { font-size: 1.375rem; }
  .featured-card-price, .product-card-price { font-size: .9375rem; }
  .card-size { display: block; font-size: .75rem; }
  .featured-card-cta, .product-card-cta { font-size: .6875rem; }
  .product-card-notes { font-size: .75rem; }
  .product-grid--large { gap: .75rem; }
  .collection-refinements { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .collection-refinements select { font-size: 1rem; padding-inline: .5rem; }
  .home-review-grid { grid-template-columns: 1fr; gap: 1rem; }
  .section-philosophy .split-image { aspect-ratio: 4 / 3; }
  .product-detail { display: block; padding-bottom: 88px; }
  .product-detail-media { position: relative; top: 0; aspect-ratio: 1 / 1; }
  .product-detail-content { padding: 1.75rem 1.25rem; gap: 1rem; }
  .mobile-purchase-bar { position: fixed; display: flex; align-items: center; justify-content: space-between; gap: .75rem; bottom: 0; left: 0; right: 0; z-index: 990; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -4px 18px #1a170908; }
  .mobile-purchase-bar > div { min-width: 0; }
  .mobile-purchase-bar strong, .mobile-purchase-bar span { display: block; font-size: .8125rem; }
  .mobile-purchase-bar span { color: var(--text-muted); font-size: .75rem; }
  .mobile-purchase-bar .btn { flex-shrink: 0; padding-inline: 1rem; }
  body:has(#page-product.active .mobile-purchase-bar) .chat-toggle { bottom: calc(100px + env(safe-area-inset-bottom)); }
  body:has(#page-product.active .mobile-purchase-bar) .chat-panel { bottom: calc(160px + env(safe-area-inset-bottom)); max-height: calc(100dvh - 200px); }
  body:has(#page-product.active .mobile-purchase-bar) .toast { bottom: calc(100px + env(safe-area-inset-bottom)); right: 80px; }
  .checkout-form { display: flex; flex-direction: column; gap: 2rem; }
  .checkout-summary-panel { position: static; order: -1; padding: 1.25rem; }
  .checkout-summary-panel .checkout-order-summary { padding: 0; }
  .announcement-bar { font-size: .6875rem; letter-spacing: .025em; }
}
@media (max-width: 359px) {
  .featured-grid, .product-grid--large { grid-template-columns: 1fr; }
  .featured-grid .featured-card:last-child:nth-child(odd) { width: 100%; }
  .collection-refinements { grid-template-columns: 1fr; }
}

/* Personal signature funnel */
#featuredGrid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.perfumer-story-link { display: inline-block; margin: 1rem; }
.collection-intro { max-width: 48rem; margin: 1rem 0 2rem; }
.signature-note { border-block: 1px solid var(--border); padding: 1rem 0; }
.signature-note p { margin-bottom: .65rem; }
.signature-note .text-link { font-size: .8125rem; }
@media (min-width: 769px) and (max-width: 1100px) {
  #featuredGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  #featuredGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  #featuredGrid { grid-template-columns: 1fr; }
  #featuredGrid .featured-card:last-child { width: 100%; }
}

/* 30-Day Fragrance Guarantee + Start a Return */
.hero-guarantee { font-size: .8125rem; margin-top: .5rem; }
.hero-guarantee a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 4px; }
.guarantee-panel { border: 1px solid var(--border); border-top: 2px solid var(--accent); background: var(--surface-2); padding: 1.75rem; margin-bottom: 2.5rem; }
.legal-content .guarantee-panel h2 { margin-top: .25rem; }
.guarantee-panel .btn { margin-top: 1rem; }
.legal-content ol { padding-left: 1.25rem; margin-bottom: 1.25rem; }
.legal-content ol li { margin-bottom: .6rem; line-height: 1.7; }
.return-steps { margin: 1.5rem 0; padding-left: 1.25rem; font-size: .9375rem; line-height: 1.7; }
.return-steps li { margin-bottom: .5rem; }
.return-fine { font-size: .8125rem; }
.return-fine a, .checkout-guarantee a { text-decoration: underline; text-underline-offset: 3px; }
.label-optional { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--text-dim); }
.return-confirm { display: flex; gap: .75rem; align-items: flex-start; margin: .5rem 0 1.5rem; font-size: .8125rem; line-height: 1.6; color: var(--text-muted); cursor: pointer; }
.return-confirm input { flex-shrink: 0; width: 20px; height: 20px; margin-top: .1rem; accent-color: var(--accent-dark); }
.checkout-guarantee { display: flex; gap: .75rem; align-items: flex-start; margin-top: 1.25rem; padding: 1rem; background: var(--surface-2); border: 1px solid var(--border-light); font-size: .8125rem; line-height: 1.6; color: var(--text-muted); }
.checkout-guarantee svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--accent-dark); }
.checkout-guarantee strong { color: var(--text); }
@media (max-width: 768px) {
  .guarantee-panel { padding: 1.25rem; }
}
