/* PARES — صفحة المنتج + السلة (أبيض وأسود) */
body.pdp,body.cartpg{padding-bottom:90px}
.crumbs{display:flex;align-items:center;gap:.5rem;font-size:.82rem;color:var(--mute);padding:1rem 0;flex-wrap:wrap}.crumbs i{font-size:.6rem}.crumbs span{color:var(--ink);font-weight:600}
/* ===== PDP ===== */
.pdp-grid{display:grid;gap:1.5rem;align-items:start}@media(min-width:960px){.pdp-grid{grid-template-columns:1.15fr 1fr;gap:3.5rem}}
.gallery{display:flex;gap:12px;flex-direction:column}@media(min-width:960px){.gallery{flex-direction:row-reverse;position:sticky;top:84px}}
.thumbs-v{display:none}@media(min-width:960px){.thumbs-v{display:flex;flex-direction:column;gap:10px;width:76px;max-height:78vh;overflow:auto;scrollbar-width:none}}
.thumb{border:1.5px solid transparent;border-radius:10px;overflow:hidden;background:var(--soft);padding:0;aspect-ratio:3/4;opacity:.6;transition:.25s}.thumb.active,.thumb:hover{opacity:1;border-color:var(--ink)}.thumb img{width:100%;height:100%;object-fit:cover}
.stage{position:relative;flex:1;overflow:hidden;border-radius:18px;background:var(--soft);aspect-ratio:4/5}
.stage-track{display:flex;height:100%;transition:transform .55s var(--ease)}.stage-item{flex:0 0 100%;height:100%}.stage-item img{width:100%;height:100%;object-fit:cover}
.g-arrow{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;border:0;background:rgba(255,255,255,.9);box-shadow:0 4px 16px rgba(0,0,0,.15);display:none}@media(min-width:960px){.g-arrow{display:block}}.g-prev{right:12px}.g-next{left:12px}
.g-dots{position:absolute;bottom:12px;inset-inline:0;display:flex;justify-content:center;gap:6px}.g-dots button{width:7px;height:7px;border-radius:50%;border:0;background:rgba(255,255,255,.55);padding:0}.g-dots button.on{background:#fff;width:20px;border-radius:4px}
.stage .tag{top:14px;inset-inline-start:14px}.stage .tag.sale{inset-inline-start:auto;inset-inline-end:14px}
.info{padding-bottom:1rem}.kicker{font-size:.78rem;letter-spacing:.2em;color:var(--mute);margin-bottom:.4rem}
.info h1{font-size:clamp(1.5rem,3.6vw,2.2rem);line-height:1.3;font-weight:800;margin-bottom:.6rem}
.p-price{display:flex;align-items:baseline;gap:.8rem;flex-wrap:wrap;margin-bottom:1.2rem}.p-price b{font-size:1.9rem;font-weight:800}.p-price s{color:var(--mute)}.p-price em{font-style:normal;background:#111;color:#fff;font-size:.75rem;padding:.2rem .7rem;border-radius:20px;font-weight:700}
.block{margin-bottom:1.3rem}.lbl{font-weight:700;margin-bottom:.6rem;font-size:.95rem}.lbl small{color:var(--mute);font-weight:500;margin-inline-start:.4rem}
.bundles{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:10px}
.bundle{position:relative;border:1.5px solid var(--line);background:#fff;border-radius:14px;padding:.9rem .5rem;text-align:center;display:flex;flex-direction:column;gap:2px;transition:.25s}.bundle b{font-size:.95rem}.bundle span{color:var(--mute);font-size:.85rem}
.bundle.on{border-color:var(--ink);background:var(--ink);color:#fff}.bundle.on span{color:#ddd}
.bundle-save{position:absolute;top:-10px;left:50%;transform:translateX(-50%);background:var(--sale);color:#fff;font-style:normal;font-size:.68rem;font-weight:700;padding:.1rem .6rem;border-radius:12px;white-space:nowrap}
.qty{display:inline-flex;align-items:center;border:1.5px solid var(--line);border-radius:30px;overflow:hidden}.qty button{width:46px;height:46px;border:0;background:none;font-size:1.3rem}.qty button:hover{background:var(--soft)}.qty input{width:52px;text-align:center;border:0;font:inherit;font-weight:700;outline:0;background:none;-moz-appearance:textfield}.qty input::-webkit-inner-spin-button{display:none}
.same{display:flex;align-items:center;gap:.5rem;font-size:.88rem;margin-bottom:.9rem;cursor:pointer}.same input{accent-color:#000;width:16px;height:16px}
.item-row{padding:.2rem 0 1rem}.item-row+.item-row{border-top:1px dashed var(--line);padding-top:1rem}.item-num{font-weight:700;margin-bottom:.5rem}
.swatches,.sizes{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:1rem}
.color-btn{display:flex;flex-direction:column;align-items:center;gap:4px;width:auto;min-width:48px;border:0;padding:0;background:transparent;transition:.2s}
.color-btn span{display:block;width:40px;height:40px;border-radius:50%;border:1.5px solid var(--line);box-shadow:0 0 0 1px rgba(0,0,0,.06) inset}
.color-btn em{font-style:normal;font-size:.72rem;font-weight:600;color:var(--mute);max-width:56px;text-align:center;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.color-btn.active span{border-color:var(--ink);box-shadow:0 0 0 2px #fff inset,0 0 0 1.5px var(--ink)}
.color-btn.active em{color:var(--ink);font-weight:700}
.size-btn{min-width:50px;height:46px;padding:0 .9rem;border-radius:12px;border:1.5px solid var(--line);background:#fff;font-weight:700;transition:.2s}.size-btn:hover{border-color:var(--ink)}.size-btn.active{background:var(--ink);color:#fff;border-color:var(--ink)}
.total-row{display:flex;justify-content:space-between;align-items:center;padding:1rem 0;border-top:1px solid var(--line);margin-top:.5rem;font-weight:600}.total-row b{font-size:1.5rem}
.cta{display:grid;gap:10px;margin-top:.4rem}@media(min-width:520px){.cta{grid-template-columns:1fr 1fr}}.cta .btn{width:100%;padding:1.05rem}
.perks{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:1.4rem 0;font-size:.85rem}.perks li{display:flex;gap:.6rem;align-items:center;background:var(--soft);padding:.7rem .9rem;border-radius:12px}.perks i{font-size:1.05rem}
.acc{border-top:1px solid var(--line);padding:1rem 0}.acc:last-child{border-bottom:1px solid var(--line)}.acc summary{font-weight:700;cursor:pointer;list-style:none;display:flex;justify-content:space-between}.acc summary:after{content:'+';font-size:1.3rem;line-height:1}.acc[open] summary:after{content:'−'}.acc div{margin-top:.7rem;color:#444;font-size:.95rem}
.related{padding:3rem 0 1rem}
.buybar{position:fixed;inset-inline:0;bottom:0;z-index:960;background:rgba(255,255,255,.97);backdrop-filter:blur(14px);border-top:1px solid var(--line);padding:.7rem 1rem calc(.7rem + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-between;gap:1rem}.buybar small{display:block;color:var(--mute);font-size:.72rem;line-height:1.2}.buybar b{font-size:1.15rem}.buybar .btn{flex:1;max-width:260px;padding:.85rem 1rem}
@media(min-width:960px){.buybar{display:none}body.pdp{padding-bottom:0}}
.sheet-ov{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:2000;display:none;align-items:flex-end;justify-content:center}.sheet-ov.active{display:flex}
.sheet{background:#fff;width:100%;max-width:460px;border-radius:24px 24px 0 0;padding:1.6rem 1.4rem calc(1.4rem + env(safe-area-inset-bottom));text-align:center;animation:up .35s var(--ease)}@media(min-width:600px){.sheet-ov{align-items:center}.sheet{border-radius:24px}}
@keyframes up{from{transform:translateY(40px);opacity:0}}
.ok{width:60px;height:60px;border-radius:50%;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:center;margin:0 auto .8rem;font-size:1.5rem}.sheet h3{margin-bottom:1rem}.sheet .cta{grid-template-columns:1fr}
/* ===== السلة ===== */
.steps{display:flex;justify-content:center;align-items:center;gap:.6rem;padding:1.2rem 0;font-size:.82rem;color:var(--mute)}.steps b{display:inline-flex;width:24px;height:24px;border-radius:50%;background:var(--line);color:#555;align-items:center;justify-content:center;font-size:.75rem;margin-inline-end:.35rem}.steps .on{color:var(--ink);font-weight:700}.steps .on b{background:var(--ink);color:#fff}.steps hr{width:34px;border:0;border-top:1.5px solid var(--line)}
.cart-container{max-width:1100px;margin:0 auto 3rem}
.cart-header{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:1rem}.cart-header h2{font-size:1.6rem;font-weight:800}.cart-header span{color:var(--mute);font-size:.88rem}
.cart-items{display:grid;gap:12px;margin-bottom:1.6rem}
.cart-item{border:1px solid var(--line);border-radius:16px;padding:12px;background:#fff;cursor:pointer;transition:box-shadow .25s}.cart-item:hover{box-shadow:0 8px 28px rgba(0,0,0,.07)}
.cart-item-top{display:flex;gap:14px;align-items:stretch}.cart-item-img{width:92px;height:118px;object-fit:cover;border-radius:12px;background:var(--soft);flex-shrink:0}
.cart-item-info{flex:1;min-width:0}.cart-item-info h4{font-size:1rem;font-weight:700;margin:.1rem 0 .3rem;line-height:1.4}
.package-badge{display:inline-block;font-size:.7rem;color:var(--mute);letter-spacing:.04em}
.item-details{display:flex;gap:.9rem;flex-wrap:wrap;font-size:.78rem;color:var(--mute)}.item-price{font-weight:800;font-size:1.15rem;margin-top:.4rem}
.offer-note{display:inline-block;margin-top:.3rem;background:#111;color:#fff;font-size:.7rem;padding:.15rem .6rem;border-radius:12px}
.btn-remove{width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:#fff;color:#777;transition:.2s}.btn-remove:hover{background:var(--sale);color:#fff;border-color:var(--sale)}
.cart-empty{text-align:center;padding:4rem 1rem}.cart-empty i{font-size:3.4rem;color:#ccc;margin-bottom:1rem}.cart-empty h3{font-size:1.4rem;margin-bottom:.4rem}.cart-empty p{color:var(--mute)}
.checkout-section{border:1px solid var(--line);border-radius:20px;padding:1.3rem;background:#fff}@media(min-width:768px){.checkout-section{padding:2rem}}
.checkout-section h3{font-size:1.2rem;font-weight:800;margin-bottom:1.1rem;display:flex;gap:.6rem;align-items:center}.checkout-section h4{font-size:1rem;font-weight:700}
.form-grid{display:grid;gap:14px}@media(min-width:700px){.form-grid{grid-template-columns:1fr 1fr}.full-width{grid-column:1/-1}}
.form-group label{display:block;font-weight:600;font-size:.88rem;margin-bottom:.35rem}.required{color:var(--sale)}
.form-group input,.form-group select,.form-group textarea{width:100%;border:1.5px solid var(--line);border-radius:12px;padding:.85rem 1rem;font:inherit;background:#fff;outline:0;transition:border .2s}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:var(--ink)}.form-group textarea{min-height:84px;resize:vertical}
.summary-box{background:var(--soft);border-radius:14px;padding:1rem 1.2rem;margin:1.2rem 0}.summary-row{display:flex;justify-content:space-between;padding:.4rem 0;font-size:.94rem}.summary-row:last-child{border-top:1px solid #ddd;margin-top:.4rem;padding-top:.8rem;font-weight:800;font-size:1.2rem}
.payment-methods{display:grid;gap:10px;margin:.6rem 0 1rem}@media(min-width:700px){.payment-methods{grid-template-columns:repeat(3,1fr)}}
.payment-method{display:flex;align-items:center;gap:.7rem;border:1.5px solid var(--line);border-radius:14px;padding:.95rem 1rem;cursor:pointer;font-weight:600;transition:.2s;position:relative}.payment-method input{accent-color:#000;width:17px;height:17px}.payment-method i{font-size:1.15rem}
.payment-method.active{border-color:var(--ink);background:var(--ink);color:#fff}.payment-method.active input{accent-color:#fff}
.payment-details{display:none;background:var(--soft);border-radius:12px;padding:1rem;font-size:.9rem}.payment-details.active{display:block}.transfer-number{text-align:center;font-size:1.05rem}.transfer-number strong{direction:ltr;display:inline-block;letter-spacing:.05em}
.btn-solid-gold,.btn-outline-gold{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;padding:1rem 1.6rem;border-radius:40px;font-weight:800;font-size:1rem;border:1.5px solid var(--ink);transition:.3s;width:100%}
.btn-solid-gold{background:var(--ink)!important;color:#fff!important}.btn-solid-gold:hover{opacity:.88}.btn-outline-gold{background:#fff;color:var(--ink)}.btn-outline-gold:hover{background:var(--ink);color:#fff}
.btn-solid-gold:disabled{opacity:.6}
#submit-order{position:sticky;bottom:12px;z-index:20;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.spinner{width:18px;height:18px;border:2px solid #fff6;border-top-color:#fff;border-radius:50%;display:inline-block;animation:sp .7s linear infinite}@keyframes sp{to{transform:rotate(360deg)}}
.cart-trust{display:flex;flex-wrap:wrap;justify-content:center;gap:.8rem 1.4rem;margin-top:1rem;font-size:.8rem;color:var(--mute)}.cart-trust i{color:var(--ink);margin-inline-end:.3rem}
.modal-overlay,.product-details-modal{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:3000;display:none;align-items:center;justify-content:center;padding:1rem}.modal-overlay.active,.product-details-modal.active{display:flex}
.modal-box,.modal-content{background:#fff;border-radius:22px;padding:1.8rem;max-width:440px;width:100%;max-height:90vh;overflow:auto;position:relative;text-align:center}.modal-content{text-align:right}
.success-icon{font-size:3.4rem;margin-bottom:.5rem}.modal-btns{display:grid;gap:10px;margin-top:1.2rem}
.modal-close{position:absolute;top:12px;inset-inline-start:12px;width:36px;height:36px;border-radius:50%;border:0;background:var(--soft)}
.modal-product-img{width:100%;max-height:260px;object-fit:cover;border-radius:14px;margin:1.6rem 0 .8rem}.modal-product-name{font-size:1.1rem}.modal-product-price{font-weight:800;font-size:1.3rem;margin:.3rem 0 1rem}
.modal-item{display:flex;justify-content:space-between;align-items:center;gap:.6rem;padding:.7rem 0;border-top:1px solid var(--line);font-size:.9rem}.item-color{display:flex;align-items:center;gap:.4rem}.color-swatch{width:18px;height:18px;border-radius:50%;border:1px solid #ccc;display:inline-block}.item-size{font-weight:700}
.modal-total{margin-top:.8rem;font-weight:800;text-align:center}
.toast.error{background:var(--sale)}

/* ===== Lightbox — تكبير الصور ===== */
.lb-ov{position:fixed;inset:0;z-index:2000;background:rgba(0,0,0,.92);display:none;align-items:center;justify-content:center;opacity:0;transition:opacity .32s cubic-bezier(.22,.61,.36,1);pointer-events:none}
.lb-ov.open{display:flex;opacity:1;pointer-events:auto}
.lb-ov[hidden]{display:none!important;pointer-events:none!important}
.lb-stage{width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:3.5rem 1rem 3rem}
.lb-stage img{max-width:100%;max-height:100%;object-fit:contain;border-radius:8px;transform:scale(.88);opacity:.6;transition:transform .35s cubic-bezier(.22,.61,.36,1),opacity .35s ease}
.lb-ov.open .lb-stage img{transform:scale(1);opacity:1}
.lb-stage img.lb-fade{animation:lbIn .3s cubic-bezier(.22,.61,.36,1)}
@keyframes lbIn{from{opacity:.4;transform:scale(.94)}to{opacity:1;transform:scale(1)}}
.lb-close{position:absolute;top:14px;inset-inline-end:14px;z-index:5;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.15);color:#fff;font-size:1.15rem;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(6px);transition:background .2s}
.lb-close:hover{background:rgba(255,255,255,.28)}
.lb-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:46px;height:46px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:1.1rem;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(6px);transition:background .2s}
.lb-nav:hover{background:rgba(255,255,255,.25)}
.lb-prev{right:12px}.lb-next{left:12px}
@media(max-width:600px){.lb-nav{width:40px;height:40px;font-size:1rem}.lb-prev{right:6px}.lb-next{left:6px}}
.lb-counter{position:absolute;bottom:16px;inset-inline:0;text-align:center;color:rgba(255,255,255,.85);font-size:.9rem;font-weight:600;letter-spacing:.05em;pointer-events:none}
