/* AutoParts Cloud — public homepage Feng Shui V2 (2026-10-18)
   Scoped to .apv2; does NOT restyle owner, seller, Cargo, or catalog pages. */
.apv2{--apv2-blue:#0052ff;--apv2-mint:#00e599;--apv2-ink:#0f172a;--apv2-line:#dce9fb;color:var(--apv2-ink);background:linear-gradient(180deg,#f5faff,#fff 51%,#f8fafc);font-family:Inter,"Plus Jakarta Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;overflow:hidden}
.apv2 *{box-sizing:border-box}.apv2 a{text-decoration:none}.apv2 a:hover{text-decoration:none}.apv2 h1,.apv2 h2,.apv2 h3{letter-spacing:-.036em}.apv2-width,.apv2-intro-nav{max-width:1440px;margin:0 auto;padding-left:32px;padding-right:32px}
/* Retain native base header and all of its working language/login controls. */
body:has(.apv2) .public-topbar{background:linear-gradient(95deg,#0c213d,#13376a);box-shadow:0 2px 16px rgba(22,66,135,.08)}
body:has(.apv2) .language-toolbar{border-bottom:1px solid #dfebfc;background:#f6fbff}
.apv2-intro-nav{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:55px;border-bottom:1px solid #e4efff}
.apv2-intro-nav nav{display:flex;gap:28px;flex-wrap:wrap}.apv2-intro-nav nav a{color:#224266;font-size:13px;font-weight:750}.apv2-intro-nav nav a:hover{color:var(--apv2-blue)}
.apv2-brand-note{color:var(--apv2-ink);font-size:15px;font-weight:900;white-space:nowrap}.apv2-brand-note small{font-size:9px;font-weight:500;color:#69809c;display:block;margin:0 0 0 18px}.apv2-garage{border-radius:12px;border:1px solid #cbdcf2;background:#eef6ff;padding:10px 14px;color:#214a87;font-size:13px;white-space:nowrap;font-weight:800}.apv2-garage span{margin-left:10px}
/* Hero: approved scenic artwork has no baked-in input fields or hero heading. */
.apv2-hero{position:relative;isolation:isolate;display:flex;min-height:382px;overflow:hidden;background:linear-gradient(110deg,#e7f4ff 0%,#eef8ff 42%,#cceeff 100%);border-bottom:1px solid #d9eaff}
.apv2-hero-landscape{position:absolute;inset:0 48% 0 0;background-image:linear-gradient(90deg,rgba(238,248,255,.5),rgba(239,249,255,.92)),url('/static/branding/ap_home_v2/hero_landscape.webp');background-size:cover;background-position:center;z-index:-2}
.apv2-hero-art{position:absolute;z-index:-1;right:0;top:0;width:56%;height:100%;background-image:linear-gradient(90deg,#eef8ff 0%,rgba(238,248,255,.4) 7%,rgba(238,248,255,0) 23%),url('/static/branding/ap_home_v2/hero_china.webp');background-size:100% 100%,cover;background-repeat:no-repeat;background-position:center center}
.apv2-hero-copy{width:min(1440px,100%);padding:39px max(32px,calc((100vw - 1376px)/2)) 29px;margin:0 auto;z-index:1;pointer-events:none}
.apv2-hero-copy>*{pointer-events:auto}.apv2-kicker{font-size:11px;color:#0052ff;font-weight:900;letter-spacing:.085em;text-shadow:0 1px 5px rgba(255,255,255,.8)}
.apv2-hero h1{font-size:clamp(34px,3.4vw,51px);line-height:1.1;margin:15px 0 10px;max-width:750px;letter-spacing:-.045em;font-weight:900;text-shadow:0 1px 8px #f6fbff}
.apv2-hero h1 span{color:#0052ff}.apv2-hero h1 em{color:#00bba0;font-style:normal}.apv2-hero-copy>p{font-size:16px;color:#26415e;line-height:1.5;max-width:565px;margin:0 0 16px;text-shadow:0 1px 4px #fff}
.apv2-search{width:min(638px,100%);padding:12px 14px 10px;background:rgba(255,255,255,.96);border:1px solid rgba(201,221,255,.9);border-radius:20px;box-shadow:0 13px 38px rgba(5,69,151,.13);backdrop-filter:blur(8px)}
.apv2-search-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;border-bottom:1px solid #dfeafa;margin-bottom:8px}.apv2-search-tabs button{min-width:0;border:0;border-radius:6px 6px 0 0;border-bottom:3px solid transparent;background:none;padding:9px 3px 10px;color:#657a97;font-weight:750;font-size:12px;white-space:normal;cursor:pointer;line-height:1.2}.apv2-search-tabs button.is-current{border-bottom-color:var(--apv2-blue);color:var(--apv2-blue)}.apv2-search-tabs button:hover{background:#f0f6ff}
.apv2-search-row{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:8px;align-items:stretch}.apv2-search input{height:46px;background:#fff;border:1px solid #d9e5f4;border-radius:11px;padding:0 15px;box-shadow:0 2px 7px rgba(9,35,77,.025);font-size:13px;width:100%;min-width:0}.apv2-search input:focus{border-color:var(--apv2-blue);box-shadow:0 0 0 3px rgba(0,82,255,.1)}.apv2-search-row button{min-width:0;border:0;background:var(--apv2-blue);color:#fff;border-radius:11px;font:inherit;font-weight:850;cursor:pointer;font-size:14px;padding:10px}.apv2-search-row button:hover{background:#0344d0}.apv2-search>small{font-size:10px;color:#6c829e;display:block;margin:8px 0 0 3px}.apv2-sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden;white-space:nowrap}
.apv2-trust{position:relative;z-index:2;margin:-3px 0 20px;background:rgba(244,249,255,.96);border-radius:24px;padding:11px 13px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;box-shadow:0 8px 27px rgba(47,103,178,.08)}
.apv2-trust a{display:flex;align-items:center;gap:11px;min-width:0;min-height:80px;background:white;border:1px solid #ebf2fb;border-radius:15px;padding:10px;color:#102442;box-shadow:0 5px 17px rgba(25,70,131,.04)}.apv2-trust a>span{min-width:0;flex:1}.apv2-trust strong{font-size:12px;line-height:1.15;display:block}.apv2-trust small{display:block;color:#72839e;line-height:1.3;font-size:10px;margin-top:4px}.apv2-trust i{font-size:21px;color:#7a91b2;font-style:normal}.apv2-trust-icon{width:45px;height:45px;border-radius:50%;flex:0 0 45px;display:flex;align-items:center;justify-content:center;font-size:22px}.apv2-verified{background:#e3edff;color:#0052ff}.apv2-cargo{background:#e7f1ff;color:#1459e0}.apv2-ai{background:#dffcf2;color:#008c77;font-size:16px}.apv2-safe{background:#fff1dd;color:#da8600}
.apv2-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:11px}.apv2-heading h2{font-size:23px;line-height:1.25;font-weight:900;margin:0}.apv2-heading a{color:var(--apv2-blue);font-weight:700;font-size:12px;white-space:nowrap}
.apv2-categories{margin:0 0 23px}.apv2-cat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.apv2-cat{height:155px;position:relative;border-radius:15px;display:flex;overflow:hidden;padding:17px;color:#fff!important;box-shadow:0 5px 13px rgba(11,44,110,.07)}.apv2-cat span{z-index:1;position:relative;display:flex;flex-direction:column;align-items:flex-start;width:65%;pointer-events:none}.apv2-cat strong{font-size:15px;line-height:1.15;max-width:160px;font-weight:850}.apv2-cat small{font-size:11px;line-height:1.25;max-width:132px;margin-top:7px;color:#eaf4ff}.apv2-cat img{position:absolute;right:-4px;bottom:0;max-width:64%;height:90%;object-fit:contain;mix-blend-mode:normal;filter:drop-shadow(0 9px 12px rgba(0,0,0,.2));border-radius:10px}.apv2-cat-blue{background:linear-gradient(135deg,#0049da,#1681ff)}.apv2-cat-mint{background:linear-gradient(135deg,#008f92,#0acdb9)}.apv2-cat-cobalt{background:linear-gradient(135deg,#003ecb,#1876ff)}.apv2-cat-purple{background:linear-gradient(135deg,#5645e8,#8b7cff)}.apv2-round-arrow{font-size:15px;width:27px;height:27px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;color:#0052ff;margin-top:auto}
.apv2-products{margin:0 0 15px}.apv2-brand-links{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 10px}.apv2-brand-links a{font-size:11px;border-radius:7px;padding:6px 12px;background:#eef4fc;color:#47618a;font-weight:700}.apv2-brand-links a.active{background:var(--apv2-blue);color:white}
.apv2-feature-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(275px,.85fr);gap:14px;align-items:stretch}
.apv2-featured{display:grid;grid-template-columns:235px minmax(0,1fr) 194px;gap:16px;min-width:0;background:white;border:1px solid #e0ebf9;border-radius:18px;padding:13px;box-shadow:0 5px 24px rgba(29,70,130,.05)}
.apv2-product-photo{background:#eaf2fc;overflow:hidden;border-radius:12px;display:flex;align-items:center;justify-content:center;min-height:146px}.apv2-product-photo img{width:100%;height:100%;object-fit:cover}.apv2-product-copy{padding:6px 0}.apv2-demo-label{font-size:10px;color:#0052ff;font-weight:800;background:#e7f0ff;border-radius:99px;padding:5px 9px;display:inline-block}.apv2-product-copy h3{font-size:17px;margin:10px 0 6px}.apv2-product-copy p{font-size:12px;line-height:1.4;color:#6e7c94;margin:0 0 11px}.apv2-tags{display:flex;gap:5px;flex-wrap:wrap}.apv2-tags span{padding:5px 8px;border-radius:7px;background:#eaf8f2;color:#09775f;font-size:10px;font-weight:750}
.apv2-product-cta{border-left:1px solid #e0eafa;padding:14px 0 8px 14px;display:flex;flex-direction:column;gap:8px;justify-content:center}.apv2-mini-price{font-weight:850;font-size:17px;line-height:1.25;color:#17294f}.apv2-mini-price small{display:block;font-weight:500;color:#6980a1;font-size:11px;margin-top:4px}.apv2-primary-button,.apv2-outline-button{padding:11px;text-align:center;border-radius:10px;font-size:12px;font-weight:850}.apv2-primary-button{background:#0052ff;color:#fff!important}.apv2-outline-button{border:1px solid #cbdcf4;background:#fff;color:#1641a0!important}
.apv2-sidebar{background:#fff;border:1px solid #e1ecfa;border-radius:18px;padding:15px}.apv2-sidebar-head{display:flex;justify-content:space-between;gap:8px;align-items:center;border-bottom:1px solid #eef3fa;padding-bottom:8px}.apv2-sidebar-head h3{margin:0;font-size:17px;font-weight:900}.apv2-sidebar-head a{color:#0052ff;font-size:11px;font-weight:750;white-space:nowrap}.apv2-news-list article{padding:10px 1px 9px;display:flex;gap:8px;border-bottom:1px solid #edf2f9}.apv2-news-list article:last-child{border-bottom:0}.apv2-news-dot{color:#00b88b;font-size:12px;margin-top:2px}.apv2-news-list article>div{min-width:0}.apv2-news-list small{display:block;font-size:10px;color:#8596ae;margin:0 0 4px}.apv2-news-list strong{display:block;font-size:12px;line-height:1.32}.apv2-news-list p{color:#78869b;font-size:11px;line-height:1.3;margin:4px 0}.apv2-news-list a{font-size:10px;font-weight:750;color:#0052ff}.apv2-muted{font-size:12px;color:#7283a1}
.apv2-progress{display:flex;align-items:center;gap:19px;flex-wrap:wrap;border:1px solid #dfebfa;background:#fff;border-radius:17px;padding:14px 18px;color:#31517b;font-weight:750;font-size:12px;margin:14px 0}.apv2-progress span:first-child{color:#172b55;font-weight:900}.apv2-progress a{color:#0052ff;margin-left:auto;font-weight:850}
.apv2-b2b{position:relative;overflow:hidden;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:22px 35px;border-radius:19px;background:radial-gradient(circle at 80% 0,rgba(222,169,72,.23),transparent 33%),linear-gradient(105deg,#07182d,#122c50 60%,#071625);color:white;min-height:142px;margin:12px 0 23px}.apv2-b2b:before{content:"";position:absolute;inset:0 17% 0 50%;background-image:linear-gradient(90deg,#102744,rgba(16,39,68,.15),#102744),url('/static/branding/ap_home_v2/seller_scene.webp');background-size:cover;background-position:center;opacity:.3;pointer-events:none}.apv2-b2b:after{content:"☯";position:absolute;right:26%;top:6px;color:#dba647;opacity:.19;font-size:95px;pointer-events:none}.apv2-b2b>div{position:relative;z-index:1}.apv2-b2b .apv2-b2b-deco{position:absolute;font-size:12px;right:12px;bottom:4px;color:#cfaa5c;opacity:.6}.apv2-b2b-cn{color:#ffce6c;font-size:23px;font-weight:900;line-height:1;margin:0 0 5px}.apv2-b2b h2{font-size:20px;color:#fff;margin:0 0 5px}.apv2-b2b p:not(.apv2-b2b-cn){color:#dce9fb;font-size:12px;line-height:1.5;max-width:620px;margin:0}.apv2-b2b-actions{display:flex;flex-direction:column;align-items:center;gap:8px;white-space:nowrap}.apv2-gold-button{border-radius:12px;padding:13px 20px;background:linear-gradient(110deg,#02e3b4,#7cf9d9);color:#072d36!important;font-weight:900;font-size:13px;box-shadow:0 6px 19px rgba(0,229,153,.16)}.apv2-b2b-actions>a:not(.apv2-gold-button){color:#e1ebf9;font-size:11px;text-decoration:underline}
.apv2-ad{margin:5px 0 24px;padding:12px;background:#f0f5fb;border:1px solid #dae6f6;border-radius:14px}.apv2-ad-title{font-size:11px;color:#70829f;letter-spacing:.08em;text-transform:uppercase;margin:0 0 8px;font-weight:800}.apv2-ad .ap-an-banner-link{display:block}.apv2-ad .ap-an-banner-photo{max-height:170px;width:100%;object-fit:contain}.apv2-ad-empty{color:#7a8aa6;padding:14px 18px;background:#fff;border-radius:9px;text-align:center;font-size:12px}
.apv2 a:focus-visible,.apv2 button:focus-visible,.apv2 input:focus-visible{outline:3px solid #7ed8ed;outline-offset:2px}
@media(min-width:1500px){.apv2-hero-copy{padding-left:calc((100vw - 1376px)/2)}}
@media(max-width:1150px){.apv2-feature-layout{grid-template-columns:1fr}.apv2-featured{grid-template-columns:240px minmax(0,1fr) 200px}.apv2-sidebar .apv2-news-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.apv2-news-list article{border-bottom:0}.apv2-cat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.apv2-cat{height:170px}.apv2-hero-art{width:58%;opacity:.82}.apv2-hero-copy>p{max-width:450px}}
@media(max-width:850px){.apv2-width,.apv2-intro-nav{padding-left:18px;padding-right:18px}.apv2-intro-nav nav{gap:12px}.apv2-intro-nav nav a{font-size:11px}.apv2-brand-note{font-size:13px}.apv2-hero{min-height:480px;align-items:flex-start}.apv2-hero-copy{padding:24px 18px 28px}.apv2-hero-art{width:64%;height:60%;top:0;opacity:.42}.apv2-hero h1{font-size:39px;max-width:650px}.apv2-hero-copy>p{max-width:650px}.apv2-search{margin-top:62px;max-width:630px}.apv2-trust{grid-template-columns:repeat(2,minmax(0,1fr))}.apv2-featured{grid-template-columns:190px minmax(0,1fr)}.apv2-product-cta{grid-column:1/-1;border-left:0;border-top:1px solid #e0eafa;padding:10px 0 0;flex-direction:row;align-items:center}.apv2-product-cta>*{flex:1}.apv2-sidebar .apv2-news-list{display:block}}
@media(max-width:580px){.apv2-intro-nav{padding-top:8px;padding-bottom:8px;min-height:0;flex-wrap:wrap;gap:9px}.apv2-intro-nav nav{order:3;width:100%;overflow:auto;white-space:nowrap;flex-wrap:nowrap}.apv2-garage{font-size:11px;padding:7px 9px}.apv2-hero{display:block;min-height:0}.apv2-hero-landscape{inset:0}.apv2-hero-art{top:0;right:0;width:100%;height:235px;opacity:.46;background-position:center right}.apv2-hero-copy{padding:25px 16px 22px}.apv2-kicker{font-size:9px;max-width:250px}.apv2-hero h1{font-size:33px;line-height:1.1;max-width:460px;margin:18px 0 10px}.apv2-hero-copy>p{font-size:13px;max-width:390px}.apv2-search{margin-top:20px;padding:10px;border-radius:15px}.apv2-search-tabs button{font-size:10px;line-height:1.3}.apv2-search-tabs button span{display:block}.apv2-search-row{grid-template-columns:1fr}.apv2-search-row button{min-height:43px}.apv2-trust{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:8px;border-radius:17px;margin-top:8px}.apv2-trust a{min-height:111px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:10px}.apv2-trust-icon{width:30px;height:30px;flex-basis:30px;font-size:16px}.apv2-trust i{display:none}.apv2-trust strong{font-size:11px}.apv2-trust small{font-size:10px}.apv2-width{padding-left:12px;padding-right:12px}.apv2-heading h2{font-size:20px}.apv2-heading a{font-size:10px}.apv2-cat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.apv2-cat{height:166px;padding:12px}.apv2-cat strong{font-size:12px}.apv2-cat small{font-size:10px}.apv2-cat img{max-width:83%;height:65%;bottom:-4px}.apv2-cat span{width:100%}.apv2-round-arrow{width:24px;height:24px}.apv2-feature-layout{grid-template-columns:1fr}.apv2-featured{grid-template-columns:125px minmax(0,1fr);gap:10px;padding:9px}.apv2-product-photo{min-height:150px}.apv2-product-copy h3{font-size:13px}.apv2-product-copy p{font-size:11px}.apv2-product-cta{display:grid;grid-template-columns:1fr 1fr}.apv2-product-cta .apv2-mini-price{grid-column:1/-1}.apv2-progress{gap:12px;font-size:11px}.apv2-b2b{align-items:flex-start;flex-direction:column;padding:22px 19px;gap:17px}.apv2-b2b-actions{align-items:flex-start}.apv2-b2b-cn{font-size:20px}.apv2-b2b h2{font-size:18px}}
@media(prefers-reduced-motion:no-preference){.apv2-cat,.apv2-trust a,.apv2-primary-button,.apv2-gold-button{transition:transform .18s ease,box-shadow .18s ease}.apv2-cat:hover,.apv2-trust a:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,63,139,.14)}.apv2-primary-button:hover,.apv2-gold-button:hover{transform:translateY(-1px)}}
/* Public header overrides only on this homepage; owner and seller menus are untouched. */
body:has(.apv2) .public-topbar{background:#fff;color:#0f172a;border-bottom:1px solid #e3ebf8;box-shadow:0 3px 14px rgba(12,62,129,.07)}
body:has(.apv2) .public-topbar .brand{color:#142a4d}
body:has(.apv2) .public-topbar .link-light{color:#263f61}
body:has(.apv2) .public-topbar .small-button{background:#0052ff;border-color:#0052ff;color:#fff}
body:has(.apv2) .public-topbar .public-mobile-menu>summary{color:#173763}
