/* Mobile-first editorial product page. All rules are scoped to this page. */
.product-page{
  --product-text:#202020;--product-muted:#777570;--product-line:#e9e6e1;
  width:calc(100% - 40px);max-width:760px;margin:0 auto;
  padding:16px 0 calc(100px + env(safe-area-inset-bottom));
  background:#faf9f6;color:var(--product-text);font-family:'Segoe UI',Arial,sans-serif;
}
.product-page *{min-width:0}
.product-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-bottom:12px;font-size:12px;color:#56534f}
.product-category{font-size:9px;line-height:1.5;letter-spacing:.12em;color:var(--product-muted);margin:0 0 10px}
.product-page h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(28px,7.5vw,38px);font-weight:400;line-height:1.08;letter-spacing:-.04em;margin:0;overflow-wrap:anywhere}
.product-flavor{font-size:15px;font-weight:500;line-height:1.4;margin:10px 0 0;overflow-wrap:anywhere}
.product-description{font-size:13px;line-height:1.55;color:var(--product-muted);margin:10px 0 16px;max-width:55ch}
.product-specs{margin:0;border-top:1px solid var(--product-line)}
.product-spec-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:8px 0;border-bottom:1px solid var(--product-line);font-size:12px;line-height:1.4}
.product-spec-row dt{color:var(--product-muted)}
.product-spec-row dd{margin:0;text-align:right;font-weight:600;overflow-wrap:anywhere}
.product-photo{margin:16px 0 20px}
.product-photo-stage{display:flex;justify-content:center;align-items:center;min-height:180px;padding:8px 0;--photo-size:220px}
.product-photo-frame{position:relative;width:min(100%,calc(var(--photo-size) * var(--photo-ratio)));aspect-ratio:var(--photo-ratio);overflow:hidden;flex:none}
.product-photo-frame img{display:block;position:absolute;left:var(--photo-left);top:var(--photo-top);width:var(--photo-width);height:var(--photo-height);max-width:none;object-fit:contain;padding:0;border:0;mix-blend-mode:multiply}
.product-photo-frame [hidden]{display:none!important}
.product-photo-fallback{display:grid;place-items:center;min-height:100px;font-size:12px;line-height:1.5;text-align:center;color:var(--product-muted)}
.product-photo figcaption{font-size:11px;line-height:1.5;color:var(--product-muted);margin:10px auto 14px;max-width:46ch;text-align:center}
.detail-add{display:flex;align-items:center;justify-content:center;gap:18px;width:100%;min-height:44px;border:1px solid #252525;border-radius:7px;background:transparent;color:#202020;font:600 13px 'Segoe UI',Arial,sans-serif;padding:10px 14px;cursor:pointer}
.detail-add:after{content:'+';font-size:19px;font-weight:400}
.detail-add:hover{background:#202020;color:#fff}
.product-information{border-top:1px solid var(--product-line)}
.product-accordion{border-bottom:1px solid var(--product-line)}
.product-accordion summary{display:flex;align-items:center;gap:10px;min-height:48px;padding:12px 0;list-style:none;cursor:pointer;font-size:13px;font-weight:500;line-height:1.4}
.product-accordion summary::-webkit-details-marker{display:none}
.product-accordion summary::after{content:'+';margin-left:auto;font-size:19px;line-height:1;font-weight:400}
.product-accordion[open] summary::after{content:'−'}
.product-variant-count{color:var(--product-muted);font-size:11px;font-weight:400}
.product-variant-links{display:grid;grid-template-columns:1fr;gap:6px;max-height:310px;overflow:auto;overscroll-behavior:contain;padding:0 2px 12px}
.product-variant{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:44px;border:1px solid var(--product-line);border-radius:6px;padding:10px 11px;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.product-variant.current{border-color:#b8a5ca;background:#f4f0f8}
.product-selected{font-size:10px;color:#674589;flex:none}
.product-accordion-content{padding:0 0 12px}
.product-accordion-content p{margin:0 0 10px;color:#66635f;font-size:12px;line-height:1.65}
.product-related{margin-top:28px}
.product-related h2{font:400 28px/1.15 Georgia,serif;letter-spacing:-.04em;margin:0 0 18px}
.product-related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}
.product-page .related-card{border:0;border-radius:0;background:transparent;overflow:visible;display:flex;flex-direction:column}
.related-art{display:flex;align-items:center;justify-content:center;height:125px;--photo-size:112px;margin-bottom:10px}
.product-page .related-card h3{font:600 12px/1.4 'Segoe UI',Arial,sans-serif;letter-spacing:0;margin:0 0 5px;overflow-wrap:anywhere}
.related-meta{font-size:11px;line-height:1.4;color:var(--product-muted);margin:0 0 10px}
.product-page .related-card .cart-add{width:100%;margin:auto 0 0;border:1px solid #d4d0ca;border-radius:6px;min-height:44px;font-size:11px;padding:8px;background:transparent}
.product-page .related-card .cart-add:hover{background:#202020;color:#fff}
.product-page .related-card .cart-add::after{width:19px;height:19px;font-size:15px}
.product-page :is(a,button,summary):focus-visible{outline:2px solid #674589;outline-offset:3px}
@media(min-width:600px){
  .product-page{padding-top:24px;padding-bottom:70px}
  .product-back{margin-bottom:18px}
  .product-page h1{font-size:42px}
  .product-spec-row{padding:9px 0;font-size:13px}
  .product-photo-stage{--photo-size:240px}
  .detail-add{max-width:340px;margin:0 auto}
  .product-variant-links{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-related-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
}
@media(prefers-reduced-motion:reduce){.product-page *{scroll-behavior:auto}}
