/* Shared product details keep the approved paper, serif and ember palette. */
:is(.pcard,.catalog-product,.product-dialog) .btn-fill[data-add] {background:#3d210d}
@media (hover:hover) and (pointer:fine) {
 :is(.pcard,.catalog-product,.product-dialog) .btn-fill[data-add]:hover {background:#4d2204;box-shadow:0 5px 12px #3d210d22}
}
:is(.catalog-product,.pcard)[data-product-details] {cursor:pointer}
.product-details-open {display:inline-flex;align-items:center;gap:10px;margin-top:13px;padding:3px 0;background:none;border:0;border-bottom:1px solid currentColor;color:var(--ember-deep);font-size:13px;line-height:1.5}
.product-details-open span {font-size:20px;line-height:1}
.has-product-dialog {overflow:hidden;scrollbar-gutter:stable}
.product-dialog {width:min(1040px,calc(100% - 48px));max-width:none;max-height:calc(100svh - 48px);margin:auto;padding:0;border:1px solid var(--ink);border-radius:25px;background:var(--card);color:var(--ink);overflow:hidden;box-shadow:0 25px 100px #1c130e38}
.product-dialog[open] {animation:product-dialog-enter .25s ease-out}
.product-dialog::backdrop {background:#1c130e99;backdrop-filter:blur(5px)}
.product-dialog-dismiss {position:sticky;top:0;height:0;z-index:3}
.product-dialog-close {position:absolute;top:14px;right:14px;z-index:3;display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--line);border-radius:50%;background:var(--card)}
.product-dialog-close svg {width:22px;height:22px}
.product-dialog-close:hover {background:var(--paper-2)}
.product-dialog-layout {display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);max-height:calc(100svh - 50px)}
.product-dialog-story {min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px;display:flex;flex-direction:column;justify-content:space-between;gap:24px;background:#fbf6ee;border-right:0}
.product-dialog-photo {position:relative;container-type:size;width:100%;aspect-ratio:4/5;flex:none;overflow:hidden;border-radius:15px;background:#a3a07b}
.product-dialog-message {text-align:center;padding:2px 13px 15px}
.product-dialog-message p {font-size:12px;color:var(--ink-2);margin-bottom:10px}
.product-dialog-message blockquote {font:italic 28px/1.2 var(--serif);color:#3d210d;text-wrap:balance}
.product-dialog-copy {display:flex;flex-direction:column;min-width:0;min-height:0;max-height:calc(100svh - 50px)}
.product-dialog-scroll {min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:33px 32px 27px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}
.product-dialog-format {font-size:12px;line-height:1.6;color:var(--ink-2);max-width:calc(100% - 28px);margin-bottom:16px}
.product-dialog-title {font:400 clamp(34px,4vw,49px)/1.05 var(--serif);letter-spacing:-.035em;margin-bottom:12px}
.product-dialog-aroma {font-size:15px;line-height:1.5;color:var(--ink-2)}
.product-dialog .notes {grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:18px 0;margin:22px 0}
.product-dialog .note .k {font-size:10px;letter-spacing:.08em;line-height:1.4}
.product-dialog .note .v {font-size:17px;overflow-wrap:anywhere}
.product-dialog-section + .product-dialog-section {margin-top:23px}
.product-dialog-section h3 {font:400 25px/1.2 var(--serif);margin-bottom:9px}
.product-dialog-section p {font-size:14px;line-height:1.7;color:var(--ink-2)}
.product-dialog-buy {flex:none;padding:18px 32px 14px;border-top:1px solid var(--line);background:var(--card)}
.product-dialog-buy-top {display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:13px}
.product-dialog-buy .price {font-size:34px}
.product-dialog-buy .btn-fill {width:100%;justify-content:center;min-height:48px;text-transform:none;letter-spacing:.015em;font-size:15px}
.product-dialog-status {min-height:19px;margin-top:7px;font-size:12px;line-height:1.6;color:var(--ember-deep)}
@keyframes product-dialog-enter {from {opacity:0;transform:translateY(14px) scale(.97)} to {opacity:1;transform:none}}
@media (max-width:700px) {
 .product-dialog {width:calc(100% - 20px);max-height:calc(100svh - 20px);border-radius:21px;overflow-y:auto;overscroll-behavior:contain}
 .product-dialog-layout {display:block;max-height:none}
 .product-dialog-story {overflow:visible;padding:12px;gap:18px;border-right:0;border-bottom:1px solid var(--line)}
 .product-dialog-photo {aspect-ratio:1.15}
 .product-dialog-photo .package-shot {top:66%;transform:translate(-50%,-66%)}
 .product-dialog-message {padding:0 16px 9px}
 .product-dialog-message blockquote {font-size:25px}
 .product-dialog-copy {display:contents;max-height:none}
 .product-dialog-scroll {overflow:visible;padding:25px 22px 23px}
 .product-dialog-title {font-size:39px}
 .product-dialog-buy {position:sticky;bottom:0;padding:13px 22px 10px;z-index:1}
 .product-dialog-buy-top {margin-bottom:9px}
 .product-dialog-buy .qty {height:38px}
 .product-dialog-buy .qty button {height:34px}
 .product-dialog-buy .price {font-size:30px}
 .product-dialog-status {min-height:0;margin-top:0}
 .product-dialog-status:not(:empty) {margin-top:6px}
 .product-dialog-close {top:20px;right:20px;background:var(--card)}
}
@media (prefers-reduced-motion:reduce) {.product-dialog[open] {animation:none}}
