/* appflow (Phase 1): header CTAs, app pill, iPhone/Android steps sheet, "See rate & order". ATC palette #D81E27 / #9E1219 / #FFC400, Poppins. */
.afcta{display:inline-flex;align-items:center;gap:6px;flex:none}
.afb{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:36px;padding:0 14px;border-radius:10px;font-family:Poppins,system-ui,sans-serif;font-size:13.5px;font-weight:700;line-height:1;white-space:nowrap;text-decoration:none!important;box-sizing:border-box;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
.hdr .afo{border:1.5px solid rgba(255,255,255,.85);color:#fff!important;background:transparent}
.hdr .afo:hover,.hdr .afo:focus-visible{background:rgba(255,255,255,.14)}
.afs{border:1.5px solid #FFC400;background:#FFC400;color:#2b1a00!important}
.afs:hover,.afs:focus-visible{background:#ffd23d;border-color:#ffd23d}
.afme .afn{display:inline-block;max-width:160px;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}
html.afon .hdr .hact>a.ib[data-nav="account"]{display:none!important}
@media (max-width:599px){
 .afcta{gap:4px}.afb{min-height:32px;padding:0 8px;font-size:11.5px;border-radius:8px}
 .afme .afn{max-width:72px}
 html.afon .hdr .apt small{display:none}
 html.afon .hdr .apbrand,html.afon .hdr .apt{min-width:0;overflow:hidden}
}
/* narrow phones: no room for the brand words next to the 2 buttons – the logo mark stays (YQ: the neutral mark, as before) */
@media (max-width:439px){html.afon .hdr .apt{display:none}}
@media (max-width:519px){html.afon.hxin .hdr .apt{display:none}}
@media (max-width:359px){.afcta #hdrOrder{display:none}}
/* pill */
.afpill{position:fixed;left:12px;z-index:9990;display:flex;align-items:center;max-width:calc(100vw - 92px);border-radius:30px;box-shadow:0 8px 22px -6px rgba(0,0,0,.35);font-family:Poppins,system-ui,sans-serif;animation:afIn .25s ease-out}
.afpill.afpl{left:50%;transform:translateX(-50%);max-width:calc(100vw - 110px)}
/* t629u: pill must stand out on red (hero band, red cart bar, red buttons) AND on dark footer: guest = white pill, dark-red text, red ring; logged in = dark pill + white ring */
.afpg{background:#fff;color:#9E1219;box-shadow:0 0 0 2px #D81E27,0 0 0 4px rgba(255,255,255,.95),0 10px 24px -6px rgba(0,0,0,.45)}.afpl{background:#2b2121;color:#fff;box-shadow:0 0 0 2px rgba(255,255,255,.95),0 10px 24px -6px rgba(0,0,0,.45)}
.afp-go{display:flex;align-items:center;gap:6px;min-height:40px;padding:0 6px 0 14px;border:0;background:none;color:inherit!important;font:inherit;font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;text-decoration:none!important}
.afp-go b{display:inline-block;max-width:120px;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom;font-weight:800}
.afp-x{flex:none;width:34px;min-height:40px;border:0;background:none;color:inherit;font-size:20px;line-height:1;opacity:.8;cursor:pointer;border-radius:0 30px 30px 0}
.afpg .afp-go:hover{background:#fff1d0;border-radius:30px 0 0 30px}.afpg .afp-x{opacity:1;color:#5b1016}.afpg .afp-x:hover{background:#fff1d0}
.afpill :focus-visible{outline:3px solid #FFC400;outline-offset:-3px}
@keyframes afIn{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}
@media (prefers-reduced-motion:reduce){.afpill{animation:none}}
/* steps sheet */
.afsh{position:fixed;inset:0;z-index:10000;background:rgba(0,0,0,.45);display:flex;align-items:flex-end;justify-content:center}
.afsh-b{position:relative;width:100%;max-width:480px;box-sizing:border-box;margin:0 auto;background:var(--bg1,#fff);color:var(--ink,#2b2121);border-radius:20px 20px 0 0;padding:18px 16px calc(16px + env(safe-area-inset-bottom));font-family:Poppins,system-ui,sans-serif;border-top:4px solid #D81E27;max-height:90vh;overflow:auto}
@media (min-width:600px){.afsh{align-items:center}.afsh-b{border-radius:20px;border:3px solid #D81E27}}
.afsh-b h2{margin:0 34px 2px 0;font-size:19px;font-weight:800}.afsh-s{margin:0 0 10px;font-size:13.5px;opacity:.75;font-weight:600}
.afsh-x{position:absolute;top:8px;right:10px;border:0;background:none;color:inherit;font-size:26px;line-height:1;padding:4px 8px;cursor:pointer;opacity:.7}
.afst{list-style:none;margin:0 0 12px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.afst li{display:flex;flex-direction:column;gap:6px;padding:8px;border-radius:14px;background:var(--bg2,#fff3f4);border:2px solid var(--bd2,#fbd7d9);font-size:13.5px;font-weight:700;line-height:1.3}
.afst li span>b:first-child{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;margin-right:4px;border-radius:50%;background:#D81E27;color:#fff;font-size:12px}
.afst .pic{display:block;width:100%;height:auto;border-radius:10px;background:#fff}
.afsh-p{margin:0 0 12px;font-size:14.5px;line-height:1.45;font-weight:600}
.afbig{width:100%;min-height:46px;font-size:15.5px;border-radius:12px}
/* See rate & order (product page, guests) */
.afsee{margin-top:10px;display:flex;flex-direction:column;gap:6px}.afsee-n{font-size:12.5px;opacity:.75;font-weight:600}
@media (min-width:600px){html.afon .hdr .nav a{white-space:nowrap}html.afon .hdr .hsrch{min-width:0}}
@media (min-width:600px) and (max-width:1099px){html.afon .afb{padding:0 10px;font-size:12.5px}html.afon .afme .afn{max-width:110px}}
/* P3CAPTYPE (Phase 3, 2 Nov 2026): capacitor Type row (one compact swipe line, no big panel) + type / brand headings in the list */
.nf .nfty{display:flex;align-items:center;gap:8px;margin:10px 0 0}
.nf .nftyl{flex:0 0 auto;font-size:13px;font-weight:800;color:var(--nfmu);text-transform:uppercase;letter-spacing:.4px}
.nf .nftyr{display:flex;gap:6px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:2px 0}.nf .nftyr::-webkit-scrollbar{display:none}
.nf .nfyc{flex:0 0 auto;display:inline-flex;align-items:center;gap:5px;min-height:42px;padding:4px 13px;border:2px solid var(--nfbd);border-radius:999px;background:var(--nfch);color:var(--nftx);font:inherit;font-size:15px;font-weight:800;white-space:nowrap;cursor:pointer}
.nf .nfyc em{font-style:normal;font-size:12px;font-weight:700;color:var(--nfmu);background:rgba(0,0,0,.07);border-radius:999px;padding:0 6px}
.nf .nfyc.on{background:var(--nfp);border-color:var(--nfp);color:#fff}.nf .nfyc.on em{color:#fff;background:rgba(255,255,255,.22)}
#pgrid .nfgh,#pgrid .nfbh{grid-column:1/-1;margin:0;display:flex;align-items:baseline;gap:8px;min-width:0}
#pgrid .nfgh{margin-top:10px;padding:9px 12px;border-radius:12px;background:var(--t3tint,rgba(216,30,39,.08));border-left:4px solid var(--t3p,#D81E27);font-size:17px;line-height:1.25;color:var(--ink,#1A1A1A);flex-wrap:wrap}
#pgrid .nfgh:first-child{margin-top:0}
#pgrid .nfgh b{font-weight:900}#pgrid .nfgh small{font-size:12.5px;font-weight:700;color:var(--mute,#4B5563)}
#pgrid .nfgh em,#pgrid .nfbh em{margin-left:auto;font-style:normal;font-size:12.5px;font-weight:800;color:var(--mute,#4B5563);white-space:nowrap}
#pgrid .nfbh{padding:4px 4px 0;font-size:14.5px;font-weight:900;color:var(--ink,#1A1A1A);text-transform:uppercase;letter-spacing:.3px}
html[data-theme=dark] #pgrid .nfgh{background:rgba(255,255,255,.06)}html[data-theme=dark] #pgrid .nfgh,html[data-theme=dark] #pgrid .nfbh{color:#f2f2f2}
html[data-theme=dark] .nf .nfyc em{background:rgba(255,255,255,.1)}

/* P3B header (pickv2 preview, Krishna 3 Nov 2026): ATC logo mark + 'Amit Trading Company' (guest + YI). YQ keeps the neutral header (neuBrand swaps the markup). */
.hdr .logo .lgt{display:flex;flex-direction:column;line-height:1.1}
.hdr .logo .lgt b{font:800 17px/1.1 Poppins,"Segoe UI",system-ui,sans-serif;letter-spacing:-.1px;white-space:nowrap;color:var(--ink)}
@media(min-width:960px){.hdr .logo .lgt b{font-size:19px}}
@media (max-width:439px){
 /* phones: the buttons fill row 1, so logo + name get their own slim row above them (never cut, never '…') */
 html.afon:not(.yqneu) .hdr>.wrap{flex-wrap:wrap;row-gap:6px}
 html.afon:not(.yqneu) .hdr .apbrand{flex:1 0 100%;gap:8px;overflow:visible}
 html.afon:not(.yqneu) .hdr .apl{width:34px;height:34px;flex:0 0 34px}html.afon:not(.yqneu) .hdr .apl img{width:27px}
 html.afon:not(.yqneu) .hdr .apt,html.afon.hxin:not(.yqneu) .hdr .apt{display:flex;overflow:visible}
 html.afon:not(.yqneu) .hdr .apt b{font-size:17px;line-height:1.1;letter-spacing:-.2px;white-space:nowrap;display:block;-webkit-line-clamp:unset}
 html.afon:not(.yqneu) .hdr .hact{margin-left:auto}
}
.nf a.nfyc{text-decoration:none!important}
.nf .nfyc[disabled]{opacity:.45;cursor:default}
/* P3B-2: phones – all type chips visible at once (wrap, no sideways scroll) */
@media (max-width:639px){.nf .nfty{align-items:flex-start}.nf .nftyl{display:none}.nf .nftyr{flex-wrap:wrap;overflow:visible;gap:6px}.nf .nfyc{min-height:38px;padding:3px 11px;font-size:14px}}
/* P3C MFD-RANGE rows (Range / Poles / Brand): family label inside the row, compact chips; phones = ONE sideways-scrolling row each (fade hint) */
.nf .nfyf{flex:0 0 auto;align-self:center;font-size:12px;font-weight:900;color:var(--t3p,#D81E27);text-transform:uppercase;letter-spacing:.3px;padding:0 2px 0 6px;white-space:nowrap}
.nf .nfyf small{font-size:10px;font-weight:800;color:var(--nfmu)}
.nf .nfrg .nfyf:not(:nth-child(2)){border-left:2px solid var(--nfbd);padding-left:10px;margin-left:2px}
.nf .nfrg+.nfty,.nf .nfpl+.nfty{margin-top:6px}
@media (min-width:640px){.nf .nfrg .nftyr,.nf .nfpl .nftyr,.nf .nfbr .nftyr{flex-wrap:wrap;overflow:visible}.nf .nfrg .nftyl,.nf .nfpl .nftyl,.nf .nfbr .nftyl{min-width:58px}}
@media (max-width:639px){.nf .nfrg,.nf .nfpl,.nf .nfbr{align-items:center;margin-top:6px}
 .nf .nfrg .nftyr,.nf .nfpl .nftyr,.nf .nfbr .nftyr{flex-wrap:nowrap;overflow-x:auto;gap:5px;-webkit-mask-image:linear-gradient(90deg,#000 88%,transparent);mask-image:linear-gradient(90deg,#000 88%,transparent);padding-right:24px}
 .nf .nfrg .nfyc,.nf .nfpl .nfyc,.nf .nfbr .nfyc{min-height:36px;padding:2px 10px;font-size:13.5px;white-space:nowrap}}
