/* Occasion pages (render/occasions.js). Loaded after home.css and guide.css, which supply the product card, chips,
   section heads, tables, FAQ, jump links and tile colours. Occasion-only classes are prefixed o-. */

/* hero */
.o-hero{display:grid;grid-template-columns:1.05fr .95fr;gap:16px}
.o-hero>*{min-width:0}
.o-hero .blk{background:var(--blush);border-radius:var(--r);padding:clamp(26px,4.2vw,60px);display:grid;gap:20px;align-content:center}
.o-hero h1{font-size:clamp(2rem,4.3vw,3.8rem)}
.o-hero .lede{font-size:1.15rem;max-width:48ch}
.o-now{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.o-now li{background:#fff;border-radius:999px;padding:9px 15px;font-size:14.5px;font-weight:600}
.o-now li.live{background:var(--ink);color:#fff}
.o-now li.live b{color:#ffb9b2}
.o-cta{display:flex;flex-wrap:wrap;gap:10px}
.o-top{position:relative;border-radius:var(--r);overflow:hidden;min-height:440px;display:flex;align-items:flex-end;text-decoration:none;background:var(--tint)}
.o-top img{position:absolute;inset:0;width:100%;height:100%!important;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.o-top.cut img{object-fit:contain;padding:6% 8% 150px;mix-blend-mode:multiply}
.o-top:hover img{transform:scale(1.04)}
.o-top div{position:relative;background:#fff;color:var(--ink);border-radius:20px;margin:18px;padding:16px 22px;display:grid;gap:3px;width:calc(100% - 36px);max-width:400px}
.o-top small{font-size:13px;font-weight:700;color:var(--mint-ink)}
.o-top b{font-size:1.25rem;letter-spacing:-.02em;line-height:1.2}
.o-top i{font-style:normal;font-weight:700;color:var(--coral-deep)}
@media (max-width:980px){.o-hero{grid-template-columns:1fr}.o-top{min-height:380px}}

/* the 60-second answer */
.o-fast{margin-top:16px;background:var(--ink);color:#fff;border-radius:var(--r);padding:clamp(24px,3.6vw,52px);display:grid;gap:clamp(18px,2.4vw,28px)}
.o-fast dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(10px,1.4vw,18px);margin:0}
.o-fast dl div{background:#2a2733;border-radius:20px;padding:20px 22px;display:grid;gap:6px;align-content:start}
.o-fast dt{font-size:1.35rem;font-weight:800;letter-spacing:-.02em;color:#ffb9b2}
.o-fast dd{margin:0;font-size:16px;line-height:1.5}
.o-late{background:var(--coral-deep);border-radius:20px;padding:18px 22px;font-size:1.05rem}
@media (max-width:980px){.o-fast dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.o-fast dl{grid-template-columns:1fr}}

/* three picks */
.o-picks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,1.6vw,22px)}
.o-picks .h-ph{aspect-ratio:1/.92}
.o-picks .h-pm h3{font-size:1.2rem}
@media (max-width:720px){.o-picks{grid-template-columns:1fr}.o-picks .h-ph{aspect-ratio:1.3}}

/* optional lifestyle photo band */
.o-photo{margin-inline:0;border-radius:var(--r);overflow:hidden}
.o-photo img{width:100%;height:auto;aspect-ratio:16/7;object-fit:cover}

/* who are you buying for */
.o-whobox{background:var(--blush);border-radius:var(--r);padding:clamp(22px,3.4vw,48px)}
.o-who{margin-top:20px;background:#fff;border-radius:24px;padding:clamp(16px,2vw,28px);display:grid;grid-template-columns:.8fr 1.6fr;gap:clamp(16px,2.4vw,36px);align-items:center}
.o-who[hidden]{display:none}
.o-who .tx b{display:block;font-size:1.45rem;font-weight:800;letter-spacing:-.025em;line-height:1.15;margin-bottom:8px}
.o-range{margin-top:12px;font-weight:700;color:var(--mint-ink)}
.o-who .row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.o-who .h-ph{aspect-ratio:1}
@media (max-width:900px){.o-who{grid-template-columns:1fr}}
@media (max-width:560px){.o-who .row{grid-template-columns:1fr}.o-who .h-pc{flex-direction:row;gap:14px;align-items:center}.o-who .h-ph{flex:0 0 36%}.o-who .h-pm{padding:0}.o-who .h-ph .tag{display:none}}

/* first-timer steps */
.o-first{background:var(--mint);border-radius:var(--r);padding:clamp(24px,3.6vw,52px);display:grid;grid-template-columns:1.4fr 1fr;gap:clamp(18px,3vw,48px);align-items:start}
.o-first .tx>p{margin-top:10px;font-size:1.1rem}
.o-first ol{margin:22px 0 0;padding:0;list-style:none;counter-reset:s;display:grid;gap:10px}
.o-first ol li{counter-increment:s;background:#fff;border-radius:18px;padding:16px 20px 16px 62px;position:relative}
.o-first ol li::before{content:counter(s);position:absolute;left:18px;top:14px;width:30px;height:30px;border-radius:50%;background:var(--ink);color:#fff;font-weight:800;font-size:15px;display:grid;place-items:center}
.o-first .need{background:#fff;border-radius:24px;padding:clamp(20px,2.4vw,32px)}
.o-first .need h3{font-size:1.3rem;font-weight:800;letter-spacing:-.02em}
.o-first .need ul{margin:14px 0;padding:0;list-style:none;display:grid;gap:9px}
.o-first .need li{padding-left:28px;position:relative;font-weight:600}
.o-first .need li::before{content:"✓";position:absolute;left:0;color:var(--mint-ink);font-weight:800}
.o-first .need p{font-size:15px;color:var(--soft)}
@media (max-width:900px){.o-first{grid-template-columns:1fr}}

/* six things to know */
.o-tips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,1.6vw,22px)}
.o-tips article{border-radius:24px;padding:clamp(20px,2.2vw,30px);display:grid;gap:10px;align-content:start}
.o-tips h3{font-size:1.3rem;font-weight:800;letter-spacing:-.02em}
@media (max-width:900px){.o-tips{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.o-tips{grid-template-columns:1fr}}
.o-avoid ul{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:900px){.o-avoid ul{grid-template-columns:1fr}}

/* card messages */
.o-msgs{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.o-msgs li{background:var(--tint);border-radius:18px;padding:16px 16px 16px 22px;display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:1.05rem}
.o-msgs button{border:0;background:#fff;color:var(--ink);border-radius:999px;padding:9px 16px;font:700 14px var(--f);cursor:pointer;flex:none}
.o-msgs button:hover{background:var(--blush)}
@media (max-width:760px){.o-msgs{grid-template-columns:1fr}}

/* budget tabs */
.o-tabs{margin-bottom:22px}
.o-tabs button{background:var(--tint)}
.h-grid[hidden]{display:none}

/* index tiles */
.o-index a{min-height:190px}
.o-index i{color:var(--ink)}
.o-page .g-list-head .o-now{margin-top:18px}
