
:root{
  --bg:#fbfaff;--card:#fff;--text:#221353;--text2:#4b3b78;--muted:#8a84a3;
  --purple:#4b20b5;--purple2:#7338db;--purple3:#8c5df0;--lav:#f0ebff;--lav2:#f7f4ff;
  --line:#eee9fb;--danger:#e5484d;--success:#14845f;
  --shadow:0 12px 30px rgba(69,35,144,.09);--soft-shadow:0 7px 22px rgba(69,35,144,.07)
}
*{box-sizing:border-box}html{background:var(--bg)}
body{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans Arabic","Noto Sans",Arial,sans-serif;background:
radial-gradient(circle at 8% 8%,rgba(119,72,226,.07) 0 45px,transparent 46px),
radial-gradient(circle at 92% 5%,rgba(119,72,226,.06) 0 56px,transparent 57px),var(--bg);
color:var(--text);padding-bottom:92px}
button,input,textarea,select{font:inherit}button{cursor:pointer}.hidden{display:none!important}

.top-header{position:relative;text-align:center;padding:13px 16px 7px;background:linear-gradient(180deg,#fff 0%,rgba(255,255,255,.92) 82%,rgba(255,255,255,0) 100%)}
.top-logo{width:132px;height:132px;object-fit:contain;display:block;margin:0 auto -4px}
.top-subtitle{font-size:15px;font-weight:700;color:#77718f;margin-top:-7px}
.admin-button{position:absolute;left:15px;top:16px;width:42px;height:42px;border:1px solid var(--line);background:#fff;color:var(--purple);border-radius:14px;box-shadow:var(--soft-shadow);z-index:3}
#main{max-width:900px;margin:0 auto;padding:10px 14px 24px}

.hero-promo{position:relative;overflow:hidden;border:1px solid #e7ddff;border-radius:28px;background:linear-gradient(135deg,#fff 0%,#f7f2ff 58%,#eee6ff 100%);box-shadow:var(--shadow);padding:20px 18px 86px;min-height:350px}
.hero-promo:before,.hero-promo:after{content:"";position:absolute;border-radius:50%;background:rgba(107,59,218,.06);pointer-events:none}
.hero-promo:before{width:150px;height:150px;left:-60px;top:-50px}.hero-promo:after{width:110px;height:110px;right:33%;top:65px}
.hero-copy{position:relative;z-index:2;width:57%;padding-bottom:6px}.hero-badge{display:inline-flex;padding:8px 13px;border-radius:999px;background:#eee7ff;color:#55418e;font-size:12px;font-weight:700;margin-bottom:14px}
.hero-promo h1{font-size:26px;line-height:1.58;margin:0 0 10px;font-weight:800;color:#271067}.hero-promo p{font-size:13.5px;line-height:1.9;margin:0;color:#7c7593;font-weight:500;max-width:245px}
.hero-art{position:absolute;left:0;bottom:72px;width:45%;height:220px;object-fit:cover;object-position:center;border-radius:22px;filter:saturate(.96) contrast(1.02)}
.hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;position:absolute;right:18px;left:18px;bottom:16px;z-index:3}
.hero-action{border-radius:15px;min-height:52px;padding:11px 9px;border:2px solid var(--purple2);font-weight:700;font-size:13px;display:flex;align-items:center;justify-content:center;gap:8px}
.hero-action svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8}.hero-action.primary{background:linear-gradient(135deg,var(--purple2),var(--purple));color:#fff;border-color:transparent;box-shadow:0 10px 20px rgba(91,41,194,.22)}.hero-action.ghost{background:#fff;color:var(--purple)}

.section-head{display:flex;align-items:center;justify-content:space-between;margin:20px 2px 11px}.section-head h2,.section h2{margin:0;font-size:19px}.section{display:flex;align-items:center;justify-content:space-between;margin:2px 0 14px}.section-note,.muted{font-size:12px;color:var(--muted)}
.category-grid,.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.category-card,.service-card{border:1px solid var(--line);background:#fff;border-radius:22px;box-shadow:var(--soft-shadow);min-width:0;color:var(--text)}
.category-card{padding:12px 8px 11px;text-align:center;min-height:177px}.category-visual{height:82px;display:flex;align-items:center;justify-content:center;margin-bottom:7px}
.category-card h3,.service-card h3{margin:0;font-size:14px;font-weight:900;line-height:1.6}.category-card small,.service-card small{display:block;color:var(--muted);font-size:10.5px;line-height:1.6;margin-top:3px}
.category-arrow,.service-arrow{width:31px;height:31px;border-radius:50%;background:#efe8ff;color:var(--purple);display:grid;place-items:center;margin:8px auto 0;font-size:19px;font-weight:900}
.sheet-stack{position:relative;width:72px;height:55px}.sheet-stack i{position:absolute;width:62px;height:42px;left:5px;border-radius:7px;background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(223,224,240,.72));border:1px solid rgba(119,109,167,.16);box-shadow:0 8px 12px rgba(78,57,133,.08);transform:skewY(-5deg)}.sheet-stack i:nth-child(1){top:15px;opacity:.58}.sheet-stack i:nth-child(2){top:9px;opacity:.72}.sheet-stack i:nth-child(3){top:3px}.sheet-stack.pe i{background:linear-gradient(145deg,#fff,rgba(212,224,236,.78))}
.transfer-thumb{width:100%;max-width:150px;height:82px;object-fit:contain;object-position:center;border-radius:0;display:block;background:transparent;padding:0 3px;box-sizing:border-box}
.service-grid{margin-top:10px}.service-card{padding:14px 7px 11px;text-align:center;min-height:161px}.service-icon{width:58px;height:58px;border-radius:20px;background:linear-gradient(145deg,#f2ecff,#e4d8ff);display:grid;place-items:center;margin:0 auto 9px;color:var(--purple)}.service-icon svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.service-icon .icon-badge{fill:#fff;stroke:currentColor;stroke-width:1.6}.service-icon .icon-badge-plus{stroke:currentColor;stroke-width:1.7}.recycle-symbol{font-family:Arial,"Segoe UI Symbol",sans-serif;font-size:38px;line-height:1;color:var(--purple);font-weight:400;display:block}
.trust-strip{margin-top:12px;background:linear-gradient(90deg,#f3edff,#fbf9ff);border:1px solid #ede6ff;border-radius:21px;padding:11px 8px;display:grid;grid-template-columns:repeat(3,1fr);gap:3px}.trust-item{text-align:center;padding:3px 6px;border-left:1px solid #e6ddfa}.trust-item:last-child{border-left:0}.trust-item b{display:block;font-size:11px;line-height:1.6}.trust-item span{display:block;font-size:9.5px;color:var(--muted);margin-top:2px}.trust-item svg{width:25px;height:25px;stroke:var(--purple);fill:none;stroke-width:1.7;margin-bottom:2px}

.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.home-card,.product-card,.order-card,.admin-card,.profile-card,.support-card{background:var(--card);border:1px solid var(--line);border-radius:20px;box-shadow:var(--soft-shadow)}
.home-card{padding:20px 12px;text-align:center;min-height:140px;display:flex;flex-direction:column;justify-content:center;gap:9px;border:0}.home-card .emoji{font-size:42px}.home-card strong{font-size:17px}.home-card small{color:var(--muted)}
.chips{display:flex;gap:8px;overflow:auto;padding-bottom:10px;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}.chip{border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 14px;white-space:nowrap;color:var(--text2)}.chip.active{background:var(--purple);color:#fff;border-color:var(--purple)}
.product-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.product-card{overflow:hidden}.img{height:150px;background:#f1eef8;display:grid;place-items:center;color:#9e97b7;font-size:34px;background-size:cover;background-position:center}.body{padding:13px}.body h3{font-size:14px;margin:0 0 8px;line-height:1.7}.meta{font-size:11px;color:var(--muted);line-height:1.9}.price{font-weight:900;margin-top:7px;color:var(--text)}.ok{color:var(--success)}.no{color:var(--danger)}
.primary,.secondary,.danger{width:100%;border:0;border-radius:14px;padding:12px;margin-top:10px;font-weight:800}.primary{background:linear-gradient(135deg,var(--purple2),var(--purple));color:#fff}.secondary{background:#f0eaff;color:var(--purple)}.danger{background:#fff0f0;color:var(--danger)}.primary:disabled{opacity:.45}
.cart-item{background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px;margin-bottom:10px}.row{display:flex;align-items:center;justify-content:space-between;gap:10px}.qty{display:flex;align-items:center;gap:9px}.qty button{border:0;background:#f0ecf8;border-radius:10px;width:34px;height:34px;color:var(--purple)}.total{background:#f1ebff;border-radius:16px;padding:15px;margin:15px 0;font-weight:900;color:var(--purple)}
.form input,.form textarea,.form select{width:100%;border:1px solid var(--line);background:#fff;border-radius:13px;padding:12px;margin:6px 0 10px;color:var(--text)}.form textarea{min-height:88px;resize:vertical}
.order-card,.admin-card,.profile-card,.support-card{padding:14px;margin-bottom:12px}.order-items{font-size:13px;line-height:2}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.admin-card input{width:100%;border:1px solid var(--line);border-radius:11px;padding:9px}
.empty{text-align:center;color:var(--muted);padding:42px 10px}.notice{background:#fff8e2;border:1px solid #f0d47d;padding:14px;border-radius:14px;line-height:1.8}.access{max-width:460px;margin:20px auto;background:#fff;border-radius:20px;padding:18px;box-shadow:var(--shadow)}
.menu-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.menu-item{border:1px solid var(--line);background:#fff;border-radius:19px;padding:17px 12px;text-align:right;color:var(--text);box-shadow:var(--soft-shadow)}.menu-item b{display:block;font-size:15px;margin-bottom:4px}.menu-item span{font-size:11px;color:var(--muted)}
.profile-avatar{width:62px;height:62px;border-radius:22px;background:linear-gradient(145deg,#eee7ff,#dfd2ff);display:grid;place-items:center;font-size:26px;color:var(--purple);margin-bottom:12px}

.bottom-nav{position:fixed;bottom:0;left:0;right:0;min-height:78px;background:rgba(255,255,255,.97);border-top:1px solid var(--line);display:flex;justify-content:space-around;align-items:center;z-index:20;padding:6px 6px calc(6px + env(safe-area-inset-bottom));box-shadow:0 -7px 26px rgba(55,31,117,.08)}
.bottom-nav button{background:transparent;border:0;color:#51486c;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:68px;height:58px;position:relative;border-radius:18px}.bottom-nav button svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.bottom-nav button span{font-size:10.5px;font-weight:700}
.bottom-nav button.active{color:#fff;background:linear-gradient(135deg,var(--purple2),var(--purple));box-shadow:0 8px 19px rgba(85,41,186,.23)}
.bottom-nav b{position:absolute;top:0;left:10px;background:var(--purple2);color:#fff;border-radius:999px;font-size:9px;padding:2px 5px;border:2px solid white}
#toast{position:fixed;bottom:94px;left:50%;transform:translateX(-50%) translateY(20px);background:#251b3d;color:#fff;padding:10px 16px;border-radius:12px;opacity:0;pointer-events:none;transition:.2s;z-index:50;max-width:92vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
@media(max-width:380px){.top-logo{width:118px;height:118px}.hero-promo{min-height:300px;padding:17px 14px 15px}.hero-copy{width:61%}.hero-promo h1{font-size:23px}.hero-promo p{font-size:12.5px}.hero-art{width:44%;height:205px}.category-card{min-height:164px;padding-left:5px;padding-right:5px}.category-card h3{font-size:13px}}
@media(min-width:620px){#main{padding-left:22px;padding-right:22px}.product-list{grid-template-columns:repeat(3,1fr)}.hero-promo{min-height:350px}.hero-promo h1{font-size:34px}.hero-promo p{font-size:16px}.hero-art{height:275px}}


/* UI v3 refinements */
.sheet-stack.black i{
  background:linear-gradient(145deg,#25252a,#070709 72%);
  border-color:rgba(0,0,0,.55);
  box-shadow:0 8px 15px rgba(0,0,0,.22);
}
.sheet-stack.black i:nth-child(1){opacity:.82}
.sheet-stack.black i:nth-child(2){opacity:.9}
.sheet-stack.black i:nth-child(3){opacity:1}

.product-card .compact-add{
  width:auto;
  min-width:118px;
  max-width:100%;
  min-height:38px;
  padding:8px 13px;
  margin:9px auto 0;
  border-radius:11px;
  font-size:12.5px;
  line-height:1.45;
  display:block;
  box-shadow:0 6px 13px rgba(85,41,186,.16);
}
.product-card .compact-add:disabled{
  box-shadow:none;
}
.price{
  direction:rtl;
}
.price-num{
  unicode-bidi:isolate;
  direction:ltr;
  display:inline-block;
  letter-spacing:0;
  font-variant-numeric:tabular-nums;
}


/* UI v4: support + typography refinements */
.support-main{padding:17px}
.support-title-row{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.support-title-row .service-icon{margin:0;flex:0 0 auto}
.support-title-row h3{margin:0 0 4px;font-size:17px;font-weight:800}
.support-title-row p{margin:0;line-height:1.8}
.support-phone-list{display:grid;grid-template-columns:1fr;gap:9px;margin:12px 0 18px}
.support-phone{text-decoration:none;color:var(--text);border:1px solid var(--line);background:linear-gradient(135deg,#fff,#f8f5ff);border-radius:16px;padding:12px 13px;display:flex;align-items:center;gap:12px;box-shadow:var(--soft-shadow)}
.support-phone .phone-icon{width:42px;height:42px;border-radius:13px;background:linear-gradient(145deg,#eee7ff,#dfd2ff);color:var(--purple);display:grid;place-items:center;font-size:20px;flex:0 0 auto}
.support-phone span:last-child{display:flex;flex-direction:column;gap:3px}
.support-phone small{color:var(--muted);font-size:11px}
.support-phone b{font-size:17px;letter-spacing:.2px;color:var(--purple);font-weight:800}
.support-chat{border-top:1px solid var(--line);padding-top:16px}
.support-chat h3{margin:0 0 5px;font-size:16px;font-weight:800}
.support-chat p{margin:0 0 10px;line-height:1.8}
.support-chat textarea{width:100%;min-height:120px;resize:vertical;border:1px solid #ded5f6;background:#fff;border-radius:15px;padding:13px;color:var(--text);outline:none;line-height:1.9}
.support-chat textarea:focus{border-color:var(--purple3);box-shadow:0 0 0 3px rgba(115,56,219,.09)}
.support-send{min-height:44px;margin-top:10px;font-weight:700}
.support-send:disabled{opacity:.6}

@media(max-width:420px){
  .hero-promo{min-height:365px;padding-bottom:82px}
  .hero-promo h1{font-size:24px}
  .hero-promo p{font-size:12.7px;line-height:1.85}
  .hero-badge{font-size:11px;padding:7px 10px;margin-bottom:11px}
  .hero-action{font-size:12.5px;padding:10px 7px}
}

/* UI v5 */
.hero-actions{grid-template-columns:1fr 1fr}
.top-subtitle{font-size:14px;color:#6f6789;font-weight:750}
.waste-entry-card{width:100%;margin-top:10px;border:1px solid var(--line);background:linear-gradient(135deg,#fff,#f6f1ff);border-radius:22px;box-shadow:var(--soft-shadow);padding:13px 14px;display:grid;grid-template-columns:58px 1fr 34px;align-items:center;gap:12px;color:var(--text);text-align:right}
.waste-entry-icon{width:58px;height:58px;border-radius:19px;background:linear-gradient(145deg,#f2ecff,#e4d8ff);display:grid;place-items:center;color:var(--purple)}
.waste-entry-icon svg{width:35px;height:35px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.waste-entry-icon .recycle-symbol{font-size:39px}
.waste-entry-card h3{margin:0 0 3px;font-size:15px}.waste-entry-card small{color:var(--muted);font-size:11px}.waste-entry-arrow{width:31px;height:31px;border-radius:50%;background:#ece4ff;color:var(--purple);display:grid;place-items:center;font-size:18px;font-weight:900}

.roll-visual{position:relative;width:92px;height:78px}.roll-body{position:absolute;right:12px;top:10px;width:57px;height:57px;border-radius:50%;background:radial-gradient(circle at 50% 50%,#c6bfdc 0 10px,#fafafa 11px 23px,#e9e6f2 24px 28px,#fff 29px);border:1px solid rgba(119,109,167,.18);box-shadow:0 9px 17px rgba(78,57,133,.13)}.roll-core{position:absolute;right:34px;top:32px;width:15px;height:15px;border-radius:50%;background:#b9b1ce;border:3px solid #eeeaf6;z-index:2}.roll-tail{position:absolute;right:48px;top:48px;width:39px;height:24px;background:linear-gradient(145deg,#fff,#e9e6f2);border:1px solid rgba(119,109,167,.15);border-radius:4px 4px 9px 4px;transform:skewY(7deg);box-shadow:0 7px 12px rgba(78,57,133,.08)}
.roll-visual.black .roll-body{background:radial-gradient(circle at 50% 50%,#a09ba9 0 10px,#17171b 11px 23px,#070709 24px 28px,#222228 29px);border-color:#111}.roll-visual.black .roll-tail{background:linear-gradient(145deg,#25252b,#070709);border-color:#111}.roll-visual.black .roll-core{background:#aaa3b7;border-color:#26252b}
.restock{margin-top:7px;padding:7px 8px;background:#fff7df;border:1px solid #f3df9c;border-radius:10px;color:#765c0b;font-size:10.5px;line-height:1.7}.restock.large{font-size:12.5px;margin:10px 0}
.preorder-btn{width:auto;border:0;background:linear-gradient(135deg,#8b5def,#6540c7);color:#fff;border-radius:11px;box-shadow:0 6px 13px rgba(85,41,186,.16);font-weight:800}.product-card .preorder-btn.compact-add{display:block;margin:9px auto 0;min-width:125px;padding:8px 12px;font-size:12px}

.balance-card{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:linear-gradient(135deg,#efe8ff,#faf8ff);border:1px solid #e5dafd;border-radius:19px;padding:13px;margin-bottom:12px}.balance-card>div{background:rgba(255,255,255,.7);border-radius:14px;padding:11px;text-align:center}.balance-card small{display:block;color:var(--muted);font-size:10.5px;margin-bottom:5px}.balance-card strong{display:block;color:var(--purple);font-size:14px;line-height:1.8}.account-actions{display:grid;gap:8px}.notice.soft{background:#f5f1ff;border-color:#e2d8fb;color:#514275}.notice.danger-soft{background:#fff1f1;border-color:#f4c3c3;color:#9a3030}

.checkout-summary{background:#fff;border:1px solid var(--line);border-radius:18px;padding:11px 13px;margin:12px 0;box-shadow:var(--soft-shadow)}.checkout-summary>div,.mini-line{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 0;font-size:12px}.checkout-summary .grand{border-top:1px dashed #dcd2f3;margin-top:5px;padding-top:10px;color:var(--purple);font-size:14px}.coupon-row{display:grid;grid-template-columns:1fr auto;gap:7px;align-items:start}.coupon-row .secondary{width:auto;min-width:82px;margin-top:6px;height:45px}.credit-choice,.switch-line{display:flex;align-items:center;gap:8px;padding:10px 11px;background:#f8f5ff;border:1px solid var(--line);border-radius:13px;margin:3px 0 13px;font-size:12px}.credit-choice input,.switch-line input{width:auto;margin:0}.payment-note{font-size:11px;line-height:1.85;background:#faf7ff;border:1px dashed #d9cdf6;padding:10px;border-radius:12px;color:#685d82;margin-top:4px}

.payment-card,.preorder-card,.waste-info-card{background:#fff;border:1px solid var(--line);border-radius:21px;padding:15px;box-shadow:var(--soft-shadow)}.payable-big{text-align:center;background:linear-gradient(135deg,#eee7ff,#f9f7ff);border-radius:18px;padding:15px;margin-bottom:12px}.payable-big small{display:block;color:var(--muted);margin-bottom:4px}.payable-big strong{font-size:23px;color:var(--purple)}
.bank-card{border:1px solid #e3dafa;border-radius:18px;padding:12px;background:linear-gradient(135deg,#fff,#fbf9ff);margin:12px 0}.bank-title{font-weight:900;color:var(--purple);margin-bottom:5px}.bank-holder{font-size:12px;color:var(--text2);margin-bottom:10px}.bank-row{display:grid;grid-template-columns:78px 1fr auto;gap:7px;align-items:center;padding:9px 0;border-top:1px solid #f0ebfa;font-size:11px}.bank-row:first-of-type{border-top:0}.bank-row b{font-size:13px;overflow-wrap:anywhere;text-align:left}.bank-row button{border:0;background:#eee7ff;color:var(--purple);border-radius:9px;padding:7px 8px;font-size:10px}.ltr{direction:ltr;unicode-bidi:isolate;display:inline-block;font-variant-numeric:tabular-nums}.sheba{font-size:11.5px!important}.receipt-upload{border-top:1px solid var(--line);padding-top:12px}.receipt-upload label{font-size:12px;font-weight:700}.receipt-upload input{width:100%;margin:9px 0;border:1px solid var(--line);border-radius:12px;padding:9px;background:#fff}
.success-card{text-align:center}.status-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#f0eaff;color:var(--purple);padding:5px 9px;font-size:10px;font-weight:800;line-height:1.5}.status-pill.paid{background:#e8f7f0;color:#13704f}.status-pill.receipt_pending{background:#fff5d8;color:#8b6810}.status-pill.expired{background:#f3f1f5;color:#777}.status-pill.payment_rejected{background:#fff0f0;color:#b13b3b}.order-card h3{margin:0}.order-card .total{margin:10px 0 4px;padding:10px}

.deposit-info{padding:11px;background:#f6f1ff;border-radius:13px;color:#5e479b;margin:11px 0;font-size:12px}.waste-info-card{display:grid;grid-template-columns:70px 1fr;gap:12px;align-items:center;margin-bottom:11px}.waste-info-card p{font-size:12px;line-height:2;margin:0;color:#554c70;font-weight:600}.big-recycle{width:64px;height:64px;border-radius:20px;background:#eee7ff;color:var(--purple);display:grid;place-items:center}.big-recycle svg{width:40px;height:40px;fill:none;stroke:currentColor;stroke-width:1.7}.waste-form{background:#fff;border:1px solid var(--line);border-radius:19px;padding:13px;box-shadow:var(--soft-shadow)}

.admin-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:12px}.admin-summary>div{background:linear-gradient(135deg,#f0eaff,#faf8ff);border:1px solid #e6dcfb;border-radius:14px;padding:9px 5px;text-align:center}.admin-summary b{display:block;color:var(--purple);font-size:18px}.admin-summary span{font-size:9px;color:var(--muted)}.admin-menu{margin-top:6px}.admin-action-row{display:grid;grid-template-columns:1fr 1fr;gap:7px}.admin-action-row .primary,.admin-action-row .danger,.admin-action-row .secondary{margin-top:8px}.inline-admin{margin-top:10px;border-top:1px solid var(--line);padding-top:8px}.inline-admin input,.availability-card input,.availability-card select,.discount-editor input,.discount-editor select{width:100%;border:1px solid var(--line);border-radius:11px;padding:10px;margin:5px 0;background:#fff}.discount-products{display:grid;grid-template-columns:1fr 1fr;gap:5px;max-height:250px;overflow:auto;background:#faf8ff;border:1px solid var(--line);padding:8px;border-radius:12px;margin:8px 0}.discount-products label{font-size:10.5px;line-height:1.7;display:flex;gap:6px;align-items:flex-start}.discount-products input{width:auto;margin-top:3px}.waste-confirm{margin-top:8px}

@media(max-width:420px){
 .waste-entry-card{grid-template-columns:52px 1fr 30px;padding:11px}.waste-entry-icon{width:52px;height:52px}
 .bank-row{grid-template-columns:72px 1fr auto}.bank-row b{font-size:12px}.sheba{font-size:10px!important}
 .admin-summary{grid-template-columns:repeat(2,1fr)}
 .discount-products{grid-template-columns:1fr}
 .waste-info-card{grid-template-columns:58px 1fr}.big-recycle{width:56px;height:56px}.big-recycle svg{width:34px;height:34px}
}
.receipt-overlay{position:fixed;inset:0;background:rgba(20,12,42,.82);z-index:100;display:grid;place-items:center;padding:18px}.receipt-viewer{position:relative;width:min(96vw,720px);height:min(88vh,900px);background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.35)}.receipt-viewer img{width:100%;height:100%;object-fit:contain;background:#f6f3fa}.receipt-viewer iframe{width:100%;height:100%;border:0}.receipt-close{position:absolute;top:10px;left:10px;z-index:2;width:38px;height:38px;border:0;border-radius:12px;background:rgba(36,24,65,.88);color:#fff;font-size:18px}


/* v6 visual refinements */
.product-transfer-fallback{width:96%;height:138px;max-width:250px;object-fit:contain;object-position:center;display:block;background:transparent;border-radius:0;margin:auto}
.roll-visual-v6{width:96px;height:72px;display:grid;place-items:center;margin:auto}
.roll-visual-v6 svg{width:96px;height:72px;overflow:visible}
.roll-visual-v6 .roll-sheet{fill:#f7f7fb;stroke:#cfc9df;stroke-width:1.25}
.roll-visual-v6 .roll-face{fill:#fff;stroke:#bcb4d2;stroke-width:1.35}
.roll-visual-v6 .roll-ring{fill:#eeeaf7;stroke:#c7bedb;stroke-width:1.15}
.roll-visual-v6 .roll-core-v6{fill:#b9b0cc}
.roll-visual-v6 .roll-tail-v6{fill:#fafafe;stroke:#d1cadf;stroke-width:1.1}
.roll-visual-v6.black .roll-sheet,.roll-visual-v6.black .roll-tail-v6{fill:#17171c;stroke:#2b2b31}
.roll-visual-v6.black .roll-face{fill:#202026;stroke:#08080a}
.roll-visual-v6.black .roll-ring{fill:#09090b;stroke:#4b4655}
.roll-visual-v6.black .roll-core-v6{fill:#aaa3b7}
.required-note{font-size:11px;line-height:1.75;color:#6b5f83;background:#faf7ff;border:1px dashed #d8cdf3;border-radius:12px;padding:9px 10px;margin:2px 0 10px}
.field-label{display:block;font-size:11px;font-weight:800;color:var(--text2);margin-top:4px}.field-label b{color:var(--danger);font-size:13px}.address-field{min-height:104px!important}

.admin-address{margin:7px 0 9px;padding:8px 10px;border-radius:11px;background:#faf7ff;color:#655b7a;font-size:11px;line-height:1.8}


/* v7 quantity picker + transfer image fit */
.cart-qty-input{width:54px;height:36px;border:1px solid #ded5f3;border-radius:10px;background:#fff;color:var(--text);text-align:center;font-weight:900;direction:ltr;unicode-bidi:isolate;padding:0 5px;margin:0}
.qty-overlay{position:fixed;inset:0;z-index:120;background:rgba(30,18,58,.5);display:flex;align-items:flex-end;justify-content:center;padding:14px}
.qty-picker{width:min(100%,520px);background:#fff;border:1px solid #e8e0f8;border-radius:24px;padding:17px;box-shadow:0 20px 60px rgba(35,17,78,.25);animation:qtyUp .18s ease-out}
@keyframes qtyUp{from{transform:translateY(22px);opacity:.4}to{transform:translateY(0);opacity:1}}
.qty-picker-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.qty-picker-head small{color:var(--muted);font-size:11px}.qty-picker-head h3{margin:3px 0 0;font-size:16px;line-height:1.6}.qty-close{width:36px;height:36px;border:0;border-radius:12px;background:#f2edfb;color:var(--purple);font-size:25px;line-height:1}
.qty-stock{margin:12px 0 10px;background:#f8f5ff;border:1px solid var(--line);border-radius:12px;padding:9px 11px;color:#6c6086;font-size:11px}.qty-stock b{color:var(--purple)}
.qty-input-row{display:grid;grid-template-columns:46px 1fr 46px;gap:9px;align-items:center;direction:ltr}.qty-input-row button{height:46px;border:0;border-radius:13px;background:#efe9ff;color:var(--purple);font-size:24px;font-weight:800}.qty-input-row input{height:46px;border:1px solid #dcd1f5;border-radius:13px;text-align:center;color:var(--text);font-size:20px;font-weight:900;direction:ltr;unicode-bidi:isolate}
.quick-qty{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-top:11px;direction:ltr}.quick-qty button{border:1px solid #ded4f4;background:#faf8ff;color:var(--purple);border-radius:12px;padding:9px 3px;font-weight:800}.qty-confirm{margin-top:13px}
@media(max-width:360px){.quick-qty{grid-template-columns:repeat(3,1fr)}}


/* v8 catalog images, responsive quantity picker, and readability */
.roll-product-photo{width:96%;height:138px;max-width:250px;object-fit:contain;object-position:center;display:block;margin:auto;border-radius:12px}
.qty-picker{max-width:calc(100vw - 28px);min-width:0;overflow:hidden}
.qty-input-row{width:100%;min-width:0;grid-template-columns:46px minmax(0,1fr) 46px}
.qty-input-row>*{min-width:0}
.qty-input-row input{display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow:hidden}
.quick-qty{width:100%;min-width:0}
@media(max-width:390px){.qty-overlay{padding:10px}.qty-picker{padding:15px;max-width:calc(100vw - 20px)}.qty-input-row{grid-template-columns:44px minmax(0,1fr) 44px;gap:7px}.quick-qty{grid-template-columns:repeat(3,minmax(0,1fr))}.transfer-thumb{max-width:138px;height:84px}}


/* v9 specialty services, request workflows, and group pricing */
.special-service-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:10px 0}.special-service-card{border:1px solid var(--line);background:#fff;border-radius:18px;padding:12px;display:grid;grid-template-columns:38px 1fr 22px;gap:8px;align-items:center;text-align:right;color:var(--text);box-shadow:var(--soft-shadow)}.special-service-card h3{margin:0 0 3px;color:var(--purple);font-size:12px}.special-service-card small{display:block;color:var(--muted);font-size:9px;line-height:1.6}.special-emoji{width:38px;height:38px;border-radius:12px;background:#f1ebff;display:grid;place-items:center;font-size:20px}.form-card,.request-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:14px;margin:10px 0;box-shadow:var(--soft-shadow)}.form-card input,.form-card select,.form-card textarea,.request-card textarea,.admin-card textarea,.bulk-price-card input,.admin-card input{width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:12px;padding:11px;background:#fff;color:var(--text);margin:5px 0 10px;font:inherit}.form-card textarea,.request-card textarea,.admin-card textarea{min-height:86px;resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.estimate-box,.quote-final{margin-top:12px;border-radius:16px;background:linear-gradient(135deg,#efe8ff,#fbf9ff);padding:13px;border:1px solid #ddd1f7}.estimate-box small,.quote-final small{display:block;color:var(--muted);margin-bottom:4px}.estimate-box strong,.quote-final strong{display:block;color:var(--purple);font-size:19px}.estimate-box span,.quote-final span{display:block;margin-top:4px;font-size:11px}.estimate-box p{margin:8px 0 0;color:#6d6185;font-size:10.5px;line-height:1.8}.empty.compact{padding:14px;margin-top:6px}.admin-summary.v9{grid-template-columns:repeat(3,1fr)}.bulk-price-list{display:grid;gap:10px}.bulk-price-card .secondary{margin-top:0}.bulk-preview{margin-top:8px}.preview-table{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#faf8ff}.preview-table>div{padding:8px 9px;border-bottom:1px solid #eee8f7;display:grid;gap:3px}.preview-table>div:last-child{border-bottom:0}.preview-table span{font-size:10.5px}.preview-table b{font-size:10.5px;color:var(--purple)}.spec-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:10px 0}.spec-grid>div{background:#faf8ff;border:1px solid var(--line);border-radius:11px;padding:8px}.spec-grid small{display:block;color:var(--muted);font-size:9px}.spec-grid b{font-size:10.5px;line-height:1.6}.request-card .notice{margin-top:9px}
@media(max-width:390px){.special-service-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr 1fr}.admin-summary.v9{grid-template-columns:repeat(2,1fr)}}

/* v10 direct product discounts + transfer pricing */
.sale-price-wrap{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:2px}
.old-price{color:#c62828;text-decoration:line-through;text-decoration-thickness:1.5px;font-size:11px;font-weight:700}
.sale-price{color:var(--purple);font-size:15px;font-weight:950}
.sale-badge{background:#fceaea;color:#b42318;border:1px solid #f3c4c1;border-radius:999px;padding:2px 6px;font-size:9px;font-weight:900}
.transfer-price-card{border:1px solid #d8cdf1;background:linear-gradient(180deg,#fff,#fbf9ff)}
.transfer-price-card h3{margin:0 0 8px;color:var(--purple)}
.transfer-min-warning{margin:10px 0;font-weight:650}
#packagingLine b{color:#5f3bb9}
@media(max-width:420px){.sale-price-wrap{gap:4px}.sale-price{font-size:14px}.old-price{font-size:10px}.sale-badge{font-size:8.5px}.transfer-price-card .admin-grid{grid-template-columns:1fr}}
.product-card .img[style*="background-image"]{background-size:contain;background-repeat:no-repeat;background-position:center;background-color:#f7f4fb}
