/* GrabDeals home v3 (preview) — premium marketplace look. Scoped to body.h3-page. */
.h3-page{--p1:#651FC1;--p2:#922FEA;--or:#FF8A18;--dk:#17121F;--lt:#FAF8FF;--r:18px;--sh1:0 1px 2px rgba(23,18,31,.05),0 6px 18px rgba(101,31,193,.07);--sh2:0 2px 6px rgba(23,18,31,.07),0 16px 34px rgba(101,31,193,.14);background:var(--lt)}
.h3-page main{background:var(--lt)}
.h3-page .hdr{position:sticky;top:0;background:rgba(255,255,255,.94);border-bottom:1px solid #EEE8FA}
.h3-page .hdr-right{display:flex;align-items:center;gap:2px}
.h3-page .hdr .iconbtn{color:var(--dk)}
.h3-page .hdr-wish{display:inline-flex}
.h3 h2{font:700 clamp(18px,2.2vw,24px)/1.2 var(--display,Poppins,system-ui);color:var(--dk);letter-spacing:-.01em;margin:0}
.h3 .num{font-variant-numeric:tabular-nums}
/* top band */
.h3-top{background:linear-gradient(180deg,#F1E9FF 0%,var(--lt) 100%);padding:14px 0 6px}
.h3-search{position:relative;display:flex;align-items:center;background:#fff;border:1.5px solid #E4D8FB;border-radius:16px;box-shadow:var(--sh1);height:54px;padding:0 6px 0 46px;transition:border-color .2s,box-shadow .2s}
.h3-search:focus-within{border-color:var(--p2);box-shadow:0 0 0 4px rgba(146,47,234,.14)}
.h3-sic{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:var(--p1);display:flex}.h3-sic svg{width:20px;height:20px}
.h3-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:500 15px/1 var(--body,Inter,system-ui);color:var(--dk);height:100%}
.h3-search input::placeholder{color:#8B829B}
.h3-mic{width:40px;height:40px;border:0;border-radius:12px;background:#F4EEFF;color:var(--p1);display:grid;place-items:center;margin-right:6px;cursor:pointer}.h3-mic svg{width:19px;height:19px}.h3-mic.on{background:var(--or);color:#fff;animation:h3p 1s infinite}
@keyframes h3p{50%{box-shadow:0 0 0 6px rgba(255,138,24,.25)}}
.h3-sbtn{height:42px;padding:0 18px;border:0;border-radius:12px;background:linear-gradient(135deg,var(--p1),var(--p2));color:#fff;font:700 14px/1 var(--body,Inter,system-ui);cursor:pointer}
.h3-search .az-sug{top:calc(100% + 8px);border-radius:16px;z-index:45}
.h3-chips{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;padding:14px 2px 4px;margin:0 -2px;scroll-snap-type:x proximity}.h3-chips::-webkit-scrollbar{display:none}
.h3-chip{flex:0 0 auto;display:flex;align-items:center;gap:8px;padding:8px 14px 8px 8px;border-radius:14px;background:#fff;border:1px solid #EEE8FA;box-shadow:var(--sh1);font:600 13.5px/1 var(--body,Inter,system-ui);color:var(--dk);scroll-snap-align:start;transition:transform .15s,box-shadow .15s}
.h3-chip:hover{transform:translateY(-1px);box-shadow:var(--sh2)}
.h3-chip-i{width:32px;height:32px;border-radius:10px;background:var(--bg);color:var(--fg);display:grid;place-items:center}.h3-chip-i svg{width:18px;height:18px}
/* hero */
.h3-hero{position:relative;margin-top:12px}
.h3-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:22px;gap:0}.h3-track::-webkit-scrollbar{display:none}
.h3-sl{flex:0 0 100%;scroll-snap-align:start;display:grid;grid-template-columns:minmax(0,1fr) 118px;align-items:center;gap:12px;min-height:200px;padding:20px 16px 32px;border-radius:22px;background:radial-gradient(120% 140% at 100% 0%,#9B3CF0 0%,var(--p1) 55%,#4A1491 100%);color:#fff;overflow:hidden;position:relative}
.h3-sl::after{content:"";position:absolute;right:-60px;bottom:-80px;width:220px;height:220px;border-radius:50%;background:rgba(255,138,24,.22);filter:blur(10px);pointer-events:none}
.h3-sl-tr{background:radial-gradient(120% 140% at 100% 0%,#2C8BD9 0%,#3A2BB8 55%,var(--p1) 100%)}
.h3-st{display:flex;flex-direction:column;align-items:flex-start;gap:6px;position:relative;z-index:1;min-width:0}
.h3-st small{font:700 11px/1 var(--body,Inter);letter-spacing:.08em;text-transform:uppercase;opacity:.85}
.h3-badge{font:800 12px/1 var(--body,Inter);font-style:normal;background:var(--or);color:#fff;padding:6px 9px;border-radius:999px;box-shadow:0 4px 12px rgba(255,138,24,.4)}
.h3-st b{font:700 clamp(18px,4.6vw,30px)/1.15 var(--display,Poppins);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.h3-sp{font-size:13px;opacity:.9;line-height:1.35}
.h3-scta{margin-top:4px;display:inline-flex;align-items:center;gap:6px;background:#fff;color:var(--p1);font:700 13px/1 var(--body,Inter);padding:10px 14px;border-radius:12px}.h3-scta svg{width:15px;height:15px}
.h3-hart{position:relative;z-index:1;display:grid;gap:8px;justify-items:center;align-items:center}
.h3-hi{background:#fff;border-radius:16px;padding:8px;box-shadow:0 10px 26px rgba(23,18,31,.25);display:block;aspect-ratio:1}
.h3-hi img{width:100%;height:100%;max-height:100%;object-fit:contain;display:block}
.h3-n1 .h3-hi{width:min(150px,100%)}
.h3-n3{grid-template-columns:1fr 1fr}.h3-n3 .h3-hi:first-child{grid-column:1/3;width:62%}.h3-n3 .h3-hi{width:100%}
.h3-n2{grid-template-columns:1fr 1fr}
.h3-hart-tr img{width:100%;height:auto;aspect-ratio:16/11;object-fit:cover;border-radius:16px;box-shadow:0 10px 26px rgba(23,18,31,.3);display:block}
.h3-dots{position:absolute;left:0;right:0;bottom:10px;display:flex;justify-content:center;gap:6px;z-index:2}
.h3-dots button{width:7px;height:7px;border-radius:99px;border:0;background:rgba(255,255,255,.5);padding:0;cursor:pointer;transition:width .25s,background .25s}
.h3-dots button[aria-current]{width:20px;background:#fff}
.h3-dots{margin:0}.h3-dots button::before{display:none}
.h3-track{gap:12px}
@media (max-width:599px){.h3-n3,.h3-n2{grid-template-columns:1fr}.h3-n3 .h3-hi:not(:first-child),.h3-n2 .h3-hi:not(:first-child){display:none}.h3-n3 .h3-hi:first-child{grid-column:auto;width:100%}.h3-n1 .h3-hi{width:100%}.h3-st b{-webkit-line-clamp:3;font-size:19px}.h3-hart-tr img{aspect-ratio:1}}
/* sections */
.h3-sec{margin-top:26px}
.h3-sh{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:12px}
.h3-sh p{margin:3px 0 0;color:#6B6478;font-size:13px}
.h3-more{display:inline-flex;align-items:center;gap:4px;font:600 13px/1 var(--body,Inter);color:var(--p1);white-space:nowrap;background:none;border:0;cursor:pointer;padding:6px 0}.h3-more svg{width:14px;height:14px}
.h3-cats{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.h3-cat{display:flex;flex-direction:column;align-items:center;gap:7px;padding:12px 4px;border-radius:16px;background:#fff;border:1px solid #EEE8FA;font:600 12px/1.2 var(--body,Inter);color:var(--dk);text-align:center;transition:transform .15s,box-shadow .15s}
.h3-cat:hover{transform:translateY(-2px);box-shadow:var(--sh2)}
.h3-cat-i{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(145deg,#F4EDFF,#EADCFF);color:var(--p1)}.h3-cat-i svg{width:22px;height:22px}
.h3-cat:nth-child(even) .h3-cat-i{background:linear-gradient(145deg,#FFF3E6,#FFE2C4);color:#D9650B}
/* product cards */
.h3-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.h3-row{display:grid;grid-auto-flow:column;grid-auto-columns:46%;gap:10px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;padding:2px 2px 8px;margin:0 -2px}.h3-row::-webkit-scrollbar{display:none}
.h3-row .h3c{scroll-snap-align:start}
.h3c{background:#fff;border:1px solid #EEE8FA;border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--sh1);transition:transform .18s,box-shadow .18s}
.h3c:hover{transform:translateY(-3px);box-shadow:var(--sh2)}
.h3c-media{position:relative;aspect-ratio:1;background:#fff;padding:12px}
.h3c-media>a{display:block;width:100%;height:100%}
.h3c-media img{width:100%;height:100%;object-fit:contain;display:block;transition:transform .3s}
.h3c:hover .h3c-media img{transform:scale(1.04)}
.h3c-off{position:absolute;left:8px;top:8px;background:linear-gradient(135deg,#FF8A18,#FF6B00);color:#fff;font:800 11px/1 var(--body,Inter);padding:5px 7px;border-radius:8px;letter-spacing:.02em}
.h3c-heart{position:absolute;right:8px;top:8px;width:34px;height:34px;border-radius:50%;border:1px solid #EEE8FA;background:rgba(255,255,255,.95);color:#6B6478;display:grid;place-items:center;cursor:pointer;padding:0}
.h3c-heart svg{width:17px;height:17px}.h3c-heart[aria-pressed=true]{color:#E11D48}.h3c-heart[aria-pressed=true] svg{fill:currentColor}
.h3c-b{padding:10px 12px 12px;display:flex;flex-direction:column;gap:4px;flex:1}
.h3c-m{display:flex;align-items:center;gap:5px;font:600 11px/1.2 var(--body,Inter);color:#6B6478}.h3c-m i{width:7px;height:7px;border-radius:50%;background:var(--sc)}
.h3c-t{margin:0;font:600 13.5px/1.35 var(--body,Inter);color:var(--dk);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em}
.h3c-t a{color:inherit}
.h3c-p{margin:2px 0 0;display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}.h3c-p b{font:800 17px/1 var(--display,Poppins);color:var(--dk)}.h3c-p s{font-size:12px;color:#8B829B}
.h3c-s{margin:0;font:700 11.5px/1.2 var(--body,Inter);color:#0E8A4F}
.h3c-cta{margin-top:auto;display:flex;align-items:center;justify-content:center;height:38px;border-radius:12px;background:linear-gradient(135deg,var(--p1),var(--p2));color:#fff;font:700 13.5px/1 var(--body,Inter);transition:filter .15s,transform .15s}
.h3c-b .h3c-s+.h3c-cta,.h3c-b .h3c-s0+.h3c-cta{margin-top:8px}
.h3c-cta:hover{filter:brightness(1.08)}.h3c-cta:active{transform:scale(.98)}
/* trust */
.h3-trust{list-style:none;margin:22px 0 0;padding:12px;display:grid;grid-template-columns:repeat(2,1fr);gap:10px;background:#fff;border:1px solid #EEE8FA;border-radius:var(--r);box-shadow:var(--sh1)}
.h3-trust li{display:flex;align-items:center;gap:9px;font:600 12.5px/1.25 var(--body,Inter);color:var(--dk)}
.h3-trust span{flex:0 0 36px;width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:#F4EDFF;color:var(--p1)}.h3-trust svg{width:19px;height:19px}
/* travel */
.h3-travel{position:relative;margin-top:28px;border-radius:22px;overflow:hidden;min-height:230px;display:flex;align-items:flex-end;background:var(--dk)}
.h3-trbg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.h3-travel::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(23,18,31,.88) 0%,rgba(101,31,193,.6) 60%,rgba(23,18,31,.1) 100%);z-index:1}
.h3-trin{position:relative;z-index:2;padding:20px;color:#fff;max-width:520px}
.h3-trin small{font:700 11px/1 var(--body,Inter);letter-spacing:.08em;text-transform:uppercase;color:#FFC58A}
.h3-trin h2{color:#fff;margin:6px 0}.h3-trin p{margin:0 0 12px;font-size:13.5px;opacity:.92}
.h3-trl{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.h3-trl a{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:12px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);color:#fff;font:600 13px/1 var(--body,Inter);backdrop-filter:blur(6px)}.h3-trl svg{width:16px;height:16px}
.h3-trcta{display:inline-flex;align-items:center;gap:6px;background:var(--or);color:#fff;font:700 14px/1 var(--body,Inter);padding:12px 18px;border-radius:12px;box-shadow:0 8px 20px rgba(255,138,24,.35)}.h3-trcta svg{width:16px;height:16px}
/* bank cards */
.h3-banks{display:grid;grid-auto-flow:column;grid-auto-columns:72%;gap:10px;overflow-x:auto;scrollbar-width:none;padding-bottom:6px}.h3-banks::-webkit-scrollbar{display:none}
.h3-bank{display:flex;flex-direction:column;gap:4px;padding:14px;border-radius:var(--r);color:#fff;background:linear-gradient(135deg,hsl(var(--hue) 70% 42%),hsl(calc(var(--hue) + 40) 75% 30%));box-shadow:var(--sh1);min-height:132px}
.h3-bank-i{width:34px;height:34px;border-radius:10px;background:rgba(255,255,255,.18);display:grid;place-items:center;margin-bottom:4px}.h3-bank-i svg{width:19px;height:19px}
.h3-bank small{font-size:11px;opacity:.85;font-weight:600}.h3-bank b{font:700 14px/1.25 var(--display,Poppins)}.h3-bank span{font-size:12.5px;opacity:.95}
/* legacy blocks kept below the new sections */
.h3 .blk{margin-top:30px}
.h3-page .ftr{margin-top:40px}
/* chat bubble sits above the bottom nav on phones, never over the CTA row */
@media (max-width:860px){.h3-page .csfab{width:44px;height:44px;box-shadow:0 6px 16px rgba(91,33,182,.35),0 0 0 2px var(--yellow);bottom:calc(84px + env(safe-area-inset-bottom));left:10px}.h3-page .csfab img{width:26px;height:26px}.h3-page .cspanel{bottom:calc(140px + env(safe-area-inset-bottom))}
  .h3-page .bnav a[aria-current]{color:var(--p1);background:#F4EDFF}}
@media (min-width:600px){.h3-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.h3-row{grid-auto-columns:31%}.h3-trust{grid-template-columns:repeat(4,1fr)}.h3-banks{grid-auto-columns:42%}
  .h3-sl{min-height:240px;padding:28px 30px 34px;grid-template-columns:1.1fr 1fr}.h3-n1 .h3-hi{width:min(200px,100%)}.h3-travel{min-height:260px}.h3-trin{padding:28px}}
@media (min-width:1000px){.h3-top{padding:22px 0 8px}.h3-search{height:58px;max-width:860px;margin:0 auto}.h3-chips{justify-content:center}
  .h3-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.h3-row{grid-auto-flow:row;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible;gap:18px}
  .h3-row .h3c:nth-child(n+9){display:none}
  .h3-cats{grid-template-columns:repeat(10,1fr)}.h3-banks{grid-auto-flow:row;grid-template-columns:repeat(4,1fr)}
  .h3-sl{min-height:280px;padding:34px 56px 40px;grid-template-columns:1.2fr 1fr}.h3-n1 .h3-hi{width:230px}.h3-n3 .h3-hi{width:150px}.h3-n3 .h3-hi:first-child{width:170px}
  .h3-hart-tr img{max-width:420px}.h3-sec{margin-top:40px}.h3-travel{min-height:300px}.h3-trin{padding:40px 48px}}
@media (prefers-reduced-motion:reduce){.h3c,.h3-chip,.h3-cat,.h3c-media img{transition:none}}

.h3-cat-ph{width:60px;height:60px;border-radius:18px;background:var(--cbg)!important;overflow:hidden;padding:6px}
.h3-cat-ph img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;display:block;transition:transform .2s}
.h3-cat:hover .h3-cat-ph img{transform:scale(1.07)}
.h3-cat-ph img[src*="travel"]{object-fit:cover;mix-blend-mode:normal;border-radius:12px}
.h3-cat:last-child .h3-cat-i{width:60px;height:60px;border-radius:18px;background:#F4F1F8;color:var(--p1)}
@media (min-width:1000px){.h3-cat-ph,.h3-cat:last-child .h3-cat-i{width:68px;height:68px}}
.h3-cats{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.h3-cat{padding:10px 2px;min-width:0;font-size:11.5px}
.h3-cat>span:last-child{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:599px){.h3-cat-ph,.h3-cat:last-child .h3-cat-i{width:52px;height:52px;border-radius:15px;padding:5px}}
@media (min-width:1000px){.h3-cats{grid-template-columns:repeat(10,minmax(0,1fr));gap:12px}.h3-cat{font-size:12.5px;padding:14px 4px}}
@media (max-width:599px){.h3-cats{gap:6px}.h3-cat{font-size:11px;letter-spacing:-.02em}.h3-cat>span:last-child{text-overflow:clip}}
