.collection-tools,.choice-line,.actions,.purchase-line,.total-line,.stepper { display:flex; align-items:center; flex-wrap:wrap; gap:.6rem; }
.collection-tools { justify-content:space-between; margin-top:2rem; border-block:1px solid #82694b55; }
.collection-tools button,.save-slot button,.saved-button { cursor:pointer; background:transparent; border:0; min-height:44px; }
.collection-tools button { color:#5f5140; padding:0 .7rem; font-size:.85rem; }
.collection-tools [aria-pressed=true] { box-shadow:inset 0 -2px #82694b; color:#15110c; }
.collection-tools>button { font-family:var(--serif); font-size:1.2rem; font-style:italic; }
.saved-button { font-size:1.5rem; min-width:44px; }
.spread[hidden] { display:none; }
.plate { position:relative; }
.plate-open { position:absolute; inset:0; border:0; background:transparent; cursor:zoom-in; color:transparent; font-size:0; }
.save-slot { position:absolute; top:.65rem; right:.65rem; }
.save-slot button { padding:0 .8rem; background:#121212ec; color:var(--ivory); font-size:.8rem; }
#bag { color-scheme:dark; background:#161412; padding:clamp(1rem,3vw,3rem); }
#bag:is([data-view=product],[data-view=finder],[data-view=checkout]) { width:min(78rem,100%); }
#bag .dialog-header { margin-bottom:1.6rem; }
#bag-title { font-size:clamp(2rem,4.5vw,4.5rem); overflow-wrap:anywhere; }
#bag-title:focus { outline:none; }
#bag h3 { font:400 clamp(1.65rem,2.6vw,2.7rem)/1.12 var(--serif); margin:1.3rem 0 .65rem; }
#bag fieldset { border:0; margin:1.4rem 0; padding:0; min-width:0; }
#bag legend,#bag label,#bag small { color:#d9cdbd; }
#shop-content button,#shop-content select { cursor:pointer; background:transparent; color:var(--ivory); border:1px solid #665845; padding:.52rem .75rem; min-height:44px; font:inherit; font-size:.85rem; }
#shop-content button:hover,#shop-content [aria-pressed=true] { border-color:var(--gold); color:#f3d6a7; }
#shop-content .primary { background:var(--gold); color:#17130f; border-color:var(--gold); }
#shop-content button:disabled { opacity:.4; cursor:default; }
#shop-content .scent-link { font:400 1.4rem var(--serif); border:0; padding:0; text-align:left; }
.dossier,.result,.checkout-grid { display:grid; grid-template-columns:1fr 1fr; gap:clamp(1.5rem,4vw,4.5rem); align-items:start; }
.dossier>* ,.checkout-grid>* { min-width:0; }
#shop-content .gallery-photo { display:block; padding:0; width:100%; height:min(62vh,40rem); overflow:hidden; background:#201d19; border:0; cursor:zoom-in; }
.gallery-photo img,.result>img { width:100%; height:100%; object-fit:contain; }
.gallery-photo img { transition:scale .38s var(--ease); }
#shop-content .gallery-photo.zoomed {cursor:zoom-out;}
.gallery-photo.zoomed img { scale:1.65; }
.choice-line,.actions { margin-block:.8rem; }
.scent-description { font:400 clamp(1.55rem,2.5vw,2.7rem)/1.25 var(--serif); margin:.85rem 0 1rem; }
.note-list { border-top:1px solid #554936; margin-top:1rem; }
.note-list details { border-bottom:1px solid #554936; }
.note-list summary { cursor:pointer; padding:.7rem 0; min-height:44px; }
.note-list p { margin:0 0 .8rem 1rem; color:var(--gold); }
.purchase-line,.total-line { justify-content:space-between; }
#shop-content input:not([type=radio]),#shop-content select { background:#201d19; color:var(--ivory); border:1px solid #756751; padding:.6rem; min-height:44px; font:inherit; border-radius:0; }
#product-qty { width:4.5rem; }
.price { font:400 2rem var(--serif); }
.line-item,.receipt-row { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:.75rem; align-items:start; padding:1rem 0; border-bottom:1px solid #514638; }
.thumb { width:clamp(40px,6vw,64px); height:auto; aspect-ratio:3/4; object-fit:cover; }
.line-item label,.line-end,.receipt-row small { display:grid; gap:.35rem; }
.line-end { justify-items:end; }
.stepper { margin-top:.6rem; }
.stepper button { min-width:44px; }
.total-line { margin:1rem 0; }
.empty-state { padding:2rem 0; }
.empty-state p { margin-bottom:1rem; }
#shop-notice:not(:empty) { position:sticky; bottom:0; padding:1rem; color:var(--ivory); background:#30291e; border-left:2px solid var(--gold); }
#shop-notice:empty { display:none; }
.quiz progress { accent-color:var(--gold); height:3px; width:100%; }
.quiz legend { font:400 clamp(1.8rem,4vw,3.5rem) var(--serif); }
.answers { display:flex; flex-wrap:wrap; gap:.8rem; margin:1rem 0; }
.answers label { flex:1 1 7rem; max-width:15rem; border:1px solid #554936; cursor:pointer; position:relative; }
.answers label:has(:checked) { border-color:var(--gold); background:#342b20; }
.answers label:focus-within { outline:2px solid var(--gold); }
.answers input { position:absolute; top:.7rem; left:.6rem; accent-color:#bf9d68; }
.answers img { width:100%; aspect-ratio:3/4; object-fit:cover; }
.answers span { display:block; padding:.65rem .65rem .65rem 2rem; }
.answers img+span { padding-left:.65rem; }
.result>img { max-height:62vh; }
.result h4 { margin:1.3rem 0 0; }
.result p { margin-block:.6rem; }
.checkout-grid form label { display:grid; margin:.7rem 0; gap:.2rem; }
.checkout-grid aside { border-left:1px solid #554936; padding-left:2rem; }
.checkout-grid p { overflow-wrap:anywhere; }
@media(max-width:700px){
  .dossier,.result,.checkout-grid { grid-template-columns:minmax(0,1fr); gap:1rem; }
  #shop-content .gallery-photo,.result>img { height:34svh; }
  .checkout-grid aside { padding:0; border:0; }
  .collection-tools { gap:.15rem; }
  .header-actions { gap:.1rem; }
  .answers label { flex-basis:36%; }
  .answers img { height:7rem; }
  .line-item { column-gap:.5rem; }
}
#shop-content select { max-width:100%; }
#shop-content button:focus-visible,#shop-content input:focus-visible,#shop-content select:focus-visible,.plate-open:focus-visible { outline:2px solid var(--gold); outline-offset:3px; }
#review-contact,#review-delivery { margin-top:.8rem; }
.spread:has(>.plate:only-child) { grid-template-columns:minmax(0,1fr); }
@media(min-width:701px) {
  .plate:only-child { display:grid; grid-template-columns:1.2fr 1fr; gap:var(--gutter); align-items:center; }
  .spread .plate:only-child .plate-image { aspect-ratio:1.18; }
  .plate:only-child .save-slot { left:.7rem; right:auto; }
}
