/* The catalogue starts with the products; the photographs supply the color. */
body.collection-page {
  --scent-ink:#292826;
  --scent-paper:#faf8f4;
  --scent-rule:#d5d0c7;
  --catalogue-action:#59263e;
  --catalogue-gutter:clamp(1.15rem,5vw,5rem);
  background:var(--scent-paper);
  color:var(--scent-ink);
}
.catalogue-header, .collection-section, .collection-page #products {
  width:min(100%,1440px);
  margin-inline:auto;
  padding-inline:var(--catalogue-gutter);
}
.catalogue-header {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:1.5rem;
  padding-block:clamp(2.25rem,5vw,4.5rem) 1.7rem;
}
.catalogue-header h1, .collection-section .section-title {
  margin:0;
  font-family:inherit;
  font-weight:550;
  letter-spacing:-.05em;
  line-height:1.24;
  color:var(--scent-ink);
  word-break:keep-all;
}
.catalogue-header h1 { font-size:clamp(2.25rem,5vw,4.5rem); }
.catalogue-header p { margin-top:.65rem; color:#625d58; font-size:.95rem; }
.catalogue-header a, .collection-guide-grid a, .compare-result-card a {
  align-content:center;
  display:inline-block;
  min-height:44px;
  color:var(--catalogue-action);
  text-underline-offset:5px;
  font-size:.88rem;
}
.collection-page .lnb { background:var(--scent-paper); border-block:1px solid var(--scent-rule); }
.collection-page .lnb a { color:var(--scent-ink); min-height:44px; align-content:center; }
.collection-page .lnb a.active { color:var(--catalogue-action); border-color:var(--catalogue-action); }
.collection-page #products { padding-block:1.5rem 1rem; background:var(--scent-paper); }
.collection-page .products-grid { grid-template-columns:repeat(4,minmax(0,1fr)); max-width:none; gap:clamp(.85rem,1.75vw,1.65rem); }
.collection-page .product-card { text-align:start; min-width:0; cursor:auto; }
.collection-page .product-card:hover, .collection-page .product-card:hover img { transform:none; }
.catalogue-product { display:block; text-decoration:none; color:inherit; }
.collection-page .product-img-wrap { display:block; background:#f0ece6; border-radius:0; margin-bottom:.9rem; aspect-ratio:4 / 5; }
.collection-page .product-img-wrap img { display:block; object-position:center 65%; }
.collection-page .product-name { font:400 clamp(1.45rem,2.5vw,2.35rem)/1.15 Georgia,serif; letter-spacing:-.035em; margin:0; color:var(--scent-ink); }
.catalogue-product:hover h2, .catalogue-product:focus-visible h2 { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:.17em; }
.collection-page .product-scent { margin:.5rem 0 .9rem; min-height:3.2em; font-size:.87rem; line-height:1.6; color:#57534e; word-break:keep-all; }
.catalogue-tools { display:flex; justify-content:space-between; align-items:start; flex-wrap:wrap; gap:0 .65rem; border-top:1px solid var(--scent-rule); }
.compare-add, .catalogue-retailers summary {
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  min-height:44px;
  padding:.35rem 0;
  border:0;
  background:transparent;
  color:var(--scent-ink);
  cursor:pointer;
  font:inherit;
  font-size:.84rem;
}
.compare-add::before { content:""; flex:none; width:13px; height:13px; border:1px solid #7c766e; }
.compare-add[aria-pressed="true"] { color:var(--catalogue-action); }
.compare-add[aria-pressed="true"]::before { content:"✓"; color:white; line-height:13px; text-align:center; font-size:11px; background:var(--catalogue-action); border-color:var(--catalogue-action); }
.catalogue-retailers { max-width:100%; }
.catalogue-retailers summary { list-style:none; }
.catalogue-retailers summary::-webkit-details-marker { display:none; }
.catalogue-retailers summary::after { content:""; border-right:1px solid; border-bottom:1px solid; width:6px; height:6px; transform:translateY(-2px) rotate(45deg); }
.catalogue-retailers[open] summary::after { transform:translateY(2px) rotate(225deg); }
.catalogue-retailers[open] { flex-basis:100%; }
.collection-page .product-cta-group { display:flex; margin:0; gap:.25rem .9rem; flex-wrap:wrap; }
.collection-page .product-cta { display:inline-flex; align-items:center; min-height:44px; padding:0; flex:0 1 auto; text-align:start; border:0; background:transparent; color:var(--catalogue-action) !important; font-size:.82rem; font-weight:500; letter-spacing:0; text-decoration:underline; text-underline-offset:3px; }
.collection-note, .collection-section .section-desc { color:#625d58; font-size:.9rem; line-height:1.7; }
.collection-note { margin:1.5rem 0 0; }
.collection-section { padding-block:clamp(2.7rem,6vw,5rem); }
.collection-section .section-title { font-size:clamp(1.6rem,3vw,2.6rem); }
.collection-section .section-desc { margin:.7rem 0 0; max-width:52rem; }
.compare-picker { margin:1.75rem 0; }
.compare-picker fieldset { border:0; padding:0; min-width:0; }
.compare-picker legend { font-size:.88rem; margin-bottom:.55rem; font-weight:600; }
.compare-options { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-top:1px solid var(--scent-rule); }
.compare-options label { display:flex; align-items:center; gap:.55rem; min-height:46px; padding:.5rem .25rem; border-bottom:1px solid var(--scent-rule); font-size:.9rem; cursor:pointer; }
.compare-options label:has(input:checked) { color:var(--catalogue-action); font-weight:650; }
.compare-options input { width:1rem; height:1rem; accent-color:var(--catalogue-action); }
.compare-status { margin-top:.75rem; min-height:1.5em; font-size:.9rem; color:var(--catalogue-action); }
.compare-results { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.5rem; margin-block:1rem; }
.compare-results:empty { display:none; }
.compare-result-card { border-top:1px solid var(--scent-rule); padding-top:1rem; display:grid; grid-template-columns:minmax(65px,26%) 1fr; align-items:start; gap:1rem; }
.compare-result-card img { width:100%; height:auto; aspect-ratio:1; object-fit:cover; object-position:center 65%; }
.compare-result-card h3 { font:400 clamp(1.27rem,2.4vw,1.9rem)/1.25 Georgia,serif; color:var(--scent-ink); }
.compare-result-card h4 { font-size:.81rem; font-weight:600; margin-top:.85rem; }
.compare-result-card p, .compare-common { font-size:.9rem; line-height:1.6; }
.compare-result-card .compare-note-label { margin-top:.35rem; color:#625d58; font-size:.77rem; }
.compare-common { border-top:1px solid var(--scent-rule); padding-top:.8rem; }
.compare-actions { display:flex; align-items:center; gap:1rem; margin-top:1rem; flex-wrap:wrap; }
.compare-actions button { min-height:44px; padding:.6rem 1rem; font:inherit; font-size:.88rem; background:var(--catalogue-action); color:white; border:1px solid var(--catalogue-action); cursor:pointer; }
.compare-actions button:last-child { background:transparent; border-color:transparent; padding:.5rem 0; color:var(--scent-ink); text-decoration:underline; text-underline-offset:4px; }
.compare-actions button:disabled { opacity:.5; cursor:default; }
.compare-fallback input { display:block; margin-top:.4rem; width:100%; padding:.65rem; border:1px solid var(--scent-rule); background:white; font:inherit; }
.compare-footnote, .compare-fallback { margin-top:.75rem; font-size:.8rem; color:#5d5853; }
.compare-footnote:empty { display:none; }
.comparison-scroll { margin:1.75rem 0 0; }
.scent-comparison { border-collapse:collapse; width:100%; text-align:start; font-size:.92rem; }
.scent-comparison caption { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.scent-comparison :is(th,td) { text-align:start; border-bottom:1px solid var(--scent-rule); padding:.85rem .5rem; }
.scent-comparison thead th { border-top:1px solid #938b83; color:#625d58; font-size:.82rem; font-weight:500; }
.scent-comparison tbody th { font:400 1.25rem Georgia,serif; }
.scent-comparison a { display:inline-block; align-content:center; min-height:44px; color:inherit; text-underline-offset:4px; }
.collection-guide-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; margin-top:1.5rem; }
.collection-guide-grid > div { border-top:1px solid var(--scent-rule); padding-top:1rem; }
.collection-guide-grid h3 { font-size:1.07rem; font-weight:550; }
.collection-guide-grid p { font-size:.93rem; line-height:1.75; margin-top:.5rem; }
.collection-page .gallery-strip { margin-top:1rem; padding:0; gap:1rem; }
.collection-page .gallery-strip figure { border-radius:0; }
.compare-tray { position:fixed; z-index:997; inset:auto 0 0; display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.55rem var(--catalogue-gutter) max(.55rem,env(safe-area-inset-bottom)); background:var(--scent-ink); color:white; }
.compare-tray > div { min-width:0; }
.compare-tray strong, .compare-tray span { font-size:.82rem; font-weight:500; }
.compare-tray span { margin-left:.5rem; }
.compare-tray p { font:400 1rem/1.4 Georgia,serif; }
.compare-tray #compare-tray-feedback { margin-top:.25rem; font:inherit; font-size:.85rem; }
.compare-tray a { flex-shrink:0; align-content:center; min-height:44px; color:white; font-size:.88rem; text-underline-offset:5px; }
.collection-page.has-comparison { padding-bottom:calc(88px + env(safe-area-inset-bottom)); }
html:has(body.has-comparison) { scroll-padding-bottom:calc(96px + env(safe-area-inset-bottom)); }
.collection-page.has-comparison :is(a,button,input,summary) { scroll-margin-bottom:calc(96px + env(safe-area-inset-bottom)); }
.compare-add[hidden], .compare-picker[hidden], .compare-tray[hidden], .compare-fallback[hidden], .compare-common[hidden] { display:none; }
@media (max-width:920px) {
  .collection-page .products-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:640px) {
  .catalogue-header { align-items:start; flex-direction:column; gap:.2rem; padding-block:1.65rem .75rem; }
  .catalogue-header h1 { font-size:clamp(2rem,8.5vw,2.7rem); }
  .collection-page #products { padding-top:1rem; }
  .collection-page .products-grid { row-gap:1.6rem; }
  .collection-page .product-img-wrap { aspect-ratio:4 / 5; }
  .collection-page .product-scent { font-size:.8rem; }
  .compare-add, .catalogue-retailers summary { font-size:.8rem; }
  .compare-results { gap:.8rem; }
  .compare-result-card { grid-template-columns:minmax(0,1fr); gap:.6rem; }
  .compare-options { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .scent-comparison tbody th { font-size:1.05rem; }
  .collection-guide-grid { grid-template-columns:1fr; gap:1rem; }
  .collection-page .gallery-strip { gap:.5rem; }
}
