/* SHOP-C 20261106 — pastel-C shop screens (owner pick C, t303u/t304u). Scoped to #/catalog #/product #/cart #/checkout #/checkout-review; markup from flows.js (sc-*). */
#twm-app:is([data-scr=catalog],[data-scr=product],[data-scr=cart],[data-scr=checkout],[data-scr=checkout-review])>.twm-main{background:radial-gradient(120% 60% at 100% 0%,#ffe3ee 0%,rgba(255,227,238,0) 55%),radial-gradient(90% 50% at 0% 10%,#dcecff 0%,rgba(220,236,255,0) 60%),linear-gradient(180deg,#eef4ff 0%,#f6f1ff 45%,#fff4f0 100%)}
@media (max-width:899px){#twm-app:is([data-scr=catalog],[data-scr=product],[data-scr=cart],[data-scr=checkout],[data-scr=checkout-review])>.twm-main{width:100%;box-sizing:border-box}}
@media (min-width:900px){#twm-app:is([data-scr=catalog],[data-scr=product],[data-scr=cart],[data-scr=checkout],[data-scr=checkout-review])>.twm-main{width:min(760px,100%);box-sizing:border-box}}
#twm-app:is([data-scr=catalog],[data-scr=checkout],[data-scr=checkout-review])>.twm-main .twm-head{position:relative;padding-right:78px;min-height:64px}
#twm-app:is([data-scr=catalog],[data-scr=checkout],[data-scr=checkout-review])>.twm-main .twm-head::after{content:"";position:absolute;right:0;top:50%;width:76px;height:76px;transform:translateY(-50%);background:url(img/tv/icons/shopping-bag.webp) center/contain no-repeat;pointer-events:none}
#twm-app:is([data-scr=catalog],[data-scr=product],[data-scr=cart],[data-scr=checkout],[data-scr=checkout-review]) .twm-h1{color:#16204a}
.mx-content:has(>.sc){grid-template-columns:minmax(0,1fr)}
.sc{display:flex;flex-direction:column;gap:14px;color:#16204a;min-width:0;max-width:100%}
.sc-filters{max-width:100%}
.sc .sc-svg{flex:none;display:block}
.sc h2,.sc h3{margin:0}
.sc-card{background:rgba(255,255,255,.88);border:1px solid rgba(255,255,255,.9);border-radius:22px;box-shadow:0 1px 2px rgba(22,32,74,.04),0 10px 26px rgba(106,76,245,.09);padding:16px}
.sc-pill{display:inline-block;align-self:flex-start;background:#ece6ff;color:#3b2f86;border-radius:999px;padding:4px 14px;font-weight:800;font-size:14px;line-height:1.3}
.sc-brand{display:inline-block;font-size:12px;font-weight:800;color:#6b7398;letter-spacing:.2px}
.sc-price{color:#ee2f8f;font-weight:900;font-size:17px}
.sc-price-lg{font-size:32px;margin:6px 0 4px;letter-spacing:-.3px}
.sc-btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:58px;border-radius:20px;border:0;background:linear-gradient(100deg,#2f6bff 0%,#7a4cf5 45%,#ee4fa6 78%,#ff8a3d 100%);color:#fff;font:inherit;font-weight:900;font-size:19px;cursor:pointer;text-decoration:none;box-shadow:0 10px 24px rgba(122,76,245,.3)}
.sc-btn:focus-visible,.sc-row:focus-visible,.sc-pc:focus-visible,.sc-chip:focus-within,.sc-search:focus-within{outline:none;box-shadow:0 0 0 3px #fff,0 0 0 5px #6a4cf5}
.sc-btn-ghost{background:#fff;color:#16204a;border:2px solid #4b47d6;box-shadow:none;min-height:54px;font-size:17px;font-weight:800}
.sc-btn-kyc{background:linear-gradient(100deg,#2f6bff 0%,#6a4cf5 40%,#ee4fa6 75%,#ff8a3d 100%);justify-content:space-between;padding:0 18px}
.sc-btn-kyc .sc-btn-l,.sc-btn-kyc .sc-btn-r{display:flex}
.sc-linkc{align-self:center;color:#4b3fd6;font-weight:800;text-decoration:none;padding:6px 8px}
.sc-linkbtn{background:none;border:0;color:#7a3cf0;font:inherit;font-weight:800;cursor:pointer;padding:4px 0}
/* search + filters */
.mx-content .sc-search{display:flex!important;flex-direction:row;align-items:center;gap:10px;background:#fff;border:2px solid #8f6bff;border-radius:22px;padding:0 14px;min-height:56px;box-shadow:0 6px 18px rgba(106,76,245,.12)}
.sc-search-i{color:#2b3566;display:flex}
.sc-search input{flex:1;min-width:0;border:0;outline:0;background:none;font:inherit;font-size:18px;font-weight:700;color:#16204a;padding:12px 0}
.sc-search input::-webkit-search-cancel-button{display:none}
.sc-clear{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;border:0;background:#a9acc0;color:#fff;cursor:pointer;flex:none}
.sc-filters{display:flex;gap:8px;overflow-x:auto;padding:2px 1px 4px;scrollbar-width:none}
.sc-filters::-webkit-scrollbar{display:none}
.sc-chip{position:relative;display:flex;align-items:center;gap:5px;flex:none;min-width:0;cursor:pointer;background:#fff;border:1px solid #e3dcff;border-radius:16px;padding:0 10px;min-height:44px;color:#3b2f86;box-shadow:0 2px 8px rgba(106,76,245,.08)}
.sc-chip.on{background:#efe9ff;border-color:#8f6bff}
.sc-chip-i{color:#7a4cf5;display:flex}
.sc-chip select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:16px;border:0}
.sc-chip-t{font-weight:800;font-size:14px;color:#16204a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;max-width:150px}
.sc-chip-v{display:flex;pointer-events:none;color:#3b2f86}
.sc-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:800;color:#6b7398;font-size:14px}
.sc-cartlink{display:inline-flex;align-items:center;gap:6px;color:#4b3fd6;text-decoration:none;font-weight:800}
/* product grid */
.sc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.sc-grid-3{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.sc-pc{display:flex;flex-direction:column;gap:3px;background:#fff;border-radius:20px;padding:12px;text-decoration:none;color:#16204a;box-shadow:0 1px 2px rgba(22,32,74,.04),0 8px 20px rgba(106,76,245,.08);min-width:0}
.sc-pc.is-sold{opacity:.6}
.sc-pimg{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;background:linear-gradient(180deg,#f7f5ff,#fff);border-radius:14px;margin-bottom:6px;overflow:hidden}
.sc-pimg img{width:100%;height:100%;object-fit:contain}
.sc-pname{font-size:15px;line-height:1.25;font-weight:900;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.sc-pspec{font-size:12px;color:#6b7398;font-weight:700;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.sc-sold{font-size:12px;font-weight:800;color:#d93a4a}
.sc-grid-3 .sc-pc{padding:8px;border-radius:16px}
.sc-grid-3 .sc-pname{font-size:13px}
.sc-grid-3 .sc-price{font-size:14px}
.sc-pager{display:flex;justify-content:space-between;gap:10px}
.sc-pg{flex:1;text-align:center;background:#fff;border-radius:16px;padding:14px;font-weight:800;color:#4b3fd6;text-decoration:none;box-shadow:0 6px 16px rgba(106,76,245,.08)}
/* empty states */
.sc-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:8px 6px}
.sc-empty-art{width:150px;height:150px;object-fit:contain;filter:drop-shadow(0 14px 22px rgba(106,76,245,.22))}
.sc-empty h2{font-size:24px;font-weight:900}
.sc-empty p{margin:0;color:#4d5680;font-size:16px;line-height:1.5}
.sc-empty-cart{padding:24px 10px 10px;gap:10px}
.sc-empty-cart .sc-empty-art{width:200px;height:200px}
.sc-empty-cart .sc-btn{margin-top:14px;max-width:380px}
.sc-tips{display:flex;gap:12px;background:linear-gradient(180deg,#f3ecff,#efe7ff);border-radius:18px;padding:14px 16px}
.sc-tips-i{color:#f5a400;display:flex;padding-top:2px}
.sc-tips b{color:#7a3cf0;font-size:17px}
.sc-tips ul{margin:6px 0 0;padding-left:18px;color:#2b3566;line-height:1.55}
.sc-sh{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.sc-sh h3{display:flex;align-items:center;gap:8px;font-size:18px;font-weight:900}
.sc-sh h3 .sc-svg{color:#7a4cf5}
.sc-star .sc-svg{color:#f5a400;fill:#ffc531}
.sc-recent-row{display:flex;flex-wrap:wrap;gap:8px}
.sc-rchip{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid #e3dcff;border-radius:999px;padding:8px 14px;color:#16204a;text-decoration:none;font-weight:700}
.sc-rchip .sc-svg{color:#7a4cf5}
/* PDP */
.sc-hero{position:relative;display:grid;grid-template-columns:minmax(0,42%) minmax(0,58%);align-items:center;min-height:280px;border-radius:24px;padding:12px 6px 8px 12px;background:linear-gradient(160deg,rgba(220,236,255,.9) 0%,rgba(244,238,255,.8) 55%,rgba(255,226,214,.9) 100%);overflow:hidden}
.sc-hero-tx{display:flex;flex-direction:column;gap:8px;align-self:start;padding-top:18px;position:relative;z-index:2}
.sc-hero-tx h2{font-size:26px;line-height:1.15;font-weight:900}
.sc-hero-bag{position:absolute;left:10px;bottom:10px;width:104px;height:104px;object-fit:contain;z-index:2;filter:drop-shadow(0 10px 16px rgba(106,76,245,.25))}
.sc-stage{position:relative;display:flex;justify-content:center;align-items:flex-end;padding-bottom:22px}
.sc-stage::after{content:"";position:absolute;left:4%;right:4%;bottom:6px;height:34px;border-radius:50%;background:linear-gradient(180deg,#fff,#e9e6f6);box-shadow:0 8px 18px rgba(22,32,74,.12)}
.sc-hero-img{position:relative;z-index:1;width:100%;max-width:240px;aspect-ratio:1/1;object-fit:contain;mix-blend-mode:multiply}
.sc-info-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.sc-info-top>div{display:flex;flex-direction:column;gap:6px}
.sc-info-name{font-size:20px;font-weight:900}
.sc-info-brand{font-weight:900;font-size:17px;padding-left:12px;border-left:1px solid #d9d6ea}
.sc-cond{margin:0;color:#2b3566;font-weight:600}
.sc-row{display:flex;align-items:center;gap:14px;background:rgba(255,255,255,.9);border-radius:20px;padding:14px 16px;text-decoration:none;color:#16204a;box-shadow:0 6px 18px rgba(106,76,245,.07)}
.sc-row-i{display:flex;color:#7a4cf5}
.sc-row-tx{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.sc-row-tx b{font-size:17px;font-weight:900}
.sc-row-tx small{color:#4d5680;font-size:14px}
.sc-row-c{display:flex;color:#16204a}
.sc-kyc{display:flex;align-items:center;gap:14px;background:linear-gradient(180deg,#fff0f4,#ffe8ef);border:1px solid #f7b9cc;border-radius:20px;padding:14px 16px}
.sc-kyc img{width:72px;height:72px;object-fit:contain;flex:none}
.sc-kyc p{margin:0;color:#16204a;font-size:16px;line-height:1.5;border-left:1px solid #f2b8c8;padding-left:14px}
.sc-kyc p b{color:#ee2f8f}
.sc-kyc .mx-small{border:0;font-size:13px;color:#6b7398;margin-top:6px}
/* cart */
.sc-ci{display:flex;gap:14px;align-items:center;border:1px solid #ffd8b8}
.sc-ci-img{flex:none;display:flex;align-items:center;justify-content:center;width:108px;height:108px;border-radius:16px;background:#fff;overflow:hidden}
.sc-ci-img img{width:100%;height:100%;object-fit:contain}
.sc-ci-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.sc-ci-main>b{font-size:19px;font-weight:900;line-height:1.2}
.sc-ci-main .sc-price{font-size:22px}
.sc-each{color:#6b7398;font-weight:700}
.sc-ci-act{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:4px}
.sc-step{display:flex;align-items:center;border:1px solid #dcd5f7;border-radius:999px;background:#fff;padding:2px}
.sc-step button{width:40px;height:40px;border:0;background:none;color:#4b3fd6;font-size:22px;font-weight:900;cursor:pointer;border-radius:50%}
.sc-step input{width:40px;border:0;background:none;text-align:center;font:inherit;font-weight:900;font-size:18px;color:#16204a;-moz-appearance:textfield}
.sc-step input::-webkit-inner-spin-button,.sc-step input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.sc-trash{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:14px;border:1px solid #ffc9cf;background:#fff3f4;color:#e0394c;cursor:pointer;flex:none}
.sc-sum h2,.sc-items h2,.sc-addr h2,.sc-pay h2{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:900;margin-bottom:12px}
.sc-sum h2 .sc-svg,.sc-items h2 .sc-svg,.sc-pay h2 .sc-svg{color:#4b7bff}
.sc-sr{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:6px 0;font-size:16px}
.sc-sr b{font-weight:900}
.sc-info-i{display:inline-flex;vertical-align:middle;color:#6b7398}
.sc-pend{background:#e3ecff;color:#2b3566;border-radius:999px;padding:5px 12px;font-weight:700;font-size:14px}
.sc-note{display:flex;align-items:center;gap:12px;background:#eef3ff;border-radius:14px;padding:12px 14px;margin:8px 0;color:#2b3566}
.sc-note .sc-svg{color:#4b7bff}
.sc-total{display:flex;justify-content:space-between;align-items:center;gap:10px;background:linear-gradient(100deg,#ffece6,#ffe6ee);border-radius:14px;padding:14px;margin-top:8px}
.sc-total span{font-size:19px;font-weight:900}
.sc-total b{font-size:24px;font-weight:900;color:#ee2f8f}
.sc-small{margin:10px 0 0;font-size:13px;color:#6b7398}
/* checkout */
.sc-steps{display:flex;list-style:none;margin:0 0 2px;padding:0;position:relative}
.sc-steps li{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;position:relative;font-weight:700;color:#4d5680;font-size:15px}
.sc-steps li::before{content:"";position:absolute;top:18px;left:-50%;right:50%;height:3px;background:#d7dcf3;z-index:0}
.sc-steps li:first-child::before{display:none}
.sc-steps li.done::before,.sc-steps li.on::before{background:linear-gradient(90deg,#2f6bff,#7a4cf5)}
.sc-dot{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:#e9ecf8;color:#4d5680;font-weight:900;font-size:17px;border:3px solid #fff;box-shadow:0 2px 8px rgba(22,32,74,.12)}
.sc-steps li.done .sc-dot{background:#2f6bff;color:#fff}
.sc-steps li.on .sc-dot{background:linear-gradient(135deg,#7a4cf5,#ee4fa6);color:#fff}
.sc-steps li.on{color:#9b2fe0;font-weight:900}
.sc-form{display:flex!important;flex-direction:column;gap:14px!important}
.sc-addr{background:linear-gradient(120deg,#fff3ea,#fff 70%)}
.sc-h-ico{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#ff9a3d,#ff6a3d);color:#fff;flex:none}
.sc-addr .twm-field,.sc-pay .twm-field{margin-top:10px}
.sc-addr-l,.sc-addr-s{margin:2px 0!important}
.sc-addr-s{color:#4d5680}
.sc-it{display:flex;align-items:center;gap:12px;border:1px solid #e8e6f5;border-radius:16px;padding:8px;background:#fff}
.sc-it+.sc-it{margin-top:8px}
.sc-it .sc-ci-img{width:76px;height:76px}
.sc-it-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.sc-it-main b{font-size:17px;font-weight:900}
.sc-it-side{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.sc-it-side small{color:#4d5680;font-weight:700}
.sc-inst img{width:64px;height:64px;object-fit:contain;flex:none}
@media (min-width:900px){
  .sc-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
  .sc-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .sc-hero{min-height:340px}
  .sc-hero-img{max-width:300px}
}
@media (max-width:480px){
  #twm-app:is([data-scr=catalog],[data-scr=checkout],[data-scr=checkout-review]) .twm-h1{font-size:23px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .sc-chip{padding:0 8px}
  .sc-chip-i .sc-svg{width:16px;height:16px}
}
