@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800;900&display=swap');

:root{
  --bg:#08090b;--surface:#111318;--surface2:#181b20;--surface3:#20242b;--line:#292d34;
  --accent:var(--pm-accent,#f2b400);--accent2:#ffca28;--text:#f6f6f4;--muted:#8f949d;
  --green:#19b66b;--red:#e5534b;--shadow:0 18px 50px rgba(0,0,0,.28);--r:18px;
}
*{box-sizing:border-box}
html{background:#050607;scroll-behavior:smooth}
body{margin:0;background:#050607;color:var(--text);font-family:'Vazirmatn',Tahoma,sans-serif;direction:rtl}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
button{cursor:pointer}

.app{width:100%;max-width:430px;min-height:100vh;margin:auto;background:var(--bg);position:relative;box-shadow:0 0 70px rgba(0,0,0,.28)}
.content{padding-bottom:92px;min-height:100vh}

/* ---------- Header ---------- */
.site-head{padding:10px 14px 12px;background:linear-gradient(180deg,#0d0f12 0%,#08090b 100%);position:sticky;top:0;z-index:30;border-bottom:1px solid rgba(255,255,255,.035)}
.head-main{height:48px;position:relative;display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:8px}
.brand-lockup{grid-column:2;justify-self:center;display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;max-width:calc(100% - 12px);text-align:right}
.brand-lockup img{width:62px;height:38px;object-fit:contain;flex:0 0 auto}
.brand-lockup span{display:flex;flex-direction:column;min-width:0}
.brand-lockup strong{font-size:16px;font-weight:900;line-height:1.2;white-space:nowrap}
.brand-lockup small{font-size:8px;color:#8e949c;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:230px}
.head-notification,.head-account{width:40px;height:40px;border:1px solid #2a2e35;background:#15181d;border-radius:12px;display:grid;place-items:center;color:#e8e8e6;position:relative;transition:.18s}
.head-notification{grid-column:1;justify-self:start}
.head-account{grid-column:3;justify-self:end}
.head-notification:hover,.head-account:hover{border-color:rgba(242,180,0,.45);color:var(--accent);transform:translateY(-1px)}
.notification-badge{position:absolute;top:-5px;left:-5px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:var(--accent);color:#16120a;font-size:8px;font-weight:900;display:grid;place-items:center;border:2px solid #0b0c0e}

.global-search{height:52px;width:100%;margin:10px 0 0;display:flex;align-items:center;gap:0;padding:4px;background:#15181d;border:1px solid #30343b;border-radius:15px;overflow:hidden;box-shadow:0 10px 28px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.025)}
.global-search input{order:1;flex:1;min-width:0;width:auto;height:100%;border:0;outline:0;background:transparent;color:#f5f5f2;padding:0 14px;font-size:12px;font-weight:500}
.global-search input::placeholder{color:#7f858e}
.global-search button{order:2;flex:0 0 44px;width:44px;height:44px;border:0;border-radius:11px;background:linear-gradient(180deg,var(--accent2),var(--accent));color:#17130a;display:grid;place-items:center;box-shadow:0 5px 16px rgba(242,180,0,.18)}
.global-search button:hover{filter:brightness(1.05)}
.home-head .global-search{margin-bottom:2px}
.inner-head{padding-bottom:10px}
.inner-head .head-main{height:48px}
.section .search{display:none}

/* ---------- Buttons / forms ---------- */
.btn{border:0;border-radius:12px;padding:13px 16px;width:100%;font-weight:900}
.primary{background:linear-gradient(180deg,var(--accent2),var(--accent));color:#141108;box-shadow:0 10px 24px rgba(242,180,0,.18)}
.dark{background:var(--surface3);color:var(--text);border:1px solid var(--line)}
.field{margin:0 0 14px}
.field label{display:block;color:var(--muted);font-size:11px;margin-bottom:7px}
.field input,.field textarea,.field select{width:100%;padding:13px 14px;background:#fff;color:#222;border:1px solid #ddd;border-radius:11px;outline:none}
.field textarea{min-height:120px}

/* ---------- Sections / hero / categories / products ---------- */
.section{padding:15px}
.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px}
.section-head h3{margin:0;font-size:15px;font-weight:900}
.muted{color:var(--muted);font-size:11px}
.hero{margin:10px 14px;border-radius:20px;min-height:205px;padding:20px;display:flex;flex-direction:column;justify-content:flex-end;background-size:cover;background-position:center;border:1px solid #252931;overflow:hidden;position:relative;box-shadow:var(--shadow)}
.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.12),rgba(0,0,0,.76) 72%)}
.hero>*{position:relative;z-index:1}
.hero h2{font-size:21px;max-width:70%;line-height:1.55;margin:0 0 12px;font-weight:900}
.hero .btn{width:max-content;min-width:140px}
.hero.no-image{background:linear-gradient(135deg,#17191e,#0b0d10);align-items:flex-start}
.hero-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:#777c84;font-size:10px;z-index:1}
.hero.no-image h2,.hero.no-image .btn{z-index:2}
.logo-placeholder{width:72px;height:43px;border:1px solid var(--line);border-radius:10px;background:var(--surface2);color:var(--accent);display:grid;place-items:center;flex:0 0 auto}

.cats,.category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.cat{text-align:center;font-size:9px;color:#c8c8ca;min-width:0}
.cat img,.cat .ph{width:100%;aspect-ratio:1;border-radius:12px;object-fit:cover;background:var(--surface2);border:1px solid var(--line);display:grid;place-items:center;margin-bottom:6px;transition:.18s}
.cat span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cat:hover img,.cat:hover .ph{transform:translateY(-2px)}
.category-grid .cat-large{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:7px}
.category-grid .cat-large img,.category-grid .cat-large .ph{margin-bottom:5px}
.category-grid .cat-large span{font-size:9px}
.category-grid>.empty{grid-column:1/-1}

.products{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.product{background:linear-gradient(180deg,#17191e,#101216);border:1px solid #252931;border-radius:16px;padding:8px;position:relative;box-shadow:0 9px 25px rgba(0,0,0,.15);transition:.2s}
.product:hover{transform:translateY(-2px);box-shadow:0 16px 35px rgba(0,0,0,.25)}
.product>img,.product>.ph{width:100%;aspect-ratio:1;border-radius:12px;object-fit:cover;background:#1b1e23;display:grid;place-items:center}
.pname{font-size:11px;font-weight:800;line-height:1.65;margin-top:8px;display:block}
.brand{font-size:9px;color:var(--muted);margin-top:2px}
.price{font-weight:900;font-size:13px;margin-top:8px;color:#fff}
.old{text-decoration:line-through;color:#777;font-size:9px;margin-right:5px}
.actions{display:flex;gap:6px;margin-top:8px}
.smallbtn{border:1px solid var(--line);background:var(--surface2);color:var(--text);border-radius:9px;padding:8px;display:grid;place-items:center}
.add{background:linear-gradient(180deg,var(--accent2),var(--accent));color:#17120a;border:0;border-radius:9px;padding:8px;flex:1;font-weight:900}

/* ---------- Search results list ---------- */
.search-list{display:flex;flex-direction:column;gap:10px}
.search-row{display:flex;gap:12px;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:12px}
.search-row .thumb{width:72px;height:72px;flex:0 0 auto}
.search-row-info{flex:1;display:flex;flex-direction:column;min-width:0}
.search-row-info .pname{font-size:12.5px;font-weight:800;line-height:1.55;margin-top:0}
.search-row-info .brand{font-size:10px;color:var(--muted);margin-top:3px}
.search-row-bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:8px}
.row-actions{display:flex;align-items:center;gap:8px}
.row-actions .smallbtn{width:32px;height:32px;padding:0}
.cart-add-btn{width:32px;height:32px;border-radius:9px;border:0;background:linear-gradient(180deg,var(--accent2),var(--accent));color:#17120a;display:grid;place-items:center}

/* ---------- Bottom nav ---------- */
.bottom{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:430px;background:rgba(10,11,13,.97);backdrop-filter:blur(18px);border-top:1px solid #24272d;display:flex;justify-content:space-around;padding:8px 4px 10px;z-index:50;box-shadow:0 -12px 35px rgba(0,0,0,.3)}
.bottom a{font-size:8px;color:#777c84;text-align:center;min-width:57px;display:flex;flex-direction:column;align-items:center;gap:4px;padding:5px 7px;border-radius:12px;transition:.2s}
.bottom a svg{width:21px;height:21px}
.bottom a.active{color:var(--accent);background:rgba(242,180,0,.08);transform:translateY(-2px)}
.badge{background:var(--accent);color:#111;border-radius:10px;padding:1px 5px;font-size:8px}

/* ---------- Rows / cards / states ---------- */
.listrow{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid var(--line)}
.thumb{width:70px;height:70px;border-radius:12px;background:var(--surface2);object-fit:cover}
.card{margin:10px 0;padding:15px;background:var(--surface);border:1px solid var(--line);border-radius:16px}
.empty{text-align:center;padding:60px 20px;color:var(--muted)}
.section .empty{padding:30px 16px;margin:0;border:1px dashed #292e35;border-radius:14px;background:#0d0f12;font-size:11px}
.notice{margin:10px 14px;padding:12px;border-radius:11px;background:rgba(242,180,0,.09);border:1px solid rgba(242,180,0,.25);color:var(--accent);font-size:11px}
.search{margin:0 0 14px;background:#fff;border:1px solid #ddd;border-radius:11px;padding:10px 12px;display:flex;align-items:center;gap:8px;color:#777}
.search input{background:transparent;border:0;outline:0;color:#222;width:100%;min-width:0}

/* ---------- Footer ---------- */
.site-footer{padding:20px 16px 105px;text-align:center;border-top:1px solid var(--line);background:#0b0d10;margin-top:22px}
.trust-wrap{padding:5px 0 10px}
.trust-title{font-size:10px;color:var(--muted);margin-bottom:8px}
.trust{display:flex;justify-content:center;align-items:center;min-height:92px}
.trust a{display:block;min-width:92px;min-height:92px}
.trust img{width:92px;height:auto;display:block;margin:auto}
.trust-fallback:after{content:'نماد اعتماد الکترونیکی';display:grid;place-items:center;width:92px;height:92px;border:1px solid #41454c;border-radius:14px;color:#bbb;font-size:9px}
.designer{font-size:10px;color:#747a83;padding-top:10px}

/* ---------- Auth pages ---------- */
.auth{min-height:100vh;background:#050607}
.auth-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:18px}
.auth-panel{width:100%;max-width:420px;background:#f6f6f6;color:#222;border-radius:24px;padding:18px;box-shadow:0 25px 80px rgba(0,0,0,.5)}
.auth-brand-image{width:100%;height:270px;object-fit:cover;object-position:center;border-radius:18px;margin-bottom:16px}
.auth-panel h1{font-size:19px;margin:8px 0}
.auth-panel .muted{color:#777}
.auth-panel .field input{background:#fff}
.auth-links{display:flex;justify-content:center;gap:5px;font-size:11px;margin-top:14px;color:#777}
.auth-links a{color:#d79600;font-weight:800}
.auth-image-placeholder{width:100%;height:270px;border-radius:18px;margin-bottom:16px;background:linear-gradient(135deg,#17191e,#0b0d10);border:1px solid #252931;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:#777c84;font-size:11px}
.auth-logo-placeholder{width:82px;height:48px}

/* ---------- Product detail ---------- */
.product-detail{padding-bottom:100px}
.gallery-main-wrap{position:relative}
.gallery-main{width:100%;height:300px;object-fit:contain;background:#111317;border-radius:18px}
.discount-badge{position:absolute;right:12px;top:12px;background:var(--red);color:#fff;padding:6px 9px;border-radius:10px;font-size:10px;font-weight:900}
.thumbs{display:flex;gap:8px;overflow:auto;margin-top:8px}
.thumbs button{padding:0;border:1px solid var(--line);background:var(--surface2);border-radius:9px;overflow:hidden;flex:0 0 auto}
.thumbs button.selected{border-color:var(--accent)}
.thumbs img{width:62px;height:62px;object-fit:cover}
.detail-title{font-size:19px;line-height:1.7;margin:10px 0 3px}
.detail-price{font-size:22px;font-weight:900;margin-top:8px;color:var(--accent)}
.description,.detail-section{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.description p{color:#c7c8cb;font-size:11px;line-height:2.1}
.spec-table{background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden}
.spec{display:flex;justify-content:space-between;gap:15px;padding:11px;border-bottom:1px solid var(--line);font-size:11px}
.spec:last-child{border-bottom:0}
.video-card{margin-top:12px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:8px}
.video-card video{width:100%;border-radius:10px;display:block;background:#000;margin-bottom:8px}
.sticky-buy{position:sticky;bottom:82px;display:flex;gap:8px;background:rgba(13,14,17,.96);backdrop-filter:blur(12px);padding:9px;border:1px solid var(--line);border-radius:14px;margin-top:20px;z-index:10}
.sticky-buy form{flex:1}

/* ---------- Checkout ---------- */
.checkout-grid{display:flex;flex-direction:column;gap:10px}
.radio{display:block;padding:13px;border:1px solid var(--line);background:var(--surface);border-radius:12px;margin-bottom:8px}
.coupon-inline{display:flex;gap:8px;margin-bottom:15px}
.coupon-inline input{flex:1;padding:12px;background:#fff;color:#222;border:1px solid #ddd;border-radius:10px}
.discount-text{color:var(--green)}
.total-row b{color:var(--accent)}
.shipping-choice{display:flex;align-items:center;gap:9px}
.shipping-choice span{flex:1}
.shipping-choice b{color:var(--accent)}

/* ---------- Profile ---------- */
.profile-hero{background:linear-gradient(145deg,#171a20,#0e1014);border:1px solid #2a2e35;border-radius:20px;padding:17px;display:flex;align-items:center;gap:14px;box-shadow:var(--shadow);margin-bottom:12px}
.profile-avatar{width:64px;height:64px;border-radius:50%;border:1px solid #383d45;background:#08090b;display:grid;place-items:center;color:var(--accent)}
.profile-name{font-size:16px;font-weight:900}
.profile-phone{font-size:10px;color:var(--muted);margin-top:3px}
.profile-actions{margin-right:auto;display:flex;gap:7px}
.profile-menu{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.profile-menu .listrow{padding:14px 13px}
.profile-menu .listrow:last-child{border-bottom:0}
.menu-ico{width:34px;height:34px;border-radius:10px;background:var(--surface2);display:grid;place-items:center;color:var(--accent)}

/* ---------- Responsive ---------- */
@media (min-width:520px){
  .app{max-width:760px}
  .site-head{padding:13px 22px 14px}
  .brand-lockup strong{font-size:18px}
  .brand-lockup small{max-width:340px}
  .global-search{max-width:700px;margin:11px auto 0}
  .head-notification,.head-account{width:42px;height:42px}
  .products{grid-template-columns:repeat(3,1fr)}
  .hero{min-height:235px}
  .section{padding:18px 22px}
  .bottom{max-width:760px}
  .search-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
}
@media (min-width:800px){
  .app{max-width:1120px}
  .site-head{padding:15px 30px 16px}
  .head-main{height:52px}
  .brand-lockup img{width:76px;height:44px}
  .brand-lockup strong{font-size:19px}
  .global-search{max-width:780px;height:56px;margin-right:auto;margin-left:auto}
  .global-search button{flex-basis:48px;width:48px;height:48px}
  .products{grid-template-columns:repeat(4,1fr)}
  .content{padding-bottom:104px}
  .bottom{max-width:1120px}
  .section{padding:22px 28px}
  .cats,.category-grid{grid-template-columns:repeat(5,minmax(100px,1fr));max-width:860px}
  .hero{min-height:280px}
  .search-list{grid-template-columns:repeat(3,1fr)}
}
@media (min-width:1200px){
  .app{max-width:1320px}
  .products{grid-template-columns:repeat(5,1fr)}
  .bottom{max-width:1320px}
  .section{padding:25px 40px}
}
@media (max-width:380px){
  .brand-lockup small{display:none}
  .brand-lockup strong{font-size:15px}
  .brand-lockup img{width:54px;height:34px}
  .head-notification,.head-account{width:38px;height:38px}
  .global-search{height:49px}
  .global-search button{flex-basis:41px;width:41px;height:41px}
  .bottom a{min-width:52px}
}
/* مستر لوازمی v4: unified registration/login visual system */
.auth{background:radial-gradient(circle at 50% -10%,rgba(242,180,0,.10),transparent 34%),#050607;color:var(--text)}
.auth-shell{padding:20px 14px}.auth-panel{background:linear-gradient(180deg,#12151a,#0d0f13);color:var(--text);border:1px solid #2a2f36;border-radius:24px;padding:16px;box-shadow:0 30px 90px rgba(0,0,0,.55)}
.auth-brand-lockup{grid-column:auto;justify-content:center;max-width:100%;margin:0 auto 12px}.auth-brand-lockup strong{color:#fff}.auth-brand-lockup small{color:#818893}.auth-panel h1{color:#fff;margin:9px 0 5px;font-size:21px}.auth-panel .muted{color:#858c96;line-height:1.9}.auth-panel .field label{color:#9aa1aa}.auth-panel .field input,.auth-panel .field textarea,.auth-panel .field select{background:#181c21;color:#f5f5f3;border-color:#30353d}.auth-panel .field input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(242,180,0,.08)}.auth-panel .field input[readonly]{opacity:.7}.auth-panel .primary{color:#16120a}.auth-links{color:#8d949d}.auth-links a{color:var(--accent)}
.auth-stepper{display:grid;grid-template-columns:1fr 28px 1fr;align-items:center;gap:8px;margin:15px 0 12px;font-size:9px;color:#676e78}.auth-stepper i{height:1px;background:#2d3239}.auth-stepper span{padding:8px 6px;border:1px solid #2a2f36;border-radius:9px;text-align:center}.auth-stepper span.active{color:var(--accent);border-color:rgba(242,180,0,.3);background:rgba(242,180,0,.06)}
.auth-notice{margin:10px 0;padding:11px 12px;border-radius:11px;background:rgba(242,180,0,.08);border:1px solid rgba(242,180,0,.22);color:#eeb52a;font-size:10px;line-height:1.9}.auth-notice.error{background:rgba(229,83,75,.08);border-color:rgba(229,83,75,.25);color:#ff8d85}.auth-resend{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:13px}.link-btn{border:1px solid #2d3239;background:#171a1f;color:var(--accent);border-radius:10px;padding:9px 12px;font-size:10px}.auth-image-placeholder,.auth-brand-image{height:250px}.auth-panel .designer{color:#666d77}.auth-logo-placeholder{background:#181c21;border:1px solid #30353d;border-radius:12px;display:grid;place-items:center;color:var(--accent)}
@media(max-width:430px){.auth-shell{padding:12px 10px}.auth-panel{padding:13px;border-radius:20px}.auth-image-placeholder,.auth-brand-image{height:210px}.auth-panel h1{font-size:19px}}

/* مستر لوازمی V4 storefront */
.product-clickable{cursor:pointer}.product.is-out{opacity:.5;filter:saturate(.55)}.stock-badge{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:8px;background:rgba(67,214,128,.1);color:#70df9a;margin:5px 0}.stock-badge.low{background:rgba(255,191,67,.1);color:#ffc45a}.stock-badge.out{background:rgba(255,91,87,.1);color:#ff8d87}.product-page-pro{padding-top:8px}.product-hero{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}.product-info-panel{background:linear-gradient(145deg,#171a20,#0d1014);border:1px solid #292f36;border-radius:22px;padding:20px;box-shadow:0 18px 45px rgba(0,0,0,.2)}.rating-summary{display:flex;align-items:center;gap:8px;margin:12px 0}.stars{letter-spacing:2px;color:#ffc857}.stock-state{display:inline-flex;padding:7px 12px;border-radius:999px;font-size:10px;margin:4px 0 12px}.stock-state.ok{background:rgba(67,214,128,.1);color:#75e29c}.stock-state.low{background:rgba(255,191,67,.1);color:#ffc45a}.stock-state.out{background:rgba(255,91,87,.1);color:#ff8d87}.color-choice{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;margin:6px 5px 0 0;border:1px solid #303740;border-radius:12px;cursor:pointer;background:#11161b}.color-choice input{display:none}.color-choice.selected{border-color:var(--pm-accent);box-shadow:0 0 0 2px rgba(240,168,58,.12)}.color-dot{width:20px;height:20px;border-radius:50%;background:#777;border:2px solid #555}.color-dot[data-color*="مشکی"]{background:#111}.color-dot[data-color*="سفید"]{background:#fff}.color-dot[data-color*="قرمز"]{background:#e34b4b}.color-dot[data-color*="آبی"]{background:#397bd8}.color-dot[data-color*="سبز"]{background:#43a86b}.color-dot[data-color*="زرد"]{background:#e5bd38}.review-section,.product-row-section{margin-top:18px}.review-summary{display:flex;justify-content:space-between;align-items:center;padding:16px;border:1px solid #292f36;border-radius:16px;background:#0d1115}.review-summary strong{display:block;font-size:26px}.review-card,.review-form-card{padding:15px;border:1px solid #292f36;border-radius:15px;background:#0d1115;margin-top:9px}.review-card>div{display:flex;justify-content:space-between;gap:10px}.review-card h4{margin:8px 0 5px}.review-card p{color:#aab2bb;line-height:1.9;margin:0}.review-form-card input,.review-form-card textarea{width:100%;box-sizing:border-box;margin:7px 0;padding:11px;background:#090c10;border:1px solid #303740;color:#fff;border-radius:10px;font-family:inherit}.review-form-card textarea{min-height:100px}.rating-input{display:flex;gap:8px;direction:rtl}.rating-input label{padding:7px 11px;border:1px solid #303740;border-radius:9px}.rating-input input{width:auto;margin:0}.product-row-section .products{grid-template-columns:repeat(4,1fr)}@media(max-width:700px){.product-hero{grid-template-columns:1fr}.product-row-section .products{grid-template-columns:repeat(2,1fr)}.product-info-panel{padding:15px}}

.payment-soon{text-align:center;padding:30px!important}.payment-soon-icon{width:68px;height:68px;margin:0 auto 15px;border-radius:20px;display:grid;place-items:center;background:rgba(240,168,58,.1);color:var(--pm-accent)}.payment-soon p{line-height:2;max-width:560px;margin:10px auto 20px}.payment-soon .spec{margin:8px 0}
/* V5 product/review polish */
.product-page-pro .product-hero{position:relative;overflow:hidden;border-radius:24px;border:1px solid rgba(255,255,255,.06);box-shadow:0 20px 60px rgba(0,0,0,.25)}
.stars-display{display:inline-flex;gap:1px;direction:ltr;font-size:18px;line-height:1}.stars-display span{color:#3b4249}.stars-display span.filled{color:#f6b900;text-shadow:0 2px 10px rgba(246,185,0,.22)}
.review-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px;border:1px solid #293039;border-radius:18px;background:linear-gradient(135deg,#10151a,#0b0e12)}
.review-summary strong{display:block;font-size:38px;line-height:1;color:#fff}.review-summary .stars{display:flex;gap:2px;color:#f6b900;font-size:19px;margin-top:8px}
.rating-input{display:flex;direction:rtl;gap:4px;margin:12px 0 5px}.rating-input input{position:absolute;opacity:0;pointer-events:none}.rating-input label{cursor:pointer;font-size:32px;color:#3b4249;line-height:1;transition:.15s;filter:drop-shadow(0 3px 8px rgba(0,0,0,.2))}.rating-input label:hover,.rating-input label:hover~label,.rating-input label:has(input:checked),.rating-input label:has(input:checked)~label{color:#f6b900;transform:translateY(-2px)}.rating-help{font-size:9px;color:#707b86;margin-bottom:12px}
.review-card{padding:17px;border:1px solid #293039;border-radius:16px;background:#0d1115}.review-card .stars{color:#f6b900;direction:ltr;display:inline-flex;margin-right:8px}.review-form-card{margin-top:16px;padding:18px;border:1px solid rgba(246,185,0,.18);border-radius:18px;background:linear-gradient(135deg,rgba(246,185,0,.045),#0d1115)}
.review-admin-head{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:14px}.review-tabs{display:flex;gap:6px;flex-wrap:wrap}.review-tabs a{padding:9px 12px;border:1px solid #293039;border-radius:10px;color:#8f99a3;text-decoration:none;font-size:9px}.review-tabs a.on{color:#f6c52d;border-color:rgba(246,185,0,.35);background:rgba(246,185,0,.06)}.review-tabs b{margin-right:4px}.review-admin-list{display:flex;flex-direction:column;gap:10px}.review-admin-card{padding:16px;border:1px solid #293039;border-radius:16px;background:#0d1115}.review-admin-top,.review-admin-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px}.review-admin-top strong{display:block;color:#f0f2f4}.review-admin-top span{display:block;font-size:9px;color:#747f89;margin-top:4px}.admin-stars{direction:ltr;display:flex;gap:2px;font-size:19px}.admin-stars span{color:#3b4249}.admin-stars span.filled{color:#f6b900}.review-admin-card h3{font-size:12px;margin:13px 0 6px}.review-admin-card p{color:#b1b8bf;font-size:10px;line-height:2;margin:8px 0 15px}.review-actions{display:flex;gap:6px;flex-wrap:wrap}.review-status{font-size:9px;padding:7px 9px;border-radius:8px}.status-pending{color:#f6c52d;background:rgba(246,185,0,.08)}.status-approved{color:#73d6a2;background:rgba(50,190,120,.08)}.status-rejected{color:#ff8f87;background:rgba(255,80,70,.08)}
@media(max-width:700px){.review-admin-head{align-items:flex-start;flex-direction:column}.review-admin-top,.review-admin-bottom{align-items:flex-start;flex-direction:column}.review-actions{width:100%}.review-actions .btn{flex:1}.review-summary{align-items:flex-start;flex-direction:column}}

/* Form direction fixes */
input[type="tel"], input[name="mobile"], input[inputmode="numeric"]{direction:ltr;text-align:left;}
input::placeholder{opacity:.55;}
.cart-add-loading{opacity:.7;pointer-events:none;}

/* ===== PichMotor 2026 storefront polish ===== */
.product-image-link{display:block;position:relative;overflow:hidden;border-radius:13px;background:#15181d}
.product-image-link>img,.product-image-link>.ph{width:100%;aspect-ratio:1/1;display:grid;place-items:center;object-fit:cover;background:#15181d}
.product-image-action{position:absolute;left:8px;bottom:8px;padding:5px 9px;border-radius:999px;background:rgba(8,9,11,.84);border:1px solid rgba(255,255,255,.1);font-size:8px;color:#fff;opacity:0;transform:translateY(5px);transition:.18s}
.product:hover .product-image-action,.product:focus-within .product-image-action{opacity:1;transform:none}
.product-discount-badge{position:absolute;right:8px;top:8px;background:#e6534b;color:#fff;border-radius:8px;padding:5px 7px;font-size:8px;font-weight:900;box-shadow:0 7px 18px rgba(229,83,75,.2)}
.product-mini-meta{color:#7e8791;font-size:8px;margin-top:8px;min-height:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product-card-body{min-width:0}.price-line-pro{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:7px}.price-line-pro .price{margin-top:0;font-size:12px}.price-line-pro .price small{font-size:7px;color:#a0a5ac}.price-line-pro .old{font-size:8px}.actions-pro{align-items:center}.quick-add-form{flex:1;display:flex}.quick-add-btn{display:flex;align-items:center;justify-content:center;gap:5px;width:100%}.add.disabled{opacity:.55;cursor:not-allowed}.products-pro-list .product{padding:7px;border-radius:17px}.products-heading-pro{padding-bottom:4px}.clear-search-pro{font-size:9px;color:var(--accent);padding:7px 10px;border:1px solid rgba(242,180,0,.2);border-radius:9px}.product-breadcrumb{display:flex;align-items:center;gap:7px;overflow:auto;white-space:nowrap;color:#7d858e;font-size:8px;margin:0 0 10px;padding:2px 2px}.product-breadcrumb b{color:#c9ccd0;overflow:hidden;text-overflow:ellipsis}.product-breadcrumb a{color:#a0a7af}.product-hero-pro{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:14px;align-items:start}.product-gallery-pro{min-width:0}.gallery-main-wrap{background:linear-gradient(145deg,#171a1f,#0e1013);border:1px solid #292e36;border-radius:22px;padding:12px;position:relative;box-shadow:0 18px 45px rgba(0,0,0,.24)}.gallery-main-pro{width:100%;height:420px;object-fit:contain;background:#111418;border-radius:16px;display:block}.gallery-main-pro.ph{display:grid;place-items:center;color:#69717b}.gallery-badges{position:absolute;z-index:2;right:22px;top:22px;display:flex;gap:6px;flex-wrap:wrap}.discount-badge-pro{background:#e5534b;color:#fff;padding:7px 9px;border-radius:9px;font-size:9px;font-weight:900}.delivery-badge{background:rgba(25,182,107,.12);color:#72df9b;border:1px solid rgba(25,182,107,.18);padding:7px 9px;border-radius:9px;font-size:8px}.thumbs-pro{display:flex;gap:7px;overflow:auto;padding:8px 2px 2px}.thumbs-pro button{width:64px;height:64px;flex:0 0 auto;padding:3px;border-radius:11px;border:1px solid #2b3038;background:#15181d}.thumbs-pro button.selected{border-color:var(--accent);box-shadow:0 0 0 2px rgba(242,180,0,.1)}.thumbs-pro img{width:100%;height:100%;object-fit:cover;border-radius:8px}.product-buy-panel{background:linear-gradient(145deg,#171a1f,#0e1014);border:1px solid #292e36;border-radius:22px;padding:18px;box-shadow:0 18px 45px rgba(0,0,0,.2);position:sticky;top:78px}.product-brand-line{font-size:9px;color:#818993}.product-brand-line span{color:#4f565f;margin:0 4px}.detail-title-pro{font-size:20px;line-height:1.7;margin:8px 0 6px}.rating-summary-pro{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:9px;color:#8d959e}.rating-link{display:flex;align-items:center;gap:6px}.rating-link b{color:#f5f5f3;font-size:12px}.stars-display{direction:ltr;display:inline-flex;gap:1px;color:#3b4249}.stars-display span.filled{color:#f6b900}.view-count{white-space:nowrap}.stock-line{display:inline-flex;margin-top:13px;padding:7px 10px;border-radius:9px;font-size:9px}.stock-line.ok{background:rgba(25,182,107,.1);color:#75df9d}.stock-line.low{background:rgba(255,191,67,.1);color:#ffc45a}.stock-line.out{background:rgba(229,83,75,.1);color:#ff8d87}.buy-divider{height:1px;background:#292e36;margin:15px 0}.product-options-pro{margin-bottom:10px}.option-block{margin-bottom:14px}.option-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px;font-size:10px}.option-title span{color:#777f89;font-size:8px}.color-choices{display:flex;flex-wrap:wrap;gap:7px}.color-choice-pro{display:inline-flex;align-items:center;gap:7px;padding:9px 10px;border:1px solid #303640;border-radius:11px;background:#11151a;cursor:pointer;font-size:9px;transition:.15s}.color-choice-pro input{position:absolute;opacity:0;pointer-events:none}.color-choice-pro.selected{border-color:var(--accent);background:rgba(242,180,0,.07);box-shadow:0 0 0 2px rgba(242,180,0,.08)}.color-dot{width:18px;height:18px;border-radius:50%;border:2px solid #555;background:#777}.color-dot[data-color*="مشکی"]{background:#111}.color-dot[data-color*="سفید"]{background:#fff}.color-dot[data-color*="قرمز"]{background:#e34b4b}.color-dot[data-color*="آبی"]{background:#397bd8}.color-dot[data-color*="سبز"]{background:#43a86b}.color-dot[data-color*="زرد"]{background:#e5bd38}.buy-box-pro{margin-top:10px;padding:13px;border-radius:17px;background:#0c0f13;border:1px solid #282e36}.price-box-pro{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.final-price-pro{font-size:25px;font-weight:900;color:#fff}.final-price-pro small,.old-price-pro{font-size:8px;color:#858c95}.old-price-pro{text-decoration:line-through}.percent-pro{background:#e5534b;color:#fff;border-radius:7px;padding:4px 6px;font-size:8px;font-weight:900}.buy-actions-pro{display:flex;gap:7px;margin-top:10px}.buy-direct-form{display:flex;flex:1}.buy-main-pro{flex:1;border:0;border-radius:12px;padding:13px 10px;background:linear-gradient(180deg,var(--accent2),var(--accent));color:#151109;font-weight:900;display:flex;justify-content:center;align-items:center;gap:6px;box-shadow:0 10px 25px rgba(242,180,0,.15)}.buy-main-pro.disabled{opacity:.5}.wishlist-pro{width:47px;border:1px solid #333943;border-radius:12px;background:#15181d;display:grid;place-items:center;color:#f3f3ef}.shipping-note{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:10px}.shipping-note span{display:flex;align-items:center;gap:5px;padding:9px;border-radius:10px;background:#11151a;color:#cfd2d6}.shipping-note b{font-size:8px}.shipping-note small{display:block;color:#737b85;font-size:7px}.shipping-note svg{color:var(--accent);flex:0 0 auto}.product-tabs{position:sticky;top:68px;z-index:8;display:flex;gap:4px;overflow:auto;margin:16px -15px 0;padding:8px 15px;background:rgba(8,9,11,.94);backdrop-filter:blur(15px);border-top:1px solid #22272e;border-bottom:1px solid #22272e}.product-tabs a{flex:0 0 auto;padding:9px 12px;border-radius:10px;color:#8c949d;font-size:9px}.product-tabs a.active,.product-tabs a:hover{background:rgba(242,180,0,.09);color:var(--accent)}.detail-card-pro{margin-top:12px;padding:16px;background:linear-gradient(145deg,#12151a,#0c0f13);border:1px solid #252b33;border-radius:19px}.section-title-pro{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.section-title-pro h2{font-size:14px;margin:0;font-weight:900}.section-title-pro>span,.section-title-pro div span{display:block;color:#737b84;font-size:8px;margin-top:3px}.description-pro{font-size:10px;line-height:2.2;color:#c3c7cc;margin:0}.spec-table-pro{border:1px solid #292f37;border-radius:13px;overflow:hidden}.spec-row-pro{display:grid;grid-template-columns:35% 65%;border-bottom:1px solid #292f37;min-height:44px}.spec-row-pro:last-child{border-bottom:0}.spec-row-pro span,.spec-row-pro b{padding:11px;font-size:9px;display:flex;align-items:center}.spec-row-pro span{background:#181c21;color:#8b939c}.spec-row-pro b{color:#e6e7e8}.video-grid-pro{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.video-card-pro{padding:8px;background:#0b0e12;border:1px solid #292f37;border-radius:13px}.video-card-pro video{width:100%;aspect-ratio:16/9;display:block;border-radius:9px;background:#000}.video-card-pro b{font-size:9px;display:block;padding:8px 2px 2px}.review-count-pill{padding:7px 9px;border-radius:9px;background:#191d22;color:#b9bec4}.review-overview-pro{display:grid;grid-template-columns:130px 1fr;gap:20px;padding:16px;border-radius:15px;background:#0c1014;border:1px solid #282e36}.review-score-pro{text-align:center;border-left:1px solid #282e36;padding-left:18px}.review-score-pro strong{font-size:37px;display:block;line-height:1}.review-score-pro span{font-size:8px;color:#737b84}.stars-big{color:#f6b900;letter-spacing:2px;margin:7px 0}.rating-bars-pro{display:flex;flex-direction:column;gap:7px;justify-content:center}.rating-bars-pro>div{display:grid;grid-template-columns:12px 1fr 20px;align-items:center;gap:6px;font-size:8px;color:#888f98}.rating-bars-pro .bar{height:6px;border-radius:99px;background:#272d35;overflow:hidden}.rating-bars-pro .bar i{height:100%;display:block;background:#f6b900;border-radius:99px}.review-list-pro{display:flex;flex-direction:column;gap:8px;margin-top:10px}.review-card-pro{padding:14px;border:1px solid #292f37;border-radius:14px;background:#0d1115}.review-head-pro{display:flex;justify-content:space-between;align-items:center;gap:8px}.review-head-pro b{font-size:10px;display:block}.review-head-pro small{font-size:7px;color:#6f7780;display:block;margin-top:3px}.review-stars-pro{color:#f6b900;letter-spacing:1px}.review-card-pro h3{font-size:10px;margin:10px 0 5px}.review-card-pro p{font-size:9px;line-height:2;color:#b5bbc2;margin:0}.review-form-card-pro{margin-top:12px;padding:15px;border-radius:15px;background:rgba(242,180,0,.035);border:1px solid rgba(242,180,0,.16)}.review-form-card-pro h3{font-size:11px;margin:0 0 8px}.review-form-card-pro input,.review-form-card-pro textarea{width:100%;box-sizing:border-box;margin:6px 0;padding:11px;border-radius:10px;background:#090c10;color:#fff;border:1px solid #303740;outline:none}.review-form-card-pro textarea{min-height:105px;resize:vertical}.rating-input-pro{display:flex;direction:rtl;gap:4px}.rating-input-pro label{cursor:pointer;font-size:30px;color:#343b43}.rating-input-pro input{position:absolute;opacity:0;pointer-events:none}.rating-input-pro label:has(input:checked),.rating-input-pro label:hover,.rating-input-pro label:hover~label{color:#f6b900}.products-pro-row{grid-template-columns:repeat(4,1fr)}.products-pro-row .product{min-width:0}.products-pro-row .actions{display:none}

/* Cart */
.cart-page-pro{padding-top:18px}.cart-head-pro{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:15px}.cart-kicker{font-size:8px;letter-spacing:2px;color:var(--accent)}.cart-head-pro h1{font-size:22px;margin:3px 0}.continue-shopping{font-size:9px;padding:9px 11px;border-radius:10px;border:1px solid #303640;color:#d1d4d7}.cart-layout-pro{display:grid;grid-template-columns:1fr 310px;gap:14px;align-items:start}.cart-items-pro{display:flex;flex-direction:column;gap:9px}.cart-item-pro{display:flex;gap:11px;padding:11px;background:linear-gradient(145deg,#15181d,#0e1115);border:1px solid #292f37;border-radius:17px;min-width:0}.cart-thumb-pro{width:95px;height:95px;flex:0 0 auto;border-radius:13px;overflow:hidden;background:#181b20}.cart-thumb-pro img,.cart-thumb-pro .ph{width:100%;height:100%;object-fit:cover;display:grid;place-items:center}.cart-item-info-pro{flex:1;min-width:0}.cart-item-title-pro{font-size:11px;font-weight:900;line-height:1.6;display:block}.cart-option-pro{display:block;font-size:8px;color:#7e8791;margin-top:3px}.cart-option-pro b{color:#cbd0d5}.cart-stock-pro{display:block;color:#70d998;font-size:7px;margin-top:5px}.cart-item-bottom-pro{display:flex;justify-content:space-between;align-items:flex-end;gap:8px;margin-top:12px}.cart-item-bottom-pro>strong{font-size:13px;color:#fff;white-space:nowrap}.cart-item-bottom-pro>strong small{font-size:7px;color:#858c94}.qty-form-pro{display:flex;align-items:center;gap:4px}.qty-form-pro button:not(.qty-save),.qty-form-pro input{width:29px;height:29px;border:1px solid #303640;background:#15191e;color:#fff;border-radius:8px;text-align:center}.qty-form-pro input{font-size:10px}.qty-save{display:none}.cart-remove-pro{margin-right:auto}.cart-remove-pro button{border:0;background:transparent;color:#8a919a;font-size:8px;display:flex;align-items:center;gap:4px}.cart-remove-pro button:hover{color:#ff8b84}.cart-summary-pro{position:sticky;top:80px;padding:16px;border-radius:18px;background:linear-gradient(145deg,#171a20,#0c0f13);border:1px solid #2b3139;box-shadow:0 16px 40px rgba(0,0,0,.25)}.summary-title{font-size:14px;font-weight:900;margin-bottom:13px}.summary-row,.summary-total{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #272d35;font-size:10px}.summary-row b{font-size:10px}.summary-row small,.summary-total small{font-size:7px;color:#777f88}.summary-note{display:flex;align-items:flex-start;gap:7px;margin:12px 0;padding:10px;border-radius:11px;background:rgba(25,182,107,.06);border:1px solid rgba(25,182,107,.13);color:#8fd9ac;font-size:8px;line-height:1.8}.summary-note svg{flex:0 0 auto}.summary-total{border-bottom:0;padding:14px 0;font-weight:900}.summary-total strong{font-size:17px;color:var(--accent)}.cart-checkout-btn{margin-top:4px}.secure-note{text-align:center;color:#6f7780;font-size:7px;margin:9px 0 0}.cart-empty-pro{text-align:center;padding:60px 18px 70px;border:1px dashed #303640;border-radius:20px;background:linear-gradient(145deg,#12151a,#0b0e11)}.cart-empty-icon{width:76px;height:76px;border-radius:23px;margin:0 auto 14px;display:grid;place-items:center;color:var(--accent);background:rgba(242,180,0,.08);border:1px solid rgba(242,180,0,.16)}.cart-empty-pro h2{font-size:16px}.cart-empty-pro p{font-size:10px;color:#7e858d;line-height:2;margin-bottom:18px}.cart-empty-pro .btn{max-width:260px;margin:auto}
#pmToast{position:fixed;z-index:100;left:50%;bottom:86px;transform:translate(-50%,20px);opacity:0;pointer-events:none;width:min(390px,calc(100% - 28px));padding:12px 15px;border-radius:13px;background:#171b20;border:1px solid rgba(242,180,0,.3);box-shadow:0 18px 45px rgba(0,0,0,.45);color:#f3f4f4;text-align:center;font-size:10px;transition:.2s}#pmToast.show{opacity:1;transform:translate(-50%,0)}#pmToast.error{border-color:rgba(229,83,75,.45);color:#ffaaa4}
.auth-register-panel .field input[name="mobile"]{direction:ltr;text-align:left;unicode-bidi:plaintext}.auth-register-panel .field input[name="mobile"]::placeholder{direction:ltr;text-align:left;color:#767c84}

@media(max-width:760px){.product-hero-pro{grid-template-columns:1fr}.product-buy-panel{position:relative;top:auto}.gallery-main-pro{height:320px}.product-tabs{top:58px}.cart-layout-pro{grid-template-columns:1fr}.cart-summary-pro{position:relative;top:auto}.products-pro-row{grid-template-columns:repeat(2,1fr)}.video-grid-pro{grid-template-columns:1fr}.review-overview-pro{grid-template-columns:105px 1fr;gap:12px}.review-score-pro{padding-left:12px}.cart-thumb-pro{width:82px;height:82px}.cart-item-bottom-pro{align-items:flex-start;flex-direction:column}.cart-item-bottom-pro>strong{order:-1}.product-page-pro{padding-left:12px;padding-right:12px}.product-hero-pro{gap:10px}.detail-title-pro{font-size:18px}.shipping-note{grid-template-columns:1fr 1fr}}
@media(max-width:430px){.products-pro-list{gap:8px}.products-pro-list .product{padding:6px}.final-price-pro{font-size:22px}.gallery-main-pro{height:285px}.product-buy-panel{padding:14px}.cart-head-pro{align-items:flex-start}.continue-shopping{margin-top:5px}.cart-item-pro{padding:9px}.cart-thumb-pro{width:74px;height:74px}.cart-item-title-pro{font-size:10px}.qty-form-pro button:not(.qty-save),.qty-form-pro input{width:27px;height:27px}.cart-summary-pro{padding:14px}}
.nav-cart-badge{position:absolute;top:2px;right:8px;min-width:16px;height:16px;padding:0 4px;border-radius:99px;background:var(--accent);color:#17120a;font-size:7px;font-weight:900;display:grid;place-items:center;border:2px solid #0a0b0d}.bottom a{position:relative}

/* Product detail/reviews stabilization */
.product-page-pro,.product-reviews-page{width:100%;max-width:1180px;margin:0 auto;box-sizing:border-box;overflow:visible}
.product-page-pro *,.product-reviews-page *{box-sizing:border-box}
.product-page-pro .product-hero-pro{width:100%;min-width:0}
.product-page-pro .product-gallery-pro,.product-page-pro .product-buy-panel{min-width:0;width:100%}
.product-page-pro .gallery-main-wrap{width:100%;overflow:hidden}
.product-page-pro .gallery-main-pro{max-width:100%;height:min(52vw,430px);min-height:260px;object-fit:contain}
.product-page-pro .thumbs-pro{width:100%;max-width:100%;scrollbar-width:thin}
.product-page-pro .product-buy-panel{overflow:hidden}
.product-page-pro .detail-title-pro{overflow-wrap:anywhere;word-break:normal}
.product-page-pro .product-options-pro{width:100%;overflow:hidden}
.product-page-pro .color-choices{width:100%;align-items:stretch}
.product-page-pro .color-choice-pro{max-width:100%;white-space:nowrap}
.product-page-pro .buy-box-pro{width:100%}
.product-page-pro .buy-actions-pro,.product-page-pro .buy-direct-form{min-width:0;width:100%}
.product-page-pro .buy-main-pro{min-width:0;white-space:normal}
.product-page-pro .product-tabs{width:auto;max-width:100vw}
.product-page-pro .detail-card-pro{width:100%;overflow:hidden}
.product-page-pro .spec-table-pro{width:100%;max-width:100%;overflow:hidden}
.product-page-pro .video-grid-pro{width:100%}
.product-page-pro .video-card-pro{min-width:0}
.product-page-pro .video-card-pro video{max-width:100%}
.product-page-pro .product-row-section .products-pro-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;width:100%}
.product-page-pro .product-row-section .product{min-width:0;width:100%;overflow:hidden}
.reviews-entry-pro{border-color:rgba(242,180,0,.22)}
.reviews-entry-inner{display:flex;align-items:center;justify-content:space-between;gap:18px}
.eyebrow-pro{font-size:8px;color:var(--accent);display:block;margin-bottom:5px}
.reviews-entry-inner h2{font-size:15px;margin:0 0 5px}
.reviews-entry-inner p{font-size:9px;color:#7f8790;margin:0}
.reviews-entry-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 17px;border-radius:12px;background:linear-gradient(180deg,var(--accent2),var(--accent));color:#17120a;font-size:10px;font-weight:900;white-space:nowrap;box-shadow:0 10px 24px rgba(242,180,0,.14)}
.reviews-entry-btn span{font-size:14px}
.reviews-product-head{margin-bottom:14px}
.reviews-back{display:inline-flex;margin-bottom:12px;color:#aeb5bc;font-size:9px}
.reviews-product-card{display:flex;align-items:center;gap:13px;padding:13px;border:1px solid #292f37;border-radius:18px;background:linear-gradient(145deg,#15181d,#0d1014)}
.reviews-product-cover{width:82px;height:82px;flex:0 0 auto;border-radius:13px;overflow:hidden;background:#11151a}
.reviews-product-cover img,.reviews-product-cover .ph{width:100%;height:100%;object-fit:cover;display:grid;place-items:center}
.reviews-product-card h1{font-size:15px;margin:4px 0 7px;line-height:1.7}
.reviews-product-rating{display:flex;align-items:center;gap:8px;font-size:9px}.reviews-product-rating b{font-size:14px}.reviews-product-rating small{color:#858d96}.stars-gold{color:#f6b900;letter-spacing:2px}.stars-gold.big{font-size:19px;margin:5px 0 12px}
.reviews-layout-pro{display:grid;grid-template-columns:260px minmax(0,1fr);gap:14px;align-items:start}
.reviews-summary-pro{position:sticky;top:80px;padding:17px;border:1px solid #292f37;border-radius:18px;background:linear-gradient(145deg,#15181d,#0d1014)}
.reviews-score-big{font-size:40px;font-weight:900;line-height:1}.reviews-score-big small{font-size:8px;color:#737b84;font-weight:400;margin-right:5px}
.review-bar-row{display:grid;grid-template-columns:34px minmax(0,1fr) 22px;align-items:center;gap:7px;font-size:8px;color:#9299a1;margin-top:8px}.review-bar-row i{display:block;height:6px;border-radius:99px;background:#282e35;overflow:hidden}.review-bar-row i b{display:block;height:100%;border-radius:99px;background:#f6b900}
.reviews-main-pro{min-width:0}.reviews-main-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.reviews-main-head h2{font-size:16px;margin:0}.reviews-main-head p{font-size:8px;color:#737b84;margin:4px 0 0}.public-review-card{padding:15px;margin-bottom:9px;border:1px solid #292f37;border-radius:16px;background:#0d1115;overflow:hidden}.public-review-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.public-review-top b{font-size:10px}.public-review-top small{display:block;color:#6f7780;font-size:7px;margin-top:3px}.public-review-card h3{font-size:10px;margin:10px 0 5px}.public-review-card>p{font-size:9px;line-height:2;color:#b8bec5;margin:0;overflow-wrap:anywhere}.admin-reply-pro{margin-top:12px;padding:11px 12px;border-radius:12px;background:rgba(242,180,0,.055);border-right:3px solid var(--accent)}.admin-reply-pro>div{display:flex;justify-content:space-between;gap:10px;align-items:center}.admin-reply-pro strong{font-size:9px;color:var(--accent)}.admin-reply-pro small{font-size:7px;color:#717983}.admin-reply-pro p{font-size:9px;line-height:1.9;color:#c8cdd2;margin:7px 0 0}
.review-product-filter{margin:12px 0;padding:13px;display:flex;justify-content:flex-start}.review-product-filter label{display:block;font-size:9px;margin-bottom:6px;color:#8c949d}.review-product-filter select{min-width:280px;max-width:100%;padding:10px 12px;border:1px solid #303640;border-radius:10px;background:#11151a;color:#fff;font-family:inherit}
.review-product-divider{display:flex;align-items:center;gap:9px;padding:13px 4px 7px;margin-top:8px;border-bottom:1px solid #292f37}.review-product-divider span{font-size:8px;color:#737b84}.review-product-divider strong{font-size:11px}.review-product-divider a{margin-right:auto;font-size:8px;color:var(--accent)}
.admin-reply-form{margin-top:12px;padding:12px;border-radius:13px;background:#101419;border:1px solid #282e36}.admin-reply-form label{display:block;font-size:8px;color:#8e969f;margin-bottom:7px}.admin-reply-form label b{color:var(--accent)}.admin-reply-form textarea{display:block;width:100%;box-sizing:border-box;min-height:70px;resize:vertical;padding:10px;border:1px solid #303740;border-radius:10px;background:#090c10;color:#fff;font-family:inherit;font-size:9px;outline:none}.admin-reply-form .btn{margin-top:8px}.admin-reply-box{margin-top:12px;padding:11px;border-radius:12px;background:rgba(242,180,0,.055);border:1px solid rgba(242,180,0,.15)}.admin-reply-box>div{display:flex;justify-content:space-between;gap:10px;align-items:center}.admin-reply-box b{font-size:9px;color:var(--accent)}.admin-reply-box small{font-size:7px;color:#727a84}.admin-reply-box p{font-size:9px;line-height:1.9;color:#c7ccd1;margin:7px 0}.admin-reply-box form{display:flex;justify-content:flex-start}
@media(max-width:760px){
 .product-page-pro{padding-left:10px;padding-right:10px}
 .product-page-pro .gallery-main-pro{height:310px;min-height:230px}
 .product-page-pro .product-buy-panel{padding:14px;border-radius:18px}
 .product-page-pro .product-tabs{margin-left:-10px;margin-right:-10px;padding-left:10px;padding-right:10px}
 .product-page-pro .product-row-section .products-pro-row{grid-template-columns:repeat(2,minmax(0,1fr))}
 .reviews-layout-pro{grid-template-columns:1fr}
 .reviews-summary-pro{position:relative;top:auto}
 .reviews-main-head{align-items:flex-start}
 .reviews-product-card h1{font-size:12px}
 .reviews-product-cover{width:68px;height:68px}
 .reviews-entry-inner{align-items:stretch;flex-direction:column}
 .reviews-entry-btn{width:100%}
 .review-product-filter select{min-width:0;width:100%}
 .review-product-divider{align-items:flex-start;flex-wrap:wrap}
 .review-product-divider a{width:100%;margin:0}
}
@media(max-width:430px){
 .product-page-pro .gallery-main-pro{height:275px}
 .product-page-pro .detail-title-pro{font-size:17px}
 .product-page-pro .final-price-pro{font-size:22px}
 .product-page-pro .shipping-note{grid-template-columns:1fr}
 .reviews-product-card{align-items:flex-start}
 .reviews-main-head{gap:6px}
 .reviews-main-head h2{font-size:14px}
 .review-count-pill{font-size:8px}
}


/* v12 product detail polish: stable tabs + unmistakable pricing */
.product-page-pro .product-tabs{
  position:relative;
  top:auto;
  z-index:3;
  width:100%;
  max-width:none;
  margin:18px 0 0;
  padding:7px;
  display:flex;
  align-items:stretch;
  justify-content:flex-start;
  gap:6px;
  overflow-x:auto;
  overflow-y:hidden;
  direction:rtl;
  background:#0d1014;
  border:1px solid #252b33;
  border-radius:15px;
  box-shadow:0 8px 24px rgba(0,0,0,.16);
  scrollbar-width:none;
}
.product-page-pro .product-tabs::-webkit-scrollbar{display:none}
.product-page-pro .product-tabs a{
  flex:1 1 0;
  min-width:max-content;
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:9px 13px;
  border:1px solid transparent;
  border-radius:10px;
  color:#8d959e;
  font-size:10px;
  font-weight:800;
  line-height:1.2;
  text-decoration:none;
  white-space:nowrap;
}
.product-page-pro .product-tabs a.active,
.product-page-pro .product-tabs a:hover{
  background:rgba(242,180,0,.10);
  border-color:rgba(242,180,0,.20);
  color:var(--accent);
}
.product-page-pro .buy-box-pro{
  margin-top:14px;
  padding:15px;
  border-radius:18px;
  background:linear-gradient(145deg,#11151a,#0a0d11);
  border:1px solid #303640;
}
.product-page-pro .price-box-pro{
  display:grid;
  grid-template-columns:1fr auto;
  grid-template-areas:
    "label discount"
    "final discount";
  align-items:center;
  gap:3px 10px;
  justify-content:stretch;
  direction:rtl;
  padding:4px 2px 10px;
}
.product-page-pro .price-box-pro:before{
  content:'قیمت نهایی';
  grid-area:label;
  color:#8d959e;
  font-size:9px;
  font-weight:700;
  text-align:right;
}
.product-page-pro .final-price-pro{
  grid-area:final;
  display:flex;
  align-items:baseline;
  gap:5px;
  color:#fff;
  font-size:30px;
  font-weight:950;
  line-height:1.15;
  letter-spacing:-.3px;
  white-space:nowrap;
}
.product-page-pro .final-price-pro small{
  color:#aab0b7;
  font-size:10px;
  font-weight:700;
}
.product-page-pro .old-price-pro{
  grid-column:1/-1;
  grid-row:3;
  color:#69717b;
  font-size:10px;
  text-decoration:line-through;
  text-align:right;
  margin-top:1px;
}
.product-page-pro .percent-pro{
  grid-area:discount;
  align-self:center;
  min-width:42px;
  padding:7px 8px;
  border-radius:9px;
  background:#e5534b;
  color:#fff;
  font-size:10px;
  font-weight:950;
  text-align:center;
}
.product-page-pro .buy-actions-pro{margin-top:4px}
@media(max-width:760px){
  .product-page-pro .product-tabs{margin-top:14px;padding:6px}
  .product-page-pro .product-tabs a{flex:0 0 auto;min-width:92px}
  .product-page-pro .final-price-pro{font-size:28px}
}
@media(max-width:430px){
  .product-page-pro .price-box-pro{padding-bottom:9px}
  .product-page-pro .final-price-pro{font-size:26px}
  .product-page-pro .final-price-pro small{font-size:9px}
  .product-page-pro .product-tabs a{min-width:88px;font-size:9px}
}

/* Payment success */
.payment-result-page{max-width:920px;margin:0 auto;padding-top:28px}.payment-success-card{position:relative;overflow:hidden;text-align:center;padding:42px 24px;border:1px solid rgba(46,204,113,.18);border-radius:28px;background:linear-gradient(180deg,rgba(46,204,113,.08),rgba(255,255,255,.02));box-shadow:0 18px 55px rgba(0,0,0,.08)}.payment-success-icon{width:82px;height:82px;margin:0 auto 18px;border-radius:50%;display:grid;place-items:center;background:#21a366;color:#fff;font-size:48px;font-weight:900;box-shadow:0 12px 35px rgba(33,163,102,.25)}.payment-success-kicker{display:inline-block;color:#1c9a5e;font-weight:800;font-size:14px}.payment-success-card h1{margin:10px 0 8px;font-size:30px}.payment-success-card>p{max-width:650px;margin:0 auto;line-height:2;color:var(--pm-muted)}.payment-result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:28px 0;text-align:right}.payment-result-grid>div{padding:15px;border:1px solid rgba(0,0,0,.07);border-radius:16px;background:rgba(255,255,255,.72)}.payment-result-grid span{display:block;color:var(--pm-muted);font-size:12px;margin-bottom:6px}.payment-result-grid b{display:block;word-break:break-word}.payment-result-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.payment-items-card{margin-top:16px}.payment-items-card h3{margin-top:0}@media(max-width:700px){.payment-result-grid{grid-template-columns:1fr 1fr}.payment-success-card h1{font-size:24px}}@media(max-width:450px){.payment-result-grid{grid-template-columns:1fr}}
.payment-failed-card{position:relative;overflow:hidden;text-align:center;padding:42px 24px;border:1px solid rgba(220,70,70,.18);border-radius:28px;background:linear-gradient(180deg,rgba(220,70,70,.07),rgba(255,255,255,.02));box-shadow:0 18px 55px rgba(0,0,0,.08)}.payment-failed-icon{width:82px;height:82px;margin:0 auto 18px;border-radius:50%;display:grid;place-items:center;background:#c94b4b;color:#fff;font-size:48px;font-weight:900;box-shadow:0 12px 35px rgba(201,75,75,.2)}
.payment-option{display:block!important;padding:12px!important;margin-bottom:8px;border:1px solid #252c34;border-radius:14px;background:#101419}.payment-option input{margin-left:8px}.pay-logo{display:inline-flex;align-items:center;gap:10px;vertical-align:middle}.pay-logo small{display:block;color:#9aa3ad;font-size:10px;margin-top:2px}.zarin-mark,.wallet-mark{width:38px;height:38px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;font-weight:900;font-size:20px}.zarin-mark{background:#f7c52b;color:#151515}.wallet-mark{background:#252d38;color:#f7c52b}

/* PichMotor Wallet + Payment Premium UI */
.wallet-page{max-width:1040px;margin:0 auto;padding-bottom:35px}.wallet-hero{position:relative;overflow:hidden;display:flex;justify-content:space-between;align-items:center;min-height:245px;padding:32px 36px;border:1px solid rgba(242,180,0,.22);border-radius:28px;background:radial-gradient(circle at 15% 50%,rgba(242,180,0,.17),transparent 34%),linear-gradient(135deg,#15191f,#080a0e 70%);box-shadow:0 24px 70px rgba(0,0,0,.22)}.wallet-hero:after{content:"";position:absolute;width:270px;height:270px;border-radius:50%;border:1px solid rgba(242,180,0,.12);left:-70px;top:-70px}.wallet-hero-copy{position:relative;z-index:2}.wallet-kicker,.wallet-card-kicker,.wallet-section-head>div>span{display:inline-flex;align-items:center;gap:7px;color:#f2b400;font-size:12px;font-weight:900}.wallet-hero h1{margin:10px 0 5px;font-size:34px}.wallet-hero p{margin:0;color:#aeb5bd;max-width:560px;line-height:2}.wallet-balance-box{margin-top:20px;display:inline-flex;flex-direction:column;gap:3px;padding:12px 18px;border-radius:16px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.08)}.wallet-balance-box span{font-size:11px;color:#8e98a3}.wallet-balance-box strong{font-size:23px;color:#fff}.wallet-hero-icon{position:relative;z-index:2;width:145px;height:145px;display:grid;place-items:center;border-radius:40px;color:#f2b400;background:linear-gradient(145deg,rgba(242,180,0,.15),rgba(255,255,255,.025));border:1px solid rgba(242,180,0,.18);box-shadow:0 0 70px rgba(242,180,0,.12)}.wallet-topup-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,.8fr);gap:16px;margin-top:16px}.wallet-topup-card{padding:24px}.wallet-card-title,.wallet-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.wallet-card-title h2,.wallet-section-head h2{margin:5px 0 0;font-size:22px}.wallet-title-icon,.wallet-history-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:rgba(242,180,0,.1);color:#f2b400}.wallet-help{font-size:12px;line-height:2;margin:12px 0 18px}.suggested-title{font-size:12px;font-weight:900;margin-bottom:10px}.wallet-suggestions{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.wallet-amount-btn{cursor:pointer;border:1px solid #29313a;background:#0d1116;color:#fff;border-radius:14px;padding:13px 8px;font:inherit;font-weight:900;transition:.2s}.wallet-amount-btn small{color:#9098a1;font-size:9px}.wallet-amount-btn:hover,.wallet-amount-btn.active{border-color:#f2b400;box-shadow:0 0 0 2px rgba(242,180,0,.1);background:rgba(242,180,0,.08)}.wallet-input-label{display:block;margin:17px 0 8px;font-size:12px;font-weight:900}.wallet-amount-input{display:flex;align-items:center;gap:8px;border:1px solid #2a323c;border-radius:15px;background:#0b0f14;padding:0 14px}.wallet-amount-input:focus-within{border-color:#f2b400;box-shadow:0 0 0 3px rgba(242,180,0,.08)}.wallet-amount-input input{flex:1;border:0!important;background:transparent!important;outline:0;color:#fff;font-size:17px;font-weight:900;padding:15px 2px}.wallet-amount-input span{color:#7f8994;font-size:11px}.wallet-preview{display:flex;justify-content:space-between;align-items:center;margin-top:10px;padding:12px 14px;border-radius:13px;background:#11161d}.wallet-preview span{color:#8f98a2;font-size:11px}.wallet-preview strong{color:#f2b400}.wallet-topup-submit{width:100%;margin-top:12px!important;display:flex!important;align-items:center;justify-content:center;gap:10px!important}.zarin-mini-logo{width:45px;height:25px;display:flex;align-items:center;justify-content:center;border-radius:6px;background:#fff;overflow:hidden}.zarin-mini-logo img{width:41px;height:auto;display:block}.wallet-security{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:10px;color:#7e8994;font-size:10px}.wallet-zarin-card{position:relative;overflow:hidden;padding:25px;border-radius:24px;border:1px solid rgba(242,180,0,.16);background:linear-gradient(160deg,#191426,#0b0d14);min-height:100%;display:flex;flex-direction:column;justify-content:center}.zarin-card-glow{position:absolute;width:190px;height:190px;border-radius:50%;background:rgba(242,180,0,.12);filter:blur(40px);top:-65px;left:-40px}.zarin-card-logo{position:relative;width:100%;height:82px;border-radius:16px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;margin-bottom:18px}.zarin-card-logo img{max-width:180px;max-height:62px;width:auto}.zarin-card-title{position:relative;font-size:19px;font-weight:950;color:#fff}.wallet-zarin-card p{position:relative;color:#a7adb6;font-size:11px;line-height:2;margin:10px 0 18px}.zarin-card-badges{position:relative;display:flex;gap:7px;flex-wrap:wrap}.zarin-card-badges span{display:inline-flex;align-items:center;gap:5px;padding:8px 10px;border-radius:10px;background:rgba(255,255,255,.05);color:#d8dde2;font-size:10px}.wallet-info-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}.wallet-info-card{display:flex;align-items:center;gap:11px;padding:15px;border:1px solid #242b34;border-radius:16px;background:#0d1116}.wallet-info-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:rgba(242,180,0,.1);color:#f2b400;font-size:17px}.wallet-info-card b{display:block;font-size:12px}.wallet-info-card small{display:block;color:#7f8994;font-size:9px;margin-top:3px}.wallet-history{margin-top:22px}.wallet-history-card{margin-top:12px;padding:4px 16px}.wallet-tx{display:flex;align-items:center;gap:12px;padding:15px 3px;border-bottom:1px solid #1b222a}.wallet-tx:last-child{border-bottom:0}.wallet-tx-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;font-size:19px;font-weight:950}.wallet-tx-icon.credit{background:rgba(33,199,122,.1);color:#21c77a}.wallet-tx-icon.debit{background:rgba(255,107,107,.1);color:#ff6b6b}.wallet-tx-main{flex:1;min-width:0}.wallet-tx-main b{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wallet-tx-main small{display:block;color:#747f8b;font-size:9px;margin-top:4px}.wallet-tx-amount{font-size:12px;white-space:nowrap}.wallet-tx-amount.credit{color:#21c77a}.wallet-tx-amount.debit{color:#ff6b6b}.wallet-empty{display:flex;align-items:center;flex-direction:column;gap:7px;padding:35px 10px;color:#8e98a3}.wallet-empty span{color:#f2b400}.wallet-empty b{color:#fff;font-size:13px}.wallet-empty small{font-size:10px}.wallet-notice.success{border-color:rgba(33,199,122,.22)}.wallet-notice.error{border-color:rgba(255,107,107,.22)}
.payment-head{display:flex;justify-content:space-between;align-items:end;gap:10px;margin:18px 0 10px}.payment-head span{display:block;color:#8e98a3;font-size:10px}.payment-head b{display:block;font-size:17px;margin-top:3px}.payment-head small{color:#7f8994;font-size:10px}.payment-methods{display:grid;grid-template-columns:1fr 1fr;gap:10px}.payment-option-modern{display:block;cursor:pointer;margin:0!important}.payment-option-modern>input{position:absolute;opacity:0;pointer-events:none}.payment-method-inner{display:grid;grid-template-columns:24px 55px minmax(0,1fr) 18px;align-items:center;gap:10px;min-height:82px;padding:13px 14px;border:1px solid #29313a;border-radius:18px;background:linear-gradient(145deg,#10151b,#0b0e12);transition:.2s;direction:rtl}.wallet-method-inner{grid-template-columns:24px 48px minmax(0,1fr) auto 18px}.payment-method-inner>*{min-width:0}.wallet-balance-badge{white-space:nowrap;border:1px solid rgba(242,180,0,.2);background:rgba(242,180,0,.08);color:#f2b400;border-radius:999px;padding:7px 9px;font-size:8px;font-weight:800}.payment-option-modern input:checked+.payment-method-inner{border-color:#f2b400;box-shadow:0 0 0 2px rgba(242,180,0,.08),0 10px 30px rgba(0,0,0,.16)}.payment-radio{width:17px;height:17px;border-radius:50%;border:1px solid #59636e;position:relative}.payment-option-modern input:checked+.payment-method-inner .payment-radio{border-color:#f2b400}.payment-option-modern input:checked+.payment-method-inner .payment-radio:after{content:"";position:absolute;inset:4px;border-radius:50%;background:#f2b400}.payment-brand-logo{width:55px;height:44px;border-radius:10px;background:#fff;display:grid;place-items:center;overflow:hidden}.payment-brand-logo img{max-width:50px;max-height:34px}.payment-wallet-icon{width:48px;height:44px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,rgba(242,180,0,.14),rgba(242,180,0,.05));border:1px solid rgba(242,180,0,.16);color:#f2b400;flex:0 0 auto}.payment-copy b{display:block;font-size:12px}.payment-copy small{display:block;color:#7f8994;font-size:9px;line-height:1.7;margin-top:3px}.payment-arrow{color:#66717d;font-size:22px}.wallet-payment-option.is-disabled{opacity:.52;cursor:not-allowed}.wallet-payment-option.is-disabled .payment-method-inner{filter:grayscale(.3)}
@media(max-width:760px){.wallet-hero{padding:25px 20px;min-height:220px}.wallet-hero h1{font-size:28px}.wallet-hero-icon{width:100px;height:100px}.wallet-topup-grid{grid-template-columns:1fr}.wallet-info-row{grid-template-columns:1fr}.payment-methods{grid-template-columns:1fr}.payment-head{align-items:flex-start;flex-direction:column}.wallet-suggestions{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.wallet-hero-icon{display:none}.wallet-topup-card{padding:17px}.wallet-tx{gap:8px}.wallet-tx-amount{font-size:10px}.wallet-hero{border-radius:20px}.wallet-zarin-card{min-height:300px}}

/* Pich Motor premium order/payment experience */
.payment-success-hero{position:relative;overflow:hidden;text-align:center;padding:46px 24px 34px;border:1px solid rgba(33,199,122,.22);border-radius:30px;background:radial-gradient(circle at 50% -20%,rgba(33,199,122,.22),transparent 42%),linear-gradient(145deg,#0d1714,#0a0e0d);box-shadow:0 24px 80px rgba(0,0,0,.22)}
.payment-success-hero:before{content:"";position:absolute;inset:18px;border:1px solid rgba(255,255,255,.045);border-radius:24px;pointer-events:none}.success-orbit{width:108px;height:108px;margin:0 auto 16px;border-radius:50%;display:grid;place-items:center;border:1px dashed rgba(57,217,138,.35);box-shadow:0 0 0 12px rgba(57,217,138,.035)}.payment-success-hero .payment-success-icon{width:78px;height:78px;margin:0;background:#21c77a;box-shadow:0 12px 45px rgba(33,199,122,.3);font-size:42px}.payment-success-hero .payment-success-kicker{color:#68e4a3;font-size:13px}.payment-success-hero h1{font-size:31px;color:#fff;margin:8px 0}.payment-success-hero p{color:#a8b3ad;line-height:2;margin:0 auto 16px;max-width:620px}.success-order-chip{display:inline-flex;align-items:center;gap:10px;padding:9px 13px;border-radius:13px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08);color:#c8d0cc;margin-bottom:18px}.success-order-chip span{font-size:10px;color:#78857f}.success-order-chip b{font-size:13px;color:#fff;direction:ltr}.payment-result-actions{position:relative;z-index:2}.payment-result-actions .btn.soft{background:rgba(255,255,255,.055);color:#d8ddda;border-color:rgba(255,255,255,.1)}.payment-success-details{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}.payment-info-card{display:flex;flex-direction:column;gap:5px;padding:16px;border:1px solid #e7e9eb;border-radius:17px;background:rgba(255,255,255,.86);box-shadow:0 10px 30px rgba(0,0,0,.04)}.payment-info-card .info-icon{font-size:20px}.payment-info-card small{font-size:10px;color:#818991}.payment-info-card b{font-size:12px;overflow-wrap:anywhere}.payment-next-step{display:flex;align-items:center;gap:12px;margin-top:14px;padding:15px 17px;border-radius:17px;border:1px solid rgba(33,199,122,.17);background:linear-gradient(90deg,rgba(33,199,122,.07),rgba(242,180,0,.035))}.next-icon{width:38px;height:38px;flex:0 0 auto;border-radius:12px;display:grid;place-items:center;background:#21c77a;color:#fff;font-weight:900}.payment-next-step b{display:block;font-size:12px}.payment-next-step span{display:block;margin-top:4px;color:#7d858d;font-size:10px;line-height:1.8}.orders-page-pro{max-width:1050px;margin:auto}.orders-hero,.notifications-hero,.order-detail-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:28px;border-radius:25px;background:linear-gradient(135deg,#12171d,#090c10);border:1px solid #242c34;color:#fff;box-shadow:0 20px 55px rgba(0,0,0,.16)}.orders-kicker,.notifications-hero>div:first-child>span,.order-detail-hero>div:first-child>span{color:#f2b400;font-size:11px;font-weight:900}.orders-hero h1,.notifications-hero h1,.order-detail-hero h1{margin:7px 0;font-size:29px}.orders-hero p,.notifications-hero p,.order-detail-hero p{margin:0;color:#8f9aa5;font-size:11px;line-height:2}.orders-hero-icon{width:75px;height:75px;display:grid;place-items:center;border-radius:22px;background:rgba(242,180,0,.1);border:1px solid rgba(242,180,0,.2);font-size:34px}.orders-list-pro{display:flex;flex-direction:column;gap:11px;margin-top:15px}.order-card-pro{display:block;text-decoration:none;color:inherit;padding:17px;border:1px solid #e5e8eb;border-radius:20px;background:#fff;box-shadow:0 12px 35px rgba(15,20,25,.06);transition:.2s}.order-card-pro:hover{transform:translateY(-2px);border-color:rgba(242,180,0,.45);box-shadow:0 18px 45px rgba(15,20,25,.09)}.order-card-top,.order-card-main,.order-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}.order-number span{display:block;color:#9299a0;font-size:9px}.order-number b{display:block;margin-top:4px;font-size:13px;direction:ltr;text-align:right}.order-status{padding:7px 10px;border-radius:10px;font-size:9px;font-weight:900;background:#f1f3f5;color:#65707a}.order-status.processing,.order-status.paid{background:rgba(33,199,122,.1);color:#15975a}.order-status.shipped{background:rgba(60,135,255,.1);color:#3172d8}.order-status.delivered{background:rgba(33,199,122,.13);color:#15975a}.order-status.cancelled{background:rgba(255,98,89,.1);color:#cf5149}.order-card-main{padding:16px 0;border-top:1px solid #edf0f2;border-bottom:1px solid #edf0f2;margin:14px 0}.order-product-count{display:flex;align-items:center;gap:10px}.order-product-count>span{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:#f5f6f7;font-size:18px}.order-product-count b,.order-product-count small{display:block}.order-product-count b{font-size:11px}.order-product-count small{margin-top:4px;color:#8b949c;font-size:9px}.order-card-price{text-align:left}.order-card-price small{display:block;color:#8b949c;font-size:9px}.order-card-price strong{display:block;margin-top:4px;color:#15191d;font-size:14px}.order-card-bottom{color:#7e878f;font-size:9px}.order-card-bottom strong{color:#b07b00}.orders-empty,.notifications-empty{margin-top:15px;padding:60px 20px!important;border:1px dashed #dce1e5;border-radius:22px;background:#fff}.orders-empty div,.notifications-empty div{font-size:40px}.orders-empty b,.notifications-empty b{display:block;margin-top:10px;font-size:15px;color:#252a2f}.orders-empty span,.notifications-empty span{display:block;color:#8a9299;font-size:10px;margin:6px 0 15px}.order-detail-pro{max-width:1080px;margin:auto}.order-detail-hero .hero-status{min-width:130px;text-align:center;padding:14px;border-radius:16px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08)}.hero-status b,.hero-status small{display:block}.hero-status b{font-size:12px}.hero-status small{margin-top:4px;color:#8f9aa5;font-size:9px}.order-timeline-pro{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:15px 0;padding:17px 10px;border:1px solid #e5e8eb;border-radius:20px;background:#fff}.timeline-line{position:absolute;right:11%;left:11%;top:32px;height:2px;background:#e9ecef}.timeline-step{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px}.timeline-dot{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#eef1f3;color:#8b949c;font-size:11px;font-weight:900;border:3px solid #fff;box-shadow:0 0 0 1px #e1e5e8}.timeline-step.active .timeline-dot{background:#21c77a;color:#fff;box-shadow:0 0 0 1px #21c77a}.timeline-step.current b{color:#b07b00}.timeline-step b{font-size:9px}.timeline-step small{display:block;color:#8a9299;font-size:7px;margin-top:3px}.order-detail-grid-pro{display:grid;grid-template-columns:1.25fr .75fr;gap:12px}.order-items-pro{grid-row:span 2}.order-item-pro{display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid #edf0f2}.order-item-pro:last-child{border-bottom:0}.item-art{width:47px;height:47px;display:grid;place-items:center;flex:0 0 auto;border-radius:13px;background:#f5f6f7;font-size:21px}.item-copy{flex:1;min-width:0}.item-copy b,.item-copy span,.item-copy small{display:block}.item-copy b{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item-copy span,.item-copy small{color:#7f8890;font-size:8px;margin-top:3px}.order-item-pro>strong{font-size:10px;white-space:nowrap}.order-summary-pro h3,.order-address-pro h3{margin-top:0}.summary-row{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid #edf0f2;font-size:10px}.summary-row span{color:#8a9299}.summary-row b.green{color:#19a765}.summary-total{display:flex;justify-content:space-between;align-items:center;margin-top:11px;padding:13px;border-radius:14px;background:#11161b;color:#fff}.summary-total span{font-size:10px}.summary-total strong{color:#f2b400;font-size:14px}.payment-badge{margin-top:10px;padding:9px 10px;border-radius:11px;background:rgba(33,199,122,.08);color:#15975a;font-size:9px;font-weight:900}.payment-ref{margin-top:9px;padding-top:9px;border-top:1px solid #edf0f2}.payment-ref span,.payment-ref b{display:block}.payment-ref span{font-size:8px;color:#8a9299}.payment-ref b{margin-top:4px;font-size:10px;direction:ltr}.address-person{display:flex;justify-content:space-between;gap:10px;padding-bottom:10px;border-bottom:1px solid #edf0f2}.address-person b{font-size:11px}.address-person span,.address-lines span{font-size:9px;color:#7e878f}.address-lines{display:flex;flex-direction:column;gap:7px;padding-top:10px;line-height:1.8}.tracking-box{margin-top:12px;padding:11px;border-radius:12px;background:rgba(242,180,0,.08);border:1px dashed rgba(242,180,0,.3)}.tracking-box span{display:block;color:#8b7a45;font-size:8px}.tracking-box b{display:block;margin-top:4px;color:#8d6300;font-size:13px;direction:ltr}.order-detail-actions{display:flex;gap:8px;justify-content:center;margin-top:14px}.notifications-page-pro{max-width:980px;margin:auto}.notification-count{width:82px;height:82px;display:grid;place-items:center;align-content:center;border-radius:22px;background:rgba(242,180,0,.1);border:1px solid rgba(242,180,0,.2);text-align:center}.notification-count b{font-size:25px;color:#f2b400}.notification-count small{font-size:8px;color:#8d99a4}.notification-toolbar{display:flex;justify-content:space-between;align-items:center;margin:14px 0 9px;color:#8b949c;font-size:9px}.notification-toolbar form{margin:0}.notification-list-pro{display:flex;flex-direction:column;gap:8px}.notification-card-pro{display:flex;align-items:center;gap:12px;padding:14px;border-radius:18px;border:1px solid #e4e8eb;background:#fff;box-shadow:0 8px 25px rgba(15,20,25,.04)}.notification-card-pro.unread{border-color:rgba(242,180,0,.3);background:linear-gradient(90deg,#fff,#fffdf5)}.notification-icon{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;border-radius:13px;background:#f1f3f5;font-size:17px}.notification-icon.success{background:rgba(33,199,122,.1);color:#15975a;font-weight:900}.notification-copy{flex:1;min-width:0}.notification-copy>div{display:flex;align-items:center;gap:7px}.notification-copy b{font-size:11px}.notification-copy p{margin:5px 0;line-height:1.9;color:#737c84;font-size:9px}.notification-copy small{font-size:7px;color:#9aa1a8}.new-dot{padding:3px 6px;border-radius:6px;background:#f2b400;color:#17120a;font-size:7px;font-weight:900}.notification-open{font-size:8px;color:#b07b00;text-decoration:none;white-space:nowrap;font-weight:900}
@media(max-width:700px){.payment-success-details{grid-template-columns:1fr 1fr}.orders-hero,.notifications-hero,.order-detail-hero{padding:20px}.orders-hero h1,.notifications-hero h1,.order-detail-hero h1{font-size:23px}.orders-hero-icon{display:none}.order-detail-grid-pro{grid-template-columns:1fr}.order-items-pro{grid-row:auto}.order-timeline-pro{gap:3px;padding:13px 3px}.timeline-step b{font-size:8px}.timeline-line{right:9%;left:9%}.notification-card-pro{align-items:flex-start}.notification-open{display:none}}
@media(max-width:450px){.payment-success-details{grid-template-columns:1fr}.payment-success-hero h1{font-size:25px}.order-card-bottom{flex-wrap:wrap}.order-detail-actions{flex-direction:column}.order-detail-actions .btn{width:100%}}
/* Pich Motor orders v2 - stable product thumbnails and non-broken responsive cards */
.orders-page-pro{width:min(1050px,100%);box-sizing:border-box}
.order-card-pro{overflow:hidden}
.order-product-count{min-width:0;flex:1}
.order-product-count>span.order-thumb{width:64px;height:64px;flex:0 0 64px;display:grid;place-items:center;border-radius:16px;background:#f4f6f8;border:1px solid #e8ebee;overflow:hidden}
.order-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.order-thumb-fallback{display:grid;place-items:center;width:100%;height:100%;font-size:23px}
.order-card-main> .order-product-count>div{min-width:0}
.order-card-main> .order-card-price{flex:0 0 auto}
.order-card-bottom{flex-wrap:wrap}
.order-card-bottom span,.order-card-bottom strong{white-space:nowrap}
.item-art{position:relative;overflow:hidden}
.item-art img{width:100%;height:100%;object-fit:cover;display:block}
.item-art-fallback{display:grid;place-items:center;width:100%;height:100%}
.item-art img + .item-art-fallback{display:none}
.payment-badge{display:flex!important;align-items:center;gap:8px}
.payment-badge-logo{width:36px;height:25px;border-radius:7px;background:#fff;border:1px solid #e4e7ea;display:grid;place-items:center;overflow:hidden;flex:0 0 36px}
.payment-badge-logo img{width:100%;height:100%;object-fit:contain;display:block}
@media(max-width:700px){
 .orders-hero{padding:20px;border-radius:20px}.orders-hero h1{font-size:24px}.orders-hero-icon{width:58px;height:58px;font-size:27px}
 .order-card-pro{padding:13px;border-radius:17px}.order-card-main{align-items:flex-start}.order-product-count>span.order-thumb{width:54px;height:54px;flex-basis:54px}.order-card-bottom{gap:8px}
 .order-card-bottom strong{width:100%;text-align:center;padding-top:5px}
}

/* Pich Motor visual polish: unified order + notification surfaces */
.orders-page-pro,.notifications-page-pro{padding-bottom:34px}
.order-card-pro{background:linear-gradient(145deg,#ffffff 0%,#f7f9fa 100%);border-color:#dfe5e8;box-shadow:0 14px 34px rgba(22,28,34,.08)}
.order-card-pro:hover{background:linear-gradient(145deg,#fffdf5 0%,#f7f9fa 100%)}
.order-card-main{background:rgba(248,250,251,.72);padding:15px 12px;border-radius:15px;border:1px solid #e8ecef}
.order-product-count>span.order-thumb{background:#eef2f4;border-color:#dfe5e8;box-shadow:inset 0 0 0 1px rgba(255,255,255,.8)}
.order-card-bottom{padding-top:2px}
.payment-wallet-logo{width:42px;height:28px;border-radius:7px;background:#fff;border:1px solid #e4e7ea;display:flex;align-items:center;justify-content:center;overflow:hidden}
.payment-wallet-logo img{max-width:38px;max-height:23px;width:auto;object-fit:contain}
.notifications-page-pro .notification-card-pro{background:linear-gradient(145deg,#f9fafb,#eef2f4);border-color:#dce2e6;box-shadow:0 10px 28px rgba(20,25,30,.07)}
.notifications-page-pro .notification-card-pro.unread{background:linear-gradient(145deg,#fffaf0,#f0f3f4);border-color:rgba(242,180,0,.38);box-shadow:0 12px 32px rgba(242,180,0,.08)}
.notifications-page-pro .notification-icon{background:#e5eaed;border:1px solid #d8dee2}
.notifications-page-pro .notification-copy p{color:#606b74}
.notifications-page-pro .notification-toolbar{padding:0 3px}
.admin-notify-grid{display:grid;grid-template-columns:minmax(320px,.8fr) minmax(0,1.5fr);gap:14px;margin-top:14px}
.manual-notify-panel{background:linear-gradient(145deg,#11161b,#0b0e12)}
.manual-notify-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:rgba(246,185,0,.1);color:#f6c52f;border:1px solid rgba(246,185,0,.2)}
.notification-admin-list{display:flex;flex-direction:column;gap:8px;margin-top:10px}
.notification-admin-card{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;border-radius:14px;background:#0d1115;border:1px solid #222a31}
.notification-admin-card.unread{border-color:rgba(246,185,0,.3);background:linear-gradient(145deg,#15150f,#0d1115)}
.notification-admin-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:rgba(246,185,0,.1);color:#f6c52f;font-size:10px}
.notification-admin-card b,.notification-admin-card span,.notification-admin-card p,.notification-admin-card small{display:block}.notification-admin-card b{font-size:11px}.notification-admin-card span{font-size:8px;color:#78838e;margin-top:3px}.notification-admin-card p{font-size:9px;color:#aeb6be;line-height:1.8;margin:5px 0}.notification-admin-card small{font-size:7px;color:#65707b}
@media(max-width:800px){.admin-notify-grid{grid-template-columns:1fr}.payment-methods{grid-template-columns:1fr}}

/* ===== Pich Motor dark + gold theme — orders, order details, notifications, payment result =====
   Appended override block: removes the light/white card backgrounds, keeps every existing layout rule. */
.order-card-pro{background:linear-gradient(145deg,#15181d,#0e1115);border-color:#2a3038;color:var(--text);box-shadow:0 14px 34px rgba(0,0,0,.28)}
.order-card-pro:hover{background:linear-gradient(145deg,#1b1810,#0f1216);border-color:rgba(242,180,0,.5);box-shadow:0 18px 45px rgba(0,0,0,.36),0 0 0 1px rgba(242,180,0,.12)}
.order-card-main{background:rgba(255,255,255,.025);border:1px solid #262c34;border-radius:15px}
.order-number span,.order-card-price small,.order-product-count small{color:#8f949d}
.order-number b,.order-card-price strong,.order-product-count b{color:#f6f6f4}
.order-card-bottom{color:#8f949d}
.order-card-bottom strong{color:var(--accent)}
.order-product-count>span,.order-product-count>span.order-thumb{background:#181b20;border:1px solid #2a3038;box-shadow:none}
.order-product-count small.order-tracking{color:var(--accent);margin-top:3px}
.order-product-count small.order-tracking b{display:inline;color:var(--accent2);direction:ltr;unicode-bidi:isolate}
/* status colours: pending = gold · confirmed/processing/delivered = green · shipped = blue · cancelled/failed = red */
.order-status{background:rgba(246,185,0,.1);color:#f6c52d;border:1px solid rgba(246,185,0,.28)}
.order-status.processing,.order-status.paid,.order-status.delivered{background:rgba(33,199,122,.1);color:#4fdc98;border-color:rgba(33,199,122,.25)}
.order-status.shipped{background:rgba(90,160,255,.1);color:#8ec5ff;border-color:rgba(90,160,255,.25)}
.order-status.cancelled,.order-status.failed{background:rgba(229,83,75,.1);color:#ff8d85;border-color:rgba(229,83,75,.28)}
.orders-empty,.notifications-empty{background:linear-gradient(145deg,#12151a,#0b0e11);border:1px dashed #303640}
.orders-empty b,.notifications-empty b{color:#f6f6f4}
.orders-empty span,.notifications-empty span{color:#8f949d}
.order-timeline-pro{background:linear-gradient(145deg,#15181d,#0e1115);border-color:#2a3038}
.timeline-line{background:#2a3038}
.timeline-dot{background:#1c2026;color:#8f949d;border-color:#0e1115;box-shadow:0 0 0 1px #2f353d}
.timeline-step.active .timeline-dot{background:#21c77a;color:#fff;box-shadow:0 0 0 1px #21c77a}
.timeline-step.current .timeline-dot{background:var(--accent);color:#17120a;box-shadow:0 0 0 1px var(--accent),0 0 0 6px rgba(242,180,0,.12)}
.timeline-step b{color:#e9eaec}
.timeline-step.current b{color:var(--accent)}
.timeline-step small{color:#8f949d}
.order-item-pro{border-bottom-color:#262c34}
.item-art{background:#181b20;border:1px solid #2a3038}
.item-copy b{color:#f6f6f4}
.item-copy span,.item-copy small{color:#8f949d}
.order-item-pro>strong{color:#f6f6f4}
.summary-row{border-bottom-color:#262c34}
.summary-row span{color:#8f949d}
.summary-total{background:#0b0d10;border:1px solid rgba(242,180,0,.25)}
.payment-badge{background:rgba(33,199,122,.08);border:1px solid rgba(33,199,122,.2);color:#4fdc98}
.payment-badge-logo{border-color:#2a3038}
.payment-ref{border-top-color:#262c34}
.payment-ref span{color:#8f949d}
.address-person{border-bottom-color:#262c34}
.address-person span,.address-lines span{color:#a0a6ae}
.tracking-box{background:rgba(246,185,0,.08);border:1px dashed rgba(246,185,0,.4)}
.tracking-box span{color:#c9b46e}
.tracking-box b{color:var(--accent2)}
.hero-status.pending b{color:#f6c52d}
.hero-status.processing b,.hero-status.delivered b{color:#4fdc98}
.hero-status.shipped b{color:#8ec5ff}
.hero-status.cancelled b{color:#ff8d85}
.notice.order-cancelled{background:rgba(229,83,75,.08);border-color:rgba(229,83,75,.35);color:#ff8d85}
.notification-toolbar{color:#8f949d}
.notification-card-pro,.notifications-page-pro .notification-card-pro{background:linear-gradient(145deg,#15181d,#0e1115);border-color:#2a3038;box-shadow:0 10px 28px rgba(0,0,0,.25)}
.notification-card-pro.unread,.notifications-page-pro .notification-card-pro.unread{background:linear-gradient(145deg,#1b1810,#0f1216);border-color:rgba(242,180,0,.4);box-shadow:0 12px 32px rgba(242,180,0,.07)}
.notification-icon,.notifications-page-pro .notification-icon{background:#1c2026;border:1px solid #2a3038;color:var(--accent)}
.notification-icon.success,.notifications-page-pro .notification-icon.success{background:rgba(33,199,122,.1);border-color:rgba(33,199,122,.25);color:#4fdc98}
.notification-copy b{color:#f6f6f4}
.notification-copy p,.notifications-page-pro .notification-copy p{color:#a3a9b1}
.notification-copy small{color:#7c838c}
.notification-open{color:var(--accent)}
.payment-info-card{background:linear-gradient(145deg,#15181d,#0e1115);border-color:#2a3038;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.payment-info-card small{color:#8f949d}
.payment-info-card b{color:#f6f6f4}
.payment-result-grid>div{background:#15181d;border-color:#2a3038}
.payment-result-grid span{color:#8f949d}
.payment-success-card>p,.payment-failed-card>p{color:#a8b3ad}
.payment-failed-card .payment-success-kicker{color:#ff8d85}
.payment-failed-card h1{color:#fff}
/* mobile-number hint (login / register) */
.field-hint{display:block;margin-top:6px;color:var(--muted);font-size:10px;direction:rtl;text-align:right}
.auth-panel .field-hint{color:#858c96}

/* Checkout payment cards: stable RTL grid and wallet alignment */
@media(max-width:760px){.payment-method-inner,.wallet-method-inner{grid-template-columns:24px 44px minmax(0,1fr) 18px;gap:8px;padding:11px 12px}.wallet-method-inner{grid-template-columns:24px 44px minmax(0,1fr) 18px}.wallet-balance-badge{grid-column:3;grid-row:2;margin-top:2px;justify-self:start;font-size:7px}.wallet-method-inner .payment-arrow{grid-column:4;grid-row:1 / span 2;align-self:center}.payment-copy b{font-size:11px}.payment-copy small{font-size:8px}}


/* PichMotor payment-method final mobile/RTL repair */
.payment-methods{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  width:100%;
}
.payment-option-modern{
  display:block;
  width:100%;
  margin:0!important;
  cursor:pointer;
}
.payment-option-modern>input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.payment-method-inner,
.wallet-method-inner{
  box-sizing:border-box;
  width:100%;
  min-height:92px;
  display:grid;
  grid-template-columns:22px 64px minmax(0,1fr) 18px;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border:1px solid #29313a;
  border-radius:20px;
  background:linear-gradient(145deg,#11161c,#0b0e12);
  direction:rtl;
  overflow:hidden;
}
.payment-method-inner>*{min-width:0}
.payment-brand-logo{
  width:64px;
  height:50px;
  border-radius:12px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  flex:0 0 64px;
}
.payment-brand-logo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
}
.payment-wallet-icon{
  width:64px;
  height:50px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  background:linear-gradient(145deg,rgba(242,180,0,.14),rgba(242,180,0,.05));
  border:1px solid rgba(242,180,0,.16);
  color:#f2b400;
  flex:0 0 64px;
}
.payment-copy{
  min-width:0;
  overflow:hidden;
}
.payment-copy b{
  display:block;
  font-size:13px;
  line-height:1.65;
  white-space:normal;
  overflow-wrap:anywhere;
}
.payment-copy small{
  display:block;
  color:#7f8994;
  font-size:10px;
  line-height:1.8;
  margin-top:2px;
  white-space:normal;
  overflow-wrap:anywhere;
}
.payment-radio{
  width:18px;
  height:18px;
  box-sizing:border-box;
  border-radius:50%;
  border:1px solid #59636e;
  position:relative;
  flex:0 0 18px;
}
.payment-option-modern input:checked+.payment-method-inner .payment-radio{
  border-color:#f2b400;
}
.payment-option-modern input:checked+.payment-method-inner .payment-radio:after{
  content:"";
  position:absolute;
  inset:4px;
  border-radius:50%;
  background:#f2b400;
}
.payment-option-modern input:checked+.payment-method-inner{
  border-color:#f2b400;
  box-shadow:0 0 0 2px rgba(242,180,0,.08),0 10px 30px rgba(0,0,0,.16);
}
.payment-arrow{
  color:#66717d;
  font-size:24px;
  line-height:1;
  justify-self:center;
}
.wallet-method-inner{
  min-height:104px;
  grid-template-columns:22px 64px minmax(0,1fr) 18px;
  grid-template-rows:auto auto;
  align-content:center;
}
.wallet-method-inner .payment-radio{grid-column:1;grid-row:1 / span 2;align-self:center}
.wallet-method-inner .payment-wallet-icon{grid-column:2;grid-row:1 / span 2;align-self:center}
.wallet-method-inner .payment-copy{grid-column:3;grid-row:1}
.wallet-method-inner .wallet-balance-badge{
  grid-column:3;
  grid-row:2;
  justify-self:start;
  margin-top:4px;
}
.wallet-method-inner .payment-arrow{grid-column:4;grid-row:1 / span 2;align-self:center}
.wallet-balance-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  max-width:100%;
  box-sizing:border-box;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  border:1px solid rgba(242,180,0,.2);
  background:rgba(242,180,0,.08);
  color:#f2b400;
  border-radius:999px;
  padding:6px 9px;
  font-size:9px;
  font-weight:800;
}
.wallet-payment-option.is-disabled{opacity:.58;cursor:not-allowed}
.wallet-payment-option.is-disabled .payment-method-inner{filter:none}
.wallet-payment-option.is-disabled .payment-wallet-icon{opacity:.85}
@media(max-width:760px){
  .payment-methods{grid-template-columns:1fr;gap:10px}
  .payment-method-inner,
  .wallet-method-inner{
    min-height:88px;
    grid-template-columns:20px 58px minmax(0,1fr) 16px;
    gap:9px;
    padding:12px 12px;
    border-radius:18px;
  }
  .payment-brand-logo,.payment-wallet-icon{
    width:58px;
    height:46px;
    flex-basis:58px;
  }
  .wallet-method-inner{min-height:100px;grid-template-columns:20px 58px minmax(0,1fr) 16px}
  .payment-copy b{font-size:12px;line-height:1.55}
  .payment-copy small{font-size:9px;line-height:1.7}
  .wallet-balance-badge{font-size:8px;padding:5px 8px}
}


/* MASTER LAVAZEMI: clean white + blue responsive storefront system */
:root{--bg:#ffffff;--surface:#ffffff;--surface2:#f4f8fd;--surface3:#edf4ff;--line:#e3ebf5;--accent:#075be8;--accent2:#287bff;--text:#142b49;--muted:#718198;--shadow:0 12px 35px rgba(20,43,73,.08);--r:18px;--pm-accent:#075be8}
html,body{background:#f7faff;color:#142b49;font-family:'Vazirmatn',Tahoma,sans-serif}
.app{background:#fff;box-shadow:0 0 55px rgba(24,64,112,.07);max-width:100%;width:100%}
.content{background:#fff;padding-bottom:100px}
.site-head{background:rgba(255,255,255,.96);backdrop-filter:blur(16px);border-bottom:1px solid #eaf0f7;box-shadow:0 4px 20px rgba(18,49,86,.035)}
.brand-lockup strong{color:#075be8;font-weight:900}.brand-lockup small{color:#718198}
.head-notification,.head-account,.head-admin{background:#f5f8fd;border:1px solid #e4ebf5;color:#17395f}
.head-notification:hover,.head-account:hover{border-color:#a9caff;color:#075be8}
.global-search{background:#f4f7fb;border-color:#e3ebf5;box-shadow:none}
.global-search input{color:#142b49}.global-search input::placeholder{color:#8393a8}
.global-search button,.primary,.add{background:linear-gradient(135deg,#0a67f5,#0750cf);color:#fff;box-shadow:0 8px 20px rgba(7,91,232,.15)}
.section{color:#142b49}.section-head h3{color:#102b4b;font-weight:900}.muted{color:#73849b}
.hero{background-color:#eaf3ff;border-color:#dceaff;box-shadow:0 14px 34px rgba(23,74,140,.09)}
.hero:after{background:linear-gradient(90deg,rgba(6,47,102,.04),rgba(6,47,102,.68) 72%)}
.hero h2{color:#fff}.hero.no-image{background:linear-gradient(135deg,#eaf3ff,#fff);border-color:#dceaff}.hero.no-image h2{color:#142b49}
.cat{color:#243d5c;font-weight:700}.cat img,.cat .ph{background:#f5f8fd;border-color:#e3ebf5}
.product{background:#fff;border-color:#e3ebf5;box-shadow:0 8px 25px rgba(20,43,73,.055)}
.product:hover{box-shadow:0 14px 32px rgba(20,43,73,.10)}
.product>img,.product>.ph{background:#f7f9fc}.pname{color:#173451}.brand{color:#8190a4}.price{color:#075be8}.old{color:#96a3b5}
.smallbtn{background:#f4f8fd;border-color:#e2eaf5;color:#21466f}.add{border-radius:10px}
.card,.search-row,.product-info-panel,.review-card,.review-form-card,.review-summary{background:#fff;border-color:#e3ebf5;color:#142b49;box-shadow:0 8px 24px rgba(20,43,73,.04)}
.section .empty,.empty{background:#f8fbff;border-color:#dfe9f5;color:#718198}
.notice{background:#eef5ff;border-color:#cfe0ff;color:#075be8}
.search{background:#f5f8fc;border-color:#e1eaf5;color:#6c7e95}.search input{color:#142b49}
.site-footer{background:#f5f8fc;border-color:#e4ebf4;color:#536984}.designer{color:#718198}.trust-title{color:#718198}
.bottom{left:50%;width:min(100%,1320px);max-width:1320px;background:rgba(255,255,255,.96);border:1px solid #e4ebf5;border-bottom:0;box-shadow:0 -8px 30px rgba(22,54,94,.09);padding:8px 10px calc(8px + env(safe-area-inset-bottom));backdrop-filter:blur(18px);border-radius:18px 18px 0 0}
.bottom a{color:#718198;font-size:10px;min-width:60px;font-weight:700}.bottom a svg{width:22px;height:22px}.bottom a.active{color:#075be8;background:#edf4ff;transform:translateY(-2px)}.nav-cart-badge{background:#075be8;color:#fff;border-color:#fff}
.btn.dark{background:#f3f7fc;color:#244563;border-color:#e0e8f2}.field label{color:#647993}.field input,.field textarea,.field select{background:#fff;color:#142b49;border-color:#dfe7f1}
.auth{background:radial-gradient(circle at 50% -10%,rgba(7,91,232,.10),transparent 38%),#f5f8fd;color:#142b49}.auth-panel{background:#fff;color:#142b49;border-color:#e3ebf5;box-shadow:0 22px 70px rgba(23,57,100,.12)}
.auth-panel input,.auth-panel select{background:#f7f9fc;color:#142b49;border-color:#dfe7f1}
.menu-ico{background:#edf4ff;color:#075be8}.profile-menu .listrow{border-color:#e7edf5}
.product-info-panel{background:linear-gradient(145deg,#fff,#f7faff)}.review-summary{background:#f7faff}.review-form-card input,.review-form-card textarea{background:#f8faff;border-color:#dfe7f1;color:#142b49}
@media(min-width:800px){.bottom{bottom:14px;border:1px solid #e3ebf5;border-radius:18px;width:min(calc(100% - 48px),1000px);padding:10px 18px}.bottom a{flex-direction:row;gap:9px;font-size:12px;padding:8px 18px}.content{padding-bottom:115px}.site-head{padding-left:4%;padding-right:4%}}
@media(max-width:520px){.bottom{width:100%;border-radius:18px 18px 0 0}.bottom a{min-width:0;flex:1;padding:7px 2px}.content{padding-bottom:98px}}


/* ==========================================================
   MASTER LAVAZEMI — COMPLETE STOREFRONT REDESIGN
   Responsive white/blue desktop storefront inspired by the
   supplied reference design. Existing PHP flows are preserved.
   ========================================================== */
:root{--bg:#f6f9fd;--surface:#fff;--surface2:#f4f8fd;--surface3:#eaf2ff;--line:#e2eaf4;--accent:#075be8;--accent2:#287bff;--text:#172d49;--muted:#75859b;--shadow:0 10px 28px rgba(21,53,91,.07);--r:14px;--pm-accent:#075be8}
html{background:#f5f8fc;scroll-behavior:smooth}
body{background:#f5f8fc;color:#172d49;font-family:'Vazirmatn',Tahoma,sans-serif;line-height:1.8}
.app{max-width:none;width:100%;margin:0;background:#fff;box-shadow:none;overflow:visible}
.content{max-width:1240px;width:calc(100% - 40px);margin:0 auto;min-height:calc(100vh - 120px);padding:0 0 130px;background:#fff}
.site-head{position:relative;top:auto;margin:0 calc((1240px - 100vw)/2);padding:16px max(24px,calc((100vw - 1240px)/2));background:#fff;border-bottom:1px solid #e8eef6;box-shadow:0 3px 18px rgba(21,53,91,.035);backdrop-filter:none}
.head-main{height:52px;grid-template-columns:44px minmax(180px,250px) minmax(250px,1fr) 44px;gap:18px;max-width:1240px;margin:auto}
.brand-lockup{grid-column:2;justify-self:start;justify-content:flex-start;max-width:100%;gap:10px}
.brand-lockup img{width:52px;height:45px}
.brand-lockup strong{font-size:20px;color:#075be8;letter-spacing:-.4px}
.brand-lockup small{font-size:10px;color:#718198;max-width:220px}
.head-notification{grid-column:4;grid-row:1;justify-self:end;order:4}
.head-account{grid-column:1;grid-row:1;justify-self:start;order:1}
.head-admin{grid-column:1;grid-row:1;justify-self:start;transform:translateX(48px)}
.head-notification,.head-account,.head-admin{width:42px;height:42px;border-radius:12px;background:#f5f8fd;border:1px solid #e4ebf5;color:#244568}
.global-search{grid-column:3;grid-row:1;height:46px;margin:0;max-width:100%;background:#f5f8fc;border:1px solid #e4ebf5;border-radius:12px;box-shadow:none}
.global-search button{height:36px;width:38px;flex-basis:38px;border-radius:9px;background:#075be8;color:#fff;box-shadow:none}
.global-search input{font-size:12px;color:#172d49}
.desktop-store-nav{display:block;background:#fff;border-bottom:1px solid #e8eef6}
.desktop-store-nav-inner{max-width:1240px;width:calc(100% - 40px);height:48px;margin:auto;display:flex;align-items:center;gap:30px;overflow:auto;white-space:nowrap}
.desktop-store-nav a{height:100%;display:flex;align-items:center;color:#405772;font-size:12px;font-weight:800;border-bottom:2px solid transparent;transition:.2s}
.desktop-store-nav a:hover{color:#075be8;border-bottom-color:#075be8}
.hero{margin:22px 0 30px;min-height:300px;padding:38px 5%;border:1px solid #dceaff;border-radius:16px;background-color:#eaf3ff;background-size:cover;background-position:center;display:flex;align-items:center;justify-content:flex-start;box-shadow:0 12px 30px rgba(22,72,137,.08);overflow:hidden}
.hero:after{background:linear-gradient(270deg,rgba(5,30,65,.90) 0%,rgba(5,43,92,.70) 42%,rgba(5,43,92,.04) 100%)}
.hero.has-image:after{background:linear-gradient(270deg,rgba(5,30,65,.88) 0%,rgba(5,43,92,.58) 46%,rgba(5,43,92,.04) 100%)}
.hero-copy{position:relative;z-index:3;max-width:570px;text-align:right}
.hero-eyebrow{display:inline-flex;align-items:center;padding:5px 11px;border:1px solid rgba(255,255,255,.35);border-radius:99px;background:rgba(255,255,255,.12);color:#fff;font-size:11px;font-weight:800;margin-bottom:10px}
.hero h1,.hero h2{max-width:580px;margin:0 0 8px;color:#fff;font-size:clamp(25px,3vw,39px);line-height:1.55;font-weight:900}
.hero-copy p{color:#e5efff;margin:0 0 17px;font-size:13px}
.hero .btn{width:auto;min-width:165px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:10px;padding:12px 19px;font-size:12px}
.hero .btn svg{width:18px;height:18px}
.hero-assurance{display:flex;gap:18px;flex-wrap:wrap;margin-top:20px;color:#f2f7ff;font-size:10px;font-weight:700}
.hero-assurance span{display:inline-flex;align-items:center;gap:5px}.hero-assurance svg{color:#8bc0ff}
.hero.no-image{position:relative;align-items:center;background:linear-gradient(110deg,#eaf3ff 0%,#cfe3ff 45%,#075be8 100%);border-color:#d5e6ff}
.hero.no-image:after{background:linear-gradient(270deg,rgba(6,49,110,.97),rgba(7,91,232,.78) 50%,rgba(7,91,232,.04))}
.hero.no-image .hero-copy{max-width:57%}.hero-art{position:absolute;z-index:1;inset:0;overflow:hidden;pointer-events:none}
.hero-orb{position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.25)}.hero-orb-one{width:340px;height:340px;left:9%;top:-90px;background:rgba(255,255,255,.08)}.hero-orb-two{width:230px;height:230px;left:20%;bottom:-150px;background:rgba(255,255,255,.08)}
.hero-product-mark{position:absolute;left:17%;top:50%;transform:translateY(-50%) rotate(-8deg);width:220px;height:220px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(219,235,255,.8));color:#075be8;box-shadow:0 24px 60px rgba(0,35,100,.25)}.hero-product-mark svg{width:130px;height:130px;stroke-width:1.2}
.section{padding:0;margin:28px 0 32px;color:#172d49}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 15px;padding:0 0 10px;border-bottom:1px solid #e8eef6}
.section-head h3{font-size:19px;line-height:1.5;margin:0;color:#132d4c;font-weight:900;display:flex;align-items:center;gap:10px}
.section-head h3:before{content:"";width:7px;height:22px;background:#075be8;border-radius:5px;display:inline-block}
.section-head .muted{font-size:12px;color:#075be8;font-weight:800}
.cats,.category-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:12px}
.cat{min-width:0;padding:12px 8px 13px;border:1px solid #e2eaf4;border-radius:10px;background:#fff;color:#29435f;box-shadow:0 3px 12px rgba(20,43,73,.025);transition:transform .2s,border-color .2s,box-shadow .2s}
.cat:hover{transform:translateY(-3px);border-color:#a9cbff;box-shadow:0 10px 25px rgba(20,65,130,.08)}
.cat img,.cat .ph{width:100%;height:82px;object-fit:contain;background:#f5f8fc;border:0;border-radius:7px;padding:5px;mix-blend-mode:multiply}
.cat span{font-size:11px;line-height:1.6;margin-top:9px}
.products{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.product{min-width:0;padding:10px;border:1px solid #e2eaf4;border-radius:10px;background:#fff;box-shadow:0 4px 16px rgba(20,43,73,.035);transition:transform .2s,border-color .2s,box-shadow .2s}
.product:hover{transform:translateY(-3px);border-color:#a9cbff;box-shadow:0 12px 28px rgba(20,65,130,.09)}
.product-image-link{height:170px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;border-radius:7px;background:#f7f9fc}
.product-image-link img,.product .thumb{width:100%;height:100%;object-fit:contain;background:#f7f9fc;mix-blend-mode:multiply}
.product-card-body{padding:8px 2px 2px}.product-mini-meta{color:#8796a9;font-size:10px;margin-bottom:3px}
.pname{display:block;color:#203c5b;font-size:12px;line-height:1.8;font-weight:800;min-height:44px}
.stock-badge{font-size:10px;color:#16945b;background:#eaf9f1;border-radius:5px;padding:2px 7px;width:max-content;max-width:100%;margin:6px 0}
.stock-badge.out{color:#cc4545;background:#fff0f0}.stock-badge.low{color:#a66a00;background:#fff6df}
.price-line-pro{display:flex;align-items:baseline;justify-content:space-between;gap:5px;flex-wrap:wrap;margin:9px 0 11px}
.price{color:#075be8;font-size:14px;font-weight:900}.price small{font-size:9px;color:#718198}.old{font-size:10px;color:#9aa8b9}
.actions-pro{display:flex;align-items:center;gap:7px}.smallbtn{width:37px;height:36px;flex:0 0 37px;display:grid;place-items:center;border-radius:8px;background:#f5f8fd;border:1px solid #e3ebf5;color:#355576}
.add{display:flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:7px 10px;border-radius:8px;background:#075be8;color:#fff;font-size:11px;font-weight:800;box-shadow:none}
.quick-add-form{flex:1;min-width:0}.quick-add-form .add{width:100%}.add:hover,.primary:hover{filter:brightness(.95)}
.product-discount-badge{position:absolute;top:8px;right:8px;background:#e84949;color:#fff;padding:3px 7px;border-radius:6px;font-size:10px;font-weight:900}
.product-image-action{display:none}.is-out .product-image-link img{opacity:.55}
.site-footer{margin:30px 0 0;padding:22px 0 12px;border-top:1px solid #e5edf6;background:#f5f8fc;color:#647992;border-radius:12px}
.trust-title{color:#657b95}.designer{color:#718198;font-size:11px}
.bottom{z-index:50}
.notice{margin:12px 0;background:#eef5ff;border:1px solid #d7e6ff;border-radius:10px;color:#075be8}
.field input,.field textarea,.field select,.auth-panel input,.auth-panel select{background:#fff;color:#172d49;border-color:#dfe7f1}
.auth{background:#f5f8fd;color:#172d49}.auth-panel{background:#fff;color:#172d49;border:1px solid #e2eaf4}
.card,.search-row,.product-info-panel,.review-card,.review-form-card,.review-summary,.detail-card-pro{background:#fff;border-color:#e2eaf4;color:#172d49;box-shadow:0 6px 22px rgba(20,43,73,.04)}
@media(min-width:1000px){.content{padding-bottom:35px}.bottom{position:static;transform:none;max-width:1240px;width:calc(100% - 40px);margin:0 auto 18px;border:1px solid #e2eaf4;border-radius:12px;box-shadow:0 5px 20px rgba(20,43,73,.05);justify-content:center;padding:8px 16px;background:#fff}.bottom a{flex-direction:row;gap:9px;min-width:110px;font-size:11px;padding:8px 15px}.bottom a.active{transform:none}.section{margin-top:30px}.products{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(min-width:1200px){.products{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.product-image-link{height:185px}.cats,.category-grid{grid-template-columns:repeat(8,minmax(0,1fr))}}
@media(max-width:999px){.content{width:calc(100% - 28px);padding-bottom:105px}.site-head{margin:0;padding:12px 14px}.head-main{grid-template-columns:40px minmax(0,1fr) 40px;gap:10px}.brand-lockup{grid-column:2;justify-self:center}.head-account{grid-column:3;grid-row:1}.head-notification{grid-column:1;grid-row:1;justify-self:start}.global-search{grid-column:1/-1;grid-row:2;margin-top:10px}.head-main:has(.global-search){height:auto;grid-template-rows:46px 44px}.desktop-store-nav{display:none}.hero{min-height:260px;padding:28px 5%;margin-top:16px}.hero h1,.hero h2{font-size:clamp(23px,4vw,32px)}.hero.no-image .hero-copy{max-width:64%}.hero-product-mark{width:170px;height:170px;left:9%}.hero-product-mark svg{width:100px;height:100px}.cats,.category-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.product-image-link{height:155px}}
@media(max-width:600px){.content{width:calc(100% - 22px);padding-bottom:100px}.site-head{padding:10px 11px}.brand-lockup strong{font-size:17px}.brand-lockup small{font-size:8px;max-width:210px}.head-notification,.head-account{width:38px;height:38px}.global-search{height:43px}.global-search button{height:35px}.hero{min-height:245px;padding:22px 18px;border-radius:12px;margin:12px 0 24px}.hero h1,.hero h2{font-size:22px;line-height:1.6}.hero-copy p{font-size:11px;max-width:95%}.hero .btn{min-width:140px;padding:10px 13px}.hero-assurance{gap:10px;font-size:9px;margin-top:14px}.hero.no-image .hero-copy{max-width:74%}.hero-product-mark{width:120px;height:120px;left:-10px;opacity:.8}.hero-product-mark svg{width:75px;height:75px}.hero-orb-one{left:-70px}.section{margin:22px 0 25px}.section-head h3{font-size:16px}.cats,.category-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.cat{padding:7px 4px 9px;border-radius:8px}.cat img,.cat .ph{height:61px}.cat span{font-size:10px;margin-top:6px}.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.product{padding:7px;border-radius:9px}.product-image-link{height:135px}.pname{font-size:11px;min-height:42px}.price{font-size:12px}.price-line-pro{margin:7px 0 9px}.smallbtn{width:32px;height:33px;flex-basis:32px}.add{min-height:33px;font-size:10px;padding:6px 7px}.bottom{width:100%;border-radius:15px 15px 0 0}.bottom a{flex:1;min-width:0;font-size:9px;padding:6px 2px}.bottom a svg{width:20px;height:20px}.site-footer{margin-top:20px}}

/* MASTER LAVAZEMI — full visual refresh additions */
:root{--ml-navy:#071a34;--ml-blue:#0865f5;--ml-ice:#f4f8ff;--ml-line:#e3ebf7;--ml-ink:#152943;--ml-muted:#72829a}
body{background:#f5f8fd;color:var(--ml-ink)}
.site-head{background:linear-gradient(115deg,#06172d,#0c2d52)!important;color:#fff!important;border-radius:0 0 22px 22px;box-shadow:0 12px 35px #06172d18;padding:18px 24px!important}
.site-head .brand-lockup,.site-head .brand-lockup strong,.site-head .brand-lockup small,.site-head .head-notification,.site-head .head-account{color:#fff!important}
.head-main{max-width:1320px;margin:auto;display:flex!important;align-items:center;gap:20px!important;justify-content:space-between}
.head-cart{display:inline-flex;align-items:center;gap:8px;color:#fff!important;border:1px solid #ffffff35;border-radius:12px;padding:11px 14px;font-weight:800;white-space:nowrap}
.head-cart:hover{background:#ffffff18}
.global-search{max-width:600px!important;border-radius:13px!important;overflow:hidden;background:#fff!important;box-shadow:0 6px 20px #00000012}
.global-search input{color:#172b45!important}
.desktop-store-nav{background:#fff!important;border-bottom:1px solid var(--ml-line)!important;box-shadow:0 5px 20px #142b4908}
.desktop-store-nav-inner{max-width:1320px!important;height:54px!important}
.desktop-store-nav a{font-size:13px!important;color:#304865!important}
.content{max-width:1320px!important;width:calc(100% - 48px)!important}
.hero{border-radius:24px!important;overflow:hidden;box-shadow:0 18px 50px #0a2a5017!important}
.product,.category-card,.product-card,.panel,.cart-summary-pro,.cart-item-pro{border-radius:18px!important;border-color:#e4ebf5!important;box-shadow:0 8px 24px #102d5010!important}
.product:hover,.category-card:hover{transform:translateY(-4px);box-shadow:0 15px 30px #102d5018!important}
.btn.primary,.add,.smallbtn{background:linear-gradient(120deg,#0877ff,#0754dd)!important;border-radius:11px!important;box-shadow:0 7px 15px #075be826}
.cart-page-pro{padding-top:28px}.cart-head-pro{background:linear-gradient(120deg,#071a34,#104c87);color:#fff;border-radius:20px;padding:26px 30px;margin-bottom:22px;display:flex;justify-content:space-between;align-items:center}.cart-head-pro .muted{color:#c4d6ec}.continue-shopping{background:#fff;color:#075be8;padding:12px 18px;border-radius:11px;font-weight:800}.cart-empty-pro{background:#fff;border:1px solid var(--ml-line);border-radius:24px;padding:60px 20px;text-align:center;box-shadow:0 10px 30px #102d500c}.cart-empty-icon{margin:0 auto 18px;width:84px;height:84px;border-radius:24px;background:#edf5ff;color:#0865f5;display:grid;place-items:center}.cart-layout-pro{align-items:start}.cart-item-pro{background:#fff;padding:18px!important}.cart-summary-pro{background:#fff!important;padding:24px!important;position:sticky;top:18px}.summary-title{font-size:19px;font-weight:900;padding-bottom:16px;border-bottom:1px solid var(--ml-line)}
.auth-redesigned{min-height:100vh;background:linear-gradient(145deg,#edf4ff,#f8faff 55%,#e8f0fc)!important;padding:28px!important;display:grid;place-items:center}.auth-shell-modern{width:min(1040px,100%);min-height:650px;display:grid;grid-template-columns:1fr 1fr;background:#fff;border:1px solid #e2eaf5;border-radius:28px;overflow:hidden;box-shadow:0 30px 90px #09254b1a}.auth-visual{position:relative;overflow:hidden;background:radial-gradient(circle at 80% 20%,#176ac1,#0a2a50 42%,#06162c 100%);padding:36px;color:white;display:flex;flex-direction:column;justify-content:space-between;min-height:650px}.auth-back-home{align-self:flex-start;color:#eaf4ff;border:1px solid #ffffff40;border-radius:10px;padding:10px 14px;font-size:13px}.auth-visual-content{position:relative;z-index:2;max-width:400px;margin:auto 0}.auth-pill{display:inline-block;border:1px solid #6cb7ff88;border-radius:100px;padding:7px 12px;color:#a9d7ff;letter-spacing:2px;font-size:11px}.auth-visual h2{font-size:38px;line-height:1.5;margin:22px 0 10px}.auth-visual h2 b{color:#6db7ff}.auth-visual p{color:#c4d7ec;line-height:2;font-size:14px}.auth-benefit{margin-top:13px;color:#e0efff;font-size:13px}.auth-visual-orb{position:absolute;left:-80px;bottom:-120px;width:340px;height:340px;border:1px solid #ffffff20;border-radius:50%;display:grid;place-items:center;color:#ffffff10;font-size:200px;font-weight:900;box-shadow:0 0 0 35px #ffffff08,0 0 0 75px #ffffff05}.auth-visual-image{position:absolute;bottom:0;left:0;width:60%;max-height:48%;object-fit:contain;object-position:left bottom;opacity:.55;mask-image:linear-gradient(90deg,#000,transparent)}.auth-panel-modern{padding:48px clamp(25px,5vw,60px);display:flex;flex-direction:column;justify-content:center;background:#fff}.auth-brand-modern{display:flex;align-items:center;gap:12px;margin-bottom:38px}.auth-brand-modern img{width:54px;height:48px;object-fit:contain}.auth-mark{width:48px;height:48px;border-radius:14px;background:linear-gradient(135deg,#0877ff,#062c61);color:white;display:grid;place-items:center;font-size:24px;font-weight:900}.auth-brand-modern b{display:block;font-size:17px;color:#102846}.auth-brand-modern small{display:block;color:#7b8ba2;margin-top:5px;font-size:11px}.auth-form-heading>span{font-size:12px;font-weight:900;color:#0865f5}.auth-form-heading h1{font-size:28px;margin:8px 0;color:#102846}.auth-form-heading p{font-size:13px;color:#75859a;line-height:1.9;margin-bottom:22px}.auth-modern-form{display:grid;gap:15px}.auth-field{display:grid;gap:8px;color:#344a66;font-size:12px;font-weight:800}.auth-field input{width:100%;height:48px;border:1px solid #dfe8f3;background:#f9fbff;border-radius:12px;padding:0 14px;color:#102846;outline:none;transition:.2s}.auth-field input:focus{border-color:#0877ff;box-shadow:0 0 0 4px #0877ff14;background:#fff}.auth-submit{height:50px;display:flex;align-items:center;justify-content:space-between;padding:0 18px!important;margin-top:5px;font-weight:900}.auth-switch{display:flex;justify-content:center;gap:7px;font-size:12px;color:#78889c;margin-top:22px}.auth-switch a,.auth-forgot a{color:#0865f5;font-weight:900}.auth-legal{text-align:center;color:#9aa6b6;font-size:10px;margin-top:25px}.auth-mobile-back{display:none}.auth-forgot{text-align:left;font-size:12px;margin:14px 0}.auth .designer{color:#99a7b9;font-size:11px}
@media(max-width:760px){.content{width:calc(100% - 24px)!important}.site-head{padding:12px!important;border-radius:0 0 16px 16px}.head-main{gap:9px!important;flex-wrap:wrap}.head-cart{padding:9px;font-size:0;gap:0}.head-cart svg{width:21px;height:21px}.head-cart span{display:none}.auth-redesigned{padding:12px!important}.auth-shell-modern{grid-template-columns:1fr;min-height:0;border-radius:22px}.auth-visual{display:none}.auth-panel-modern{padding:28px 22px}.auth-mobile-back{display:block;align-self:flex-start;color:#0865f5;font-size:12px;margin-bottom:20px}.auth-brand-modern{margin-bottom:28px}.auth-form-heading h1{font-size:24px}.cart-head-pro{padding:20px;gap:12px}.cart-layout-pro{grid-template-columns:1fr}.cart-summary-pro{position:static}.cart-item-pro{gap:12px!important}.cart-item-bottom-pro{flex-wrap:wrap}}


/* =========================================================
   MASTER LAVAZEMI — FULL BLUE / WHITE COMMERCE REDESIGN
   Fresh visual system inspired by the supplied reference.
   ========================================================= */
:root{
 --bg:#f4f7fb;--surface:#fff;--surface2:#f7f9fd;--surface3:#edf2f9;
 --line:#dce5f1;--accent:#0866f5;--accent2:#2783ff;--text:#14253e;
 --muted:#71819a;--green:#139b68;--red:#d94747;
 --shadow:0 12px 34px rgba(18,49,91,.08);--r:16px;
 --pm-accent:#0866f5;color-scheme:light;
}
html,body{background:var(--bg)!important;color:var(--text)!important}
body{font-family:'Vazirmatn',Tahoma,sans-serif;line-height:1.75}
.app{width:100%;max-width:none;min-height:100vh;margin:0;background:var(--bg);box-shadow:none}
.content{padding-bottom:32px;max-width:1500px;margin:auto}
a{transition:color .18s ease,border-color .18s ease,background .18s ease}
.site-head{position:relative;background:#071b35!important;color:#fff!important;border:0;padding:10px max(20px,calc((100vw - 1460px)/2));box-shadow:0 8px 24px rgba(6,26,53,.14)}
.head-main{height:54px;display:flex;gap:22px;align-items:center;justify-content:space-between}
.brand-lockup{order:0;justify-content:flex-start;max-width:260px;text-align:right;color:#fff}
.brand-lockup img{width:66px;height:44px}
.brand-lockup strong{font-size:16px;color:#fff;letter-spacing:-.3px}
.brand-lockup small{font-size:9px;color:#c0d0e5;max-width:190px}
.head-notification{order:4}.head-cart{order:3}.head-account{order:2}.head-admin{order:5}
.head-notification,.head-account,.head-admin,.head-cart{color:#fff;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.15);border-radius:12px;min-width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.head-cart{padding:0 13px;font-size:12px}
.head-cart:hover,.head-account:hover,.head-notification:hover,.head-admin:hover{background:#0866f5;color:#fff;border-color:#0866f5}
.global-search{order:1;flex:1;max-width:560px;height:44px;margin:0 18px;background:#fff;border:1px solid #dbe5f2;border-radius:10px;box-shadow:none}
.global-search input{color:#162b49;font-size:12px}
.global-search input::placeholder{color:#98a7bc}
.global-search button{height:36px;flex-basis:40px;width:40px;background:#eef4ff;color:#0866f5;box-shadow:none;border-radius:8px}
.desktop-store-nav{display:block;background:#102b4c!important;border-bottom:3px solid #0866f5;color:#eaf2ff}
.desktop-store-nav-inner{max-width:1460px;margin:auto;padding:0 20px;min-height:42px;display:flex;align-items:center;gap:32px}
.desktop-store-nav a{font-size:12px;font-weight:700;padding:12px 0;color:#eaf2ff;position:relative}
.desktop-store-nav a:hover,.desktop-store-nav a:focus{color:#fff}
.desktop-store-nav a:hover:after{content:"";position:absolute;bottom:0;right:0;left:0;height:3px;background:#2f8bff;border-radius:3px}
.notice{max-width:1460px;margin:16px auto;background:#e9f3ff;border:1px solid #c8defb;color:#154a8e;border-radius:12px}
.section{padding:24px max(20px,calc((100vw - 1460px)/2));}
.section-head{margin-bottom:18px;gap:15px}
.section-head h3{font-size:20px;color:#132744;font-weight:900;letter-spacing:-.4px}
.section-head>a{color:#0866f5;font-weight:800}
.muted{color:#71819a}
.hero{margin:22px auto 16px;max-width:1460px;min-height:400px;border:0;border-radius:20px;padding:46px;box-shadow:0 20px 45px rgba(7,31,62,.18);background-color:#071d38;background-image:linear-gradient(90deg,rgba(4,20,40,.96) 0%,rgba(4,20,40,.8) 42%,rgba(4,20,40,.08) 100%);background-position:center;background-size:cover}
.hero:after{background:linear-gradient(90deg,rgba(4,20,40,.12),rgba(4,20,40,.02))}
.hero.has-image{background-blend-mode:normal}
.hero-copy{max-width:560px;position:relative;z-index:2;align-items:flex-start}
.hero-eyebrow{color:#83b8ff;font-size:13px;font-weight:800;letter-spacing:.2px}
.hero h1{font-size:clamp(30px,3.4vw,52px);line-height:1.35;color:#fff;margin:10px 0 12px;font-weight:900}
.hero p{font-size:15px;line-height:2;color:#d9e5f5;max-width:510px}
.hero .btn{width:auto;min-width:170px;margin-top:10px;padding:13px 22px;border-radius:10px}
.primary,.btn.primary,.add,.smallbtn.add{background:linear-gradient(135deg,#0874ff,#0755db)!important;color:#fff!important;box-shadow:0 8px 20px rgba(8,102,245,.18);border:0}
.primary:hover,.btn.primary:hover,.add:hover{filter:brightness(1.06);transform:translateY(-1px)}
.hero-assurance{display:flex;flex-wrap:wrap;gap:20px;margin-top:24px;color:#d8e8ff;font-size:12px}
.hero-assurance span{display:flex;align-items:center;gap:7px}
.hero-art{opacity:.65}
.cats{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}
.cat{background:#fff;border:1px solid #e1e9f4;border-radius:13px;overflow:hidden;min-width:0;box-shadow:0 4px 16px rgba(24,57,99,.035);color:#18304f}
.cat img,.cat .ph{width:100%;height:112px;object-fit:contain;background:linear-gradient(180deg,#f5f8fc,#fff);padding:10px}
.cat .ph{display:grid;place-items:center;color:#0866f5}
.cat span{display:block;padding:10px 6px 12px;text-align:center;font-size:12px;font-weight:800}
.cat:hover{border-color:#9fc6ff;transform:translateY(-2px);box-shadow:var(--shadow)}
.products{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.product,.product-pro-card{background:#fff!important;border:1px solid #e0e8f3!important;border-radius:14px!important;box-shadow:0 4px 16px rgba(21,54,94,.04)!important;color:#14253e!important;overflow:hidden;min-width:0;transition:transform .2s,box-shadow .2s,border-color .2s}
.product:hover,.product-pro-card:hover{transform:translateY(-3px);border-color:#b8d4fb!important;box-shadow:0 14px 28px rgba(17,61,117,.1)!important}
.product-image-link{height:190px;background:#f7f9fc!important;display:flex;align-items:center;justify-content:center;position:relative}
.product-image-link img{max-width:100%;max-height:100%;object-fit:contain;padding:12px}
.product-card-body{padding:13px!important}
.product-mini-meta{color:#8796ab!important;font-size:10px}
.pname{color:#203653!important;font-size:13px!important;font-weight:800;line-height:1.8;min-height:46px;display:block}
.stock-badge{font-size:10px!important;color:#12845b!important;background:#e9f8f1!important;border-radius:20px;padding:2px 8px;display:inline-block;margin:6px 0}
.stock-badge.out{background:#fff0f0!important;color:#c33!important}
.price,.price-line-pro .price{color:#075fe7!important;font-size:15px!important;font-weight:900}
.price small{font-size:10px;color:#657891}
.old{color:#97a3b5!important}
.actions{gap:8px}
.actions-pro .smallbtn{width:38px;height:38px;border:1px solid #dce6f4!important;border-radius:9px;color:#0866f5!important;background:#fff!important}
.actions-pro .add{border-radius:9px!important;min-height:38px;font-size:11px!important;padding:7px 10px}
.product-discount-badge{background:#e94352!important;color:white!important}
.product-image-action{background:#0866f5!important;color:#fff!important}
.empty{background:#fff;border:1px dashed #cfdaea;color:#71819a;border-radius:14px;padding:30px;text-align:center}
.btn,.smallbtn,input,select,textarea{border-radius:10px}
.field input,.field textarea,.field select{background:#fff;border:1px solid #dce5f1;color:#18304e}
.field input:focus,.field textarea:focus,.field select:focus{border-color:#75aaff;box-shadow:0 0 0 3px rgba(8,102,245,.09)}
footer,.site-footer,.footer{background:#071b35!important;color:#eaf2ff!important}
footer a,.site-footer a,.footer a{color:#b9d2f1}
.auth{background:#edf3fb!important;color:#152b49!important}
.auth-shell{max-width:1100px}
.auth-panel{background:#fff!important;color:#152b49!important;border:1px solid #e1e9f4!important;border-radius:20px!important;box-shadow:0 24px 70px rgba(13,44,84,.14)!important}
.auth-panel h1,.auth-form-heading h1{color:#152b49!important}
.auth-panel p,.auth-legal{color:#71819a}
.auth-visual{background:linear-gradient(145deg,#071b35,#0a3b71)!important}
.auth-field input{background:#f9fbfe!important;color:#172d4a!important;border:1px solid #dbe5f1!important}
.auth-field input:focus{border-color:#0866f5!important}
.auth-mark{background:#0866f5!important}
.auth-switch a,.auth-forgot a{color:#0866f5!important}
.cart-page-pro,.cart-layout-pro,.cart-items-pro,.cart-item-pro,.cart-empty-pro,.cart-summary-pro{color:#18304e}
.cart-item-pro,.cart-summary-pro,.cart-empty-pro{background:#fff!important;border:1px solid #e0e8f3!important;border-radius:14px!important;box-shadow:0 5px 18px rgba(20,55,96,.04)}
.cart-head-pro h1{color:#142944}
.continue-shopping{color:#0866f5}
table{border-color:#e0e8f3}
th{background:#f2f6fc;color:#304966}
td{border-color:#e5edf6}
@media(min-width:1200px){
 .hero{min-height:420px}
 .hero-copy{max-width:600px}
 .section{padding-top:28px;padding-bottom:28px}
 .product-image-link{height:205px}
}
@media(max-width:1000px){
 .products{grid-template-columns:repeat(4,minmax(0,1fr))}
 .cats{grid-template-columns:repeat(5,minmax(0,1fr))}
 .hero{margin:16px 16px;min-height:340px;padding:32px}
 .section{padding:20px 16px}
 .site-head{padding:10px 16px}
 .desktop-store-nav-inner{gap:22px}
}
@media(max-width:680px){
 .site-head{padding:8px 12px}
 .head-main{height:auto;min-height:48px;gap:8px;flex-wrap:wrap}
 .brand-lockup{max-width:calc(100% - 110px);margin-left:auto;justify-content:flex-start}
 .brand-lockup img{width:48px;height:36px}
 .brand-lockup strong{font-size:13px}
 .brand-lockup small{display:none}
 .head-notification,.head-admin{display:none}
 .head-cart{order:2;min-width:40px;padding:0 9px;font-size:0}
 .head-account{order:3}
 .global-search{order:4;flex:0 0 100%;max-width:none;margin:6px 0 0;height:42px}
 .desktop-store-nav-inner{overflow-x:auto;gap:20px;padding:0 12px;min-height:39px;white-space:nowrap}
 .desktop-store-nav a{font-size:11px;padding:10px 0}
 .hero{min-height:320px;margin:12px;border-radius:16px;padding:23px 20px;background-position:58% center}
 .hero h1{font-size:28px}
 .hero p{font-size:12px;max-width:330px}
 .hero-assurance{gap:10px;font-size:10px}
 .section{padding:18px 12px}
 .section-head h3{font-size:17px}
 .cats{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
 .cat img,.cat .ph{height:92px}
 .cat span{font-size:11px}
 .products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .product-image-link{height:155px}
 .product-card-body{padding:10px!important}
 .pname{font-size:12px!important;min-height:42px}
 .price,.price-line-pro .price{font-size:13px!important}
 .actions-pro .add{font-size:10px!important;padding:6px}
 .auth-shell{padding:14px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
