html:has(.product-dialog[open]){overflow:hidden}.product-dialog{--panel: #f8f2e9;--panel-line: #dfd2c3;--icon-ink: #60483a;--dialog-max-height: calc(100dvh - 48px) ;width:min(960px,calc(100% - 48px));max-width:none;max-height:var(--dialog-max-height);padding:0;border:1px solid var(--white);border-radius:16px;background:var(--panel);color:var(--ink);overscroll-behavior:contain}.product-dialog::backdrop{background:#241e1791}.product-content{display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);height:min(780px,var(--dialog-max-height));min-height:0}.product-photo{position:relative;background:var(--tint);min-height:0}.product-photo .product-photo-main{width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;object-fit:cover}.product-close-bar{position:sticky;top:0;z-index:2;height:0}.product-close-bar button{position:absolute;top:16px;right:16px}.product-icon-button{display:grid;place-items:center;width:44px;height:44px;border:1px solid transparent;border-radius:50%;background:var(--panel);color:var(--icon-ink);font-size:21px}.product-icon-button:hover{background:#ebe0d2;border-color:var(--panel-line)}.product-copy{padding:36px clamp(20px,2.25vw,36px);min-width:0;min-height:0;display:flex;flex-direction:column}.product-copy{padding-top:47px}.product-copy h2{max-width:12ch;margin-top:7px;font:650 clamp(34px,3.2vw,48px)/.95 var(--serif);letter-spacing:-.025em}.product-description{max-width:34ch;margin-top:15px;line-height:1.55;font-size:16px}.product-stats{display:flex;flex-wrap:wrap;gap:12px 20px;margin:23px 0 0;padding:0;list-style:none}.product-stats li{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:13px;font-weight:600}.product-stats svg,.checkout-field>svg,.checkout-option>svg{font-size:24px;color:var(--icon-ink);flex:none}.product-composition{margin-top:28px;padding-top:16px;border-top:1px solid var(--panel-line);display:flex;flex-direction:column;min-height:0;flex:1}.product-composition h3{font:650 28px/1.08 var(--serif);letter-spacing:-.02em}.product-ingredients{margin-top:11px;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#aa9988 transparent;scrollbar-width:thin}.product-ingredients>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-block:9px;min-height:82px}.product-ingredients:has(>:nth-child(5))>div{min-height:74px}.product-ingredients>div+div{border-top:1px solid var(--panel-line)}.product-ingredients dt{min-width:0;display:flex;align-items:center;gap:12px;font-size:14px}.product-ingredients strong,.product-ingredients small,.checkout-option small{display:block}.product-ingredients small,.checkout-option small{margin-top:4px;font-size:12px;color:var(--muted)}.product-ingredients dd{flex:none;white-space:nowrap;font-size:13px}.product-tea-image,.product-tea-icon{flex:0 0 72px;width:72px;height:64px;border-radius:50%}.product-tea-image{object-fit:cover}.product-tea-icon{display:grid;place-items:center;background:#e6e6d5;color:#465236;font-size:24px}.product-tea-icon[data-type=red],.product-tea-icon[data-type=mandarin]{background:#f0ded1;color:#813e28}.product-tea-icon[data-type=puer]{background:#e9ded0;color:#614634}.checkout-fields{display:grid;gap:10px}.checkout-field{position:relative;display:flex;align-items:center}.checkout-field>svg:first-child{position:absolute;left:13px;pointer-events:none}.checkout-field input{width:100%;min-width:0;min-height:44px;margin:0;padding:7px 12px 7px 48px;border:1px solid var(--panel-line);border-radius:8px;background:transparent;font-size:16px}.checkout-field input::placeholder{color:var(--muted);opacity:1}.checkout-address{position:relative;width:100%;min-width:0}.checkout-address-list{position:absolute;z-index:1;inset:calc(100% + 6px) 0 auto;max-height:220px;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-color:var(--muted) transparent;scrollbar-width:thin;margin:0;padding:4px;list-style:none;background:var(--panel);border:1px solid var(--panel-line);border-radius:8px;box-shadow:0 8px 18px #241e1724}.checkout-address-option{display:block;width:100%;min-height:42px;padding:8px 10px;text-align:left;border:0;border-radius:5px;background:transparent;overflow-wrap:anywhere;font-size:14px}.checkout-address-option:hover,.checkout-address-option-current{background:#e6e8db}.checkout-address-match{color:inherit;background:transparent;font-weight:700}.checkout-name-fields:not([hidden]){display:grid;gap:10px;margin-top:10px}.checkout-name-fields input{padding-inline:14px}.checkout-delivery{display:grid;gap:9px;min-width:0;margin:24px 0 0;padding:0;border:0}.checkout-delivery legend{margin-bottom:8px;padding:0;font-size:15px;font-weight:600}.checkout-option{display:flex;align-items:center;gap:14px;min-height:60px;padding:8px 13px;border:1px solid var(--panel-line);border-radius:8px;cursor:pointer;font-size:14px}.checkout-option:hover{border-color:#888372}.checkout-option:has(input:checked){border-color:var(--forest);background:#e6e8db}.checkout-option input{width:18px;height:18px;min-height:0;flex:none;margin:0;accent-color:var(--forest);cursor:pointer}.checkout-summary{display:grid;gap:9px;border-top:1px solid var(--panel-line);margin-top:18px;padding-top:15px;font-size:14px}.checkout-summary>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.checkout-summary dd{text-align:right;color:var(--muted)}.checkout-summary .checkout-total{border-top:1px solid var(--panel-line);padding-top:11px;margin-top:3px}.checkout-total dt{font:650 29px/1 var(--serif)}.checkout-total dd{color:var(--ink);font-weight:600}.checkout-quantity{display:flex;align-items:center;gap:4px;font-variant-numeric:tabular-nums}.checkout-quantity span{min-width:2ch;text-align:center}.checkout-quantity button{width:44px;height:44px;padding:0;border:1px solid var(--panel-line);border-radius:7px;background:transparent;color:var(--forest)}.checkout-quantity button:hover:not(:disabled){background:#e6e8db}.checkout-quantity button:disabled{opacity:.55;cursor:default}.checkout-quantity svg{display:block;margin:auto}@media(max-width:600px){.product-dialog{--dialog-max-height: calc(100dvh - 20px) ;width:calc(100% - 20px)}.product-content{grid-template-columns:minmax(0,1fr);height:auto}.product-photo{min-height:0;aspect-ratio:1.55}.product-close-bar button{top:12px;right:12px}.product-copy{padding:24px 17px}.product-ingredients{max-height:260px}.product-copy h2{max-width:none}.product-stats{column-gap:12px}.product-tea-image,.product-tea-icon{flex-basis:52px;width:52px;height:48px}.product-ingredients>div,.product-ingredients:has(>:nth-child(5))>div{min-height:66px}}@media(min-width:601px)and (max-height:600px){.product-content{height:auto;min-height:var(--dialog-max-height)}.product-photo{min-height:var(--dialog-max-height)}.product-ingredients{max-height:240px}}
