/* PinDoDo v60 — cohesive premium marketplace UI layer */
:root{
 --pdd-radius-xs:10px;--pdd-radius-sm:14px;--pdd-radius-md:18px;--pdd-radius-lg:24px;
 --pdd-shadow-soft:0 4px 18px rgba(25,20,40,.045),0 1px 3px rgba(25,20,40,.035);
 --pdd-shadow-card:0 12px 34px rgba(25,20,40,.075),0 2px 8px rgba(25,20,40,.035);
 --pdd-focus:0 0 0 4px rgba(124,58,237,.13);
}
html{scroll-padding-top:88px}
body{letter-spacing:-.012em;font-feature-settings:"ss01" on,"cv11" on}
button,a,[role="button"],input,select,textarea{touch-action:manipulation}
button{transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease,border-color .18s ease}
button:active,[role="button"]:active{transform:scale(.985)}
:where(input,select,textarea){min-height:46px;border-radius:13px;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
:where(input,select,textarea):focus{outline:0;box-shadow:var(--pdd-focus)!important}
:where(button,a,[role="button"]):focus-visible{outline:3px solid rgba(124,58,237,.48)!important;outline-offset:3px}
::selection{background:rgba(124,58,237,.2)}
/* Landing page */
nav{height:72px!important;padding-inline:clamp(16px,4vw,56px)!important;background:rgba(255,255,255,.88)!important;backdrop-filter:blur(22px) saturate(160%)!important;border-bottom:1px solid rgba(30,25,45,.07)!important}
.logo{font-weight:900!important;letter-spacing:-.055em!important}.logo-mark{border-radius:12px!important;box-shadow:0 5px 14px rgba(15,15,20,.14)}
.nav-link{font-size:13px!important;letter-spacing:-.01em}.nav-cta,.btn-fill,.btn-big{background:#21172f!important;color:#fff!important;box-shadow:0 8px 20px rgba(33,23,47,.14)}
.nav-cta:hover,.btn-fill:hover,.btn-big:hover{background:#392451!important;transform:translateY(-1px)}
.nav-cta-ghost,.btn-ghost{border-color:#e8e3ed!important;background:rgba(255,255,255,.72)!important}
.hero{min-height:min(860px,100svh)!important;padding-top:130px!important;background:radial-gradient(ellipse at 50% 12%,rgba(156,115,226,.13),transparent 48%),linear-gradient(180deg,#fcfbff 0%,#fff 72%)!important}
.hero::before{background:radial-gradient(540px 440px at 84% 18%,rgba(124,58,237,.11),transparent 65%),radial-gradient(460px 380px at 10% 82%,rgba(236,72,153,.055),transparent 68%)!important}
.hero-pill{box-shadow:var(--pdd-shadow-soft);border-color:#eee8f5!important;background:rgba(255,255,255,.85)!important}
.hero-title{letter-spacing:-.075em!important;font-weight:900!important;line-height:.99!important}.hero-title em{background:linear-gradient(110deg,#6d3bc3,#a36be8 55%,#d17bb5);-webkit-background-clip:text;background-clip:text;color:transparent!important}
.hero-sub{max-width:560px!important;line-height:1.8!important}.hero-btns{gap:14px!important}.btn-fill,.btn-ghost{min-height:52px!important;padding:14px 25px!important;border-radius:15px!important}
.stat-n{font-weight:900!important;letter-spacing:-.06em}.stat-l{letter-spacing:.08em!important}
.sec{padding-block:clamp(58px,7vw,92px)!important}.sec-tag{color:#8665b2!important;letter-spacing:.18em!important}.sec-h{font-weight:900!important;letter-spacing:-.055em!important}.sec-p{line-height:1.8!important}
.feats{gap:16px!important}.feat{border-radius:20px!important;padding:28px!important;box-shadow:var(--pdd-shadow-soft)!important;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important}.feat:hover{transform:translateY(-4px);box-shadow:var(--pdd-shadow-card)!important;border-color:#d9c8f2!important}.feat-ico{border-radius:14px!important;background:#f5f0fc!important;border-color:#eee6f8!important}.feat-h{font-size:15px!important;letter-spacing:-.025em}
.steps-bg{background:linear-gradient(180deg,#fbf9fe,#fff)!important}.step{padding:30px 26px!important}.step-n{color:#e6def1!important;font-weight:900!important}.step-ico-wrap{border-radius:14px!important;background:#f5f0fc!important}
.pcard{width:216px!important;border-radius:18px!important;box-shadow:var(--pdd-shadow-soft)!important;transition:transform .2s ease,box-shadow .2s ease!important}.pcard:hover{transform:translateY(-4px);box-shadow:var(--pdd-shadow-card)!important}.pimg{height:170px!important;background:#f8f6fb!important}.pbody{padding:14px!important}.pname{font-size:13px!important;line-height:1.5!important}.pprice{font-weight:900!important}
.seller-wrap{padding-inline:clamp(16px,4vw,48px)!important}.seller-box{border-radius:28px!important;padding:clamp(28px,5vw,58px)!important;background:radial-gradient(circle at 90% 10%,rgba(173,135,235,.25),transparent 35%),linear-gradient(125deg,#21172f,#39244e)!important;box-shadow:0 22px 60px rgba(38,23,58,.16)}.s-tag{color:#cdb8ef!important}.s-h{font-weight:900!important;letter-spacing:-.055em}.snum{border-radius:17px!important;background:rgba(255,255,255,.075)!important}.btn-inv{border-radius:14px!important}
.cta-sec{background:linear-gradient(180deg,#f7f3fc,#f3eff8)!important}.cta-h{font-weight:900!important;letter-spacing:-.065em!important}.btn-big{border-radius:16px!important;min-height:58px!important;padding-inline:34px!important}
footer{padding-inline:clamp(16px,4vw,48px)!important;background:#fff}
/* App shell and marketplace surfaces */
#root,.pc-stage{isolation:isolate}
.pdd-home,.pdd-catalog,.pdd-product-page{letter-spacing:-.018em}
.pdd-home>div,.pdd-catalog>div{min-width:0}
.pdd-catalog-grid{column-gap:clamp(10px,1.5vw,20px)!important;row-gap:clamp(14px,1.7vw,22px)!important}
.pdd-product-card{border-radius:20px!important;overflow:visible!important;background:transparent!important}
.pdd-product-card .pdd-media{border-radius:19px!important;border-color:rgba(30,25,45,.07)!important;box-shadow:0 3px 12px rgba(20,15,35,.035)!important;background:linear-gradient(145deg,#faf9fc,#f3f0f7)!important}
.pdd-product-card:hover .pdd-media{box-shadow:0 14px 34px rgba(30,20,48,.10)!important}
.pdd-product-card button{border-radius:12px!important}
.pdd-product-card .pdd-fav{backdrop-filter:blur(12px);box-shadow:0 3px 12px rgba(20,15,35,.09)}
.pdd-cat-card{border-radius:18px!important;overflow:hidden!important;box-shadow:var(--pdd-shadow-soft)}
.pdd-bottom-nav{border-top:1px solid rgba(30,25,45,.07)!important;box-shadow:0 -6px 28px rgba(25,20,40,.055)!important}
.pdd-nav-item{font-weight:650!important;letter-spacing:-.02em}
.pdd-center-tab{box-shadow:0 8px 20px rgba(124,58,237,.23)!important}
.pdd-toast{border:1px solid rgba(255,255,255,.14)!important}
.pdd-product-page{gap:clamp(18px,3vw,34px)!important}
.pdd-product-page button{border-radius:13px}
.pdd-filter-sheet,.pdd-search-recent{border-radius:22px!important}
/* Auth pages */
body:has(.left) .left{background:radial-gradient(circle at 20% 12%,rgba(167,139,250,.22),transparent 35%),linear-gradient(145deg,#21172f,#3b2851)!important}
body:has(.left) .right{background:var(--bg,#fff)}
body:has(.left) .card{border-radius:24px!important;box-shadow:0 18px 55px rgba(25,18,40,.08)!important}
body:has(.left) .fi{border-radius:14px!important;min-height:52px!important}
body:has(.left) .sbtn{border-radius:14px!important;min-height:50px!important}
/* Admin / content pages */
:where(.admin-card,.stat-card,.dashboard-card,.settings-card,.table-wrap,.admin-panel){border-radius:18px!important;box-shadow:var(--pdd-shadow-soft)}
:where(table) th{font-weight:750;letter-spacing:-.01em}
:where(table) td,:where(table) th{padding:12px 14px}
/* Dark theme: readable and intentionally restrained */
html[data-theme="dark"]{color-scheme:dark;--bg:#0d1017;--surf:#171c26;--surf2:#202735;--line:#303a4b;--line2:#273142;--ink:#f6f7fb;--ink2:#c2cada;--mut:#98a4b7;--accent:#b99aff;--accent-wash:#302342;--pdd-shadow-soft:0 4px 18px rgba(0,0,0,.2);--pdd-shadow-card:0 14px 36px rgba(0,0,0,.3)}
html[data-theme="dark"] body{background:var(--bg);color:var(--ink)}
html[data-theme="dark"] nav,html[data-theme="dark"] footer{background:rgba(20,24,33,.92)!important;border-color:var(--line)!important}
html[data-theme="dark"] .hero{background:radial-gradient(ellipse at 50% 12%,rgba(124,58,237,.16),transparent 50%),linear-gradient(180deg,#11131b,#0d1017 75%)!important}
html[data-theme="dark"] .hero-pill,html[data-theme="dark"] .nav-cta-ghost,html[data-theme="dark"] .btn-ghost{background:#1a202b!important;color:var(--ink)!important;border-color:#333d4e!important}
html[data-theme="dark"] .feat,html[data-theme="dark"] .pcard{background:var(--surf)!important;border-color:var(--line)!important;color:var(--ink)!important}
html[data-theme="dark"] .feat-ico,html[data-theme="dark"] .step-ico-wrap{background:#242035!important;border-color:#3b3150!important}
html[data-theme="dark"] .steps-bg,html[data-theme="dark"] .cta-sec{background:#121722!important;border-color:var(--line)!important}
html[data-theme="dark"] .step-n{color:#3b344b!important}
html[data-theme="dark"] .seller-box{background:radial-gradient(circle at 90% 10%,rgba(173,135,235,.16),transparent 35%),linear-gradient(125deg,#171321,#282039)!important}
html[data-theme="dark"] .pimg{background:#202735!important}
html[data-theme="dark"] .pdd-product-card .pdd-media{background:#202735!important;border-color:#303a4b!important}
html[data-theme="dark"] .pdd-product-card .pdd-media img{background:#fff;border-radius:12px}
html[data-theme="dark"] .pdd-bottom-nav{background:rgba(20,24,33,.96)!important;border-color:var(--line)!important}
html[data-theme="dark"] :where(.pdd-home,.pdd-catalog,.pdd-product-page,.pdd-product-card,.pdd-cat-card,.pdd-modal,.pdd-sheet,.pdd-panel,.card,.modal,.sheet,.panel,.dropdown-menu,.popover){color:var(--ink)}
html[data-theme="dark"] :where(.pdd-modal,.pdd-sheet,.pdd-panel,.card,.modal,.sheet,.panel,.dropdown-menu,.popover){background:var(--surf);border-color:var(--line)}
html[data-theme="dark"] :where(input,select,textarea){background:var(--surf2);color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] :where(input,textarea,select)::placeholder{color:#9ba8bb;opacity:1}
html[data-theme="dark"] :where(.muted,.secondary,.description,.caption,.subtext,.meta,.pdd-subtitle,.pdd-f-l,.hint,.foot){color:var(--ink2)!important}
html[data-theme="dark"] a:not(.btn-fill):not(.btn-big):not(.btn-inv){color:inherit}
html[data-theme="dark"] .nav-cta,html[data-theme="dark"] .btn-fill,html[data-theme="dark"] .btn-big{background:#b99aff!important;color:#171020!important}
/* Responsive finishing */
@media(max-width:900px){.sec{padding-inline:24px!important}.feats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.steps{grid-template-columns:repeat(2,minmax(0,1fr))!important}.step:nth-child(2){border-right:0}.step:nth-child(-n+2){border-bottom:1px solid var(--line)}}
@media(max-width:700px){nav{height:62px!important;padding-inline:16px!important}.nav-links{display:none!important}.hero{min-height:auto!important;padding:108px 20px 64px!important}.hero-title{font-size:clamp(42px,12vw,64px)!important}.hero-sub{font-size:15px!important}.hero-btns{width:100%;margin-bottom:38px!important}.hero-btns>*{flex:1;justify-content:center;min-width:145px}.hero-stats{gap:22px!important}.stat-n{font-size:24px!important}.sec{padding:58px 18px!important}.feats{grid-template-columns:1fr!important;gap:12px!important}.feat{padding:22px!important}.steps{grid-template-columns:1fr!important}.step{border-right:0!important;border-bottom:1px solid var(--line)!important;padding:22px 18px!important}.step:last-child{border-bottom:0!important}.prods{margin-right:-18px;padding-right:18px}.pcard{width:184px!important}.seller-wrap{padding:0 14px 56px!important}.seller-box{padding:28px 22px!important;border-radius:22px!important}.sg{grid-template-columns:1fr!important;gap:28px!important}.snums{gap:9px!important}.snum{padding:15px!important}.sn-v{font-size:24px!important}.cta-sec{padding:58px 18px!important}.cta-h{font-size:clamp(30px,9vw,44px)!important}footer{padding:22px 18px!important;gap:12px;flex-wrap:wrap}.fcopy{width:100%}}
@media(max-width:390px){.hero-btns{flex-direction:column}.hero-btns>*{width:100%}.hero-stats{gap:14px!important}.stat-n{font-size:21px!important}.pcard{width:170px!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}
