.detail-breadcrumb { display:flex; align-items:baseline; flex-wrap:wrap; gap:.6rem; font-size:.9rem; color:var(--muted); padding-block:.8rem; }
.detail-breadcrumb a { font-weight:600; }
.breadcrumb-back { margin-inline-start:auto; }
.hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:.45rem 1.25rem; }
.hero-link { display:inline-flex; align-items:center; gap:.45rem; min-height:2.75rem; font-size:.95rem; font-weight:650; text-decoration:none; }
.detail-shell { padding-bottom:clamp(2.5rem,5vw,5rem); }
.detail-shell > .source-note { margin:.8rem 0 0; }
.detail-section { min-width:0; }
.detail-section h3 { margin:1.2rem 0 .3rem; font-size:1.05rem; }
.detail-section p { color:var(--muted); line-height:1.6; max-width:68ch; }
.comparison { padding-block:clamp(1.4rem,3vw,3rem); scroll-margin-top:1rem; }
.delivery-destinations { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(.5rem,2vw,1rem); margin-top:1.2rem; }
.delivery-destination { display:flex; flex-direction:column; align-items:start; min-width:0; padding:clamp(.85rem,2vw,1.4rem); border:1px solid var(--line); border-radius:var(--panel-radius); background:var(--surface); text-decoration:none; overflow-wrap:anywhere; }
.delivery-destination[aria-current] { border-color:#a35279; background:var(--wash); box-shadow:inset 0 0 0 1px #a35279; }
.delivery-destination:hover { border-color:#82415e; }
.destination-name { font-weight:700; }
.destination-total { margin-top:.35rem; font:750 clamp(1.5rem,3.2vw,2.6rem)/1.1 var(--display); font-variant-numeric:tabular-nums; letter-spacing:-.04em; }
.destination-shop, .destination-unknown { margin-top:.25rem; font-weight:650; }
.destination-parts, .destination-date { margin-top:.45rem; color:var(--muted); font-size:.925rem; }
.comparison .comparison-source { margin:.6rem 0 1.35rem; font-size:.88rem; }
.comparison .market-offers-title { font-size:1.12rem; margin:0 0 .6rem; }
.comparison-table, .history-records table { border-collapse:collapse; width:100%; }
.comparison-table th, .comparison-table td { padding:.8rem .4rem; border-bottom:1px solid var(--line); font-variant-numeric:tabular-nums; text-align:right; vertical-align:middle; }
.comparison-table th:first-child { text-align:left; padding-left:0; }
.comparison-table th:last-child, .comparison-table td:last-child { padding-right:0; }
.comparison-table thead th { font-size:.875rem; font-weight:600; color:var(--muted); border-color:var(--ink); padding-block:.25rem .6rem; }
.comparison-table tbody th { font-weight:650; }
.comparison-table tbody td:last-child { font-weight:750; }
.detail-tracking { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(0,1fr); gap:clamp(1.3rem,3.2vw,4rem); border-top:1px solid var(--line); padding-block:clamp(1.6rem,3vw,3rem); align-items:start; }
.price-figure { margin:.85rem 0 0; }
.price-figure figcaption { font-size:.94rem; color:var(--muted); margin:0 0 1.3rem; }
.price-figure figcaption strong { color:var(--ink); white-space:nowrap; }
.history-graph { display:grid; grid-template-columns:max-content minmax(0,1fr); gap:.55rem .65rem; padding:0 .3rem .25rem 0; }
.history-scale { display:flex; flex-direction:column; justify-content:space-between; align-items:end; font-size:.84rem; line-height:1; color:var(--muted); }
.history-scale span:first-child { transform:translateY(-35%); }
.history-scale span:last-child { transform:translateY(35%); }
.history-plot { width:100%; height:clamp(7.8rem,15vw,11rem); display:block; overflow:visible; }
.history-plot path, .history-plot polyline { fill:none; vector-effect:non-scaling-stroke; }
.history-grid { stroke:var(--line); stroke-width:1; }
.history-line { stroke:#933b68; stroke-width:2.4; stroke-linejoin:round; }
.history-marks { stroke:var(--ink); stroke-linecap:round; stroke-width:5; }
.history-dates { grid-column:2; display:flex; justify-content:space-between; gap:.5rem; color:var(--muted); font-size:.85rem; }
.history-records { margin-top:.75rem; border-top:1px solid var(--line); }
.history-records summary, .card-terms summary { list-style:none; width:fit-content; min-height:2.7rem; display:flex; align-items:center; gap:.6rem; padding:.4rem 0; font-size:.94rem; font-weight:600; }
.history-records summary::-webkit-details-marker, .card-terms summary::-webkit-details-marker { display:none; }
.history-records summary::before, .card-terms summary::before { content:"+"; font-size:1.25rem; }
.history-records[open] summary::before, .card-terms[open] summary::before { content:"−"; }
.history-scroll { max-height:16rem; overflow:auto; }
.history-records th, .history-records td { padding:.45rem .1rem; border-bottom:1px solid var(--line); text-align:left; font-size:.9rem; font-variant-numeric:tabular-nums; }
.history-records th:last-child, .history-records td:last-child { text-align:right; white-space:nowrap; }
.price-alert-panel { padding:clamp(1.25rem,2.4vw,2rem); background:linear-gradient(130deg, #ffe3ed, #fff1f5); border:1px solid #dec4d0; border-radius:1.25rem; overflow-wrap:anywhere; }
.price-alert-heading { display:flex; align-items:center; justify-content:space-between; gap:.65rem; }
.price-alert-mascot { display:block; width:clamp(3rem,5.6vw,4.65rem); height:auto; flex-shrink:0; }
.price-alert-panel h2 { font-size:clamp(1.6rem,2.4vw,2.3rem); }
.price-alert-panel p { margin-top:.65rem; }
.price-alert-panel form, .price-alert-panel > a { margin-top:1rem; }
.button-secondary { background:var(--paper); color:var(--ink); }
.button-secondary:hover { background:var(--gum); }
.alert-address, .price-mail-note { color:var(--muted); font-size:.9rem; }
.alert-address span { color:var(--ink); }
.price-mail-note { padding-top:.75rem; border-top:1px solid #ceadc0; }
.coupon-panel { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:start; gap:clamp(1rem,3vw,3rem); padding-block:clamp(1.6rem,3vw,3rem); border-top:1px solid var(--line); }
.coupon-mascot { display:block; width:clamp(5.5rem,10vw,9rem); height:auto; }
.coupon-panel h2 { max-width:34ch; }
.coupon-panel p { max-width:69ch; margin-top:.6rem; }
.coupon-panel form { display:flex; align-items:end; flex-wrap:wrap; gap:.5rem .75rem; margin-top:1rem; }
.coupon-panel label { width:100%; max-width:100%; }
.coupon-panel input:not([type=hidden]), .coupon-panel select { width:min(100%,23rem); }
.coupon-panel button { min-height:2.8rem; }
.coupon-examples { color:var(--muted); font-size:.93rem; }
.coupon-result { margin-top:1.2rem; border-inline-start:3px solid #983e6a; padding:.2rem 0 .3rem 1rem; }
.coupon-result blockquote { margin:.6rem 0 0; color:var(--muted); }
.detail-information { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,21rem),1fr)); gap:clamp(1.7rem,4vw,4rem); padding-block:clamp(1.6rem,3vw,3rem); border-top:1px solid var(--line); }
.detail-information h2, .detail-related h2 { margin-bottom:1.2rem; }
.detail-information p { margin-bottom:.4rem; }
.detail-specs > div, .detail-facts > div { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:.65rem; }
.detail-specs > div { padding:.65rem 0; border-bottom:1px solid var(--line); }
.detail-specs dt, .detail-facts dt { color:var(--muted); }
.detail-specs dd, .detail-facts dd { font-weight:600; overflow-wrap:anywhere; }
.detail-facts { margin:1rem 0; max-width:35rem; }
.detail-facts > div { padding:.25rem 0; font-size:.95rem; }
.detail-related { padding-top:1.7rem; border-top:1px solid var(--line); }
@media(max-width:46rem) {
  .detail-tracking, .detail-information { grid-template-columns:minmax(0,1fr); }
  .comparison-table th, .comparison-table td { padding:.65rem .2rem; font-size:.92rem; overflow-wrap:anywhere; }
}
@media(max-width:28rem) {
  .price-alert-mascot { width:2.8rem; }
  .coupon-panel { display:block; }
  .coupon-mascot { float:right; width:3.8rem; margin:0 0 .35rem .7rem; }
  .comparison-table th, .comparison-table td { font-size:.85rem; }
  .comparison-table tbody td { word-break:normal; }
  .comparison-table tbody th { width:28%; }
  .detail-specs > div, .detail-facts > div { gap:.5rem; }
}

.product-hero {
  display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  grid-template-areas:"gallery heading" "gallery buy"; grid-template-rows:auto 1fr;
  align-items:start; gap:1rem clamp(1.4rem,4.2vw,4.4rem); margin-block:1rem 2rem;
}
.product-hero.no-photo { grid-template-columns:minmax(0,46rem); grid-template-areas:"heading" "buy"; }
.product-heading { grid-area:heading; min-width:0; padding-top:clamp(.25rem,2vw,1.75rem); }
.product-heading h1 { font:750 clamp(1.55rem,2.9vw,2.65rem)/1.13 var(--display); text-wrap:balance; overflow-wrap:anywhere; margin:0; }
.product-brand { font-weight:650; color:var(--muted); margin:0 0 .45rem; }
.product-highlights { display:flex; flex-wrap:wrap; gap:.6rem 1rem; margin:.85rem 0 0; }
.product-highlights div { display:flex; gap:.35rem; align-items:baseline; }
.product-highlights dt,.product-note,.product-shop { font-size:.88rem; color:var(--muted); }
.product-highlights dd { margin:0; font-weight:650; }
.product-gallery { grid-area:gallery; width:100%; min-width:0; }
.product-image { background:white; border:1px solid var(--line); border-radius:var(--panel-radius); overflow:hidden; }
.product-image img { display:block; width:100%; height:clamp(16rem,30vw,25rem); object-fit:contain; padding:clamp(.65rem,2vw,1.5rem); box-sizing:border-box; }
.gallery-picker {
  position:relative; display:flex; flex-wrap:wrap; justify-content:center; gap:.55rem;
  min-width:0; margin:0; padding:0; border:0;
}
.gallery-picker .product-image { display:none; order:-1; flex:0 0 100%; min-width:0; box-sizing:border-box; cursor:zoom-in; }
.gallery-choice:checked + .gallery-thumb + .product-image { display:block; }
.gallery-thumb {
  box-sizing:border-box; display:block; width:clamp(2.875rem,12vw,3.75rem); aspect-ratio:1;
  padding:.2rem; border:2px solid var(--line); border-radius:.65rem; background:#fff; cursor:pointer;
}
.gallery-thumb img { display:block; width:100%; height:100%; object-fit:contain; }
.gallery-thumb:hover { border-color:#bd7a97; }
.gallery-choice:checked + .gallery-thumb { border-color:#913f66; box-shadow:0 0 0 2px #f5d6e2; }
.gallery-choice:focus-visible + .gallery-thumb { outline:2px solid var(--ink); outline-offset:3px; }
.merchant-description summary { width:fit-content; padding:.55rem 0; font-weight:650; cursor:pointer; }
.product-buy { grid-area:buy; min-width:0; }
.item-price { display:flex; align-items:baseline; gap:.6rem; }
.item-price strong { font:750 clamp(1.55rem,2.15vw,2.15rem)/1.18 var(--display); }
.product-buy p,.product-guide p { margin:.32rem 0; overflow-wrap:anywhere; }
.product-buy .hero-actions { gap:.4rem .85rem; margin-top:.9rem; }
.product-buy .hero-link { font-size:.88rem; }
.product-guide { border-inline-start:3px solid #de92ad; padding:.25rem 1rem; margin-bottom:1.2rem; }
.product-guide h2,.deal-detail .detail-section h2,.deal-detail .coupon-panel h2,.deal-detail .product-opinion h2 { font:700 clamp(1.15rem,1.8vw,1.55rem)/1.2 var(--display); }
.product-guide h2 { margin:0 0 .35rem; }
.deal-detail .coupon-panel { display:block; }
.deal-detail .destination-total { font-size:clamp(1.2rem,2.2vw,1.7rem); }
@media(max-width:660px) {
  .product-hero { grid-template-columns:minmax(0,1fr); grid-template-areas:"heading" "gallery" "buy"; gap:.85rem; margin-block:.25rem 1.4rem; }
  .product-heading { padding-top:0; }
  .product-image img { height:clamp(10.5rem,48vw,15rem); }
  .product-highlights { margin-top:.55rem; }
}
