/* PinDoDo v63.11 — Sharp Professional UI layer
   Additive. Loads last. No markup/logic changes required.
   Goals: clear hierarchy, high contrast dark, consistent 8px rhythm,
   readable text, refined profile, tiles, rows, bottom nav, forms,
   admin panel & content studio polish. */

:root{
  --p63-ink:#0F0E14;
  --p63-ink2:#55525F;
  --p63-mut:#8B8896;
  --p63-bg:#F6F5F9;
  --p63-surf:#FFFFFF;
  --p63-surf2:#F0EEF5;
  --p63-line:#E6E4ED;
  --p63-line-strong:#D4D1DC;
  --p63-brand:#6D3AF2;
  --p63-brand-ink:#5B2BDB;
  --p63-brand-wash:#F1ECFF;
  --p63-ok:#0E8A4F;
  --p63-ok-wash:#E4F8EE;
  --p63-warn:#B45309;
  --p63-danger:#C03545;

  --p63-r-sm:8px;
  --p63-r-md:12px;
  --p63-r-lg:16px;
  --p63-r-xl:20px;
  --p63-r-2xl:24px;

  --p63-sh-1:0 1px 2px rgba(15,14,20,.05),0 4px 12px rgba(15,14,20,.04);
  --p63-sh-2:0 4px 16px rgba(15,14,20,.07),0 1px 2px rgba(15,14,20,.04);
  --p63-sh-3:0 16px 40px rgba(15,14,20,.10);

  --bg:var(--p63-bg);
  --surf:var(--p63-surf);
  --line:var(--p63-line);
  --line2:var(--p63-line);
  --ink:var(--p63-ink);
  --ink2:var(--p63-ink2);
  --mut:var(--p63-mut);
}

html{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body{background:var(--p63-bg);color:var(--p63-ink);font-feature-settings:"tnum" 1,"cv11" 1}
.blob{display:none!important}

/* ── Landing / marketing ── */
nav{background:rgba(255,255,255,.88)!important;backdrop-filter:saturate(1.4) blur(12px);border-bottom:1px solid var(--p63-line);box-shadow:none!important;height:64px}
nav.scr{box-shadow:var(--p63-sh-1)!important}
.logo{font-weight:800;letter-spacing:-.02em}
.logo-mark{border-radius:var(--p63-r-sm)}
.nav-link{font-size:13px;font-weight:600;letter-spacing:.005em}
.nav-link.act::after{background:var(--p63-brand);height:2px}
.nav-cta,.nav-cta-ghost{border-radius:var(--p63-r-sm)!important;font-weight:700;font-size:13px;height:40px;padding:0 18px!important;display:inline-flex;align-items:center}
.nav-cta{background:var(--p63-ink)!important}
.nav-cta:hover{box-shadow:var(--p63-sh-2)!important;background:var(--p63-brand-ink)!important}
.nav-cta-ghost{border:1px solid var(--p63-line-strong)!important}

.btn-fill,.btn-big,.btn-ghost,.btn-inv{border-radius:var(--p63-r-md)!important;font-weight:700;letter-spacing:0;min-height:52px;transition:background .15s,border-color .15s,box-shadow .15s,transform .15s}
.btn-fill,.btn-big{background:var(--p63-ink)!important;box-shadow:var(--p63-sh-1)}
.btn-fill:hover,.btn-big:hover{background:var(--p63-brand-ink)!important;box-shadow:var(--p63-sh-2);transform:translateY(-1px)}
.btn-ghost{background:var(--p63-surf);border:1px solid var(--p63-line-strong)!important}
.btn-ghost:hover{border-color:var(--p63-ink)!important}
.btn-fill::after,.btn-big::after,.nav-cta::after{display:none}

.hero{padding-top:88px;padding-bottom:72px;gap:0}
.hero::before{background:radial-gradient(60% 50% at 80% 20%,rgba(109,58,242,.10),transparent 70%),radial-gradient(40% 40% at 0% 100%,rgba(109,58,242,.05),transparent 70%)!important}
.hero-pill{border-radius:var(--p63-r-sm)!important;background:var(--p63-surf)!important;backdrop-filter:none!important;border:1px solid var(--p63-line)!important;box-shadow:var(--p63-sh-1)!important;color:var(--p63-brand-ink)!important;font-size:11.5px;font-weight:700;letter-spacing:.06em;padding:7px 12px}
.hero-title{font-weight:800;line-height:1.02!important;letter-spacing:-.035em!important;font-size:clamp(40px,6.2vw,76px)!important}
.hero-title em{background:none!important;-webkit-text-fill-color:var(--p63-brand)!important;color:var(--p63-brand)!important}
.hero-sub{font-size:clamp(16px,1.6vw,18px)!important;line-height:1.6!important;color:var(--p63-ink2)!important;max-width:520px!important}
.hero-pay .hp-i{border-radius:var(--p63-r-sm)!important;background:var(--p63-surf);border:1px solid var(--p63-line);font-weight:600;font-size:12px;padding:6px 10px}
.hero-stats{gap:12px!important}
.hero-stats>div{background:var(--p63-surf)!important;backdrop-filter:none!important;border:1px solid var(--p63-line)!important;border-radius:var(--p63-r-md)!important;box-shadow:var(--p63-sh-1);padding:16px 20px!important;min-width:128px}
.hero-stats>div:hover{transform:none;box-shadow:var(--p63-sh-2)}
.stat-n{font-weight:800;letter-spacing:-.03em;font-size:26px}
.stat-n span{color:var(--p63-brand)}
.stat-l{font-size:10.5px;letter-spacing:.08em;color:var(--p63-mut)}

.phone{border-radius:40px;box-shadow:var(--p63-sh-3),0 0 0 1px rgba(255,255,255,.08) inset;animation:none!important;transform:none!important}
.phone::after{display:none}
.ph-scr{border-radius:30px}
.ph-float{border-radius:var(--p63-r-md);border:1px solid var(--p63-line);box-shadow:var(--p63-sh-2);animation:none!important}
.ph-f1{left:-130px;top:24px}
.ph-f2{right:-70px;bottom:96px}
@media(max-width:1100px){.ph-f1{left:-56px;top:28px}.ph-f2{right:-36px}}

.tape{background:var(--p63-ink)!important;border-block:1px solid #000}
.tape-in{font-weight:700;letter-spacing:.04em;text-shadow:none}

.sec{padding-top:88px;padding-bottom:88px;max-width:1200px}
.sec-tag{border-radius:var(--p63-r-sm)!important;background:var(--p63-brand-wash)!important;color:var(--p63-brand-ink)!important;font-size:11px;letter-spacing:.12em;padding:6px 10px!important}
.sec-p{color:var(--p63-ink2)!important;font-size:16px;line-height:1.65;max-width:560px}
.feat:hover,.rev:hover{border-color:var(--p63-line-strong)!important;box-shadow:var(--p63-sh-2)!important;transform:translateY(-2px)}
.feat-p,.step-p{font-size:13.5px;line-height:1.6;color:var(--p63-ink2)}
.step-n{color:var(--p63-brand);opacity:.28;font-weight:800;letter-spacing:-.04em}
.prods .prod:hover,.prods .pcard:hover{border-color:var(--p63-line-strong)!important;box-shadow:var(--p63-sh-2)!important}
.prods .prod-badge{border-radius:6px!important;background:var(--p63-ink)!important;color:#fff!important;font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.prods .prod-price,.prods .pprice{font-weight:800;letter-spacing:-.02em;color:var(--p63-ink)!important}
.faq summary::after{color:var(--p63-brand)}
.faq details[open]{border-color:var(--p63-brand)!important;box-shadow:var(--p63-sh-2)!important}
.btn-inv{background:#fff!important;color:var(--p63-ink)!important}

/* ── App shell ── */
:where(.pdd-acc,.pdd-home,.pdd-catalog,.pdd-product-page,.scr){min-width:0}
:where(input,select,textarea,.pdd-f-i,.fi){
  border-radius:var(--p63-r-md);
  border:1px solid var(--p63-line-strong);
  background:var(--p63-surf);
  transition:border-color .15s,box-shadow .15s;
}
:where(input,select,textarea):focus{
  border-color:var(--p63-brand);
  box-shadow:0 0 0 3px rgba(109,58,242,.16);
}
:where(input,select,textarea):focus-visible{outline:none!important}
:where(table th){font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--p63-mut);font-weight:700}
:where(.pdd-toast){border-radius:var(--p63-r-md);box-shadow:var(--p63-sh-3)}

/* ── PROFILE / ACCOUNT ── */
.pdd-acc{
  padding:12px 14px 28px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:14px!important;
}

.pdd-hero{
  position:relative;
  border-radius:var(--p63-r-2xl)!important;
  padding:18px 16px 16px!important;
  color:#fff!important;
  overflow:hidden;
  background:linear-gradient(145deg,#4A1FA8 0%,#6C2BD9 48%,#8B3FF5 100%)!important;
  box-shadow:0 16px 36px rgba(108,43,217,.28)!important;
}
.pdd-hero::before{
  content:"";position:absolute;right:-50px;top:-60px;width:180px;height:180px;
  border-radius:50%;background:rgba(255,255,255,.10);
}
.pdd-hero::after{
  content:"";position:absolute;left:-36px;bottom:-80px;width:160px;height:160px;
  border-radius:50%;background:rgba(255,255,255,.06);
}
.pdd-hero>*{position:relative;z-index:1}

.pdd-hero-top{display:flex;align-items:center;gap:14px}
.pdd-hero-name{
  font-family:var(--di),Montserrat,system-ui,sans-serif;
  font-weight:800;font-size:19px;letter-spacing:-.02em;line-height:1.2;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff!important;
}
.pdd-hero-sub{
  display:flex;align-items:center;gap:6px;
  font-size:13.5px;opacity:.9;margin-top:4px;color:#fff!important;
}
.pdd-hero-sub-muted{opacity:.72!important}

.pdd-hero-edit{
  width:42px;height:42px;border-radius:14px;
  border:1px solid rgba(255,255,255,.30)!important;
  background:rgba(255,255,255,.16)!important;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;flex-shrink:0;backdrop-filter:blur(6px);
  transition:background .15s,border-color .15s,transform .15s;
}
.pdd-hero-edit:hover,.pdd-hero-edit:active{
  background:rgba(255,255,255,.26)!important;
  border-color:rgba(255,255,255,.45)!important;
  transform:scale(1.03);
}

.pdd-hero-add-phone{
  display:inline-flex;align-items:center;gap:6px;margin-top:8px;
  padding:7px 12px;border-radius:10px;
  border:1px solid rgba(255,255,255,.35);
  background:rgba(255,255,255,.16);
  color:#fff;font-family:var(--bd),Inter,system-ui,sans-serif;
  font-weight:700;font-size:12.5px;cursor:pointer;
  backdrop-filter:blur(4px);
  transition:background .15s,border-color .15s,transform .15s;
}
.pdd-hero-add-phone:hover,.pdd-hero-add-phone:active{
  background:rgba(255,255,255,.26);
  border-color:rgba(255,255,255,.5);
  transform:translateY(-1px);
}

.pdd-hero-stats{
  display:grid!important;
  grid-template-columns:repeat(3,1fr)!important;
  margin-top:16px!important;
  background:rgba(255,255,255,.14)!important;
  border-radius:14px!important;
  padding:12px 4px!important;
}
.pdd-hero-stats div{text-align:center;border-left:1px solid rgba(255,255,255,.18)}
.pdd-hero-stats div:first-child{border-left:0}
.pdd-hero-stats b{
  display:block;font-family:var(--di),Montserrat,system-ui,sans-serif;
  font-weight:800;font-size:16.5px;letter-spacing:-.015em;color:#fff!important;
}
.pdd-hero-stats span{
  display:block;font-size:11px;opacity:.82;margin-top:2px;color:rgba(255,255,255,.9)!important;
}

.pdd-hero-guest h2{
  font-family:var(--di),Montserrat,system-ui,sans-serif;
  font-weight:800;font-size:21px;letter-spacing:-.02em;line-height:1.25;
  margin:2px 0 8px;max-width:280px;color:#fff!important;
}
.pdd-hero-guest p{
  font-size:14px;line-height:1.5;opacity:.88;max-width:280px;margin-bottom:16px;color:#fff!important;
}
.pdd-hero-btn{
  display:flex;align-items:center;justify-content:center;gap:8px;
  width:100%;height:50px;border:0;border-radius:14px;
  background:#fff!important;color:#4A1FA8!important;
  font-family:var(--bd),Inter,system-ui,sans-serif;
  font-weight:800;font-size:15px;cursor:pointer;
  box-shadow:0 8px 20px rgba(20,8,60,.22);
  transition:transform .15s,box-shadow .15s;
}
.pdd-hero-btn:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(20,8,60,.28)}
.pdd-hero-btn:active{transform:scale(.98)}

/* Quick tiles */
.pdd-quick{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:10px!important;
}
.pdd-tile{
  position:relative;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:10px!important;
  padding:14px!important;
  border:1px solid transparent!important;
  border-radius:var(--p63-r-xl)!important;
  background:var(--p63-surf)!important;
  box-shadow:var(--p63-sh-1)!important;
  cursor:pointer;text-align:left;
  min-height:104px!important;
  transition:box-shadow .18s,transform .15s,border-color .15s;
}
.pdd-tile:hover{
  box-shadow:var(--p63-sh-2)!important;
  border-color:var(--p63-line)!important;
  transform:translateY(-1px);
}
.pdd-tile:active{transform:scale(.985)}
.pdd-tile-ico{
  width:40px;height:40px;border-radius:12px;
  background:var(--p63-brand-wash)!important;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.pdd-tile b{
  display:block;font-family:var(--bd),Inter,system-ui,sans-serif;
  font-weight:700;font-size:14px;color:var(--p63-ink)!important;letter-spacing:-.01em;
}
.pdd-tile small{
  display:block;font-size:12.5px;color:var(--p63-ink2)!important;margin-top:2px;
  line-height:1.35;
}

/* Section titles + lists */
.pdd-grp-t{
  font-family:var(--bd),Inter,system-ui,sans-serif;
  font-weight:700;font-size:11.5px;letter-spacing:.07em;text-transform:uppercase;
  color:var(--p63-mut)!important;
  margin:8px 6px 0!important;
}
.pdd-list{
  background:var(--p63-surf)!important;
  border-radius:var(--p63-r-xl)!important;
  box-shadow:var(--p63-sh-1)!important;
  overflow:hidden;
  border:1px solid transparent;
}
.pdd-row{
  width:100%;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  padding:13px 14px!important;
  border:0;background:none;cursor:pointer;text-align:left;
  border-top:1px solid var(--p63-line)!important;
  transition:background .12s;
  min-height:56px;
}
.pdd-row:first-child{border-top:0!important}
.pdd-row:hover{background:rgba(109,58,242,.04)}
.pdd-row:active{background:rgba(109,58,242,.07)}
.pdd-row-ico{
  width:38px;height:38px;border-radius:12px;
  background:var(--p63-surf2)!important;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;position:relative;
}
.pdd-row b{
  display:block;font-family:var(--bd),Inter,system-ui,sans-serif;
  font-weight:600;font-size:14.5px;color:var(--p63-ink)!important;
}
.pdd-row small{
  display:block;font-size:12.5px;color:var(--p63-ink2)!important;margin-top:1px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}

.pdd-seg{
  display:flex;background:var(--p63-surf2)!important;
  border-radius:12px;padding:3px;gap:2px;flex-shrink:0;
}
.pdd-seg button{
  padding:7px 12px;border-radius:9px;border:0;cursor:pointer;
  font-family:var(--bd),Inter,system-ui,sans-serif;
  font-weight:700;font-size:12.5px;
  background:transparent;color:var(--p63-ink2)!important;
  transition:background .12s,color .12s,box-shadow .12s;
}
.pdd-seg button.is-on{
  background:var(--p63-surf)!important;
  color:var(--p63-ink)!important;
  box-shadow:0 1px 4px rgba(15,14,20,.10);
}

.pdd-out{
  width:100%;height:50px;
  border:1.5px solid var(--p63-line-strong)!important;
  background:var(--p63-surf)!important;
  color:var(--p63-ink)!important;
  border-radius:var(--p63-r-lg)!important;
  font-family:var(--bd),Inter,system-ui,sans-serif;
  font-weight:700;font-size:14.5px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;gap:8px;
  transition:border-color .15s,background .15s,transform .15s;
}
.pdd-out:hover{border-color:var(--p63-ink)!important}
.pdd-out:active{transform:scale(.985)}

.pdd-del{
  align-self:center;border:0;background:none;
  color:var(--p63-mut)!important;
  font-family:var(--bd),Inter,system-ui,sans-serif;
  font-weight:600;font-size:13px;cursor:pointer;
  display:flex;align-items:center;gap:6px;padding:8px 12px;
  transition:color .15s;
}
.pdd-del:hover{color:var(--p63-danger)!important}
.pdd-ver{text-align:center;font-size:11.5px;color:var(--p63-mut)!important;margin-top:-2px}

/* Bottom navigation */
.pdd-bottom-nav,
:where(.bottom-nav,.bottom-navigation){
  background:rgba(255,255,255,.92)!important;
  backdrop-filter:saturate(1.3) blur(14px);
  border-top:1px solid var(--p63-line)!important;
  box-shadow:0 -4px 24px rgba(15,14,20,.04)!important;
  padding-bottom:env(safe-area-inset-bottom,0px);
}
.pdd-bottom-nav a,
.pdd-bottom-nav button{
  color:var(--p63-ink2)!important;
  font-weight:600;font-size:10.5px;
  transition:color .12s;
}
.pdd-bottom-nav .active,
.pdd-bottom-nav [aria-current="page"]{
  color:var(--p63-brand)!important;
}

/* Product cards */
.pdd-product-card{
  border-radius:var(--p63-r-xl)!important;
  border:1px solid rgba(15,14,20,.06)!important;
  box-shadow:var(--p63-sh-1)!important;
  transition:box-shadow .2s,transform .15s,border-color .2s!important;
}
.pdd-product-card:hover{
  box-shadow:var(--p63-sh-2)!important;
  border-color:rgba(109,58,242,.18)!important;
  transform:translateY(-2px);
}
.pdd-product-card:active{transform:scale(.985)}

/* ── DARK THEME ── */
html[data-theme="dark"]{
  color-scheme:dark;
  --p63-ink:#F5F4FA;
  --p63-ink2:#C5C2D0;
  --p63-mut:#9A96AC;
  --p63-bg:#0C0B11;
  --p63-surf:#16151E;
  --p63-surf2:#1E1C28;
  --p63-line:#2C2A38;
  --p63-line-strong:#3E3B4D;
  --p63-brand:#A78BFA;
  --p63-brand-ink:#C4B5FD;
  --p63-brand-wash:rgba(167,139,250,.16);
  --p63-ok-wash:rgba(14,138,79,.22);

  --ink:var(--p63-ink);
  --ink2:var(--p63-ink2);
  --mut:var(--p63-mut);
  --bg:var(--p63-bg);
  --surf:var(--p63-surf);
  --line:var(--p63-line);
  --line2:var(--p63-line);
}

html[data-theme="dark"] body,
html[data-theme="dark"] #root,
html[data-theme="dark"] .scr,
html[data-theme="dark"] .page,
html[data-theme="dark"] .pdd-acc,
html[data-theme="dark"] .pdd-home,
html[data-theme="dark"] .pdd-catalog,
html[data-theme="dark"] .pdd-product-page{
  background:var(--p63-bg)!important;
  color:var(--p63-ink)!important;
}

html[data-theme="dark"] :where(.pdd-row b,.pdd-tile b,.pdd-grp-t,.pdd-hero-name,.l-title,.l-name){
  color:var(--p63-ink)!important;
}
html[data-theme="dark"] :where(.pdd-row small,.pdd-tile small,.pdd-hero-sub,.pdd-f-l,.muted,.secondary,.meta,.caption,.subtext,.description){
  color:var(--p63-ink2)!important;
}

html[data-theme="dark"] :where(.pdd-list,.pdd-tile,.card,.pdd-sec,.pdd-modal,.pdd-sheet,.settings-card,.order-card,.wallet-card){
  background:var(--p63-surf)!important;
  border-color:var(--p63-line)!important;
  color:var(--p63-ink)!important;
  box-shadow:none!important;
}
html[data-theme="dark"] .pdd-list{border:1px solid var(--p63-line)!important}
html[data-theme="dark"] .pdd-tile{border:1px solid var(--p63-line)!important}
html[data-theme="dark"] .pdd-tile:hover{border-color:var(--p63-line-strong)!important;background:var(--p63-surf2)!important}
html[data-theme="dark"] .pdd-row{border-top-color:var(--p63-line)!important}
html[data-theme="dark"] .pdd-row:hover{background:rgba(167,139,250,.08)}
html[data-theme="dark"] .pdd-row-ico,
html[data-theme="dark"] .pdd-tile-ico,
html[data-theme="dark"] .pdd-seg{background:var(--p63-surf2)!important}
html[data-theme="dark"] .pdd-tile-ico{background:var(--p63-brand-wash)!important}

html[data-theme="dark"] .pdd-seg button{color:var(--p63-ink2)!important}
html[data-theme="dark"] .pdd-seg button.is-on{
  background:var(--p63-brand)!important;
  color:#0C0B11!important;
  box-shadow:none;
}

html[data-theme="dark"] :where(input,select,textarea,.pdd-f-i,.fi){
  background:var(--p63-surf2)!important;
  color:var(--p63-ink)!important;
  border-color:var(--p63-line)!important;
  caret-color:var(--p63-brand);
}
html[data-theme="dark"] :where(input,textarea)::placeholder{color:var(--p63-mut)!important;opacity:1}

html[data-theme="dark"] .pdd-bottom-nav,
html[data-theme="dark"] nav,
html[data-theme="dark"] :where(.bottom-nav,.bottom-navigation){
  background:rgba(12,11,17,.94)!important;
  border-color:var(--p63-line)!important;
  box-shadow:0 -4px 24px rgba(0,0,0,.25)!important;
}
html[data-theme="dark"] .pdd-bottom-nav a,
html[data-theme="dark"] .pdd-bottom-nav button{color:var(--p63-ink2)!important}
html[data-theme="dark"] .pdd-bottom-nav .active,
html[data-theme="dark"] .pdd-bottom-nav [aria-current="page"]{color:var(--p63-brand-ink)!important}

html[data-theme="dark"] .pdd-out{
  background:var(--p63-surf)!important;
  border-color:var(--p63-line-strong)!important;
  color:var(--p63-ink)!important;
}
html[data-theme="dark"] .pdd-del{color:var(--p63-mut)!important}
html[data-theme="dark"] .pdd-ver{color:var(--p63-mut)!important}

html[data-theme="dark"] .pdd-toast,
html[data-theme="dark"] [role="status"],
html[data-theme="dark"] [role="alert"]{
  background:var(--p63-surf2)!important;
  color:var(--p63-ink)!important;
  border:1px solid var(--p63-line);
}

html[data-theme="dark"] .pdd-product-card{
  background:var(--p63-surf)!important;
  border-color:var(--p63-line)!important;
  box-shadow:none!important;
}
html[data-theme="dark"] .pdd-product-card .pdd-media,
html[data-theme="dark"] .prods .prod-img,
html[data-theme="dark"] .prods .pimg{background:#1A1822!important}
html[data-theme="dark"] .pdd-product-card img,
html[data-theme="dark"] .prods img{background:#fff}

html[data-theme="dark"] .pdd-hero{box-shadow:0 18px 44px rgba(74,31,168,.45)!important}
html[data-theme="dark"] .pdd-hero-name,
html[data-theme="dark"] .pdd-hero-sub,
html[data-theme="dark"] .pdd-hero-stats b,
html[data-theme="dark"] .pdd-hero-stats span,
html[data-theme="dark"] .pdd-hero-guest h2,
html[data-theme="dark"] .pdd-hero-guest p{color:#fff!important}

html[data-theme="dark"] .nav-cta,
html[data-theme="dark"] .btn-fill,
html[data-theme="dark"] .btn-big{background:#fff!important;color:#0C0B11!important}
html[data-theme="dark"] .gico.g3{background:#23212C!important}
html[data-theme="dark"] nav{background:rgba(12,11,17,.9)!important}

/* Responsive */
@media(max-width:900px){
  .hero{padding-top:56px}
  .steps{grid-template-columns:1fr 1fr}
  .steps .step:nth-child(2){border-right:0!important}
  .steps .step:nth-child(-n+2){border-bottom:1px solid var(--p63-line)!important}
}
@media(max-width:640px){
  nav{height:56px}
  .sec{padding-top:56px;padding-bottom:56px}
  .hero-title{font-size:clamp(36px,11vw,48px)!important}
  .hero-btns{flex-direction:column;align-items:stretch;width:100%}
  .hero-btns>*{justify-content:center;width:100%}
  .hero-stats{display:grid!important;grid-template-columns:1fr 1fr!important;max-width:none}
  .hero-stats>div{min-width:0;padding:14px 16px!important}
  .steps{grid-template-columns:1fr}
  .steps .step{border-right:0!important;border-bottom:1px solid var(--p63-line)!important}
  .steps .step:last-child{border-bottom:0!important}
  .revs{grid-template-columns:1fr}
  .pdd-product-card:hover{transform:none}
}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    scroll-behavior:auto!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
}

/* Category cards without external images */
.pdd-cat-photo-v49.pdd-cat-photo-empty,
.pdd-cat-photo-empty{
  background:linear-gradient(145deg,rgba(109,58,242,.35),rgba(74,31,168,.55))!important;
}
html[data-theme="dark"] .pdd-cat-photo-v49.pdd-cat-photo-empty{
  background:linear-gradient(145deg,rgba(167,139,250,.25),rgba(74,31,168,.45))!important;
}
.pdd-category-card-v49 .pdd-cat-photo-v49 img[src=""],
.pdd-category-card-v49 .pdd-cat-photo-v49 img:not([src]){display:none!important}

/* Empty catalog state polish */
.pdd-empty,.empty-state{
  text-align:center;padding:40px 24px;color:var(--p63-ink2);
}

/* ═══════════════════════════════════════════════════════════
   V63.6 — 2026 Professional UI polish
   Clear hierarchy · soft depth · fast touch · empty states
   ═══════════════════════════════════════════════════════════ */

:root{
  --p66-ease:cubic-bezier(.22,1,.36,1);
  --p66-tap:44px;
}

/* App canvas */
.pdd-home,
.pdd-acc,
.pdd-catalog,
.pdd-product-page{
  max-width:560px;
  margin-left:auto;
  margin-right:auto;
}

/* Search bar — large, clear, modern */
.pdd-home form,
.pdd-home [class*="search"],
.pdd-catalog form{
  position:relative;
}
.pdd-home input[type="search"],
.pdd-home input[placeholder],
.pdd-home form input,
.pdd-search input,
.pdd-catalog input[type="search"]{
  width:100%!important;
  min-height:48px!important;
  border-radius:16px!important;
  border:1px solid var(--p63-line)!important;
  background:var(--p63-surf)!important;
  padding:0 48px 0 16px!important;
  font-size:15px!important;
  font-weight:500!important;
  color:var(--p63-ink)!important;
  box-shadow:var(--p63-sh-1)!important;
  transition:border-color .15s var(--p66-ease),box-shadow .15s var(--p66-ease)!important;
}
.pdd-home input:focus,
.pdd-search input:focus,
.pdd-catalog input:focus{
  border-color:var(--p63-brand)!important;
  box-shadow:0 0 0 4px rgba(109,58,242,.14)!important;
  outline:none!important;
}

/* Quick chips under search */
.pdd-home button.press:not(.pdd-hero-btn):not(.pdd-tile):not(.pdd-qcard):not(.pdd-discount),
.pdd-home [class*="chip"]{
  border-radius:999px!important;
  font-weight:600!important;
  font-size:13px!important;
  letter-spacing:-.01em;
  transition:transform .15s var(--p66-ease),background .15s,border-color .15s!important;
}
.pdd-home > div > div > button,
.pdd-home div[style*="gap"] > button{
  min-height:36px;
}

/* Hero promo banner on home */
.pdd-home [style*="linear-gradient"],
.pdd-home .pdd-hero,
.pdd-home section[style*="gradient"]{
  border-radius:22px!important;
}

/* AI + Bonus action cards */
.pdd-home button.press[style*="card-dark"],
.pdd-home button.press[style*="var(--surf)"]{
  border-radius:18px!important;
  box-shadow:var(--p63-sh-1)!important;
  transition:transform .15s var(--p66-ease),box-shadow .15s!important;
}
.pdd-home button.press:active{
  transform:scale(.98)!important;
}

/* Categories 2026 */
.pdd-category-section-v49{
  padding:8px 0 4px!important;
}
.pdd-cat-head-v49{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding:0 16px 12px!important;
}
.pdd-cat-title-v49{
  margin:0!important;
  font-family:var(--di),Montserrat,system-ui,sans-serif!important;
  font-weight:800!important;
  font-size:20px!important;
  letter-spacing:-.03em!important;
  color:var(--p63-ink)!important;
  line-height:1.15!important;
}
.pdd-cat-subtitle-v49{
  margin-top:4px!important;
  font-size:13px!important;
  color:var(--p63-ink2)!important;
  font-weight:500!important;
}
.pdd-cat-all-action-v49{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  border:0!important;
  background:transparent!important;
  color:var(--p63-brand)!important;
  font-weight:700!important;
  font-size:13.5px!important;
  cursor:pointer!important;
  padding:8px 4px!important;
  white-space:nowrap!important;
}
.pdd-category-layout-v49{
  display:grid!important;
  grid-template-columns:1.2fr 1fr 1fr!important;
  grid-auto-rows:minmax(112px,auto)!important;
  gap:10px!important;
  padding:0 16px 8px!important;
}
.pdd-category-card-v49{
  position:relative!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:18px!important;
  min-height:112px!important;
  padding:0!important;
  cursor:pointer!important;
  text-align:left!important;
  box-shadow:var(--p63-sh-1)!important;
  transition:transform .18s var(--p66-ease),box-shadow .18s!important;
}
.pdd-category-card-v49.is-all{
  grid-row:span 2!important;
  min-height:100%!important;
  background:linear-gradient(155deg,#4A1FA8 0%,#6D3AF2 55%,#9B78FF 100%)!important;
}
.pdd-category-card-v49.tone-peach{background:linear-gradient(155deg,#F6C7A5,#E8A07A)!important}
.pdd-category-card-v49.tone-blue{background:linear-gradient(155deg,#A8C5F0,#7BA3E0)!important}
.pdd-category-card-v49.tone-pink{background:linear-gradient(155deg,#F0B8D0,#E08AB0)!important}
.pdd-category-card-v49.tone-lilac{background:linear-gradient(155deg,#D4C4F5,#B39AE8)!important}
.pdd-category-card-v49.tone-mint{background:linear-gradient(155deg,#B8E4D4,#7DCBB0)!important}
.pdd-category-card-v49:hover{
  transform:translateY(-2px)!important;
  box-shadow:var(--p63-sh-2)!important;
}
.pdd-category-card-v49:active{transform:scale(.98)!important}
.pdd-cat-photo-v49{
  position:absolute!important;
  inset:0!important;
  opacity:.35!important;
}
.pdd-cat-photo-empty{
  background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.35),transparent 55%)!important;
  opacity:1!important;
}
.pdd-cat-overlay-v49{
  position:absolute!important;
  inset:0!important;
  background:linear-gradient(180deg,transparent 20%,rgba(15,14,20,.28) 100%)!important;
  pointer-events:none!important;
}
.pdd-cat-card-copy-v49{
  position:relative!important;
  z-index:2!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:6px!important;
  padding:14px!important;
  height:100%!important;
  color:#fff!important;
}
.pdd-cat-card-copy-v49 strong{
  font-family:var(--di),Montserrat,system-ui,sans-serif!important;
  font-weight:800!important;
  font-size:15px!important;
  letter-spacing:-.02em!important;
  color:#fff!important;
}
.pdd-cat-card-sub-v49{
  font-size:11.5px!important;
  line-height:1.35!important;
  opacity:.9!important;
  color:rgba(255,255,255,.92)!important;
  max-width:14em!important;
}
.pdd-cat-icon-v49{
  width:36px!important;height:36px!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.2)!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  backdrop-filter:blur(6px);
  margin-bottom:2px!important;
}
.pdd-cat-arrow-v49{
  margin-top:auto!important;
  width:28px!important;height:28px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.22)!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
}
.pdd-category-card-v49:not(.is-all) .pdd-cat-card-copy-v49 strong,
.pdd-category-card-v49:not(.is-all) .pdd-cat-card-sub-v49{
  color:#1a1528!important;
}
.pdd-category-card-v49:not(.is-all) .pdd-cat-card-sub-v49{opacity:.75!important}
.pdd-category-card-v49:not(.is-all) .pdd-cat-icon-v49{
  background:rgba(255,255,255,.55)!important;
}
.pdd-category-card-v49:not(.is-all) .pdd-cat-arrow-v49{
  background:rgba(255,255,255,.65)!important;
}
.pdd-category-card-v49:not(.is-all) .pdd-cat-overlay-v49{
  background:linear-gradient(180deg,transparent 40%,rgba(15,14,20,.08) 100%)!important;
}

@media(max-width:400px){
  .pdd-category-layout-v49{
    grid-template-columns:1fr 1fr!important;
  }
  .pdd-category-card-v49.is-all{
    grid-column:1 / -1!important;
    grid-row:span 1!important;
    min-height:120px!important;
  }
}

/* Empty catalog — clear & calm */
.pdd-catalog-grid:empty::after,
.pdd-home .pdd-catalog-grid:empty::after{
  content:"Каталог бос · Жақында жаңа тауарлар";
  display:block;
  grid-column:1 / -1;
  text-align:center;
  padding:48px 20px;
  color:var(--p63-mut);
  font-weight:600;
  font-size:14px;
  background:var(--p63-surf);
  border-radius:20px;
  border:1px dashed var(--p63-line);
}
html[data-theme="dark"] .pdd-catalog-grid:empty::after,
html[data-theme="dark"] .pdd-home .pdd-catalog-grid:empty::after{
  content:"Каталог пуст · Скоро новые товары";
}

/* Bottom nav — floating 2026 feel */
.pdd-bottom-nav,
:where(.bottom-nav,.bottom-navigation){
  left:0;right:0;
  padding:6px 10px calc(6px + env(safe-area-inset-bottom,0px))!important;
  background:rgba(255,255,255,.88)!important;
  backdrop-filter:saturate(1.5) blur(20px)!important;
  -webkit-backdrop-filter:saturate(1.5) blur(20px)!important;
  border-top:1px solid rgba(15,14,20,.06)!important;
  box-shadow:0 -8px 32px rgba(15,14,20,.06)!important;
}
.pdd-bottom-nav a,
.pdd-bottom-nav button{
  min-height:var(--p66-tap)!important;
  border-radius:14px!important;
  gap:2px!important;
  font-size:10px!important;
  font-weight:650!important;
  letter-spacing:.01em!important;
  transition:color .12s,background .12s,transform .12s!important;
}
.pdd-bottom-nav .active,
.pdd-bottom-nav [aria-current="page"]{
  color:var(--p63-brand)!important;
  background:var(--p63-brand-wash)!important;
}
html[data-theme="dark"] .pdd-bottom-nav,
html[data-theme="dark"] :where(.bottom-nav,.bottom-navigation){
  background:rgba(12,11,17,.92)!important;
  border-top-color:var(--p63-line)!important;
  box-shadow:0 -8px 32px rgba(0,0,0,.35)!important;
}
html[data-theme="dark"] .pdd-bottom-nav .active,
html[data-theme="dark"] .pdd-bottom-nav [aria-current="page"]{
  background:rgba(167,139,250,.16)!important;
  color:var(--p63-brand-ink)!important;
}

/* Top bar */
.pdd-topbar,[class*="TopBar"],header.top{
  backdrop-filter:blur(12px);
}

/* Profile refinements */
.pdd-acc{padding-bottom:calc(28px + env(safe-area-inset-bottom,0px))!important}
.pdd-hero{
  border-radius:24px!important;
  box-shadow:0 20px 48px rgba(108,43,217,.28)!important;
}
.pdd-tile{
  border-radius:18px!important;
  min-height:108px!important;
  padding:16px!important;
}
.pdd-tile-ico{
  width:42px!important;height:42px!important;
  border-radius:14px!important;
}
.pdd-list{border-radius:18px!important}
.pdd-row{min-height:58px!important;padding:14px 16px!important}
.pdd-row-ico{width:40px!important;height:40px!important;border-radius:13px!important}
.pdd-grp-t{
  font-size:11px!important;
  letter-spacing:.08em!important;
  margin:12px 8px 2px!important;
  opacity:.9;
}

/* Buttons global polish */
button,a.btn,[role="button"]{
  -webkit-tap-highlight-color:transparent;
}
button:focus-visible,a:focus-visible{
  outline:3px solid color-mix(in srgb,var(--p63-brand) 55%,transparent);
  outline-offset:2px;
}

/* Scrollbar subtle */
.scr::-webkit-scrollbar{width:0;height:0}

/* Dark: category text on pastel still readable */
html[data-theme="dark"] .pdd-category-card-v49:not(.is-all) .pdd-cat-card-copy-v49 strong{
  color:#1a1528!important;
}
html[data-theme="dark"] .pdd-cat-title-v49{color:var(--p63-ink)!important}
html[data-theme="dark"] .pdd-cat-subtitle-v49{color:var(--p63-ink2)!important}

/* Home header logo area */
.pdd-home [style*="fontWeight: 800"],
.pdd-home [style*="font-weight:800"]{
  letter-spacing:-.03em!important;
}

/* Smooth page enter */
.pdd-home,.pdd-acc,.pdd-catalog{
  animation:p66In .32s var(--p66-ease) both;
}
@keyframes p66In{
  from{opacity:0;transform:translateY(6px)}
  to{opacity:1;transform:none}
}
@media(prefers-reduced-motion:reduce){
  .pdd-home,.pdd-acc,.pdd-catalog{animation:none!important}
}

.pdd-empty-catalog{
  grid-column:1 / -1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-align:center;
  padding:48px 28px;
  margin:0 16px;
  border-radius:22px;
  background:var(--p63-surf);
  border:1px solid var(--p63-line);
  box-shadow:var(--p63-sh-1);
}
.pdd-empty-ico{
  width:56px;height:56px;border-radius:18px;
  background:var(--p63-brand-wash);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:4px;
}
.pdd-empty-catalog strong{
  font-family:var(--di),Montserrat,system-ui,sans-serif;
  font-weight:800;font-size:17px;letter-spacing:-.02em;
  color:var(--p63-ink);
}
.pdd-empty-catalog span{
  font-size:13.5px;line-height:1.5;color:var(--p63-ink2);
  max-width:280px;
}
html[data-theme="dark"] .pdd-empty-catalog{
  background:var(--p63-surf);
  border-color:var(--p63-line);
}

/* ═══════════════════════════════════════════════════════════
   V63.7 — Deeper polish: catalog · cart · empty · pills · toast
   ═══════════════════════════════════════════════════════════ */

/* Catalog header row */
.pdd-catalog,
.pdd-catalog > div{
  max-width:560px;
  margin-left:auto;
  margin-right:auto;
}

/* Search field in catalog */
.pdd-catalog [style*="flex: 1"] input,
.pdd-catalog input{
  font-size:15px!important;
  font-weight:500!important;
}

/* Category pills */
.pdd-catalog [style*="overflowX"] > button,
.pdd-catalog button[class*="pill"],
.pdd-pill,
button.pdd-pill{
  border-radius:999px!important;
  padding:8px 14px!important;
  font-weight:650!important;
  font-size:13px!important;
  letter-spacing:-.01em!important;
  border:1px solid var(--p63-line)!important;
  background:var(--p63-surf)!important;
  color:var(--p63-ink2)!important;
  white-space:nowrap!important;
  transition:background .15s,color .15s,border-color .15s,transform .12s!important;
}
.pdd-catalog [style*="overflowX"] > button[style*="ink"],
.pdd-pill.is-on,
button.pdd-pill.active{
  background:var(--p63-ink)!important;
  color:#fff!important;
  border-color:var(--p63-ink)!important;
}
html[data-theme="dark"] .pdd-catalog [style*="overflowX"] > button{
  background:var(--p63-surf2)!important;
  border-color:var(--p63-line)!important;
  color:var(--p63-ink2)!important;
}

/* Filter sheet chips */
.pdd-filter-sheet button{
  border-radius:12px!important;
  font-weight:650!important;
  transition:transform .12s,background .15s,border-color .15s!important;
}
.pdd-filter-sheet button:active{transform:scale(.97)}

/* Filter icon button */
.pdd-catalog-filter-btn{
  border-radius:14px!important;
  width:48px!important;
  height:48px!important;
  box-shadow:var(--p63-sh-1)!important;
  transition:background .15s,transform .12s,box-shadow .15s!important;
}
.pdd-catalog-filter-btn:active{transform:scale(.96)}

/* Empty component */
.pdd-empty,
[class*="Empty"],
div[class*="empty"]{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:10px;
  padding:56px 28px 40px!important;
}
.pdd-empty strong,
.pdd-empty h3{
  font-family:var(--di),Montserrat,system-ui,sans-serif;
  font-weight:800;
  font-size:18px;
  letter-spacing:-.02em;
  color:var(--p63-ink);
  margin:0;
}
.pdd-empty p,
.pdd-empty span{
  font-size:14px;
  line-height:1.5;
  color:var(--p63-ink2);
  max-width:280px;
  margin:0;
}

/* Cart screen */
.pdd-cart,
[class*="cart-screen"]{
  max-width:560px;
  margin:0 auto;
}
.pdd-cart-item,
.cart-line,
[class*="cart-row"]{
  border-radius:16px!important;
  background:var(--p63-surf)!important;
  border:1px solid var(--p63-line)!important;
  padding:12px!important;
  margin-bottom:10px!important;
}

/* Sticky checkout bar */
.pdd-checkout-bar,
[class*="checkout-bar"],
[class*="cart-footer"]{
  backdrop-filter:blur(16px);
  background:rgba(255,255,255,.92)!important;
  border-top:1px solid var(--p63-line)!important;
  padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))!important;
  box-shadow:0 -8px 28px rgba(15,14,20,.06)!important;
}
html[data-theme="dark"] .pdd-checkout-bar,
html[data-theme="dark"] [class*="checkout-bar"],
html[data-theme="dark"] [class*="cart-footer"]{
  background:rgba(12,11,17,.94)!important;
  border-top-color:var(--p63-line)!important;
}

/* Primary CTA */
.pdd-cta,
button.pdd-cta,
[class*="btn-primary"]{
  min-height:52px!important;
  border-radius:16px!important;
  font-weight:800!important;
  font-size:15.5px!important;
  letter-spacing:-.01em!important;
  background:var(--p63-ink)!important;
  color:#fff!important;
  border:0!important;
  box-shadow:var(--p63-sh-1)!important;
  transition:transform .15s,background .15s,box-shadow .15s!important;
}
.pdd-cta:hover,
button.pdd-cta:hover{
  background:var(--p63-brand-ink)!important;
  box-shadow:var(--p63-sh-2)!important;
}
.pdd-cta:active{transform:scale(.985)!important}
html[data-theme="dark"] .pdd-cta,
html[data-theme="dark"] button.pdd-cta{
  background:#fff!important;
  color:#0C0B11!important;
}

/* Toasts */
.pdd-toast,
[role="status"].toast{
  border-radius:16px!important;
  padding:14px 16px!important;
  font-weight:600!important;
  font-size:14px!important;
  box-shadow:var(--p63-sh-3)!important;
  border:1px solid var(--p63-line)!important;
  backdrop-filter:blur(12px);
}

/* Section headers */
.pdd-home h2,
.pdd-sec-h,
[class*="SecHead"]{
  font-family:var(--di),Montserrat,system-ui,sans-serif!important;
  font-weight:800!important;
  letter-spacing:-.025em!important;
  color:var(--p63-ink)!important;
}

/* Home vertical rhythm */
.pdd-home{
  padding-bottom:calc(28px + env(safe-area-inset-bottom,0px))!important;
}
.pdd-home > div{
  gap:12px!important;
}

/* Soft separators */
.pdd-home hr,
.pdd-catalog hr{
  border:0;
  border-top:1px solid var(--p63-line);
  margin:8px 16px;
}

/* Skeleton-like quiet placeholders for missing media */
.pdd-cat-photo-empty,
.pdd-media:empty,
.pdd-img-wrap:empty{
  background:
    radial-gradient(circle at 25% 20%,rgba(255,255,255,.4),transparent 50%),
    linear-gradient(145deg,rgba(109,58,242,.2),rgba(74,31,168,.35))!important;
}

/* Desktop comfort */
@media(min-width:768px){
  .pdd-home,.pdd-acc,.pdd-catalog,.pdd-product-page,.pdd-cart{
    padding-left:8px;
    padding-right:8px;
  }
  .pdd-bottom-nav{
    max-width:560px;
    margin:0 auto;
    left:0;right:0;
    border-radius:20px 20px 0 0;
  }
}

/* Reduce motion already handled; ensure press feedback is subtle */
.press{
  transition:transform .14s cubic-bezier(.22,1,.36,1),opacity .14s!important;
}
.press:active{
  transform:scale(.98)!important;
  opacity:.92;
}

/* ═══════════════════════════════════════════════════════════
   V63.8 — Cart · Checkout · Auth polish
   ═══════════════════════════════════════════════════════════ */

.pdd-cart,
.pdd-checkout{
  max-width:560px;
  margin:0 auto;
  min-height:100%;
}

/* Summary card in cart */
.pdd-cart [style*="borderRadius: 20"],
.pdd-cart [style*="border-radius: 20"]{
  border-radius:18px!important;
  border:1px solid var(--p63-line)!important;
  box-shadow:var(--p63-sh-1)!important;
}

/* Checkout option cards */
.pdd-opt{
  border-radius:16px!important;
  border:1.5px solid var(--p63-line)!important;
  background:var(--p63-surf)!important;
  transition:border-color .15s,box-shadow .15s,background .15s,transform .12s!important;
  padding:14px!important;
}
.pdd-opt[data-on="1"],
.pdd-opt.is-on{
  border-color:var(--p63-brand)!important;
  background:var(--p63-brand-wash)!important;
  box-shadow:0 0 0 3px rgba(109,58,242,.12)!important;
}
.pdd-opt:active{transform:scale(.99)}
.pdd-opt-t{
  font-weight:700!important;
  font-size:14.5px!important;
  color:var(--p63-ink)!important;
}
.pdd-opt-s{
  font-size:12.5px!important;
  color:var(--p63-ink2)!important;
  line-height:1.4!important;
}
.pdd-opt-ico{
  width:40px!important;height:40px!important;
  border-radius:12px!important;
  background:var(--p63-surf2)!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
}
.pdd-radio[data-on="1"]{
  border-color:var(--p63-brand)!important;
}

/* Pay bar */
.pdd-pay-bar{
  position:sticky;
  bottom:0;
  z-index:30;
  padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px))!important;
  background:color-mix(in srgb,var(--p63-bg) 90%,transparent)!important;
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-top:1px solid var(--p63-line)!important;
  box-shadow:0 -10px 30px rgba(15,14,20,.06)!important;
}
html[data-theme="dark"] .pdd-pay-bar{
  background:rgba(12,11,17,.94)!important;
}

/* Form fields in checkout */
.pdd-checkout .pdd-f,
.pdd-checkout .pdd-f-i,
.pdd-cart .pdd-f-i{
  border-radius:14px!important;
}
.pdd-f-l{
  font-weight:600!important;
  font-size:12.5px!important;
  color:var(--p63-ink2)!important;
  margin-bottom:6px!important;
}

/* Notes / info blocks */
.pdd-note{
  border-radius:14px!important;
  background:var(--p63-brand-wash)!important;
  border:1px solid color-mix(in srgb,var(--p63-brand) 22%,transparent)!important;
  color:var(--p63-ink)!important;
  padding:12px 14px!important;
  font-size:13px!important;
  line-height:1.45!important;
}

/* Section blocks */
.pdd-sec{
  border-radius:18px!important;
  background:var(--p63-surf)!important;
  border:1px solid var(--p63-line)!important;
  padding:16px!important;
  margin-bottom:12px!important;
  box-shadow:var(--p63-sh-1)!important;
}
.pdd-sec-h{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
  font-weight:800;
  font-size:15px;
  letter-spacing:-.015em;
  color:var(--p63-ink);
}
.pdd-sec-ico{
  width:36px;height:36px;border-radius:11px;
  background:var(--p63-brand-wash);
  display:flex;align-items:center;justify-content:center;
}

/* Lines / order summary */
.pdd-lines{
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:13.5px;
  color:var(--p63-ink2);
}
.pdd-lines b,
.pdd-lines strong{
  color:var(--p63-ink);
  font-weight:700;
}

/* Auth pages */
.telegram-auth-wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  padding:8px 0 4px;
}
#telegramAuthError{
  border-radius:12px!important;
  padding:10px 12px!important;
  font-size:13px!important;
  line-height:1.4!important;
}
html[data-theme="dark"] #telegramAuthError{
  color:#ffb4ae!important;
  background:#3a2023!important;
  border:1px solid #653238!important;
}

/* Clear cart link */
.pdd-cart .pdd-topbar button,
.pdd-cart button[style*="Тазалау"]{
  border-radius:10px!important;
  padding:6px 10px!important;
  transition:background .12s,color .12s!important;
}
.pdd-cart .pdd-topbar button:hover{
  background:var(--p63-surf2)!important;
  color:var(--p63-danger)!important;
}

/* CTA disabled */
.pdd-cta.is-off,
.pdd-cta:disabled{
  opacity:.45!important;
  cursor:not-allowed!important;
  transform:none!important;
  box-shadow:none!important;
}
.pdd-cta.has-sub{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  gap:2px!important;
  padding:10px 18px!important;
}
.pdd-cta-sub{
  font-size:11.5px!important;
  font-weight:600!important;
  opacity:.75!important;
}

/* ═══════════════════════════════════════════════════════════
   V63.9 — Product · Notifications · Final consistency
   ═══════════════════════════════════════════════════════════ */

.pdd-product-page{
  max-width:560px;
  margin:0 auto;
  background:var(--p63-bg);
}

/* Floating round actions on product gallery */
.pdd-product-page button,
.pdd-product-page [class*="Round"]{
  -webkit-tap-highlight-color:transparent;
}
.pdd-product-page [style*="borderRadius: \"50%\""],
.pdd-product-page button[style*="border-radius: 50%"],
.pdd-product-page button[style*="borderRadius: \"50%\""]{
  box-shadow:var(--p63-sh-2)!important;
}

/* Product body panel */
.pdd-product-page > div:last-child,
.pdd-product-page [style*="borderRadius: 24"],
.pdd-product-page [style*="border-radius: 24"]{
  border-radius:24px 24px 0 0!important;
}

/* Tabs under product */
.pdd-product-page button[style*="borderBottom"]{
  transition:color .15s,border-color .15s!important;
}

/* Sticky add-to-cart area on product */
.pdd-product-page .pdd-cta,
.pdd-product-page [class*="PrimaryBtn"],
.pdd-product-page .pdd-pay-bar{
  border-radius:16px!important;
}

/* Color / size chips on product */
.pdd-product-page [style*="borderRadius: 10"],
.pdd-product-page [style*="border-radius: 10"]{
  transition:background .12s,border-color .12s,transform .12s!important;
}

/* Notifications list */
.pdd-notifs{
  max-width:560px;
  margin:0 auto;
}
.pdd-notifs button[style*="borderBottom"],
.pdd-notifs button[style*="border-bottom"]{
  border-radius:14px!important;
  border-bottom:0!important;
  background:var(--p63-surf)!important;
  margin-bottom:8px!important;
  padding:14px!important;
  border:1px solid var(--p63-line)!important;
  transition:background .12s,transform .12s!important;
}
.pdd-notifs button[style*="borderBottom"]:active{
  transform:scale(.99);
}
html[data-theme="dark"] .pdd-notifs button[style*="borderBottom"]{
  background:var(--p63-surf)!important;
  border-color:var(--p63-line)!important;
}

/* Unread dot */
.pdd-notifs span[style*="width: 10"]{
  box-shadow:0 0 0 2px var(--p63-surf);
}

/* Catalog page spacing */
.pdd-catalog{
  padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))!important;
}
.pdd-catalog .pdd-catalog-grid,
.pdd-catalog [style*="minmax(160px"]{
  padding:0 16px 16px!important;
  gap:14px!important;
}

/* Home header icons (bell / heart) */
.pdd-home button[style*="borderRadius"],
.pdd-home [style*="width: 40"]{
  transition:transform .12s,background .12s!important;
}

/* Skeleton polish if shown */
[class*="Skeleton"]{
  border-radius:16px!important;
  background:linear-gradient(90deg,var(--p63-surf2),var(--p63-surf),var(--p63-surf2))!important;
  background-size:200% 100%!important;
  animation:p66shimmer 1.2s ease infinite!important;
}
@keyframes p66shimmer{
  0%{background-position:100% 0}
  100%{background-position:-100% 0}
}

/* Global selection color */
::selection{
  background:rgba(109,58,242,.22);
  color:var(--p63-ink);
}

/* Safer images: never broken icon */
img{
  max-width:100%;
}
img[src=""],img:not([src]){
  visibility:hidden;
}

/* ═══════════════════════════════════════════════════════════
   V63.10 — AI Assistant · Bonus · Seller
   ═══════════════════════════════════════════════════════════ */

.pdd-ai{
  max-width:560px;
  margin:0 auto;
  background:var(--p63-bg)!important;
}

/* AI header */
.pdd-ai > div:first-child{
  backdrop-filter:blur(12px);
  background:color-mix(in srgb,var(--p63-bg) 90%,transparent)!important;
}

/* Chat bubbles */
.pdd-ai [style*="borderRadius: 18"],
.pdd-ai [style*="border-radius: 18"],
.pdd-ai [style*="borderRadius:18"]{
  box-shadow:var(--p63-sh-1)!important;
}

/* Composer */
.pdd-ai textarea,
.pdd-ai input[type="text"]{
  border-radius:16px!important;
  border:1px solid var(--p63-line)!important;
  background:var(--p63-surf)!important;
  font-size:15px!important;
  min-height:48px!important;
}
.pdd-ai textarea:focus,
.pdd-ai input[type="text"]:focus{
  border-color:var(--p63-brand)!important;
  box-shadow:0 0 0 3px rgba(109,58,242,.14)!important;
  outline:none!important;
}

/* Suggestion chips in AI */
.pdd-ai .press{
  border-radius:999px!important;
  font-weight:650!important;
}

/* Typing indicator dots feel */
.pdd-ai [aria-label*="type"],
.pdd-ai .typing{
  opacity:.7;
}

/* Bonus */
.pdd-bonus{
  max-width:560px;
  margin:0 auto;
}
.pdd-bonus [style*="borderRadius: 20"],
.pdd-bonus [style*="border-radius: 20"]{
  border-radius:20px!important;
  box-shadow:var(--p63-sh-1)!important;
  border:1px solid var(--p63-line)!important;
}

/* Seller onboarding / shop */
.pdd-seller{
  max-width:560px;
  margin:0 auto;
}
.pdd-seller [style*="borderRadius"],
.pdd-seller .pdd-sec{
  transition:transform .12s,box-shadow .15s!important;
}
.pdd-seller .scr{
  max-width:560px;
  margin:0 auto;
}

/* Creator studio light polish */
.pdd-creator,
[class*="Creator"] .scr{
  max-width:560px;
  margin:0 auto;
}

/* Unified back buttons in custom headers */
.pdd-ai button[style*="borderRadius: \"50%\""],
.pdd-ai button[style*="border-radius: 50%"]{
  border-radius:14px!important;
  width:40px!important;
  height:40px!important;
  box-shadow:var(--p63-sh-1)!important;
}

/* Message list scroll comfort */
.pdd-ai [style*="overflowY"],
.pdd-ai [style*="overflow-y"]{
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
}

/* Dark AI surface */
html[data-theme="dark"] .pdd-ai{
  background:var(--p63-bg)!important;
}
html[data-theme="dark"] .pdd-ai > div:first-child{
  border-bottom-color:var(--p63-line)!important;
}

/* ═══════════════════════════════════════════════════════════
   V63.11 — Admin · Content Studio professional polish
   ═══════════════════════════════════════════════════════════ */

/* Admin panel refinements (when premium CSS is loaded) */
.sidebar{
  box-shadow:none!important;
}
html[data-theme="dark"] .sidebar{
  background:#0F0E14!important;
  border-right:1px solid var(--p63-line)!important;
}
.topbar{
  backdrop-filter:saturate(1.2) blur(16px);
  -webkit-backdrop-filter:saturate(1.2) blur(16px);
}
.card,
.kpi{
  border-radius:16px!important;
  transition:box-shadow .15s,border-color .15s;
}
html[data-theme="dark"] .card,
html[data-theme="dark"] .kpi{
  box-shadow:0 4px 20px rgba(0,0,0,.25)!important;
}
.btn-add,
.login-btn{
  border-radius:12px!important;
  font-weight:700!important;
  letter-spacing:-.01em;
}
.modal{
  border-radius:20px!important;
  box-shadow:0 24px 64px rgba(0,0,0,.3)!important;
}
html[data-theme="dark"] .modal{
  background:var(--p63-surf)!important;
  border:1px solid var(--p63-line)!important;
}

/* Content Studio / Creator screen */
.pdd-creator,
[data-screen="creator"],
.studio-wrap{
  max-width:560px;
  margin:0 auto;
}
.studio-wrap button,
.pdd-creator button{
  border-radius:14px!important;
  transition:transform .12s,box-shadow .12s!important;
}
.studio-wrap button:active,
.pdd-creator button:active{
  transform:scale(.98);
}
html[data-theme="dark"] .studio-wrap,
html[data-theme="dark"] .pdd-creator{
  background:var(--p63-bg)!important;
  color:var(--p63-ink)!important;
}

/* ═══════════════════════════════════════════════════════════
   V63.11d — Content Studio professional
   ═══════════════════════════════════════════════════════════ */

.pdd-creator{
  max-width:560px;
  margin:0 auto;
  background:var(--p63-bg)!important;
}
.pdd-creator section{
  margin-top:20px!important;
}
.pdd-creator [style*="borderRadius: 17"],
.pdd-creator [style*="border-radius: 17"]{
  border-radius:16px!important;
  border-color:var(--p63-line)!important;
  background:var(--p63-surf)!important;
}
.pdd-creator textarea,
.pdd-creator input{
  font-size:14.5px!important;
  line-height:1.55!important;
}
.pdd-creator button[style*="height: 50"],
.pdd-creator button[style*="height:46"]{
  border-radius:14px!important;
  transition:transform .12s,box-shadow .12s!important;
}
.pdd-creator button:active{
  transform:scale(.98)!important;
}
html[data-theme="dark"] .pdd-creator{
  background:var(--p63-bg)!important;
  color:var(--p63-ink)!important;
}
html[data-theme="dark"] .pdd-creator [style*="background: \"var(--surf)\""]{
  background:var(--p63-surf)!important;
  border-color:var(--p63-line)!important;
}

/* ═══════════════════════════════════════════════════════════
   V63.11f — Content Studio carousel & picker
   ═══════════════════════════════════════════════════════════ */

.pdd-creator [style*="scrollSnapAlign"]{
  scroll-snap-align:start;
  transition:transform .15s,box-shadow .15s;
}
.pdd-creator [style*="flex: \"0 0 78px\""]:hover,
.pdd-creator [style*="flex:0 0 78px"]:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(0,0,0,.12);
}
html[data-theme="dark"] .pdd-creator [style*="flex: \"0 0 78px\""]:hover{
  box-shadow:0 6px 16px rgba(0,0,0,.4);
}

/* Product picker sheet */
.pdd-creator ~ div[style*="zIndex: 2147483000"],
div[style*="zIndex: 2147483000"]{
  backdrop-filter:blur(4px);
}
div[style*="borderRadius: \"26px 26px 0 0\""]{
  border-radius:24px 24px 0 0!important;
  background:var(--p63-bg)!important;
}
html[data-theme="dark"] div[style*="borderRadius: \"26px 26px 0 0\""]{
  background:var(--p63-surf)!important;
  border-top:1px solid var(--p63-line);
}

/* ═══════════════════════════════════════════════════════════
   V63.11g — Product · Cart · Profile final consistency
   ═══════════════════════════════════════════════════════════ */

.pdd-product-page,
.pdd-cart,
.pdd-profile,
.pdd-acc{
  max-width:560px;
  margin:0 auto;
}

/* Product gallery floating actions */
.pdd-product-page button[style*="border-radius: 50%"],
.pdd-product-page button[style*="borderRadius: \"50%\""]{
  box-shadow:var(--p63-sh-2)!important;
  transition:transform .12s!important;
}
.pdd-product-page button[style*="border-radius: 50%"]:active{
  transform:scale(.94);
}

/* Cart rows and CTA */
.pdd-cart .pdd-row,
.pdd-cart [class*="cart-item"]{
  border-radius:14px!important;
}
.pdd-cart .pdd-cta,
.pdd-cart button[style*="linear-gradient"]{
  border-radius:16px!important;
  font-weight:700!important;
}

/* Profile tiles and rows */
.pdd-profile .pdd-tile,
.pdd-acc .pdd-tile{
  border-radius:16px!important;
  transition:border-color .12s,transform .12s!important;
}
.pdd-profile .pdd-tile:active,
.pdd-acc .pdd-tile:active{
  transform:scale(.985);
}
.pdd-profile .pdd-row,
.pdd-acc .pdd-row{
  min-height:56px;
}

html[data-theme="dark"] .pdd-product-page,
html[data-theme="dark"] .pdd-cart,
html[data-theme="dark"] .pdd-profile,
html[data-theme="dark"] .pdd-acc{
  background:var(--p63-bg)!important;
}

/* ═══════════════════════════════════════════════════════════
   V63.11h — Auth · Onboarding · Bottom-nav final
   ═══════════════════════════════════════════════════════════ */

.pdd-bottom-nav{
  border-radius:0!important;
  box-shadow:0 -4px 24px rgba(0,0,0,.06)!important;
}
html[data-theme="dark"] .pdd-bottom-nav{
  box-shadow:0 -4px 24px rgba(0,0,0,.35)!important;
  background:rgba(12,11,17,.94)!important;
}
.pdd-nav-item{
  transition:transform .12s,opacity .12s!important;
}
.pdd-nav-item:active{
  transform:scale(.96);
}
.pdd-center-tab{
  border-radius:14px!important;
  transition:transform .15s!important;
}
.pdd-nav-item:hover .pdd-center-tab{
  transform:translateY(-1px);
}

/* Auth screens */
.telegram-auth-wrap,
.auth-card,
.login-card{
  border-radius:20px!important;
}
html[data-theme="dark"] .telegram-auth-wrap,
html[data-theme="dark"] .auth-card,
html[data-theme="dark"] .login-card{
  background:var(--p63-surf)!important;
  border-color:var(--p63-line)!important;
}

/* Onboarding / easy-start if present */
[class*="onboard"],
[class*="easy-start"]{
  border-radius:16px!important;
  max-width:560px;
  margin-left:auto;
  margin-right:auto;
}

/* ═══════════════════════════════════════════════════════════
   V63.12 — Not a marketplace · guided & calm
   ═══════════════════════════════════════════════════════════ */

/* Home: more air, less grid density */
.pdd-home{
  max-width:560px!important;
  margin:0 auto!important;
  padding:12px 16px 32px!important;
}
.pdd-home .pdd-catalog-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
}
@media(min-width:700px){
  .pdd-home .pdd-catalog-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

/* Softer product cards — less marketplace noise */
.pdd-product-card{
  background:transparent!important;
  border:none!important;
  box-shadow:none!important;
}
.pdd-product-card .pdd-media{
  border-radius:20px!important;
  border:none!important;
  box-shadow:0 4px 16px rgba(0,0,0,.06)!important;
}
html[data-theme="dark"] .pdd-product-card .pdd-media{
  box-shadow:0 4px 20px rgba(0,0,0,.35)!important;
}
.pdd-product-card:hover .pdd-media{
  transform:translateY(-3px)!important;
  box-shadow:0 8px 24px rgba(0,0,0,.1)!important;
}

/* Search: more prominent, rounded */
.pdd-home form{
  border-radius:20px!important;
  height:54px!important;
  border:none!important;
  background:var(--p63-surf)!important;
  box-shadow:0 2px 12px rgba(0,0,0,.06)!important;
}
html[data-theme="dark"] .pdd-home form{
  box-shadow:0 2px 12px rgba(0,0,0,.3)!important;
}

/* AI entry more inviting */
.pdd-ai,
[class*="ai-entry"],
button[onclick*="ai"],
a[href*="ai"]{
  border-radius:20px!important;
}

/* Bottom nav more floating and calm */
.pdd-bottom-nav{
  border-radius:24px 24px 0 0!important;
  margin:0 8px!important;
  width:calc(100% - 16px)!important;
  left:8px!important;
  right:8px!important;
  box-shadow:0 -8px 32px rgba(0,0,0,.08)!important;
}
html[data-theme="dark"] .pdd-bottom-nav{
  box-shadow:0 -8px 32px rgba(0,0,0,.4)!important;
}

/* ═══════════════════════════════════════════════════════════
   V63.12b — AI-first guided home
   ═══════════════════════════════════════════════════════════ */

/* Make AI / assistant entry the hero */
.pdd-home > div:first-child{
  padding-bottom:8px!important;
}

/* Soft category pills instead of dense tiles */
.pdd-category-section-v49,
[class*="pdd-cat"]{
  margin-top:8px!important;
}
.pdd-home [class*="category"] button,
.pdd-home [class*="cat-"]{
  border-radius:16px!important;
  background:var(--p63-surf)!important;
  border:1px solid var(--p63-line)!important;
  box-shadow:none!important;
  transition:transform .12s,border-color .12s!important;
}
.pdd-home [class*="category"] button:active,
.pdd-home [class*="cat-"]:active{
  transform:scale(.98);
}

/* Deals and popular as calm horizontal or spaced */
.pdd-home section,
.pdd-home [class*="section"]{
  margin-top:20px!important;
}

/* Personal discount banner softer */
.pdd-home [style*="accent"]{
  border-radius:18px!important;
}

/* Reduce visual competition from logos/icons */
.pdd-home img[src*="mark"]{
  border-radius:12px;
}

/* ═══════════════════════════════════════════════════════════
   V63.12c — Personal cart & profile
   ═══════════════════════════════════════════════════════════ */

/* Cart: more like a personal list */
.pdd-cart{
  max-width:560px!important;
  margin:0 auto!important;
  padding:8px 16px 24px!important;
}
.pdd-cart .pdd-row,
.pdd-cart [class*="item"],
.pdd-cart [class*="row"]{
  border-radius:18px!important;
  background:var(--p63-surf)!important;
  border:1px solid var(--p63-line)!important;
  margin-bottom:10px!important;
  padding:12px!important;
  box-shadow:0 2px 8px rgba(0,0,0,.04)!important;
}
html[data-theme="dark"] .pdd-cart .pdd-row,
html[data-theme="dark"] .pdd-cart [class*="item"]{
  box-shadow:none!important;
}

/* Profile: personal hub feel */
.pdd-acc,
.pdd-profile{
  max-width:560px!important;
  margin:0 auto!important;
  padding:12px 16px 32px!important;
}
.pdd-acc .pdd-tile,
.pdd-profile .pdd-tile,
.pdd-acc [class*="tile"]{
  border-radius:20px!important;
  background:var(--p63-surf)!important;
  border:1px solid var(--p63-line)!important;
  box-shadow:0 2px 10px rgba(0,0,0,.04)!important;
  transition:transform .12s!important;
}
.pdd-acc .pdd-tile:active,
.pdd-profile .pdd-tile:active{
  transform:scale(.98);
}
html[data-theme="dark"] .pdd-acc .pdd-tile,
html[data-theme="dark"] .pdd-profile .pdd-tile{
  box-shadow:none!important;
}

/* Quick actions larger and calmer */
.pdd-acc button,
.pdd-profile button{
  border-radius:14px!important;
}

/* ═══════════════════════════════════════════════════════════
   V63.12d — Stronger AI-first entry
   ═══════════════════════════════════════════════════════════ */

/* AI button becomes the primary action */
.pdd-home button[onClick*="assistant"],
.pdd-home button[onclick*="assistant"]{
  grid-column:1 / -1!important;
  border-radius:20px!important;
  padding:16px 18px!important;
  background:linear-gradient(135deg,#A78BFA,#7C3AED)!important;
  color:#fff!important;
  box-shadow:0 8px 24px rgba(124,58,237,.25)!important;
}
.pdd-home button[onClick*="assistant"] span,
.pdd-home button[onclick*="assistant"] span{
  color:#fff!important;
}
.pdd-home button[onClick*="assistant"] [style*="opacity"],
.pdd-home button[onclick*="assistant"] [style*="opacity"]{
  opacity:.85!important;
}

/* Bonus stays secondary */
.pdd-home button[onClick*="bonus"],
.pdd-home button[onclick*="bonus"]{
  border-radius:18px!important;
}

/* ═══════════════════════════════════════════════════════════
   V63.12e — Guided purchase flow
   ═══════════════════════════════════════════════════════════ */

/* Product page: calmer, focused CTA */
.pdd-product-page{
  padding-bottom:20px!important;
}
.pdd-product-page .pdd-cta,
.pdd-product-page button[style*="gradient"],
.pdd-product-page [class*="Primary"]{
  border-radius:18px!important;
  height:54px!important;
  font-size:15.5px!important;
  font-weight:700!important;
  box-shadow:0 6px 20px rgba(124,58,237,.2)!important;
}

/* Checkout: less form-like, more guided */
.pdd-checkout,
[class*="checkout"]{
  max-width:560px!important;
  margin:0 auto!important;
  padding:12px 16px 32px!important;
}
.pdd-checkout input,
.pdd-checkout select,
.pdd-checkout textarea,
[class*="checkout"] input{
  border-radius:14px!important;
  height:48px!important;
  border:1px solid var(--p63-line)!important;
  background:var(--p63-surf)!important;
}
.pdd-checkout .pdd-cta,
[class*="checkout"] button[style*="gradient"]{
  border-radius:18px!important;
  height:54px!important;
}

/* Progress / steps if any */
[class*="step"],
[class*="progress"]{
  border-radius:12px!important;
}

/* ═══════════════════════════════════════════════════════════
   V63.12f — Professional guided polish
   ═══════════════════════════════════════════════════════════ */

/* Consistent 8px rhythm everywhere */
.pdd-home,
.pdd-product-page,
.pdd-cart,
.pdd-acc,
.pdd-checkout,
.pdd-ai,
.pdd-creator{
  padding-left:16px!important;
  padding-right:16px!important;
}

/* Typography hierarchy */
.pdd-home h1,
.pdd-home [style*="fontWeight: 800"],
.pdd-home [style*="font-weight:800"]{
  letter-spacing:-.02em!important;
}

/* Soft focus rings for accessibility */
input:focus,
textarea:focus,
select:focus{
  outline:none!important;
  box-shadow:0 0 0 3px rgba(167,139,250,.2)!important;
  border-color:var(--p63-brand)!important;
}
html[data-theme="dark"] input:focus,
html[data-theme="dark"] textarea:focus{
  box-shadow:0 0 0 3px rgba(167,139,250,.35)!important;
}

/* Micro-interactions */
button:active,
.pdd-tile:active,
.pdd-row:active{
  transform:scale(.985)!important;
  transition:transform .1s!important;
}

/* Final calm surfaces */
.pdd-home,
.pdd-product-page,
.pdd-cart,
.pdd-acc{
  background:var(--p63-bg)!important;
}

/* ═══════════════════════════════════════════════════════════
   V63.12g — Refined professional details
   ═══════════════════════════════════════════════════════════ */

/* Subtle separators instead of hard lines */
.pdd-row,
.pdd-list > * + *{
  border-top:1px solid color-mix(in srgb,var(--p63-line) 60%,transparent)!important;
}

/* Icons softer */
.ico,
svg.ico{
  stroke-width:1.7!important;
}

/* Loading and empty states calmer */
.empty,
[class*="empty"],
[class*="skeleton"]{
  opacity:.7;
  font-weight:500!important;
}

/* Consistent elevation */
.pdd-tile,
.pdd-card,
.card{
  box-shadow:0 1px 3px rgba(0,0,0,.04),0 4px 12px rgba(0,0,0,.03)!important;
}
html[data-theme="dark"] .pdd-tile,
html[data-theme="dark"] .pdd-card,
html[data-theme="dark"] .card{
  box-shadow:0 1px 3px rgba(0,0,0,.2),0 4px 16px rgba(0,0,0,.25)!important;
}

/* Smooth transitions globally */
*,
*::before,
*::after{
  transition-timing-function:cubic-bezier(.22,.61,.36,1)!important;
}

/* ═══════════════════════════════════════════════════════════
   V63.12h — Beautiful & convenient professional UI
   ═══════════════════════════════════════════════════════════ */

/* Warmer, more inviting brand feel */
:root{
  --p63-brand:#8B5CF6;
  --p63-brand-ink:#7C3AED;
}
html[data-theme="dark"]{
  --p63-brand:#A78BFA;
  --p63-brand-ink:#C4B5FD;
}

/* Beautiful cards with subtle gradient borders */
.pdd-tile,
.pdd-card,
.card,
.pdd-product-card .pdd-media{
  border-radius:20px!important;
  background:var(--p63-surf)!important;
  position:relative;
}
.pdd-tile::before,
.card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  padding:1px;
  background:linear-gradient(135deg,rgba(167,139,250,.15),transparent 40%);
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  pointer-events:none;
}

/* Larger, more comfortable touch targets */
button,
.pdd-nav-item,
.pdd-tile,
.pdd-row{
  min-height:48px;
}

/* Beautiful search and inputs */
input,
textarea,
.pdd-home form{
  border-radius:18px!important;
  background:var(--p63-surf2)!important;
}

/* Soft gradient accents on primary actions */
.pdd-cta,
button[style*="gradient"],
.btn-add,
.login-btn{
  background:linear-gradient(135deg,#A78BFA,#7C3AED)!important;
  border:none!important;
  color:#fff!important;
  box-shadow:0 6px 20px rgba(124,58,237,.22)!important;
}
html[data-theme="dark"] .pdd-cta,
html[data-theme="dark"] button[style*="gradient"]{
  background:linear-gradient(135deg,#C4B5FD,#A78BFA)!important;
  color:#0C0B11!important;
}

/* Calmer bottom nav */
.pdd-bottom-nav{
  background:rgba(255,255,255,.96)!important;
  backdrop-filter:blur(20px)!important;
}
html[data-theme="dark"] .pdd-bottom-nav{
  background:rgba(12,11,17,.96)!important;
}

/* ═══════════════════════════════════════════════════════════
   V63.12i — Even more beautiful & convenient
   ═══════════════════════════════════════════════════════════ */

/* Soft ambient background */
body{
  background:radial-gradient(1200px 600px at 50% -10%,rgba(167,139,250,.06),transparent 50%),var(--p63-bg)!important;
}
html[data-theme="dark"] body{
  background:radial-gradient(1200px 600px at 50% -10%,rgba(167,139,250,.08),transparent 50%),var(--p63-bg)!important;
}

/* Beautiful product images */
.pdd-product-card .pdd-media img,
.pdd-product-page img{
  border-radius:18px!important;
  transition:transform .3s cubic-bezier(.22,.61,.36,1)!important;
}
.pdd-product-card:hover .pdd-media img{
  transform:scale(1.03)!important;
}

/* Comfortable spacing between sections */
.pdd-home section,
.pdd-home > div + div{
  margin-top:24px!important;
}

/* Soft badges */
.pill,
.prod-badge,
[class*="badge"]{
  border-radius:12px!important;
  font-weight:650!important;
  letter-spacing:.01em!important;
}

/* Final CTA polish */
.pdd-cta,
button.primary,
.btn-add{
  letter-spacing:-.01em!important;
  font-size:15px!important;
}

/* ═══════════════════════════════════════════════════════════
   V63.13 — Full professional guided experience
   ═══════════════════════════════════════════════════════════ */

/* AI-first home hero */
.pdd-home button[onClick*="assistant"],
.pdd-home button[onclick*="assistant"]{
  min-height:64px!important;
  border-radius:22px!important;
  font-size:15px!important;
  box-shadow:0 10px 28px rgba(124,58,237,.28)!important;
}

/* Personal profile hub */
.pdd-acc .pdd-tile,
.pdd-profile .pdd-tile{
  min-height:72px!important;
  border-radius:20px!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
}

/* Guided checkout */
.pdd-checkout{
  background:var(--p63-bg)!important;
}
.pdd-checkout .pdd-cta{
  position:sticky!important;
  bottom:16px!important;
  margin-top:16px!important;
  z-index:10!important;
}

/* Smooth screen transitions */
.screen-anim,
.pdd-home,
.pdd-product-page,
.pdd-cart,
.pdd-acc,
.pdd-ai{
  animation:pddFadeIn .25s cubic-bezier(.22,.61,.36,1)!important;
}
@keyframes pddFadeIn{
  from{opacity:0;transform:translateY(6px)}
  to{opacity:1;transform:none}
}

/* Content studio beauty */
.pdd-creator section{
  background:var(--p63-surf)!important;
  border-radius:18px!important;
  padding:14px!important;
  border:1px solid var(--p63-line)!important;
  margin-top:14px!important;
}

/* ═══════════════════════════════════════════════════════════
   V63.14 — Final professional completion
   ═══════════════════════════════════════════════════════════ */

/* Perfect consistency */
:root{
  --p63-r:16px;
  --p63-r-lg:20px;
  --p63-r-xl:24px;
}

/* All interactive elements */
button,
.pdd-tile,
.pdd-row,
.pdd-nav-item,
input,
textarea,
select{
  border-radius:var(--p63-r)!important;
  transition:all .15s cubic-bezier(.22,.61,.36,1)!important;
}

/* Final elevation system */
.pdd-tile,
.card,
.pdd-product-card .pdd-media,
.pdd-creator section{
  box-shadow:0 1px 2px rgba(0,0,0,.04),0 4px 16px rgba(0,0,0,.04)!important;
}
html[data-theme="dark"] .pdd-tile,
html[data-theme="dark"] .card,
html[data-theme="dark"] .pdd-product-card .pdd-media{
  box-shadow:0 1px 2px rgba(0,0,0,.2),0 6px 20px rgba(0,0,0,.3)!important;
}

/* Perfect bottom safe area */
.pdd-bottom-nav{
  padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;
}

/* Final AI & bonus harmony */
.pdd-ai,
.pdd-bonus{
  max-width:560px!important;
  margin:0 auto!important;
  padding:12px 16px 32px!important;
}

/* Done */

/* ═══════════════════════════════════════════════════════════
   V63.15 — Category cards fix + API ready
   ═══════════════════════════════════════════════════════════ */

/* Fix empty category circles */
.pdd-cat-photo-v49,
.pdd-cat-photo-empty{
  width:56px!important;
  height:56px!important;
  border-radius:16px!important;
  background:var(--p63-brand-wash)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0 auto 8px!important;
}
.pdd-category-card-v49{
  border-radius:18px!important;
  padding:14px 10px!important;
  text-align:center!important;
  min-height:120px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
}
.pdd-cat-card-copy-v49{
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.2!important;
  word-break:break-word!important;
  hyphens:auto!important;
}
.tone-peach .pdd-cat-photo-v49{background:#FEF3E8!important;}
.tone-blue .pdd-cat-photo-v49{background:#E8F1FE!important;}
.tone-pink .pdd-cat-photo-v49{background:#FDE8F0!important;}
.tone-lilac .pdd-cat-photo-v49{background:#F0E8FE!important;}
.tone-rose .pdd-cat-photo-v49{background:#FDE8EC!important;}
.tone-mint .pdd-cat-photo-v49{background:#E8FDF4!important;}

/* ═══════════════════════════════════════════════════════════
   V63.16 — Professional category cards (no crooked)
   ═══════════════════════════════════════════════════════════ */

.pdd-category-section-v49{
  padding:0 16px!important;
  margin:20px 0!important;
}
.pdd-category-layout-v49{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
}
.pdd-category-card-v49{
  background:var(--p63-surf)!important;
  border:1px solid var(--p63-line)!important;
  border-radius:18px!important;
  padding:16px 10px 14px!important;
  min-height:118px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  text-align:center!important;
  box-shadow:0 2px 8px rgba(0,0,0,.04)!important;
  position:relative!important;
  overflow:hidden!important;
}
.pdd-category-card-v49.is-all{
  background:var(--p63-ink)!important;
  color:#fff!important;
  border-color:var(--p63-ink)!important;
}
.pdd-cat-photo-v49,
.pdd-cat-photo-empty{
  display:none!important;
}
.pdd-cat-icon-v49{
  width:44px!important;
  height:44px!important;
  border-radius:14px!important;
  background:var(--p63-brand-wash)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin-bottom:8px!important;
}
.pdd-category-card-v49.is-all .pdd-cat-icon-v49{
  background:rgba(255,255,255,.15)!important;
}
.pdd-cat-card-copy-v49 strong{
  display:block!important;
  font-size:13.5px!important;
  font-weight:750!important;
  line-height:1.2!important;
  margin-bottom:2px!important;
}
.pdd-cat-card-sub-v49{
  display:none!important;
}
.pdd-cat-arrow-v49{
  position:absolute!important;
  bottom:8px!important;
  right:8px!important;
  opacity:.5!important;
}
html[data-theme="dark"] .pdd-category-card-v49{
  background:var(--p63-surf)!important;
  border-color:var(--p63-line)!important;
}
html[data-theme="dark"] .pdd-category-card-v49.is-all{
  background:var(--p63-brand)!important;
  border-color:var(--p63-brand)!important;
}

/* ═══════════════════════════════════════════════════════════
   V64.1 — Beautiful & convenient professional polish
   ═══════════════════════════════════════════════════════════ */

/* Softer, more premium surfaces */
.pdd-home,
.pdd-product-page,
.pdd-cart,
.pdd-acc,
.pdd-ai,
.pdd-creator,
.pdd-checkout{
  background:var(--p63-bg)!important;
}

/* Beautiful product cards */
.pdd-product-card{
  border-radius:22px!important;
  overflow:hidden!important;
  transition:transform .2s cubic-bezier(.22,.61,.36,1)!important;
}
.pdd-product-card:active{
  transform:scale(.98)!important;
}
.pdd-product-card .pdd-media{
  border-radius:22px!important;
  overflow:hidden!important;
}

/* Comfortable category grid */
.pdd-category-layout-v49{
  gap:14px!important;
}
@media(max-width:480px){
  .pdd-category-layout-v49{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

/* Primary actions more inviting */
.pdd-cta,
button[style*="linear-gradient"],
.btn-add{
  border-radius:18px!important;
  min-height:52px!important;
  font-weight:700!important;
  letter-spacing:-.01em!important;
}

/* Search more prominent */
.pdd-home form{
  border-radius:22px!important;
  min-height:56px!important;
  box-shadow:0 4px 16px rgba(0,0,0,.06)!important;
}

/* Bottom nav floating beauty */
.pdd-bottom-nav{
  border-radius:28px 28px 0 0!important;
  box-shadow:0 -12px 40px rgba(0,0,0,.08)!important;
}
html[data-theme="dark"] .pdd-bottom-nav{
  box-shadow:0 -12px 40px rgba(0,0,0,.45)!important;
}

/* Smooth everything */
* {
  -webkit-font-smoothing:antialiased!important;
}

/* ═══════════════════════════════════════════════════════════
   V64.3 — Clean categories + products visible
   ═══════════════════════════════════════════════════════════ */

.pdd-category-layout-v49{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  padding:0 16px!important;
}
@media(max-width:520px){
  .pdd-category-layout-v49{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
.pdd-category-card-v49{
  background:var(--p63-surf)!important;
  border:1px solid var(--p63-line)!important;
  border-radius:18px!important;
  padding:18px 12px 16px!important;
  min-height:110px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  box-shadow:0 2px 10px rgba(0,0,0,.04)!important;
  gap:10px!important;
}
.pdd-category-card-v49.is-all{
  background:var(--p63-ink)!important;
  color:#fff!important;
  border-color:var(--p63-ink)!important;
}
.pdd-cat-icon-wrap{
  width:52px!important;
  height:52px!important;
  border-radius:16px!important;
  background:var(--p63-brand-wash)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.pdd-category-card-v49.is-all .pdd-cat-icon-wrap{
  background:rgba(255,255,255,.18)!important;
}
.pdd-cat-card-copy-v49 strong{
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.25!important;
  display:block!important;
  word-break:break-word!important;
}
.tone-peach .pdd-cat-icon-wrap{background:#FEF3E8!important;}
.tone-blue .pdd-cat-icon-wrap{background:#E8F1FE!important;}
.tone-pink .pdd-cat-icon-wrap{background:#FDE8F0!important;}
.tone-lilac .pdd-cat-icon-wrap{background:#F0E8FE!important;}
.tone-rose .pdd-cat-icon-wrap{background:#FDE8EC!important;}
.tone-mint .pdd-cat-icon-wrap{background:#E8FDF4!important;}
html[data-theme="dark"] .pdd-category-card-v49{
  background:var(--p63-surf)!important;
}
html[data-theme="dark"] .pdd-category-card-v49.is-all{
  background:var(--p63-brand)!important;
}

/* Ensure products section is visible */
.pdd-catalog-grid{
  min-height:120px!important;
}

/* ═══════════════════════════════════════════════════════════
   V64.4 — Beautiful home + landing
   ═══════════════════════════════════════════════════════════ */

/* Clean home categories */
.pdd-cats-grid > button{
  transition:transform .15s, box-shadow .15s!important;
}
.pdd-cats-grid > button:active{
  transform:scale(.97)!important;
}

/* Landing hero polish */
.hero{
  padding:80px 24px 60px!important;
  text-align:center!important;
}
.hero-title{
  font-size:clamp(32px,5vw,52px)!important;
  font-weight:800!important;
  letter-spacing:-.03em!important;
  line-height:1.1!important;
  max-width:720px!important;
  margin:16px auto!important;
}
.hero-sub{
  font-size:17px!important;
  color:var(--p63-ink2)!important;
  max-width:520px!important;
  margin:0 auto 24px!important;
  line-height:1.6!important;
}
.hero-btns{
  display:flex!important;
  gap:12px!important;
  justify-content:center!important;
  flex-wrap:wrap!important;
}
.hero-btns a,
.hero-btns button{
  border-radius:14px!important;
  padding:14px 24px!important;
  font-weight:700!important;
}

/* Sections more airy */
.sec{
  padding:72px 24px!important;
}
.sec-h{
  font-size:clamp(26px,4vw,36px)!important;
  letter-spacing:-.02em!important;
}

/* Product cards on home */
.pdd-product-card{
  border-radius:20px!important;
}
.pdd-product-card .pdd-media{
  border-radius:20px!important;
}

/* ═══════════════════════════════════════════════════════════
   V64.5 — Perfect category spacing & alignment
   ═══════════════════════════════════════════════════════════ */

.pdd-cats-clean{
  padding:0 0 18px!important;
}
.pdd-cats-clean > div:first-child{
  padding:0 16px 10px!important;
  align-items:center!important;
}
.pdd-cats-clean > div:last-child{
  display:grid!important;
  grid-template-columns:repeat(3, minmax(0,1fr))!important;
  gap:12px!important;
  padding:0 16px!important;
}
.pdd-cats-grid > button{
  min-height:92px!important;
  padding:12px 6px 10px!important;
  border-radius:18px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  text-align:center!important;
}
.pdd-cats-grid > button > span{
  font-size:clamp(10px,3.15vw,12.5px)!important;
  font-weight:700!important;
  line-height:1.2!important;
  letter-spacing:-.01em!important;
  max-width:100%!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}
.pdd-cats-grid > button > div{
  width:40px!important;
  height:40px!important;
  border-radius:12px!important;
  flex-shrink:0!important;
}
@media(max-width:420px){
  .pdd-cats-clean > div:last-child{
    gap:10px!important;
    padding:0 12px!important;
  }
  .pdd-cats-grid > button{
    min-height:88px!important;
    padding:10px 2px 9px!important;
  }
}
