:root {
    --brand: #22c55e;
    --brand2: #16a34a;
    --blue: #60a5fa;

    --bg: #070b14;
    --surface: #0b1220;
    --surface2: #0a1020;

    --text: #e5e7eb;
    --muted: #93a4b8;
    --border: rgba(148, 163, 184, .18);

    --shadow: 0 20px 60px rgba(0, 0, 0, .55);
    --shadow2: 0 10px 25px rgba(0, 0, 0, .45);

    --r-xl: 26px;
    --r-lg: 20px;
    --r-md: 16px;
    --r-pill: 999px;

    --fs: .95rem;
    --fs-sm: .85rem;
    --fs-xs: .78rem;

    --primary-red: #FF416C;
    --secondary-orange: #FF4B2B;
    --modal-bg: #111827;
    --text-gray: #9ca3af;
    --border-soft: rgba(255, 255, 255, 0.1);
    --background-primary: #020617;
    --text-primary: var(--text);
    --text-secondary: var(--muted);
}

body {
    background: var(--bg);
    color: var(--text);
    font-size: var(--fs);
    overflow-x: hidden;
}

.store-shell {
    min-height: 100vh;
    position: relative;
}

.bg-decor {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: .30;
    overflow: hidden;
}

.bubble {
    position: absolute;
    border-radius: 999px;
    filter: blur(90px);
}

.bubble.one {
    width: 42%;
    height: 42%;
    top: -18%;
    right: -12%;
    background: rgba(34, 197, 94, .70);
}

.bubble.two {
    width: 34%;
    height: 34%;
    bottom: -16%;
    left: -12%;
    background: rgba(96, 165, 250, .55);
}

/* NAV */
.store-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: color-mix(in srgb, var(--surface) 84%, transparent);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    letter-spacing: -.02em;
}

.brand .logo {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    box-shadow: 0 16px 35px rgba(34, 197, 94, .22);
    color: #fff;
}

.brand small {
    display: block;
    color: var(--muted);
    font-weight: 600;
    font-size: .72rem;
    margin-top: -2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn {
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface2) 75%, transparent);
    color: var(--text);
    border-radius: var(--r-pill);
    padding: 8px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    text-decoration: none;
}

.cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 16px;
    text-decoration: none;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    color: #06220f;
    font-weight: 800;
    box-shadow: 0 18px 45px rgba(34, 197, 94, .20);
    border: none;
}

.store-side-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .65);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease-in-out, visibility .35s ease-in-out;
    z-index: 40;
}

.store-side-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.store-side-menu {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 290px;
    max-width: 80%;
    background: var(--surface);
    box-shadow: -24px 0 70px rgba(15, 23, 42, .85);
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
    z-index: 60;
    display: flex;
    flex-direction: column;
    padding: 16px 18px;
    border-radius: 24px 0 0 24px;
}

.store-side-menu.is-open {
    transform: translateX(0);
}

.store-side-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.store-side-menu-title {
    font-weight: 800;
    font-size: .95rem;
}

.store-side-menu-sub {
    font-size: .78rem;
    color: var(--muted);
}

.store-side-menu-close {
    border: none;
    background: transparent;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
}

.store-side-menu-nav {
    margin-top: 6px;
    flex: 1;
    overflow: auto;
}

.store-side-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--text);
    font-size: .86rem;
    margin-bottom: 4px;
    background: color-mix(in srgb, var(--surface2) 82%, transparent);
    border: 1px solid rgba(148, 163, 184, .35);
}

.store-side-link span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.store-side-link i {
    font-size: 1rem;
}

.store-side-link-label {
    font-weight: 600;
}

.store-side-link-meta {
    font-size: .75rem;
    color: var(--muted);
}

.store-side-footer {
    padding-top: 10px;
    border-top: 1px dashed rgba(148, 163, 184, .35);
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: .78rem;
    color: var(--muted);
}

@media (min-width:992px) {
    .store-side-menu {
        width: 340px;
        max-width: 100%;
    }
}

.store-main {
    position: relative;
    z-index: 10;
    padding: 24px 0 48px;
}

.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bg-gradient-brand {
    background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}


/* SECTIONS */
.sec {
    padding: 20px 0;
}

.sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.sec-title {
    font-weight: 700;
    font-size: 1.08rem;
    letter-spacing: -0.01em;
}

.sec-link {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--fs-xs);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* categories chips */
.chips {
    display: flex;
    gap: 8px;
    overflow: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.chips::-webkit-scrollbar {
    display: none;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: var(--r-pill);
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface2) 78%, transparent);
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--fs-xs);
    white-space: nowrap;
}

/* extra space between featured blocks (الأكثر مبيعاً / مشاهدة / التصنيفات) */
#featured .mb-3 {
    margin-bottom: 50px !important;
}

/* product cards */
.p-card {
    height: 100%;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow2);
    transition: transform .16s ease;
    display: flex;
    flex-direction: column;
}

.p-card:hover {
    transform: translateY(-3px);
}

.p-header-strip {

    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(96, 165, 250, 0.12));
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    font-size: var(--fs-xs);
    gap: 10px;
}

.p-header-seller {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.seller-avatar-wrap {
    position: relative;
    width: 27px;
    height: 27px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-header-seller-img {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.p-header-seller-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    pointer-events: none;
    z-index: 20;
    object-fit: contain;
}

.p-header-seller-name {
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.8rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.p-header-cat-icon {
    width: 40px;
    height: 40px;


    opacity: 0.9;
    border-radius: 5px;
    margin-top: -30px;
}

.p-img {
    background: var(--surface2);
    position: relative;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}

.p-badge {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    padding: 5px 10px;
    border-radius: var(--r-pill);
    font-weight: 700;
    font-size: var(--fs-xs);
    background: rgba(255, 255, 255, 0.9);
}

.p-body {
    padding: 12px 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.p-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.p-cat {
    color: var(--muted);
    font-weight: 500;
    font-size: var(--fs-xs);
}

.p-rate {
    color: var(--muted);
    font-weight: 500;
    font-size: var(--fs-xs);
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.p-name {
    font-weight: 600;
    font-size: .95rem;
    margin: 0 0 6px;
    line-height: 1.3;
    min-height: 2.6rem;
}

.p-name a {
    color: var(--text);
    text-decoration: none;
}

.p-name a:hover {
    color: var(--brand);
}

.p-row {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.p-price {
    font-weight: 700;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* featured horizontal */
.featured-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-inline: -4px;
    padding-inline: 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    direction: rtl;
}

.featured-row::-webkit-scrollbar {
    display: none;
}

.featured-item {
    flex: 0 0 calc(20% - 10px);
    scroll-snap-align: start;
}

@media(max-width: 991.98px) {
    .featured-item {
        flex: 0 0 48%;
    }
}

@media(max-width: 576px) {
    .featured-item {
        flex: 0 0 60%;
    }
}

.games-strip {
    margin-bottom: 18px;
}

.games-strip-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-inline: -4px;
    padding-inline: 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.games-strip-track::-webkit-scrollbar {
    display: none;
}

.game-pill {
    flex: 0 0 calc(16.666% - 10px);
    scroll-snap-align: start;
}

.game-pill-img {
    width: 100%;
    height: auto;
    border-radius: var(--r-lg);
    display: block;
    object-fit: cover;
}

@media(max-width: 991.98px) {
    .game-pill {
        flex: 0 0 66%;
    }
}

/* IMPORTANT: Bootstrap icon button (no tailwind) */
.btn-buy {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface2) 75%, transparent);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.btn-buy:hover {
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    color: #052e16;
    border-color: color-mix(in srgb, var(--brand) 55%, transparent);
}

.btn-buy:active {
    transform: scale(.95);
}

/* quick service */
.quick-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    border-radius: var(--r-xl);
    border: 1px solid var(--border);
    background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 75%, transparent), var(--surface));
    box-shadow: var(--shadow);
}

@media(max-width: 991.98px) {
    .quick-wrap {
        grid-template-columns: 1fr;
    }
}

.quick-card {
    border-radius: 22px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface2) 78%, transparent);
    padding: 16px;
    box-shadow: var(--shadow2);
}

.quick-ico {
    width: 40px;
    height: 40px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--brand) 18%, transparent);
    border: 1px solid color-mix(in srgb, var(--brand) 28%, transparent);
    color: color-mix(in srgb, var(--brand) 85%, var(--text));
    margin-bottom: 10px;
}

.quick-title {
    font-weight: 800;
    margin-bottom: 10px;
}

.quick-label {
    font-size: var(--fs-xs);
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
}

.quick-input,
.quick-select {
    border-radius: var(--r-pill);
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface) 85%, transparent);
    color: var(--text);
    font-weight: 600;
    font-size: var(--fs-sm);
    padding: 10px 14px;
}

.quick-input:focus,
.quick-select:focus {
    border-color: color-mix(in srgb, var(--brand) 70%, transparent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}

.quick-btn {
    width: 100%;
    border: none;
    border-radius: var(--r-pill);
    padding: 11px 14px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    color: #06220f;
    box-shadow: 0 18px 40px rgba(34, 197, 94, .20);
}

.quick-right h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.quick-right .sub {
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 10px;
}

.quick-right .txt {
    color: var(--muted);
    font-weight: 600;
    font-size: var(--fs-sm);
    max-width: 520px;
}

.quick-feats {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: grid;
    gap: 8px;
}

.quick-feats li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--text);
    font-weight: 600;
    font-size: var(--fs-sm);
}

.qfi {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--brand) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: color-mix(in srgb, var(--brand) 85%, var(--text));
    flex: 0 0 auto;
    margin-top: 1px;
}

.quick-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding: 10px 18px;
    border-radius: var(--r-pill);
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface2) 78%, transparent);
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    width: fit-content;
}

/* footer */
.footer {
    margin-top: 26px;
    padding: 22px 0 18px;
    color: var(--muted);
    font-size: var(--fs-xs);
    text-align: center;
}

.footer .b {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    color: var(--text);
    font-weight: 800;
}

.sc-footer-links {
    padding: 18px 0 6px;
}

.sc-footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.sc-footer-card {
    border-radius: 18px;
    border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
    background: color-mix(in srgb, var(--surface2) 84%, transparent);
    box-shadow: 0 18px 55px rgba(0, 0, 0, .35);
    overflow: hidden;
}

.sc-footer-card-head {
    padding: 16px 16px 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}

.sc-footer-card-ico {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 35%, transparent), color-mix(in srgb, var(--blue) 30%, transparent));
    border: 1px solid color-mix(in srgb, var(--border) 85%, transparent);
    flex: 0 0 auto;
    font-size: 20px;
}

.sc-footer-card-title {
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.01em;
}

.sc-footer-card-sub {
    margin-top: 2px;
    color: var(--muted);
    font-weight: 600;
    font-size: var(--fs-xs);
}

.sc-footer-card-body {
    padding: 12px;
}

.sc-footer-empty {
    padding: 10px 8px;
    color: var(--muted);
    font-weight: 600;
    font-size: var(--fs-sm);
}

.sc-footer-links-list {
    display: grid;
    gap: 8px;
}

.sc-footer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text);
    background: color-mix(in srgb, var(--surface) 70%, transparent);
    border: 1px solid color-mix(in srgb, var(--border) 75%, transparent);
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.sc-footer-link:hover {
    transform: translateY(-1px);
    background: color-mix(in srgb, var(--surface) 78%, transparent);
    border-color: color-mix(in srgb, var(--brand) 35%, var(--border));
    color: var(--text);
}

.sc-footer-link-ico {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--brand) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--brand) 28%, transparent);
    color: color-mix(in srgb, var(--brand) 85%, var(--text));
    flex: 0 0 auto;
}

.sc-footer-link-txt {
    font-weight: 700;
    font-size: var(--fs-sm);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sc-footer-link-arr {
    margin-inline-start: auto;
    color: var(--muted);
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .sc-footer-links-grid {
        grid-template-columns: 1fr;
    }
}

.promo-box {
    border-radius: 18px;
    border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
    background: color-mix(in srgb, var(--surface2) 82%, transparent);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.promo-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 4px;
}

.promo-text {
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--muted);
    line-height: 1.5;
}

.promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--brand) 40%, transparent);
    background: color-mix(in srgb, var(--brand) 10%, transparent);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--fs-sm);
}

@media(max-width: 575.98px) {
    .quick-right .txt {
        font-size: var(--fs-xs);
    }

    .promo-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .promo-cta {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .promo-text {
        font-size: var(--fs-xs);
    }

    .coupon_box {
        width: 100%;
        min-width: 180px;
        padding: 1rem 0.8rem;
    }

    .coupon-title-text {
        font-size: 14px;
    }

    .how_much {
        font-size: 36px;
    }

    .coupon-timer {
        font-size: 10px;
    }
    
    .p-rate {
    
    font-weight: 500;
    font-size: 11px;
}
.p-cat {
    
    font-weight: 500;
    font-size: 11px;
}

.p-name {
    font-weight: 600;
    font-size: 13px;
}


.p-badge {
    
    padding: 3px 10px;
    font-weight: 700;
    font-size: 12px;
    border-radius: 10px;
}
.p-header-seller-name {
    font-size: 0.7rem;
}



}

/* Dropdown Styles */
.dropdown-toggle::after {
    display: none !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--brand) !important;
}

.home-banner-wrap {
    margin-top: 8px;
}

.home-banner-slider {
    position: relative;
    width: 100%;
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 6;
    max-height: 420px;
}

.home-banner-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.home-banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .6s ease;
}

.home-banner-slide.is-active {
    opacity: 1;
}

.home-banner-slide a,
.home-banner-slide img {
    display: block;
    width: 100%;
    height: 100%;
}

.home-banner-slide img {
    object-fit: cover;
}

.home-banner-dots {
    position: absolute;
    inset-inline-start: 0;
    inset-inline-end: 0;
    bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 6px;
    pointer-events: none;
}

.home-banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .25);
    pointer-events: auto;
    border: 1px solid rgba(148, 163, 184, .5);
}

.home-banner-dot.is-active {
    width: 20px;
    background: var(--brand);
    border-color: transparent;
}

.coupon-page-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
    padding: 0 10px;
    margin-top: 20px;
}

.coupon-page-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
}

.coupon-page-subtitle {
    font-size: .9rem;
    color: var(--text-secondary);
}

.promo-section {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 30px 5px 30px;
    align-items: center;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.promo-section::-webkit-scrollbar {
    display: none;
}

.coupon-wrapper {
    position: relative;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
}

.coupon_box {
    background: linear-gradient(to right, #FF4B2B, #FF416C);
    width: 220px;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    color: #fff;
    position: relative;
    user-select: none;
    box-sizing: border-box;
}

.coupon-body-part {
    padding-bottom: 1.2rem;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.coupon-body-part::before {
    content: attr(data-bg);
    position: absolute;
    color: rgba(255, 255, 255, 0.08);
    top: -10px;
    right: 0;
    font-size: 90px;
    font-weight: bold;
    z-index: 1;
    pointer-events: none;
}

.coupon-title-text {
    font-size: 16px;
    margin: 0 0 8px;
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.9);
}

.how_much {
    font-size: 45px;
    margin: 0;
    direction: ltr;
    position: relative;
    z-index: 2;
    font-weight: bold;
}

.off_text {
    font-size: 22px;
    margin: 0;
    position: relative;
    z-index: 2;
}

.coupon-timer {
    font-size: 11px;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    z-index: 2;
}

.coupon-label {
    display: inline-block;
    margin-top: 5px;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 13px;
    font-family: monospace;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.buttons-wrapper {
    display: flex;
    gap: 10px;
    margin-top: 1.2rem;
    justify-content: center;
}

.coupon-btn {
    flex: 1;
    padding: 0.3rem 0;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-use-style {
    background: #fff;
    color: var(--primary-red);
}

.btn-copy-style {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.coupon_box::before,
.coupon_box::after {
    content: "";
    position: absolute;
    top: 52%;
    background: #070b14;
    width: 16px;
    height: 24px;
    z-index: 3;
}

.coupon_box::before {
    right: -4px;
    border-radius: 20px 0 0 20px;
}

.coupon_box::after {
    left: -4px;
    border-radius: 0 20px 20px 0;
}

.particle {
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    border-radius: 2px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: flex-end;
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
}

.modal-overlay.active {
    visibility: visible;
    opacity: 1;
}

.bottom-sheet {
    width: 100%;
    max-width: 500px;
    background: var(--modal-bg);
    border-radius: 25px 25px 0 0;
    padding: 25px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    margin: 0 auto;
    color: #fff;
}

.modal-overlay.active .bottom-sheet {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.modal-title-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.modal-title {
    font-weight: 600;
    font-size: 15px;
}

.modal-code-pill {
    border: 1px dashed var(--text-gray);
    padding: 8px 14px;
    border-radius: 999px;
    font-family: monospace;
    font-size: 13px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-soft);
}

.detail-row:last-of-type {
    border-bottom: none;
}

.detail-key {
    color: var(--text-gray);
    font-size: 14px;
}

.detail-value {
    color: #fff;
    font-size: 14px;
    text-align: left;
}

.coupon-empty {
    border-radius: 12px;
    border: 1px dashed rgba(148, 163, 184, .45);
    padding: 40px 20px;
    text-align: center;
    color: var(--text-secondary);
    background: var(--surface);
}

@media (max-width: 480px) {
    .promo-section {
        gap: 12px;
        padding: 20px 5px 24px;
    }

    .coupon_box {
        width: 180px;
        padding: 1.1rem 0.75rem;
        border-radius: 10px;
    }

    .coupon-body-part {
        padding-bottom: 0.9rem;
    }

    .coupon-body-part::before {
        font-size: 72px;
        top: -6px;
    }

    .coupon-title-text {
        font-size: 14px;
    }

    .how_much {
        font-size: 32px;
    }

    .off_text {
        font-size: 18px;
    }

    .coupon-label {
        font-size: 11px;
        padding: 3px 10px;
        margin-top: 4px;
    }

    .coupon-timer {
        font-size: 10px;
        padding: 2px 6px;
        margin-top: 8px;
    }

    .buttons-wrapper {
        gap: 8px;
        margin-top: 0.7rem;
    }

    .coupon-btn {
        font-size: 12px;
        padding: 0.35rem 0;
    }

    .coupon_box::before,
    .coupon_box::after {
        width: 12px;
        height: 20px;
        top: 52%;
    }

    .coupon_box::before {
        right: -6px;
    }

    .coupon_box::after {
        left: -6px;
    }
}

@media(max-width: 768px) {
    .hero-title {
        font-size: 2.05rem;
    }

    .home-banner-slider {
        aspect-ratio: 16 / 8;
        max-height: 320px;
    }
}

@media(max-width: 576px) {
    .home-banner-slider {
        border-radius: var(--r-lg);
        aspect-ratio: 16 / 9;
        max-height: 260px;
    }
}

/* FORCE DARK MODE (SyrianCash Store) */
html,
body,
.store-shell,
.store-main,
.sc-header-wrapper {
    background: var(--bg) !important;
    color: var(--text) !important;
}

a,
.nav-link,
.dropdown-item,
.btn,
.form-control,
input,
select,
textarea {
    color: var(--text) !important;
}

input::placeholder,
textarea::placeholder {
    color: rgba(147, 164, 184, .85) !important;
}

/* Bootstrap light backgrounds override */
.bg-white,
.bg-light,
.text-dark {
    background: transparent !important;
    color: var(--text) !important;
}

/* dropdown/menu surfaces */
.dropdown-menu {
    background: var(--surface) !important;
    border-color: var(--border) !important;
}

.dropdown-item {
    color: var(--text) !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(255, 255, 255, .06) !important;
    color: var(--brand) !important;
}

section.hero {
    padding: 0 0 30px 0 !important;
    margin-right: -10px !important;
    margin-left: -10px !important;

}

section.hero {
    padding: 0 0 30px 0;
    background-color: #ffffff00 !important;
}

/* ✅ Full width + ثابت 500px + توسيط bg عاموديا/افقيا */
.sc-banner {
    position: relative !important;
    width: 100vw !important;
    max-width: 100vw !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;

    height: 400px !important;
    min-height: 400px !important;
    margin-bottom: -320px;
    overflow: hidden !important;
    border-radius: 0 !important;
    margin-top: -24px;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    /* ✅ توسيط عامودي/افقي */
    background-size: cover !important;
}

.sc-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .10), rgba(0, 0, 0, .45));
    pointer-events: none;
}

/* ✅ العناصر بالأعلى + desktop ترتيب: زر يسار / عنوان وسط / ثمب يمين */
.sc-banner__top {
    position: relative;
    z-index: 2;
    height: 100%;

    max-width: 1180px;
    /* مو بعرض الشاشة على الديسكتوب */
    margin: 0 auto;
    padding: 18px 18px;

    display: flex;
    align-items: flex-start;
    /* بالأعلى */
    justify-content: space-between;
    gap: 14px;
}

/* Button (يسار) بدون ظل */
.sc-banner__btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    border-radius: 999px;
    background: rgba(120, 12, 12, 0.92);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none !important;
    /* ✅ بدون ظل */
    transition: transform .18s ease, filter .18s ease, background .18s ease;
    margin-top: 2px;
    white-space: nowrap;
}

.sc-banner__btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    background: rgba(150, 18, 18, 0.95);
}

.sc-banner__btn:active {
    transform: translateY(0);
}

.sc-banner__arrow {
    font-size: 16px;
    line-height: 1;
}

/* Title (وسط) */
.sc-banner__title {
    flex: 1 1 auto;
    text-align: center;
    color: #fff;
    font-weight: 800;
    letter-spacing: .2px;
    font-size: 26px;
    line-height: 1.15;
    padding-top: 4px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Thumbnail (يمين) */
.sc-banner__thumb {
    flex: 0 0 auto;
    width: 110px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.sc-banner__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ✅ Mobile: العنوان يمين + الزر يسار + إخفاء الثمب */
@media (max-width: 576px) {
    .sc-banner {
        height: 190px !important;
        min-height: 190px !important;
        margin-bottom: -125px;
    }

    .sc-banner__top {
        max-width: 100%;
        padding: 12px 12px;
        gap: 10px;
        align-items: flex-start;

        /* نعمل سطر واحد: (زر يسار) (عنوان يمين) */
        justify-content: space-between;
    }

    .sc-banner__thumb {
        display: none !important;
        /* ✅ اخفاء الصورة المصغرة */
    }

    .sc-banner__title {
        text-align: right !important;
        /* ✅ يمين */
        font-size: 16px !important;
        /* ✅ تنسيق خط العنوان للموبايل */
        line-height: 1.2 !important;
        padding-top: 2px;

        white-space: normal;
        /* يسمح بسطرين */
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .sc-banner__btn {
        padding: 10px 12px;
        font-size: 12px;
        gap: 8px;
        margin-top: 0;
    }
}

body {
    overflow-x: hidden !important;
}

#daily-deals .p-card-888-marquee-inner {
    animation-duration: 28s;
}

html[dir="rtl"] #daily-deals .p-card-888-marquee-inner {
    animation-duration: 28s;
}
