/* /deals/ (release 4 redesign): Money Deals and Everyday Savings. Mobile (375px) first. Tokens only.
   One pastel tile per category via --tile (never a code). Text sizes: 16px body, 15px card text, 14px fine print. */
.deals-hero{margin:8px 0 18px}
.deals-hero h1{font-size:2.25rem;line-height:1.05;margin:0 0 8px}
.deals-hero-line{font-size:1.0625rem;line-height:1.45;color:var(--ink);margin:0 0 14px;max-width:34em}
.deals-stat{display:inline-flex;align-items:center;gap:12px;background:var(--card);border-radius:16px;padding:10px 16px 10px 14px;box-shadow:var(--shadow-sm);margin:0 0 12px}
.deals-stat strong{font:800 2.5rem/1 'Bricolage Grotesque',sans-serif;color:var(--brand);letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.deals-stat>span{font-weight:700;font-size:1rem;line-height:1.25}
.deals-stat-sub{display:block;font-weight:500;font-size:.875rem;color:var(--muted)}
.deals-disclosure,.deals-hero .comparison-disclosure{font-size:.875rem;color:var(--muted);margin:0;padding:0}
.deals-disclosure a{color:var(--ink);font-weight:600;display:inline-block;min-height:24px}

/* Controls: segmented part toggle, pastel icon chips with counts, the Show menu */
.deal-controls{margin:0 0 6px}
.deal-parts{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;background:var(--soft);border-radius:14px;padding:4px;margin:0 0 10px}
.deal-parts button{min-height:44px;border:0;border-radius:10px;background:transparent;color:var(--ink);font:700 .9375rem 'Figtree',sans-serif;cursor:pointer}
.deal-parts button span{font-weight:500;color:var(--muted)}
.deal-parts button[aria-pressed="true"]{background:var(--card);box-shadow:var(--shadow-sm)}
.deal-parts button[aria-pressed="true"] span{color:var(--brand);font-weight:700}
.deal-chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 16px 8px;margin:0 -16px;scroll-padding:16px}
.deal-chips::-webkit-scrollbar{display:none}
.deal-chip{flex:0 0 auto;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:4px 14px 4px 5px;border:0;border-radius:999px;background:var(--tile,var(--soft));color:var(--ink);font:600 .9375rem 'Figtree',sans-serif;cursor:pointer;transition:background .15s,color .15s}
.deal-chip .deal-ic{width:34px;height:34px;background:var(--card)}
.deal-chip-count{font-size:.875rem;font-weight:500;color:var(--muted)}
.deal-chip[aria-pressed="true"]{background:var(--brand);color:var(--brand-text)}
.deal-chip[aria-pressed="true"] .deal-chip-count{color:var(--brand-text)}
.deal-chip[hidden]{display:none}
.deal-ic{display:inline-grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:var(--tile,var(--soft))}
.deal-ic svg{width:60%;height:60%;fill:none;stroke:var(--ink);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.deal-ic-all{background:var(--card)}
.deal-sort{display:flex;align-items:center;gap:10px;margin:2px 0 0;font-size:.9375rem}
.deal-sort label{font-weight:600;color:var(--muted)}
.deal-sort select{flex:1;min-height:44px;max-width:300px;border:1px solid var(--field-border);border-radius:12px;background:var(--card);color:var(--ink);font:500 .9375rem 'Figtree',sans-serif;padding:0 12px}
.deal-controls button:focus-visible,.deal-sort select:focus-visible,.deal-card a:focus-visible,.deal-more summary:focus-visible,.business-tile:focus-visible,.deals-disclosure a:focus-visible,.deals-empty button:focus-visible{outline:3px solid var(--brand);outline-offset:2px}

/* Parts */
.deal-part{margin:18px 0 8px;scroll-margin-top:12px}
.deal-part[hidden]{display:none}
.deal-part-head{display:flex;align-items:center;gap:10px;margin:0 0 12px}
.deal-part h2{font-size:1.625rem;margin:0}
.deal-part-count{display:inline-grid;place-items:center;min-width:32px;height:32px;padding:0 8px;border-radius:999px;background:var(--soft);font-weight:800;color:var(--brand);font-size:.9375rem}
.deal-list{display:grid;gap:14px}

/* Card */
.deal-card{display:flex;flex-direction:column;background:var(--card);border-radius:var(--radius);padding:16px;box-shadow:var(--shadow-sm);min-width:0;font-size:.9375rem;line-height:1.45}
.deal-card[hidden]{display:none}
.deal-top{display:flex;align-items:center;gap:10px}
.deal-badge{display:inline-grid;place-items:center;flex:none;width:44px;height:44px;border-radius:14px;background:var(--tile);color:var(--ink);font:800 .9375rem 'Bricolage Grotesque',sans-serif;letter-spacing:-.02em}
.deal-who{min-width:0;flex:1}
.deal-provider{margin:0;font-weight:700;font-size:.9375rem;line-height:1.2;overflow-wrap:anywhere}
.deal-cat{display:flex;align-items:center;gap:6px;margin:2px 0 0;font-size:.875rem;color:var(--muted)}
.deal-cat .deal-ic{width:22px;height:22px}
.deal-ends{flex:none;align-self:flex-start;background:var(--sun);color:var(--sun-ink);font-weight:700;font-size:.875rem;line-height:1;padding:7px 10px;border-radius:999px;white-space:nowrap}
.deal-card h3{font:700 1.1875rem/1.25 'Bricolage Grotesque',sans-serif;letter-spacing:-.02em;margin:10px 0 8px}
.deal-value{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 8px;margin:12px 0 0;font-weight:600}
.deal-value-label{font-size:.9375rem;color:var(--muted);flex-basis:100%}
.deal-value strong{font:800 2rem/1.05 'Bricolage Grotesque',sans-serif;color:var(--brand);letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.deal-key{margin:0 0 6px;font-size:.9375rem}
.deal-key-label{font-weight:700}
.deal-promo-only{margin:0 0 6px;font-size:.875rem;font-weight:600;color:var(--muted)}
.deal-more{margin:0 0 10px}
.deal-more summary{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-weight:700;color:var(--brand);cursor:pointer;list-style:none}
.deal-more summary::-webkit-details-marker{display:none}
.deal-more summary::after{content:"";width:8px;height:8px;border-right:2.5px solid currentColor;border-bottom:2.5px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .15s}
.deal-more[open] summary::after{transform:rotate(-135deg) translate(-2px,-1px)}
.deal-more-body{background:var(--soft);border-radius:12px;padding:12px 14px;font-size:.9375rem}
.deal-offer{margin:0 0 6px}
.deal-conditions{margin:0 0 6px;padding-left:18px}
.deal-conditions li{margin:3px 0}
.deal-fine{margin:6px 0 0;font-size:.875rem;color:var(--muted);overflow-wrap:anywhere}
.deal-fine a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);font-weight:600}
.deal-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:auto 0 10px;font-size:.875rem;color:var(--muted)}
.deal-checked{display:inline-flex;align-items:center;gap:0 4px}
.deal-checked svg{width:18px;height:18px;margin-right:4px;padding:2px;border-radius:50%;background:var(--tile-mint);fill:none;stroke:var(--brand);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.deal-paid{font-weight:700;color:var(--ink);background:var(--soft);border-radius:6px;padding:2px 8px}
.deal-card .deal-go{display:flex;align-items:center;justify-content:center;gap:6px;min-height:48px;width:100%;font-size:1rem;font-weight:700}

.deals-empty{padding:16px;border-radius:14px;background:var(--soft);font-size:1rem}
.deals-empty p{margin:0}
.deals-empty button{min-height:44px;border:0;background:none;color:var(--brand);font:700 1rem 'Figtree',sans-serif;text-decoration:underline;cursor:pointer;padding:0}

/* For Businesses: two pastel tiles */
.business-tiles{margin:32px 0 18px;padding:20px;border-radius:var(--radius);background:var(--card);box-shadow:var(--shadow-sm);scroll-margin-top:12px}
.business-tiles h2{font-size:1.5rem;margin:0 0 6px}
.business-tiles>p{font-size:1rem;margin:0 0 14px;color:var(--muted)}
.business-tiles>p.business-more{margin:14px 0 0}
.business-more a,.deals-business-link a{color:var(--ink);font-weight:600;display:inline-block;min-height:24px}
/* Release 9: a short pointer to the business tiles, under the hero */
.deals-business-link{font-size:.9375rem;color:var(--muted);margin:-6px 0 14px}
.business-tile-grid{display:grid;gap:10px}
.business-tile{display:flex;align-items:center;gap:14px;min-height:44px;padding:14px;border-radius:16px;background:var(--tile);color:var(--ink);text-decoration:none;transition:transform .15s}
.business-tile:hover{transform:translateY(-2px)}
.business-tile b{display:block;font:700 1.125rem 'Bricolage Grotesque',sans-serif}
.business-tile-ic{display:inline-grid;place-items:center;flex:none;width:48px;height:48px;border-radius:14px;background:var(--card)}
.business-tile-ic svg{width:26px;height:26px;fill:none;stroke:var(--ink);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.business-tile-price{display:inline-block;margin:2px 0;font-weight:800;color:var(--brand);font-size:1rem}
.business-tile-sub{display:block;font-size:.9375rem}

@media(min-width:760px){
  .deals-hero{display:grid;grid-template-columns:1fr auto;align-items:end;gap:4px 32px}
  .deals-hero h1{font-size:3.25rem;grid-column:1}
  .deals-hero-line{grid-column:1;margin:0}
  .deals-stat{grid-column:2;grid-row:1/3;align-self:center;padding:16px 22px}
  .deals-stat strong{font-size:3.5rem}
  .deals-disclosure{grid-column:1/-1;margin-top:8px}
  .deal-parts{display:inline-grid;min-width:420px}
  .deal-chips{flex-wrap:wrap;overflow:visible;margin:0;padding:2px 0 8px}
  .deal-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .business-tile-grid{grid-template-columns:1fr 1fr}
  .deal-part h2{font-size:2rem}
}
@media(min-width:1080px){.deal-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.deal-chip,.business-tile,.deal-more summary::after{transition:none}.business-tile:hover{transform:none}}
.deal-minimum{margin-bottom:4px}
