.interior { min-height: 60vh; max-width: 1780px; margin-inline: auto; padding: 21px var(--pad) clamp(55px,7vw,125px); }
.crumb { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; font-size: .73rem; line-height: 1.45; color: var(--muted); margin-bottom: clamp(30px,5vw,85px); }
.crumb a:hover { text-decoration: underline; }
.page-heading { margin-bottom: clamp(25px,3.8vw,64px); }
.interior h1, .missing h1 { font-size: clamp(39px,5.3vw,94px); font-weight: 310; line-height: 1.09; letter-spacing: -.057em; margin: 0 0 .30em; overflow-wrap: break-word; }
.interior h2, .panel-top h2 { font-size: clamp(24px,2.1vw,39px); line-height: 1.21; font-weight: 450; letter-spacing: -.045em; }
.interior h3 { font-weight: 490; }
.page-heading > p, .intro-text { max-width: 47rem; color: var(--muted); }
input:not([type=checkbox],[type=radio]), select, textarea { max-width: 100%; }
.filters { border-block: 1px solid var(--rule); padding: 17px 0; display: grid; grid-template-columns: 1.3fr repeat(3,1fr) .72fr 1fr; gap: 13px; }
.filters label, .stack label:not(.check) { display: grid; gap: 7px; color: var(--muted); font-size: .79rem; }
.filters input, .filters select, .stack input:not([type=checkbox],[type=radio]), .stack select, .stack textarea, .cart-note { background: #fffcf8; border: 1px solid var(--rule); padding: 10px 11px; min-height: 43px; width: 100%; min-width: 0; font-size: .9rem; color: var(--ink); }
.filters input, .filters select { background: transparent; }
select { cursor: pointer; }
.catalog-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin: 20px 0; font-size: .8rem; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(25px,3.2vw,55px) clamp(12px,1.7vw,32px); }
.product-card { min-width: 0; display: flex; flex-direction: column; }
.card-photo { position: relative; }
.card-photo > a { display: block; overflow: hidden; background: #e9e1d7; }
.card-photo img { width: 100%; height: auto; aspect-ratio: 4/4.7; object-fit: cover; transition: transform .33s ease; }
.card-photo > a:hover img { transform: scale(1.035); }
.card-photo .heart-button { position: absolute; top: 8px; right: 8px; background: var(--paper); width: 35px; height: 35px; color: var(--deep); }
.card-info { padding-top: 15px; }
.family-name { display: block; color: var(--muted); font-size: .67rem; text-transform: uppercase; letter-spacing: .095em; line-height: 1.5; font-weight: 540; }
.card-info h3 { font-size: clamp(18px,1.57vw,32px); letter-spacing: -.04em; font-weight: 450; margin: 5px 0; }
.card-info h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-info p { color: var(--muted); font-size: .8rem; margin-bottom: 14px; }
.card-buy { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--rule); padding-top: 7px; margin-top: auto; }
.card-buy > span { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.card-buy strong { font-weight: 570; font-size: .91rem; }
.card-buy small { color: var(--muted); font-size: .72rem; white-space: nowrap; }
.add-small { min-width: 35px; min-height: 40px; display: inline-flex; gap: 6px; justify-content: center; align-items: center; font-size: .69rem; }
.add-small > span:last-child { font-size: 19px; line-height: 1; }
.add-small:hover { color: var(--wine); text-decoration: underline; }
.empty, .confirmation { border-top: 1px solid var(--rule); padding-block: clamp(28px,5.5vw,90px); }
.empty p,.confirmation p { color: var(--muted); margin: 12px 0 18px; max-width: 43rem; }
.confirmation .text-link { margin: 15px; }
.product-detail { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(28px,6.1vw,115px); align-items: start; }
.product-gallery figure { background: #ebe4da; }
.product-gallery img { width: 100%; height: auto; aspect-ratio: 1.04; object-fit: cover; }
.photo-controls { display: flex; gap: 18px; flex-wrap: wrap; padding-top: 7px; }
.photo-choice { min-height: 40px; color: var(--muted); border-bottom: 1px solid transparent; font-size: .83rem; }
.photo-choice[aria-pressed=true] { border-color: var(--ink); color: var(--ink); }
.product-copy { max-width: 590px; padding-top: 12px; }
.product-copy h1 { margin-top: 16px; }
.product-copy .lead-accord { font-size: clamp(17px,1.4vw,25px); color: var(--ink); margin: 5px 0 16px; }
.product-copy > p:not(.family-name):not(.lead-accord):not(.detail-price) { color: var(--muted); }
.variant,.choices { padding: 0; margin: 23px 0; border: 0; }
.variant legend,.choices legend { padding: 0; margin-bottom: 10px; font-size: .84rem; font-weight: 560; }
.variant label { display: inline-block; margin: 0 6px 6px 0; position: relative; }
.variant input { position: absolute; width: 1px; opacity: 0; }
.variant span { display: inline-block; border: 1px solid var(--rule); padding: 10px 12px; min-height: 39px; cursor: pointer; font-size: .81rem; }
.variant input:focus-visible + span { outline: 2px solid var(--wine); outline-offset: 3px; }
.variant input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.detail-price { font-size: clamp(21px,1.9vw,34px); font-weight: 480; margin: 2px 0 12px; }
.buy-actions { display: flex; gap: 8px; }
.buy-actions .wine { min-width: min(230px,75%); }
.favorite-detail { border: 1px solid var(--rule); height: 46px; width: 48px; }
.detail-delivery { display: inline-block; margin-top: 20px; font-size: .79rem; text-decoration: underline; text-underline-offset: 4px; }
.product-notes, .two-col, .checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,7vw,135px); }
.product-notes { margin-top: clamp(36px,6vw,105px); padding-top: clamp(23px,3vw,55px); border-top: 1px solid var(--rule); }
.pyramid { margin-top: 18px; }
.pyramid > div, .totals > div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; border-bottom: 1px solid var(--rule); padding: 11px 0; font-size: .9rem; }
.pyramid dt { font-weight: 530; }
.pyramid dd { text-align: right; color: var(--muted); }
.related { margin-top: clamp(45px,6vw,110px); }
.related .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.review-widget { margin-top: 16px; }
.reviews-list p { color: var(--muted); }
.reviews-list article, .order-block { padding: 15px 0; border-block-start: 1px solid var(--rule); overflow-wrap: anywhere; }
.reviews-list article h3,.order-block h3 { font-size: 1rem; margin: 0 0 6px; }
.reviews-list article small { display: block; color: var(--muted); margin: 0 0 6px; }
.reviews-list article p { white-space: pre-line; }
.review-write { margin: 18px 0 0; border-block: 1px solid var(--rule); padding: 13px 0; }
summary { cursor: pointer; padding: 3px 0; }
.stack { display: grid; align-content: start; gap: 13px; max-width: 660px; }
.review-write form { margin-top: 18px; }
.stack h2 { margin-bottom: 6px; }
.stack > .button { justify-self: start; }
.stack small,.muted,.note { display: block; color: var(--muted); font-size: .83rem; line-height: 1.5; }
.note:empty { display: none; }
.footer .note { color: white; margin-top: 6px; }
.stack textarea { resize: vertical; }
.check { display: flex; align-items: baseline; gap: 9px; font-size: .85rem; line-height: 1.5; cursor: pointer; }
.check input { align-self: flex-start; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--wine); flex: none; }
.check a,.reading p a,.mini-lines a:hover { text-decoration: underline; text-underline-offset: 3px; }
.choices { margin: 4px 0; }
.choices label + label { margin-top: 8px; }
.story-layout,.atelier { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: clamp(27px,6.8vw,130px); }
.story-photo img,.atelier-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-photo,.atelier-photo { min-height: 350px; }
.story-copy h2,.reading h2 { margin: 27px 0 11px; }
.story-copy p,.reading > p,.two-col > div > p,.atelier-copy > p:not(.family-name) { color: var(--muted); line-height: 1.65; }
.story-copy .button,.reading > .button,.reading > .text-link { margin-top: 23px; }
.reading { max-width: 780px; }
.atelier { grid-template-columns: .88fr 1.12fr; }
.atelier-photo img { object-position: 70% center; }
.atelier-copy { padding: 15px 0 18px; max-width: 660px; }
.atelier-copy h1 { margin-top: 12px; }
#quiz { margin-top: 22px; border-top: 1px solid var(--rule); padding-top: 16px; }
.quiz-step { font-size: .73rem; color: var(--muted); margin: 0 0 9px; }
.quiz-options { display: grid; gap: 0; border-top: 1px solid var(--rule); margin: 15px 0; }
.quiz-options label { min-height: 42px; display: flex; gap: 11px; align-items: center; border-bottom: 1px solid var(--rule); cursor: pointer; }
.quiz-options input { accent-color: var(--wine); }
.quiz-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.quiz-result { display: grid; grid-template-columns: minmax(75px,32%) 1fr; gap: 16px; margin: 10px 0 17px; align-items: start; }
.quiz-result img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.quiz-result p { font-size: .89rem; color: var(--muted); margin: 8px 0; }
.contact-address { font-size: clamp(22px,2vw,35px); margin: 20px 0 8px; }
.two-col > div > p,.account-prefs h3 { margin: 16px 0; }
.account-prefs > a { margin-top: 12px; }
.account-prefs details { margin-top: 22px; padding-block: 15px; border-top: 1px solid var(--rule); }
.account-prefs details p { margin: 12px 0; }
.checkout-grid { grid-template-columns: 1.03fr .97fr; align-items: start; }
.checkout-aside { padding: clamp(16px,2.2vw,38px); border: 1px solid var(--rule); }
.checkout-aside .section-top { margin-bottom: 13px; }
.order-block ul { padding-left: 18px; margin: 8px 0; font-size: .86rem; }
.overlay { position: fixed; background: var(--paper); color: var(--ink); border: 0; padding: clamp(18px,2.3vw,40px); max-width: 100%; max-height: 100dvh; }
.overlay::backdrop { background: #21151380; }
body.dialog-open { overflow: hidden; }
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--rule); padding-bottom: 14px; }
.cart-panel { inset: 0 0 0 auto; margin: 0; width: min(480px,100%); height: 100dvh; max-height: 100dvh; }
.cart-panel .empty { border: 0; }
.search-panel { width: min(650px,calc(100% - 24px)); margin: min(12vh,110px) auto auto; }
.search-line { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--ink); }
.search-line input { min-width: 0; flex: 1; padding: 15px 0; border: none; background: none; }
#search-hints { display: grid; gap: 0; margin-top: 10px; }
#search-hints a { padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: .9rem; }
#search-hints a:hover { color: var(--wine); }
.bag-line { display: grid; grid-template-columns: 65px minmax(0,1fr) auto; align-items: start; gap: 10px; padding: 15px 0; border-bottom: 1px solid var(--rule); }
.bag-line img { width: 65px; height: 81px; object-fit: cover; }
.bag-copy { display: grid; gap: 3px; min-width: 0; }
.bag-copy small,.mini-lines small { color: var(--muted); }
.bag-copy a { font-weight: 530; }
.qty { display: inline-flex; align-items: center; justify-self: start; margin-top: 3px; border: 1px solid var(--rule); }
.qty button { width: 31px; min-height: 30px; }
.qty output { min-width: 20px; font-size: .8rem; text-align: center; }
.line-end { display: grid; gap: 10px; justify-items: end; white-space: nowrap; }
.line-end b { font-size: .85rem; font-weight: 550; }
.line-end button { font-size: .75rem; text-decoration: underline; }
.wrap-choice { margin: 20px 0 8px; }
.wrap-fields { display: grid; gap: 5px; font-size: .8rem; margin: 10px 0; }
.totals { margin: 15px 0; }
.totals > div:last-child { font-size: 1.04rem; font-weight: 550; }
.cart-panel .button.wine { width: 100%; }
.cart-panel .continue { display: block; margin: 12px auto; }
.mini-lines { list-style: none; padding: 0; margin: 0; }
.mini-lines li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 8px 0; font-size: .87rem; }
.toast { pointer-events: none; position: fixed; z-index: 8; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--deep); color: #fffaf3; padding: 10px 18px; text-align: center; font-size: .83rem; max-width: calc(100% - 32px); }
.toast:empty { display: none; }
.missing { min-height: 65vh; display: grid; align-items: end; padding: clamp(36px,7vw,110px) var(--pad); background: #4c090c url('/assets/img/lily.webp') center / cover; color: var(--paper); }
.missing .family-name,.missing .text-link { color: var(--paper); }
.missing p { margin-bottom: 17px; }
.missing .text-link { margin-left: 16px; }
@media(max-width:1050px) {
  .filters { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .home-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .home-grid .add-label { display: none; }
}
@media(max-width:740px) {
  .product-detail,.product-notes,.two-col,.story-layout,.atelier,.checkout-grid { grid-template-columns: 1fr; gap: 28px; }
  .home-grid,.product-grid,.related .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .filters { grid-template-columns: 1fr 1fr; }
  .product-copy { padding: 0; }
  .product-gallery img { aspect-ratio: 1.09; }
  .story-photo,.atelier-photo { min-height: 0; }
  .story-photo img,.atelier-photo img { max-height: 300px; aspect-ratio: 1.7; }
  .atelier-copy { padding-top: 0; }
  .card-info { padding-top: 10px; }
  .card-info p { font-size: .73rem; }
  .add-label { display: none; }
  .checkout-aside { grid-row: 1; }
}
@media(max-width:380px) {
  .card-buy > span { display: grid; gap: 2px; }
  .card-photo .heart-button { top: 4px; right: 4px; width: 32px; height: 32px; }
  .filters { gap: 10px; }
  .filters select,.filters input { padding-inline: 5px; font-size: .8rem; }
}

#catalog-options { display: contents; }
.filter-toggle { display: none; }
@media(max-width:740px) {
  .filters.enhanced { grid-template-columns: 1.2fr 1fr; align-items: end; }
  .filters.enhanced .filter-toggle { display: flex; justify-content: space-between; align-items: center; gap: 6px; min-height: 43px; padding: 8px 11px; border: 1px solid var(--rule); font-size: .85rem; }
  .filters.enhanced .filter-toggle [data-filter-sign] { font-size: 19px; }
  .filters.enhanced #catalog-options { display: none; }
  .filters.enhanced.expanded #catalog-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; grid-column: 1/-1; }
}

.price-range { min-width: 0; border: 0; margin: 0; padding: 0; }
.price-range legend { font-size: .79rem; color: var(--muted); padding: 0; margin-bottom: 7px; }
.price-range > div { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 4px; }
.price-range input { appearance: textfield; padding-inline: 8px; }
.price-range input::-webkit-inner-spin-button { appearance: none; }
.order-link { text-decoration: underline; text-underline-offset: 3px; }

.facet { position: relative; min-width: 0; align-self: end; }
.facet label { display: block; margin-bottom: 7px; }
.facet-button {
  display: flex; width: 100%; min-height: 43px; align-items: center; justify-content: space-between;
  gap: .5rem; padding: 9px 12px; text-align: left; font: inherit; font-size: .9rem;
  color: var(--ink); background: transparent; border: 1px solid var(--rule);
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.facet-button::after {
  content: ''; flex: 0 0 .45rem; height: .45rem; border: solid currentColor; border-width: 0 1px 1px 0;
  transform: translateY(-2px) rotate(45deg); transition: transform .18s ease;
}
.facet-button:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
.facet-button:hover, .facet-button.has-value { border-color: var(--wine); color: var(--wine); }
.facet.open { z-index: 4; }
.facet.open .facet-button { border-color: var(--wine); color: var(--paper); background: var(--wine); }
.facet.open .facet-button::after { transform: translateY(2px) rotate(225deg); }
.facet-choices {
  visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-5px);
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
  position: absolute; z-index: 2; inset: calc(100% + 4px) 0 auto; margin: 0; padding: 4px;
  max-height: min(17rem, 42vh); overflow-y: auto; overscroll-behavior: contain; list-style: none;
  background: var(--paper); border: 1px solid var(--rule); box-shadow: 0 8px 18px #301b1517;
}
.facet.open .facet-choices { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); transition-delay: 0s; }
.facet-choices li {
  display: flex; align-items: center; justify-content: space-between; gap: .3rem; padding: .65rem .5rem;
  min-height: 38px; font-size: .86rem; line-height: 1.25; color: var(--ink); cursor: pointer;
}
.facet-choices li[aria-selected=true] { color: var(--wine); font-weight: 600; }
.facet-choices li[aria-selected=true]::after { content: '✓'; font-size: .8rem; }
.facet-choices li.active-option { background: #e9ded8; color: var(--deep); }
#catalog-count { scroll-margin-top: 5rem; }
#catalog-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin-top: clamp(2rem,4vw,4rem); }
#catalog-pages a { display: grid; place-items: center; min-width: 42px; min-height: 44px; padding: .5rem .85rem; border-bottom: 1px solid var(--rule); font-size: .9rem; }
#catalog-pages a[aria-current=page] { color: var(--paper); background: var(--wine); border-color: var(--wine); }
#catalog-pages a:hover, #catalog-pages a:focus-visible { border-color: var(--wine); }
.foot-logo .foot-mail { display: block; margin-block: .4rem; overflow-wrap: anywhere; }
.foot-logo small, .foot-letter .check { font-size: .75rem; }
.foot-letter .check { display: flex; gap: .45rem; align-items: flex-start; margin-top: .55rem; }
.foot-letter .check input { flex: 0 0 1rem; width: 1rem; height: 1rem; margin: .1rem 0 0; }
.foot-letter .check a { text-decoration: underline; text-underline-offset: .15em; }
.foot-base > div { flex-wrap: wrap; }
.legal-page { max-width: 52rem; margin-inline: auto; }
.legal-page h1 { font-size: clamp(2rem,4vw,4rem); line-height: 1.1; overflow-wrap: anywhere; }
.legal-page h2 { margin: 2rem 0 .55rem; font-size: clamp(1.25rem,2vw,1.65rem); }
.legal-page p { line-height: 1.6; margin-bottom: .75rem; }
.legal-page a { text-decoration: underline; text-underline-offset: .15em; }
@media (max-width: 640px) { .facet-button { padding-inline: 8px; font-size: .84rem; } .facet-choices li { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { .facet-button, .facet-button::after, .facet-choices { transition: none; } }
