body:has(.details-lab) { background:#e9edf3; }
.shell:has(.details-lab) { max-width:480px; min-height:100vh; padding:0; background:#f6f7f9; box-shadow:0 0 0 1px #dfe4eb; }
.details-lab { --dl-line:#e3e7ee; --dl-muted:#66748b; color:#172640; padding-bottom:calc(120px + env(safe-area-inset-bottom,0px)); overflow-wrap:anywhere; }
.details-lab h1 { font-size:23px; letter-spacing:-.5px; line-height:1.24; font-weight:700; text-wrap:initial; margin:0; }
.dl-merchant { display:flex; align-items:center; gap:6px; flex-wrap:wrap; margin-top:9px; min-height:32px; font-size:12px; color:#51627a; }
.dl-merchant > span:first-child { font-weight:500; color:#172640; }
.dl-merchant > .i { margin-left:auto; }
.dl-rating { color:#82550d; white-space:nowrap; font-size:11px; }
.dl-rating small { color:var(--dl-muted); font-size:10px; }
.dl-benefit { background:#fff1e7; border:1px solid #ffe2cb; border-radius:13px; padding:14px 15px; margin-top:14px; }
.dl-price { display:flex; align-items:baseline; flex-wrap:wrap; gap:5px 10px; }
.dl-price strong { color:#be480d; font:800 37px/1.1 var(--display); letter-spacing:-1px; }
.dl-price s { color:#7a6c66; font-size:14px; white-space:nowrap; }
.dl-price-note { display:block; font-size:10px; color:#7d634e; margin-top:7px; }
.dl-save { display:block; margin-top:6px; font-size:12px; color:#127041; font-weight:600; }
.dl-green { background:#edf6ef; border-color:#dbeede; }
.dl-green .dl-price strong { color:#147345; }
.dl-important { display:flex; gap:8px; align-items:flex-start; margin-top:12px; color:#78501f; font-size:12px; line-height:1.5; }
.dl-important .i { margin-top:1px; }
.dl-where { margin-top:12px; border:1px solid var(--line, #e6e9ef); border-radius:13px; padding:12px 14px 6px; }
.dl-where h2 { display:flex; align-items:center; gap:7px; margin:0; font-size:15px; font-weight:800; }
.dl-where > p { margin:3px 0 6px; font-size:12px; color:var(--dl-muted); }
.dl-where ul { list-style:none; margin:0; padding:0; }
.dl-where li { display:grid; grid-template-columns:1fr auto auto; align-items:center; gap:10px; min-height:46px; border-top:1px solid var(--line, #eef0f4); }
.dl-where li:first-child { border-top:0; }
.dl-where li b { font-size:14px; font-weight:700; }
.dl-where-pr { font:800 16px var(--display); white-space:nowrap; }
.dl-where-pr s { margin-left:6px; font:500 12px var(--body, inherit); color:var(--dl-muted); }
.dl-where li a { display:inline-flex; align-items:center; gap:3px; height:32px; padding:0 11px; border-radius:16px; background:var(--surface-2, #f1f3f7); color:var(--blue); font-size:13px; font-weight:700; }
.dl-where li.best .dl-where-pr { color:#147345; }
.dl-where li.best a { background:#147345; color:#fff; }
.details-lab h2 { font-size:16px; font-weight:700; margin:0 0 13px; text-wrap:initial; }
.dl-promo { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:14px; padding:13px; border:1px dashed #a9bad1; border-radius:10px; background:#f5f8fc; }
.dl-promo > div > span { display:block; font-size:10px; color:var(--dl-muted); margin-bottom:3px; }
.dl-promo kbd { font:700 21px var(--body); letter-spacing:1px; overflow-wrap:anywhere; }
.dl-promo > div { min-width:0; }
.dl-promo button { display:flex; align-items:center; gap:5px; min-height:44px; color:#004aad; font-size:11px; flex:none; }
.dl-dock { position:fixed; z-index:30; bottom:0; left:50%; transform:translateX(-50%); width:100%; max-width:480px; background:#fffffff5; border-top:1px solid #e1e7ee; padding:9px 16px calc(12px + env(safe-area-inset-bottom,0px)); box-shadow:0 -5px 20px #17264008; }
.dl-dock > span { display:block; text-align:center; font-size:10px; color:var(--dl-muted); margin-bottom:7px; }
.dl-primary { display:flex; align-items:center; justify-content:center; gap:9px; background:#004aad; color:white; min-height:50px; border-radius:12px; font-size:14px; font-weight:600; text-align:center; padding:10px; }
.dl-primary:active { background:#003982; }
/* Compact: no large photo before the information needed to decide. */
/* Coupon visual: present the actual benefit/code, never invent a redemption token. */
@media(max-width:359px) {
 .details-lab h1 { font-size:21px; }
 .dl-price strong { font-size:32px; }
 .dl-primary { font-size:13px; }
}

/* Complete, phone-first overview. Other prototype layouts keep their styling. */

/* Reuse the selected catalogue cards for both recommendation groups. */

.dl-bonus { display:block; margin-top:7px; color:#2b5a41; font-size:14px; font-weight:600; line-height:1.4; }
.dl-dock-row { display:flex; gap:8px; }
.dl-dock-row .dl-primary { flex:1; }
.dl-dock-alt { display:grid; place-items:center; width:50px; min-height:50px; flex:none; border:1px solid #cdd9ea; border-radius:12px; color:#004aad; background:#fff; }
.dl-dock > span { font-size:11px; }
.dl-price-note { font-size:11px; line-height:1.45; }
.dl-merchant { font-size:13px; }
.dl-rating { font-size:12px; }
.dl-rating small { font-size:11px; }
.dl-bonus { display:flex; align-items:flex-start; gap:6px; }
.dl-bonus .i { flex:none; width:16px; height:16px; margin-top:2px; }
