/* =========================================================
   الأطلال — Pixel Heart Burst
   قلوب Minecraft متطايرة من زر أضف إلى السلة
   ========================================================= */
.atlal-heart-burst-layer{position:fixed;inset:0;z-index:2147482999;pointer-events:none;overflow:hidden}
.atlal-heart-particle{position:absolute;left:var(--start-x);top:var(--start-y);width:var(--heart-size);height:var(--heart-size);opacity:0;transform:translate(-50%,-50%) scale(.55) rotate(0deg);animation:atlal-heart-fly var(--heart-duration) steps(10,end) var(--heart-delay) forwards}
.atlal-heart-particle__outer{position:absolute;inset:0;background:#1c1718;clip-path:polygon(0 18%,18% 18%,18% 0,43% 0,43% 12%,57% 12%,57% 0,82% 0,82% 18%,100% 18%,100% 56%,88% 56%,88% 70%,75% 70%,75% 82%,62% 82%,62% 94%,50% 100%,38% 94%,38% 82%,25% 82%,25% 70%,12% 70%,12% 56%,0 56%)}
.atlal-heart-particle__inner{position:absolute;inset:var(--heart-border);background:#ed2430;clip-path:polygon(0 18%,18% 18%,18% 0,43% 0,43% 12%,57% 12%,57% 0,82% 0,82% 18%,100% 18%,100% 56%,88% 56%,88% 70%,75% 70%,75% 82%,62% 82%,62% 94%,50% 100%,38% 94%,38% 82%,25% 82%,25% 70%,12% 70%,12% 56%,0 56%)}
.atlal-heart-particle__shine{position:absolute;z-index:2;left:27%;top:22%;width:16%;height:18%;background:#fff;box-shadow:calc(var(--heart-size)*.16) 0 0 #fff;opacity:.95}
@keyframes atlal-heart-fly{0%{opacity:0;transform:translate(-50%,-50%) scale(.45) rotate(0deg)}12%{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(var(--heart-rotate))}55%{opacity:.96}100%{opacity:0;transform:translate(calc(-50% + var(--heart-dx)),calc(-50% + var(--heart-dy))) scale(.72) rotate(calc(var(--heart-rotate)*2))}}
@media(prefers-reduced-motion:reduce){.atlal-heart-particle{animation-duration:.01ms!important;animation-delay:0!important}}

/* =========================================================
   الأطلال — Thank You Page v2
   إضافة CSS فقط لصفحة شكراً لطلبك
   ========================================================= */
body:has(salla-thank-you-page){background:linear-gradient(180deg,#fffaf7 0%,#fff 34%,#f8fafc 100%)!important}
body:has(salla-thank-you-page) .store-header{background:transparent!important;box-shadow:none!important}
body:has(salla-thank-you-page) .container:has(> salla-thank-you-page){max-width:1080px!important;padding:28px 18px 70px!important}
body:has(salla-thank-you-page) salla-thank-you-page{display:block!important;position:relative!important;max-width:920px!important;margin:24px auto!important;padding:0!important;color:#252b34!important}
body:has(salla-thank-you-page) salla-thank-you-page::before{content:"";display:block;position:absolute;top:-32px;left:50%;width:190px;height:190px;transform:translateX(-50%);background:radial-gradient(circle,rgba(255,175,133,.28),rgba(255,175,133,0) 68%);pointer-events:none;z-index:-1}
body:has(salla-thank-you-page) salla-thank-you-header{display:block!important;position:relative!important;overflow:hidden!important;margin:0 0 20px!important;padding:34px 28px 28px!important;text-align:center!important;background:linear-gradient(135deg,#fff 0%,#fff8f3 100%)!important;border:1px solid #f2dfd5!important;border-radius:26px!important;box-shadow:0 18px 45px rgba(35,42,52,.08)!important}
body:has(salla-thank-you-page) salla-thank-you-header::before{content:"✓";display:flex;align-items:center;justify-content:center;width:64px;height:64px;margin:0 auto 15px;border-radius:50%;background:#ffaf85;color:#fff;font-size:34px;font-weight:900;box-shadow:0 0 0 10px rgba(255,175,133,.13),0 10px 22px rgba(255,145,95,.22)}
body:has(salla-thank-you-page) salla-thank-you-header::after{content:"تم استلام طلبك بنجاح";display:block;margin-top:9px;color:#d96f45;font-size:13px;font-weight:800;letter-spacing:.1px}
body:has(salla-thank-you-page) salla-thank-you-header [slot="heading"],body:has(salla-thank-you-page) salla-thank-you-header h1{color:#242a33!important;font-size:27px!important;font-weight:900!important;line-height:1.35!important}
body:has(salla-thank-you-page) salla-thank-you-header [slot="subtitle"],body:has(salla-thank-you-page) salla-thank-you-header p{color:#747b85!important;font-size:14px!important;line-height:1.8!important}
body:has(salla-thank-you-page) salla-thank-you-header img{width:52px!important;height:52px!important;margin:0 auto 10px!important;border-radius:14px!important;object-fit:contain!important;background:#fff!important;border:1px solid #f3e2d9!important}
body:has(salla-thank-you-page) salla-order-shipments,body:has(salla-thank-you-page) salla-order-branch,body:has(salla-thank-you-page) salla-order-payment,body:has(salla-thank-you-page) salla-order-rewards,body:has(salla-thank-you-page) salla-next-order-coupon,body:has(salla-thank-you-page) salla-contacts{display:block!important;margin:0 0 16px!important;padding:0!important;background:#fff!important;border:1px solid #edf0f2!important;border-radius:20px!important;box-shadow:0 8px 26px rgba(31,41,55,.055)!important;overflow:hidden!important}
body:has(salla-thank-you-page) salla-order-shipments,body:has(salla-thank-you-page) salla-order-branch{border-top:4px solid #ffaf85!important}
body:has(salla-thank-you-page) salla-order-payment{border-top:4px solid #e7a27e!important}
body:has(salla-thank-you-page) salla-order-rewards,body:has(salla-thank-you-page) salla-next-order-coupon{background:linear-gradient(135deg,#fffaf7,#fff)!important;border-color:#f1ded4!important}
body:has(salla-thank-you-page) salla-contacts{padding:20px!important;background:#26313b!important;color:#fff!important;border:0!important}
body:has(salla-thank-you-page) salla-contacts a{color:#ffcfb7!important}
body:has(salla-thank-you-page) .atlal-thankyou-actions{display:flex!important;justify-content:center!important;gap:10px!important;margin:18px 0 0!important;direction:rtl!important}
body:has(salla-thank-you-page) .atlal-thankyou-actions a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:46px!important;padding:0 22px!important;border-radius:12px!important;text-decoration:none!important;font-size:13px!important;font-weight:800!important;transition:.2s!important}
body:has(salla-thank-you-page) .atlal-thankyou-actions .primary{background:#ffaf85!important;color:#fff!important;box-shadow:0 7px 16px rgba(255,145,95,.2)!important}
body:has(salla-thank-you-page) .atlal-thankyou-actions .secondary{background:#fff!important;color:#d96f45!important;border:1px solid #ffaf85!important}
body:has(salla-thank-you-page) .atlal-thankyou-actions a:hover{transform:translateY(-1px)!important}
@media(max-width:767px){body:has(salla-thank-you-page) .container:has(> salla-thank-you-page){padding:16px 12px 46px!important}body:has(salla-thank-you-page) salla-thank-you-page{margin:12px auto!important}body:has(salla-thank-you-page) salla-thank-you-header{padding:28px 16px 23px!important;border-radius:20px!important}body:has(salla-thank-you-page) salla-thank-you-header [slot="heading"],body:has(salla-thank-you-page) salla-thank-you-header h1{font-size:22px!important}body:has(salla-thank-you-page) salla-order-shipments,body:has(salla-thank-you-page) salla-order-branch,body:has(salla-thank-you-page) salla-order-payment,body:has(salla-thank-you-page) salla-order-rewards,body:has(salla-thank-you-page) salla-next-order-coupon,body:has(salla-thank-you-page) salla-contacts{border-radius:16px!important;margin-bottom:12px!important}.atlal-thankyou-actions{flex-direction:column!important}.atlal-thankyou-actions a{width:100%!important}}