/* Red Dot front end, second edition (home, cards, deal page, list headers, menu). Loaded after ds.css. Light; dark appears only as a deliberate band. */

/* hero: copy on the left, three real price drops stacked on the right */
.hero-in { align-items: center; }
@media (min-width: 960px) { .hero-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.hero-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hero-quick a { min-height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: var(--r-pill); font-size: 13px; font-weight: 700; background: rgba(255,255,255,.72); border: 1px solid var(--line); color: var(--ink-2); }
.hero-quick a:hover { background: #fff; color: var(--dot-deep); border-color: var(--dot); }
.hero-stack { display: grid; gap: 12px; min-width: 0; }
.hs-card { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 16px 12px 12px; background: #fff; color: var(--ink); border-radius: 20px; box-shadow: var(--shadow-l); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.hs-card:hover { transform: translateY(-3px); color: var(--ink); }
.hs-card img { width: 92px; height: 92px; object-fit: contain; border-radius: 12px; background: var(--paper); padding: 6px; mix-blend-mode: multiply; }
.hs-txt { display: grid; gap: 4px; min-width: 0; }
.hs-title { font-weight: 700; font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.hs-price b { font-size: 21px; font-weight: 800; letter-spacing: -.02em; } .hs-price s { margin-left: 8px; font-size: 13px; color: var(--mute); }
.hs-note { font-size: 12px; font-weight: 700; color: var(--sage); }
@media (min-width: 960px) { .hs-0 { margin-right: 36px; } .hs-1 { margin-left: 36px; } .hs-2 { margin-right: 18px; margin-left: 12px; } }
@media (max-width: 959px) { .hero-stack .hs-1, .hero-stack .hs-2 { display: none; } }

/* the numbers, as doors into the lists behind them */
.stats { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); margin-top: 16px; }
@media (min-width: 880px) { .stats { gap: 14px; } }
.stat { display: grid; gap: 2px; align-content: start; padding: 16px; border-radius: var(--r); background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-s); transition: transform .2s, border-color .2s; }
.stat:hover { transform: translateY(-2px); border-color: var(--dot); color: var(--ink); }
.stat b { font: 800 clamp(24px, 3.6vw, 34px)/1 var(--f-ui); letter-spacing: -.03em; color: var(--dot-deep); }
.stat span { font-size: 13px; line-height: 1.35; color: var(--ink-2); }

/* a price we watched fall */
.drop-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 960px) { .drop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.drop { position: relative; display: flex; flex-direction: column; background: #fff; color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-s); min-width: 0; transition: transform .25s, box-shadow .25s; }
.drop:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.drop-pic { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(120% 90% at 50% 0%, var(--blush) 0, #fff 70%); }
.drop-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.drop-tag { position: absolute; left: 10px; top: 10px; padding: 5px 11px; border-radius: var(--r-pill); background: var(--dot); color: #fff; font-weight: 800; font-size: 13px; }
.drop-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; flex: 1; }
.drop-title { font-size: 14px; font-weight: 600; line-height: 1.32; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; min-height: 2.64em; }
.drop-title::after { content: ""; position: absolute; inset: 0; }
.drop-line { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 6px; padding-top: 8px; border-top: 1px dashed var(--line); }
.drop-line span { display: grid; gap: 2px; } .drop-line i { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.drop-line s { font-size: 14px; color: var(--mute); } .drop-line .ico { width: 16px; height: 16px; color: var(--mute); margin-bottom: 3px; }
.drop-now { text-align: right; } .drop-now b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--sage); line-height: 1; }

/* the same product at two prices */
.gap-grid { display: grid; gap: 12px; } @media (min-width: 720px) { .gap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (min-width: 1100px) { .gap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.gap { background: #fff; color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--r); padding: 16px; display: grid; gap: 10px; align-content: start; box-shadow: var(--shadow-s); min-width: 0; position: relative; }
.gap-top { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; }
.gap-pic img { width: 64px; height: 64px; object-fit: contain; border-radius: 10px; background: var(--paper); padding: 4px; mix-blend-mode: multiply; }
.gap-title { font-size: 14px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; color: var(--ink); }
.gap-title::after { content: ""; position: absolute; inset: 0; }
.gap-save { display: inline-block; margin-top: 4px; font-size: 12.5px; font-weight: 800; color: var(--sage); }
.gap-row { display: grid; grid-template-columns: minmax(0, 7.5em) minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 12.5px; color: var(--ink-2); }
.gap-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .gap-row i { height: 8px; border-radius: 4px; background: var(--line); justify-self: start; } .gap-row.best i { background: var(--sage); }
.gap-row b { font-size: 14px; color: var(--ink); } .gap-row.best b { color: var(--sage); }
.band-blush { background: var(--blush); }

/* budget doors */
.doors { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); } @media (min-width: 720px) { .doors { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; } }
.door { display: grid; gap: 4px; padding: 18px; border-radius: var(--r); background: var(--plum); color: #fff; transition: transform .2s; }
.door:hover { color: #fff; transform: translateY(-3px); }
.door:nth-child(2) { background: var(--dot-deep); } .door:nth-child(3) { background: #6a3550; } .door:nth-child(4) { background: var(--ink); } .door:nth-child(5) { background: #8f1830; }
.door i { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .92; }
.door b { font: 700 clamp(26px, 3.4vw, 36px)/1.05 var(--f-display); font-variant-numeric: lining-nums; }
.door span { font-size: 13px; opacity: .92; }
@media (max-width: 719px) { .doors .door:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* shelves with a face */
.shelves2 { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); } @media (min-width: 960px) { .shelves2 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; } }
.shelf2 { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 12px 8px 14px; border-radius: var(--r); background: #fff; border: 1px solid var(--line-2); color: var(--ink); transition: transform .2s, box-shadow .2s; min-width: 0; }
.shelf2:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.shelf2-pic { width: min(100%, 120px); aspect-ratio: 1 / 1; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #fff 0, var(--blush) 100%); display: grid; place-items: center; overflow: hidden; }
.shelf2-pic img { width: 74%; height: 74%; object-fit: contain; mix-blend-mode: multiply; } .shelf2-pic .ico { width: 34px; height: 34px; color: var(--dot-deep); }
.shelf2 b { font-size: 14px; } .shelf2 .n { font-size: 12px; color: var(--mute); }

/* ask and reels bands */
.askband { display: grid; gap: 20px; padding: 26px 20px; border-radius: var(--r-l); background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow); min-width: 0; }
@media (min-width: 960px) { .askband { grid-template-columns: .9fr 1.1fr; align-items: center; padding: 40px; gap: 40px; } }
.askband > div { min-width: 0; } .askband h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 8px 0; } .askband p { color: var(--ink-2); }
.askband .hero-search { margin: 0; border: 1.5px solid var(--line); box-shadow: none; max-width: none; } .askband .chips { margin: 12px 0 0; padding: 0; flex-wrap: wrap; overflow: visible; }
.reelband { position: relative; overflow: hidden; border-radius: var(--r-l); padding: 34px 22px; background: linear-gradient(120deg, var(--plum), #2b1630); color: #fff; }
.reelband::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff8da0, var(--dot) 50%, var(--dot-deep)); opacity: .9; }
.reelband > div { position: relative; z-index: 1; max-width: 520px; } .reelband .eyebrow { color: #ffb3c0; } .reelband h2 { font-size: clamp(28px, 4vw, 42px); margin: 8px 0; } .reelband p { color: #e9dcec; margin-bottom: 18px; }
@media (min-width: 960px) { .reelband { padding: 48px; } }
@media (max-width: 559px) { .reelband::after { width: 160px; height: 160px; right: -70px; top: -70px; } }

/* cards: what you save, and a price we watched fall */
.card .save { display: block; margin-top: 3px; }
.card-move { align-self: flex-start; font-size: 11.5px; font-weight: 800; color: var(--sage); background: var(--sage-soft); border-radius: var(--r-pill); padding: 3px 9px; }

/* list pages */
.page-head h1 { letter-spacing: -.015em; }

/* deal page: the answer first, tabs as pills, a buy bar on phones */
.deal-flags { display: grid; gap: 8px; margin-top: 14px; }
.deal-flag { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border-radius: 12px; background: var(--sage-soft); color: #14523b; font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.deal-flag .ico { width: 18px; height: 18px; margin-top: 1px; } .deal-flag a { text-decoration: underline; font-weight: 800; }
.deal-flag.warn { background: var(--amber-soft); color: #6f4508; }
.tabs { border-bottom: 0; gap: 8px; padding-bottom: 4px; }
.tab { min-height: 40px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--r-pill); margin: 0; background: #fff; }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tabpanel { padding-top: 18px; }
.buybar { position: fixed; left: 12px; right: 12px; bottom: calc(82px + var(--safe-b)); z-index: 44; max-width: 560px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-l); }
.buybar b { font-size: 19px; font-weight: 800; display: block; line-height: 1.1; } .buybar span { font-size: 12px; color: var(--mute); } .buybar > div { min-width: 0; } .buybar > div span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.buybar .btn { flex: none; }
body.has-tray .buybar { display: none; }
@media (min-width: 960px) { .buybar { display: none !important; } }

/* menu sheet: campaign and Ask first */
.ms-bf, .ms-ask { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r); margin-top: 8px; }
.ms-bf { flex-direction: column; align-items: flex-start; gap: 2px; background: #150a12; color: #fff; } .ms-bf:hover { color: #fff; } .ms-bf span { font-size: 13px; color: #e6c9d3; }
.ms-ask { background: #fff; border: 1.5px solid var(--line); color: var(--ink); } .ms-ask .ico { color: var(--dot); } .ms-ask b { display: block; } .ms-ask span span { font-size: 13px; color: var(--mute); } .ms-ask .ico:last-child { margin-left: auto; color: var(--mute); }
