/* ===== عروض وتخفيضات + تابعنا — Claude 2026-11-21 ===== */

/* ---------- قسم العروض ---------- */
.sbt-sale-fun { max-width: 1280px; margin: 34px auto; padding: 0 16px; }
.sf-card {
	position: relative; overflow: hidden; isolation: isolate;
	display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 56px);
	padding: clamp(24px, 4vw, 48px) clamp(20px, 5vw, 64px);
	border-radius: 32px 32px 0 0; color: #fff;
	background: linear-gradient(120deg, #FF4E08 0%, #FF2D6F 45%, #9B2FE0 100%);
	background-size: 200% 200%; animation: sfShift 9s ease-in-out infinite;
	box-shadow: 0 30px 60px -30px rgba(214, 58, 0, .6);
}
.sf-card::after {
	content: ""; position: absolute; inset: -40%; z-index: -1; pointer-events: none;
	background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.10) 0 10deg, transparent 10deg 20deg);
	animation: sfSpin 40s linear infinite;
}
.sf-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sf-tag {
	position: absolute; left: var(--x); top: var(--y); font-size: clamp(22px, 3vw, 38px); font-weight: 900; color: rgba(255,255,255,.35);
	transform: rotate(var(--r)); animation: sfFloat 5s ease-in-out var(--d) infinite;
}

/* البطاقة المعلّقة (بطاقة سعر تتأرجح على خيط) — Claude 2026-11-21 */
.sbt-sale-fun .sf-badge,
.sbt-sale-fun .sf-badge:hover,
.sbt-sale-fun .sf-badge:focus,
.sbt-sale-fun .sf-badge:active {
	background: transparent !important; box-shadow: none !important; border: 0 !important; color: #002367 !important;
	transform: none !important; filter: none !important;
}
.sf-badge {
	position: relative; width: clamp(180px, 19vw, 230px); height: clamp(250px, 27vw, 320px);
	padding: 0 !important; cursor: pointer; display: block; perspective: 900px;
	-webkit-tap-highlight-color: transparent; outline: none;
}
.sf-badge:focus-visible .sf-face--front { box-shadow: 0 0 0 4px #fff, 0 0 0 8px #002367; }
.sf-string {
	position: absolute; top: -60px; left: 50%; width: 3px; height: 92px; margin-left: -1.5px;
	background: repeating-linear-gradient(180deg, #fff 0 6px, rgba(255,255,255,.55) 6px 10px); border-radius: 2px;
	animation: sfStringSwing 3.2s ease-in-out infinite; transform-origin: top center;
}
.sf-swing { position: absolute; inset: 24px 0 0; transform-origin: 50% -84px; animation: sfSwing 3.2s ease-in-out infinite; }
.sf-flip { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.34, 1.56, .64, 1); }
.sf-badge.is-flip .sf-flip { transform: rotateY(180deg); }
.sf-face {
	position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
	clip-path: polygon(50% 0, 100% 17%, 100% 94%, 94% 100%, 6% 100%, 0 94%, 0 17%);
	background: linear-gradient(160deg, #FFF3B0 0%, #FFC100 38%, #FF8A00 100%);
	display: grid; place-items: center; overflow: hidden;
}
.sf-face::before { /* لمعة تمرّ على البطاقة */
	content: ""; position: absolute; inset: -20%; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.75) 50%, transparent 60%);
	transform: translateX(-100%); animation: sfTagShine 3.6s ease-in-out infinite;
}
.sf-face::after { /* إطار منقّط داخلي */
	content: ""; position: absolute; inset: 12px; top: 18%; border: 2px dashed rgba(0, 35, 103, .28); border-radius: 14px;
}
.sf-face--back { transform: rotateY(180deg); background: linear-gradient(160deg, #7EE8FA 0%, #0094CE 55%, #002367 100%); color: #fff; }
.sf-face--back::after { border-color: rgba(255,255,255,.45); }
.sf-hole {
	position: absolute; top: 9%; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%;
	background: #C2185B; box-shadow: inset 0 3px 4px rgba(0,0,0,.35), 0 0 0 5px rgba(255,255,255,.8);
}
.sf-face__in { position: relative; z-index: 1; display: grid; justify-items: center; line-height: 1; margin-top: 22%; text-align: center; }
.sf-upto { font-size: clamp(15px, 1.5vw, 19px); font-weight: 900; color: #C2185B; letter-spacing: .5px; }
.sf-big { display: flex; align-items: flex-start; direction: ltr; font-size: clamp(62px, 6.6vw, 86px); font-weight: 900; color: #002367; letter-spacing: -3px; margin: 4px 0 8px; text-shadow: 0 4px 0 rgba(255,255,255,.55); }
.sf-big i { font-style: normal; font-size: .5em; margin-top: .18em; margin-left: 2px; color: #E6007E; letter-spacing: 0; }
.sf-ribbon {
	display: inline-block; background: #E6007E; color: #fff; font-weight: 900; font-size: clamp(14px, 1.3vw, 17px);
	padding: 6px 18px; border-radius: 999px; box-shadow: 0 6px 0 #9C0055; transform: rotate(-3deg);
}
.sf-back-ic { font-size: 46px; margin-bottom: 8px; }
.sf-face--back b { font-size: 22px; font-weight: 900; }
.sf-face--back small { font-size: 16px; font-weight: 800; margin-top: 6px; color: #FFC100; }
.sf-spark {
	position: absolute; top: 55%; left: 50%; font-size: 20px; color: #fff; pointer-events: none;
	text-shadow: 0 0 12px rgba(255,255,255,.9); animation: sfOrbit 6s linear var(--t) infinite;
}
.sf-tap {
	position: absolute; bottom: -34px; left: 50%; transform: translateX(-50%); white-space: nowrap;
	background: rgba(0,35,103,.4); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px;
	animation: sfTapHint 2s ease-in-out infinite;
}
.sf-badge:hover .sf-swing { animation-duration: 1.2s; }
.sf-badge.is-flip .sf-tap { opacity: 0; }
@keyframes sfSwing { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
@keyframes sfStringSwing { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
@keyframes sfTagShine { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes sfOrbit { from { transform: rotate(var(--a)) translateX(clamp(110px, 12vw, 140px)) rotate(calc(-1 * var(--a))) scale(.7); } 50% { opacity: .5; } to { transform: rotate(calc(var(--a) + 360deg)) translateX(clamp(110px, 12vw, 140px)) rotate(calc(-1 * var(--a) - 360deg)) scale(1.1); } }
@keyframes sfTapHint { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-4px); } }
.sf-badge.is-pop .sf-face--front { animation: sfBoom .6s cubic-bezier(.34, 1.56, .64, 1); }

.sf-kicker { display: inline-block; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.35); padding: 5px 14px; border-radius: 999px; font-weight: 800; font-size: 14px; backdrop-filter: blur(4px); }
.sf-title { color: #fff; margin: 12px 0 10px; font-size: clamp(24px, 3.2vw, 42px); line-height: 1.3; font-weight: 900; text-shadow: 0 3px 0 rgba(0,0,0,.12); }
.sf-hl { display: inline-block; background: #FFC100; color: #002367; padding: 0 12px; border-radius: 14px; transform: rotate(-2deg); box-shadow: 0 6px 0 rgba(0,0,0,.15); animation: sfWiggle 3s ease-in-out infinite; }
.sf-sub { color: rgba(255,255,255,.92); font-size: clamp(14px, 1.3vw, 17px); margin: 0 0 18px; max-width: 620px; }
.sf-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sf-btn {
	display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 22px; border-radius: 999px;
	font-weight: 900; font-size: 15px; text-decoration: none !important; transition: transform .2s, box-shadow .2s;
}
.sf-btn--go { background: #fff; color: #D63A00 !important; box-shadow: 0 10px 20px -10px rgba(0,0,0,.45); position: relative; overflow: hidden; }
.sf-btn--go::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,193,0,.45) 50%, transparent 70%); transform: translateX(-120%); animation: sfShine 2.8s ease-in-out infinite; }
.sf-btn--follow { background: rgba(0,35,103,.35); color: #fff !important; border: 2px solid rgba(255,255,255,.55); }
.sf-btn:hover { transform: translateY(-3px); }
.sf-mini-social { display: flex; gap: 8px; margin-top: 16px; }
.sf-mini-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: 19px; text-decoration: none; box-shadow: 0 0 0 3px var(--c), 0 8px 14px -8px rgba(0,0,0,.5); transition: transform .25s cubic-bezier(.34,1.56,.64,1); }
.sf-mini-social a:hover { transform: translateY(-5px) rotate(-8deg) scale(1.1); }

/* شريط متحرك */
.sf-marquee { overflow: hidden; background: #002367; color: #FFC100; border-radius: 0 0 32px 32px; padding: 11px 0; font-weight: 900; font-size: 15px; }
.sf-marquee__track { display: flex; width: max-content; gap: 34px; animation: sfMarq 26s linear infinite; }
.sf-marquee__track span { white-space: nowrap; }

/* قصاصات احتفال */
.sf-conf { position: fixed; z-index: 2147483000; pointer-events: none; width: 9px; height: 14px; border-radius: 2px; animation: sfConf 1.1s cubic-bezier(.2,.7,.4,1) forwards; }

@keyframes sfShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes sfSpin { to { transform: rotate(360deg); } }
@keyframes sfFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes sfPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes sfBoom { 0% { transform: scale(1); } 40% { transform: scale(1.22) rotate(8deg); } 100% { transform: scale(1); } }
@keyframes sfWiggle { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg) scale(1.04); } }
@keyframes sfShine { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes sfMarq { to { transform: translateX(50%); } }
@keyframes sfConf { to { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; } }

@media (max-width: 767px) {
	.sbt-sale-fun { margin: 24px auto; padding: 0 10px; }
	.sf-card { grid-template-columns: 1fr; text-align: center; justify-items: center; border-radius: 26px 26px 0 0; padding: 26px 16px 22px; gap: 14px; }
	.sf-badge { width: 170px; height: 240px; margin-top: 40px; margin-bottom: 34px; }
	.sf-spark { display: none; }
	.sf-sub { margin-inline: auto; }
	.sf-actions { justify-content: center; flex-direction: column; width: 100%; }
	.sf-btn { justify-content: center; min-height: 44px; font-size: 14px; }
	.sf-mini-social { justify-content: center; }
	.sf-marquee { border-radius: 0 0 26px 26px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
	.sf-card, .sf-card::after, .sf-tag, .sf-swing, .sf-string, .sf-face::before, .sf-spark, .sf-tap, .sf-hl, .sf-btn--go::after, .sf-marquee__track { animation: none !important; }
}
