/* ============================================================
   BASE / DESIGN TOKENS
============================================================ */

:root {
    /* Font */
    --sp-font: "IRANSansXFaNum", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --sp-font-regular: 400;
    --sp-font-medium: 500;
    --sp-font-bold: 700;

    /* Typography */
    --sp-hero-title-size: 48px;
    --sp-section-title-size: 24px;
    --sp-card-title-size: 18px;
    --sp-body-size: 15px;
    --sp-small-size: 13px;
    --sp-caption-size: 12px;

    --sp-hero-title-line: 1.35;
    --sp-title-line: 1.45;
    --sp-body-line: 1.9;

    /* Brand Colors */
    --sp-blue: #007dfa;
    --sp-blue-dark: #006bd6;
    --sp-blue-soft: #e8f3ff;

    --sp-navy: #061b3a;
    --sp-navy-2: #0b254d;

    --sp-white: #ffffff;
    --sp-black: #000000;

    --sp-bg: #f6f9ff;
    --sp-bg-soft: #eef6ff;

    --sp-text: #102033;
    --sp-muted: #667085;
    --sp-muted-2: #8a96a8;

    --sp-border: rgba(7, 27, 58, 0.10);
    --sp-border-blue: rgba(0, 125, 250, 0.16);

    /* Layout */
    --sp-container: 1180px;
    --sp-container-wide: 1320px;
    --sp-gutter: 16px;

    --sp-section-y: 56px;
    --sp-section-y-mobile: 40px;

    /* Radius */
    --sp-radius-xs: 8px;
    --sp-radius-sm: 12px;
    --sp-radius-md: 18px;
    --sp-radius-lg: 24px;
    --sp-radius-xl: 32px;
    --sp-radius-pill: 999px;

    /* Shadows */
    --sp-shadow-xs: 0 4px 14px rgba(7, 27, 58, 0.06);
    --sp-shadow-sm: 0 8px 24px rgba(7, 27, 58, 0.08);
    --sp-shadow-md: 0 18px 48px rgba(7, 27, 58, 0.12);
    --sp-shadow-lg: 0 28px 70px rgba(7, 27, 58, 0.16);

    /* Motion */
    --sp-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --sp-transition: 180ms var(--sp-ease);
}

/* ============================================================
   RESET / NORMALIZE
============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    min-height: 100%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    width: 100%;
    min-height: 100%;
    margin: 0;

    direction: rtl;
    text-align: right;

    font-family: var(--sp-font);
    font-size: var(--sp-body-size);
    font-weight: var(--sp-font-regular);
    line-height: var(--sp-body-line);

    color: var(--sp-text);
    background: var(--sp-bg);

    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea,
select {
    font-family: var(--sp-font);
}

img,
svg,
video,
canvas,
picture {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

input,
textarea,
select {
    border: 0;
    outline: 0;
}

::selection {
    color: var(--sp-white);
    background: var(--sp-blue);
}

/* ============================================================
   PAGE / CONTAINER / SECTION
============================================================ */

.sp-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;

    background:
        radial-gradient(circle at top right, rgba(0, 125, 250, 0.08), transparent 34%),
        var(--sp-bg);
}

.sp-container {
    width: min(100%, var(--sp-container));
    margin-inline: auto;
    padding-inline: var(--sp-gutter);
}

.sp-container-wide {
    width: min(100%, var(--sp-container-wide));
    margin-inline: auto;
    padding-inline: var(--sp-gutter);
}

.sp-section {
    position: relative;
    width: 100%;
    padding-block: var(--sp-section-y);
}

.sp-section:first-child {
    padding-top: 24px;
}

/* ============================================================
   SECTION HEADER
============================================================ */

.sp-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.sp-section-head-main {
    min-width: 0;
}

.sp-section-kicker {
    margin-bottom: 8px;

    font-size: var(--sp-small-size);
    font-weight: var(--sp-font-bold);
    line-height: 1.8;

    color: var(--sp-blue);
}

.sp-section-title {
    font-size: var(--sp-section-title-size);
    font-weight: var(--sp-font-bold);
    line-height: var(--sp-title-line);
    letter-spacing: -0.01em;

    color: var(--sp-navy);
}

.sp-section-desc {
    max-width: 640px;
    margin-top: 8px;

    font-size: var(--sp-body-size);
    font-weight: var(--sp-font-regular);
    line-height: var(--sp-body-line);

    color: var(--sp-muted);
}

@media (max-width: 768px) {
    .sp-section-title {
        font-size: 18px ;
        font-weight: 700;
        line-height: var(--sp-title-line);
        letter-spacing: -0.01em;
        
        color: var(--sp-navy);
    }
    .sp-section-desc{
        font-size: 12px ;
    }
}

/* ============================================================
   BUTTONS
============================================================ */

.sp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 44px;
    padding: 10px 18px;

    border-radius: var(--sp-radius-pill);

    font-size: 14px;
    font-weight: var(--sp-font-bold);
    line-height: 1;

    transition:
        transform var(--sp-transition),
        box-shadow var(--sp-transition),
        background var(--sp-transition),
        color var(--sp-transition);
}

.sp-btn:hover {
    transform: translateY(-1px);
}

.sp-btn-primary {
    color: var(--sp-white);
    background: var(--sp-blue);
    box-shadow: 0 14px 34px rgba(0, 125, 250, 0.28);
}

.sp-btn-primary:hover {
    background: var(--sp-blue-dark);
}

.sp-btn-secondary {
    color: var(--sp-blue);
    background: rgba(0, 125, 250, 0.09);
}

.sp-btn-white {
    color: var(--sp-navy);
    background: var(--sp-white);
    box-shadow: var(--sp-shadow-sm);
}

/* ============================================================
   CARDS / SURFACES
============================================================ */

.sp-card {
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-lg);
    background: var(--sp-white);
    box-shadow: var(--sp-shadow-sm);
}

.sp-glass {
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

/* ============================================================
   SWIPER SHARED
============================================================ */

.swiper {
    width: 100%;
}

.swiper-wrapper {
    align-items: stretch;
}

.swiper-slide {
    height: auto;
}

.sp-swiper-shell {
    position: relative;
}

.sp-swiper-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border-radius: var(--sp-radius-pill);

    color: #6f7383;
    background: var(--sp-white);
    box-shadow: var(--sp-shadow-sm);

    transition:
        transform var(--sp-transition),
        opacity var(--sp-transition),
        background var(--sp-transition);
}

.sp-swiper-nav:hover {
    background: #ffffff;
    transform: translateY(-1px);
}

.swiper-button-disabled {
    opacity: 0.38;
    pointer-events: none;
}

/* ============================================================
   STATES / HELPERS
============================================================ */

.sp-loading {
    width: 100%;
    padding: 24px;

    border-radius: var(--sp-radius-md);

    font-size: 14px;
    font-weight: var(--sp-font-bold);
    text-align: center;

    color: var(--sp-muted);
    background: rgba(255, 255, 255, 0.72);
}

.sp-empty {
    width: 100%;
    padding: 24px;

    border: 1px dashed var(--sp-border-blue);
    border-radius: var(--sp-radius-md);

    font-size: 14px;
    font-weight: var(--sp-font-bold);
    text-align: center;

    color: var(--sp-muted);
    background: rgba(0, 125, 250, 0.04);
}

.sp-hidden {
    display: none !important;
}

.sp-mobile-only {
    display: none !important;
}

.sp-desktop-only {
    display: block !important;
}

/* ============================================================
   ACCESSIBILITY
============================================================ */

.sp-sr-only {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;

    white-space: nowrap !important;
    border: 0 !important;
}

:focus-visible {
    outline: 3px solid rgba(0, 125, 250, 0.32);
    outline-offset: 3px;
}

/* ============================================================
   REDUCED MOTION
============================================================ */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* ============================================================
   HERO SECTION
============================================================ */

.sp-hero {
    padding-top: 24px;
    padding-bottom: 32px;
}

.sp-hero-shell {
    position: relative;
}

.sp-hero-swiper {
    width: 100%;
    height: auto;
    overflow: hidden;

    border-radius: var(--sp-radius-xl);
    background: var(--sp-blue);
    box-shadow: var(--sp-shadow-md);
}

.sp-hero-swiper .swiper-wrapper,
.sp-hero-swiper .swiper-slide {
    height: auto;
}

.sp-hero-slide-link {
    display: block;
    width: 100%;
    height: auto;
    text-decoration: none;
}

.sp-hero-slide-link picture {
    display: block;
    width: 100%;
    height: auto;
}

.sp-hero-banner-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;

    border-radius: var(--sp-radius-xl);
}

/* ----------------------------
   Hero Navigation - Desktop
---------------------------- */

.sp-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border-radius: var(--sp-radius-pill);

    color: #6f7383;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 24px rgba(7, 27, 58, 0.12);

    transition:
        transform var(--sp-transition),
        opacity var(--sp-transition),
        background var(--sp-transition);
}

.sp-hero-nav:hover {
    background: #ffffff;
}

.sp-hero-prev {
    right: -22px;
}

.sp-hero-next {
    left: -22px;
}

.sp-hero-arrow-left {
    transform: rotate(180deg);
}

/* ----------------------------
   Hero Navigation - Mobile
---------------------------- */

.sp-hero-mobile-controls {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}

.sp-hero-nav-mobile {
    width: 40px;
    height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: var(--sp-radius-pill);

    color: #6f7383;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(7, 27, 58, 0.10);
}

.sp-hero-pagination {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
}

.sp-hero-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 4px !important;

    opacity: 1;
    background: rgba(0, 125, 250, 0.22);
}

.sp-hero-pagination .swiper-pagination-bullet-active {
    background: var(--sp-blue);
}

/* ----------------------------
   Hero Single Slide State
---------------------------- */

.sp-hero-shell.sp-hero-single .sp-hero-nav,
.sp-hero-shell.sp-hero-single .sp-hero-mobile-controls {
    display: none !important;
}

/* ----------------------------
   Hero Disabled State
---------------------------- */

.sp-hero-shell .swiper-button-disabled,
.sp-hero-shell .sp-hero-nav.swiper-button-disabled,
.sp-hero-shell .sp-hero-nav-mobile.swiper-button-disabled {
    opacity: 0.38;
    pointer-events: none;
}

/* ============================================================
   BENEFITS SECTION
============================================================ */

.sp-benefits-section {
    padding-top: 32px;
    padding-bottom: 48px;
}

.sp-benefits-header {
    margin-bottom: 18px;
}

.sp-benefits-shell {
    position: relative;
}

/* ============================================================
   BENEFITS DESKTOP STATIC + MOBILE CENTER SLIDER
============================================================ */

/* Desktop: 4 static cards */
@media (min-width: 709px) {
    .sp-benefits-swiper {
        overflow: visible;
    }

    .sp-benefits-swiper.is-static .swiper-wrapper {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
        transform: none !important;
    }

    .sp-benefits-swiper.is-static .swiper-slide {
        width: auto !important;
        height: auto;
        margin: 0 !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .sp-benefits-pagination {
        display: none !important;
    }
}

/* Mobile: same simple centered slider */
@media (max-width: 708px) {
    .sp-benefits-swiper {
        overflow: visible;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .sp-benefits-swiper .swiper-wrapper {
        align-items: center;
    }

    .sp-benefits-swiper .swiper-slide {
        height: auto;
        opacity: 0.58;
        transform: scale(0.82);
        transition:
            transform 260ms var(--sp-ease),
            opacity 260ms var(--sp-ease);
    }

    .sp-benefits-swiper .swiper-slide-active {
        z-index: 3;
        opacity: 1;
        transform: scale(1);
    }

    .sp-benefits-swiper .swiper-slide-prev,
    .sp-benefits-swiper .swiper-slide-next {
        z-index: 2;
        opacity: 0.82;
        transform: scale(0.88);
    }

    .sp-benefits-pagination {
        display: none !important;
    }

    .sp-benefit-card:hover {
        transform: none;
    }
}

.sp-benefits-swiper .swiper-wrapper {
    align-items: stretch;
}

.sp-benefits-swiper .swiper-slide {
    height: auto;
}

.sp-benefit-card {
    position: relative;
    width: 75%;
    height: 100%;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    border-radius: var(--sp-radius-xl);

    transition:
        transform var(--sp-transition),
        filter var(--sp-transition);
}

.sp-benefit-card:hover {
    transform: translateY(-4px);
}

.sp-benefit-img {
    display: block;
    width: 75%;
    height: auto;
    
    filter: drop-shadow(0 18px 30px rgba(7, 27, 58, 0.12));
    user-select: none;
    -webkit-user-drag: none;
}
@media (max-width: 708px) {
    .sp-benefit-img {
        width: 100%;
    }
}

/* Pagination is mainly for mobile */
.sp-benefits-pagination {
    display: none;
    position: static;
    margin-top: 12px;
    text-align: center;
}

.sp-benefits-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    margin: 0 4px !important;

    opacity: 1;
    background: rgba(0, 125, 250, 0.22);
}

.sp-benefits-pagination .swiper-pagination-bullet-active {
    width: 18px;
    border-radius: 999px;
    background: var(--sp-blue);
}

/* ============================================================
   BENEFITS DESKTOP STATIC ONLY
============================================================ */

@media (min-width: 709px) {
    .sp-benefits-swiper.is-benefits-desktop-static {
        overflow: visible;
    }

    .sp-benefits-swiper.is-benefits-desktop-static .swiper-wrapper {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
        transform: none !important;
    }

    .sp-benefits-swiper.is-benefits-desktop-static .swiper-slide {
        width: auto !important;
        height: auto;
        margin: 0 !important;
        opacity: 1 !important;
        transform: none !important;
        display: flex;
        justify-content: center;
    }

    .sp-benefits-swiper.is-benefits-desktop-static .swiper-slide:nth-child(n + 5) {
        display: none !important;
    }

    .sp-benefits-pagination {
        display: none !important;
    }
}

/* ============================================================
   PRODUCT CAROUSEL SECTION
============================================================ */

.sp-product-section {
    padding-top: 32px;
    padding-bottom: 40px;
}

.sp-product-stage {
    position: relative;
    overflow: hidden;

    min-height: 450px;
    padding: 28px 28px 28px 28px;

    border-radius: 32px;
    box-shadow: 0 24px 60px rgba(79, 47, 187, 0.18);
}

.sp-product-bg-cash-back {
    position: absolute;
    inset: 0;
    z-index: 0;

    background-image: url("../img/sections/product-stage-bg.webp?v=v20260613-1");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    pointer-events: none;
}

.sp-product-head {
    position: relative;
    z-index: 3;

    min-height: 56px;
    margin-bottom: 15px;
}

.sp-product-title {
    width: calc(100% - 300px);
    margin: 0;
    margin-left: 0;
    margin-right: auto;

    font-size: 24px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;

    color: #ffffff;
}



.sp-product-swiper-wrap {
    position: relative;
    z-index: 3;

    width: calc(100% - 300px);
    margin-left: 0;
    margin-right: auto;
}

.sp-product-visual {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;

    width: 300px;

    display: flex;
    align-items: center;
    justify-content: center;

    pointer-events: none;
}

.sp-product-visual img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

/* ----------------------------
   Header
---------------------------- */

.sp-product-head {
    position: relative;
    z-index: 3;

    min-height: 52px;
    margin-bottom: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding-inline: 92px 320px;
}

.sp-product-title {
    margin: 0;

    font-size: 24px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;

    color: #ffffff;
    text-shadow: 0 3px 12px rgba(16, 18, 44, 0.12);
}

.sp-product-navs {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 4;

    display: flex;
    align-items: center;
    gap: 5px;
}

.sp-product-nav {
    width: 48px;
    height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 999px;
    cursor: pointer;

    color: #7b8194;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 26px rgba(19, 24, 48, 0.10);

    transition:
        transform 220ms ease,
        opacity 220ms ease,
        background 220ms ease;
}

.sp-product-nav:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.95);
}

.sp-product-nav.swiper-button-disabled {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}

/* ----------------------------
   Body / Swiper Area
---------------------------- */

.sp-product-body {
    position: relative;
    z-index: 3;
}

.sp-product-swiper-wrap {
    width: calc(100% - 300px);
    margin-left: auto;
    margin-right: 0;
}

.sp-product-swiper {
    overflow: hidden;
    padding: 8px 0;
}

.sp-product-swiper .swiper-wrapper {
    align-items: stretch;
}

.sp-product-swiper .swiper-slide {
    height: auto;
}

.sp-product-pagination {
    display: none;
    position: static;
    margin-top: 14px;
    text-align: center;
}

.sp-product-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    margin: 0 4px !important;

    opacity: 1;
    background: rgba(255, 255, 255, 0.44);
}

.sp-product-pagination .swiper-pagination-bullet-active {
    width: 18px;
    border-radius: 999px;
    background: #ffffff;
}

/* ----------------------------
   Product Card
---------------------------- */

.sp-product-card {
    position: relative;
    height: 100%;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    border-radius: 22px;
    background: #ffffff;

    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}

.sp-product-card:hover {
    transform: translateY(-4px);
}

.sp-product-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sp-product-media {
    position: relative;
    overflow: hidden;

    height: 190px;
    background: linear-gradient(180deg, #f7f8fb 0%, #ffffff 100%);
}

.sp-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
}

.sp-product-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 50px;
    font-weight: 700;

    color: rgba(135, 82, 255, 0.22);
    background:
        radial-gradient(circle at center, rgba(135, 82, 255, 0.08), transparent 44%),
        #fafbff;
}

.sp-product-logo {
    position: absolute;
    top: 12px;
    right: 12px;



    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    border-radius: 16px;
}

.sp-product-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.sp-product-installment {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 5px;
    z-index: 2;

    min-height: 38px;
    padding: 9px 12px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;

    color: #ffffff;
    background: linear-gradient(135deg, #1895ff 0%, #0a80f6 100%);
    box-shadow: 0 10px 24px rgba(10, 128, 246, 0.24);
}

.sp-product-info {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 15px 16px 16px;
}

.sp-product-merchant {
    margin-bottom: 5px;

    font-size: 12px;
    font-weight: 500;
    line-height: 1.7;

    color: #7f8aa3;
}

.sp-product-name {
    min-height: 50px;
    margin: 0 0 8px;

    font-size: 12px;
    font-weight: 600;
    line-height: 1.85;

    color: #15213d;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sp-product-price-row {
    margin-top: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    flex-direction: row-reverse;
}

.sp-product-discount {
    flex: 0 0 auto;

    width: 35px;
    height: 35px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 12px;
    font-weight: 700;

    color: #ffffff;
    background: #ff5a5f;
}

.sp-product-prices {
    min-width: 0;
    text-align: left;
}

.sp-product-old-price {
    min-height: 20px;

    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: line-through;

    color: #b4bfd0;
}

.sp-product-current-price {
    margin-top: 2px;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;

    color: #118dff;
}

/* ----------------------------
   Empty / Skeleton
---------------------------- */

.sp-empty {
    min-height: 220px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);

    font-size: 14px;
    font-weight: 500;
    color: #33415c;
}

.sp-product-skeleton {
    height: 394px;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.7);
}

.sp-product-skeleton::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;

    background:
        linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.76), transparent),
        linear-gradient(#eef2f9 0 0) 16px 16px / calc(100% - 32px) 154px no-repeat,
        linear-gradient(#eef2f9 0 0) 16px 196px / 52% 14px no-repeat,
        linear-gradient(#eef2f9 0 0) 16px 224px / 84% 16px no-repeat,
        linear-gradient(#eef2f9 0 0) 16px 252px / 62% 16px no-repeat,
        linear-gradient(#eef2f9 0 0) 16px 324px / 74% 18px no-repeat;

    background-size:
        80px 100%,
        calc(100% - 32px) 154px,
        52% 14px,
        84% 16px,
        62% 16px,
        74% 18px;

    animation: spProductSkeleton 1.2s ease-in-out infinite;
}

@keyframes spProductSkeleton {
    0% {
        background-position:
            -90px 0,
            16px 16px,
            16px 196px,
            16px 224px,
            16px 252px,
            16px 324px;
    }

    100% {
        background-position:
            calc(100% + 90px) 0,
            16px 16px,
            16px 196px,
            16px 224px,
            16px 252px,
            16px 324px;
    }
}

/* ----------------------------
   Single slide state
---------------------------- */

.sp-product-single .sp-product-navs,
.sp-product-single .sp-product-pagination {
    display: none !important;
}

/* ============================================================
   PRODUCT CAROUSEL LAYOUT FIX
   Visual: right
   Arrows: left
   Products: left / center area
============================================================ */

.sp-product-stage {
    --sp-product-visual-w: 170px;
    --sp-product-side-gap: 24px;
    --sp-product-nav-w: 116px;

    position: relative;
    overflow: hidden;

    min-height: 450px;
    padding: 20px;

    border-radius: 32px;
    background: linear-gradient(135deg, #8752ff 0%, #6b4dff 100%);
    box-shadow: 0 24px 60px rgba(79, 47, 187, 0.18);
}

/* Background */
.sp-product-bg {
    position: absolute;
    inset: 0;
    z-index: 0;

    background-image: url("../img/sections/carousel-bg-Pi4.webp?v=v20260613-1");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    pointer-events: none;
}

/* Right visual */
.sp-product-visual {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 1;

    width: var(--sp-product-visual-w);

    display: flex;
    align-items: center;
    justify-content: center;

    pointer-events: none;
}

.sp-product-visual img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

/* Header */
.sp-product-head {
    position: relative;
    z-index: 3;

    min-height: 56px;
    margin-bottom: 22px;

    display: flex;
    align-items: center;

    /* راست برای ویژوال، چپ برای اروها */
    padding-left: var(--sp-product-nav-w);
}

.sp-product-title {
    width: 100%;
    margin: 0;

    font-size: 24px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;

    color: #ffffff;
    text-shadow: 0 3px 12px rgba(16, 18, 44, 0.12);
}

/* Arrows on left */
.sp-product-navs {
    position: absolute;
    left: 0;
    right: auto;
    top: 0;
    z-index: 4;

    display: flex;
    align-items: center;
    gap: 10px;
}

.sp-product-nav {
    width: 40px;
    height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 999px;
    cursor: pointer;

    color: #7b8194;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 26px rgba(19, 24, 48, 0.10);

    transition:
        transform 220ms ease,
        opacity 220ms ease,
        background 220ms ease;
}

.sp-product-nav:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.95);
}

.sp-product-nav.swiper-button-disabled {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}

/* Body */
.sp-product-body {
    position: relative;
    z-index: 3;

    /* اینجا اصل اصلاحه: سمت راست برای ویژوال خالی می‌مونه */
    padding-right: calc(var(--sp-product-visual-w) + var(--sp-product-side-gap));
    padding-left: 0;
}

.sp-product-swiper-wrap {
    position: relative;
    z-index: 3;

    width: 100%;
    margin: 0;
}

.sp-product-swiper {
    overflow: hidden;
    padding: 8px 0;
}

/* ============================================================
   HERO SLIDER
============================================================ */

.sp-hero-slider-section {
    padding-top: 24px;
    padding-bottom: 24px;
}

.sp-hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
}

.sp-hero-slider-swiper {
    overflow: hidden;
    border-radius: 32px;
}

.sp-hero-slider .swiper-wrapper {
    align-items: stretch;
}

.sp-hero-slider .swiper-slide {
    height: auto;
}

.sp-hero-slide-card {
    display: block;
    width: 100%;
    border-radius: 32px;
    overflow: hidden;
    background: #0f7df2;
}

.sp-hero-slide-card picture,
.sp-hero-slide-card img {
    display: block;
    width: 100%;
}

.sp-hero-slide-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1400 / 450;
    object-fit: cover;
    object-position: center;
}
@media (max-width: 768px) {
    .sp-hero-slide-img {
        aspect-ratio: 500 / 310;
    }
    .sp-hero-slider {
        border-radius: 15px;
    }
    .sp-hero-slide-card{ 
        border-radius: 15px;
    }
    .sp-hero-slider-swiper{
        border-radius: 15px;
    }
}

/* Navigation */

.sp-hero-slider-navs {
    position: absolute;
    left: 24px;
    top: 24px;
    z-index: 5;

    display: flex;
    align-items: center;
    gap: 10px;
}

.sp-hero-slider-nav {
    width: 48px;
    height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 999px;
    cursor: pointer;

    color: #7b8194;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);

    transition:
        transform 220ms ease,
        opacity 220ms ease,
        background 220ms ease;
}

.sp-hero-slider-nav:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.96);
}

.sp-hero-slider-nav.swiper-button-disabled {
    opacity: 0.42;
    pointer-events: none;
    cursor: default;
}

/* Pagination */

.sp-hero-slider-pagination {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 5;
    transform: translateX(-50%);

    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-hero-slider-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    margin: 0 4px !important;

    opacity: 1;
    background: rgba(255, 255, 255, 0.52);
}

.sp-hero-slider-pagination .swiper-pagination-bullet-active {
    width: 18px;
    border-radius: 999px;
    background: #ffffff;
}

/* single banner mode */

.sp-hero-slider.is-single .sp-hero-slider-navs,
.sp-hero-slider.is-single .sp-hero-slider-pagination {
    display: none;
}

/* --------------------------------
   Countdown on watch face
--------------------------------- */
/* ============================================================
   IRAN NEXT MATCH COUNTDOWN
============================================================ */

.sp-iran-match-section {
    padding-top: 24px;
    padding-bottom: 28px;
}

.sp-iran-match-banner {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
}

.sp-iran-match-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1920 / 450;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 430px) {

    .sp-iran-match-img {
        aspect-ratio: 492 / 309;
    }
}

/* --------------------------------
   Countdown on watch face
--------------------------------- */

.sp-iran-match-timer {
    position: absolute;
    z-index: 4;

    /* دسکتاپ: اینها را دقیقاً برای مرکز ساعت تنظیم کرده‌ام */
    top: 15.8%;
    left: 49.3%;
    transform: translate(-50%, -50%);

    width: 12.2%;
    aspect-ratio: 1 / 1;

    display: flex;
    align-items: center;
    justify-content: center;

    pointer-events: none;
}

.sp-iran-match-timer-inner {
    width: 78%;
    height: 78%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;

    text-align: center;
    color: #ff5a2d;
}

/* ردیف اول: روز */
.sp-iran-match-timer-top {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-iran-match-days {
    display: inline-block;

    font-family:
        "IRANSansXFaNum",
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        Menlo,
        monospace;
    font-size: clamp(14px, 1.28vw, 24px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.02em;

    color: #ff4a1f;
    text-shadow:
        0 0 10px rgba(255, 87, 34, 0.22),
        0 0 3px rgba(255, 87, 34, 0.28);
}

/* ردیف دوم: ساعت، دقیقه، ثانیه */
.sp-iran-match-timer-bottom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1px;

    direction: ltr;

    font-family:
        "IRANSansXFaNum",
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        Menlo,
        monospace;
    font-size: clamp(9px, 0.82vw, 15px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.02em;

    color: #ff4a1f;
    text-shadow:
        0 0 8px rgba(255, 87, 34, 0.20),
        0 0 2px rgba(255, 87, 34, 0.24);
}

.sp-iran-match-timer-bottom span {
    display: inline-block;
    min-width: 1.5ch;
}

.sp-iran-match-sep {
    min-width: auto !important;
    margin-inline: 0;
}

/* finished state */
.sp-iran-match-banner.is-finished .sp-iran-match-timer-inner {
    color: #ff4a1f;
}

.sp-iran-match-timer {
    position: absolute;
    z-index: 4;

    top: 28.8%;
    left: 43.6%;
    transform: translate(-50%, -50%);

    width: 12.2%;
    aspect-ratio: 1 / 1;

    display: flex;
    align-items: center;
    justify-content: center;

    pointer-events: none;
}

.sp-iran-match-timer-inner {
    width: 78%;
    height: 78%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;

    text-align: center;
    direction: ltr;
    unicode-bidi: embed;
}

/* روز */
.sp-iran-match-timer-top {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-iran-match-days {
    display: inline-block;
    min-width: 2ch;

    font-family: "DigitalCountdown", monospace;
    font-size: clamp(40px, 1.2vw, 22px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    direction: ltr;
    unicode-bidi: bidi-override;

    color: #ff5a2d;
    text-shadow:
        0 0 3px rgba(255, 90, 45, 0.65),
        0 0 8px rgba(255, 90, 45, 0.28);
}

/* ساعت:دقیقه:ثانیه */
.sp-iran-match-timer-bottom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1px;

    direction: ltr;
    unicode-bidi: bidi-override;

    font-family: "DigitalCountdown", monospace;
    font-size: clamp(8px, 0.78vw, 14px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.06em;

    color: #ff5a2d;
    text-shadow:
        0 0 2px rgba(255, 90, 45, 0.62),
        0 0 6px rgba(255, 90, 45, 0.24);
}

.sp-iran-match-timer-bottom span {
    display: inline-block;
    min-width: 2ch;
    text-align: center;
}

.sp-iran-match-sep {
    min-width: auto !important;
    margin-inline: 1px;
}

/* finished */
.sp-iran-match-banner.is-finished .sp-iran-match-days,
.sp-iran-match-banner.is-finished .sp-iran-match-timer-bottom {
    color: #ff5a2d;
}

/* ============================================================
   MATCHES TABLE SECTION
============================================================ */

.sp-matches-section {
    padding-top: 28px;
    padding-bottom: 28px;
    direction: rtl;
}

.sp-matches-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #c9d9ea;
    border-radius: 34px;
    background: #ffffff;
    box-shadow: 0 18px 46px rgba(19, 49, 91, 0.08);
}

.sp-matches-top {
    position: relative;
    z-index: 2;
    background: #1f25a7;
}

.sp-matches-banner {
    display: block;
    width: 100%;
    height: auto;
}

/* filters */

.sp-matches-filters {
    position: absolute;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    padding: 0 20px 18px;
    margin-top: -12px;
    bottom: 23px;
    right: 50%;
    transform: translateX(50%);
}

.sp-filter-box {
    position: relative;
}

.sp-filter-pill {
    min-width: 116px;
    height: 42px;
    padding: 0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    border: 1px solid #dce8f5;
    border-radius: 999px;
    cursor: pointer;

    font-family: "IRANSansXFaNum", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;

    color: #37538d;
    background: rgba(255, 255, 255, 0.94);

    transition:
        background 180ms ease,
        color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.sp-filter-pill:hover {
    background: #ffffff;
    border-color: #b9d6f4;
    box-shadow: 0 8px 22px rgba(42, 147, 255, 0.14);
}

.sp-filter-pill:active {
    transform: translateY(1px);
}

.sp-filter-pill.is-active,
.sp-filter-pill[aria-pressed="true"] {
    color: #ffffff;
    background: #2a93ff;
    border-color: #2a93ff;
    box-shadow: 0 10px 24px rgba(42, 147, 255, 0.26);
}

.sp-filter-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 50%;
    z-index: 50;

    width: max-content;
    min-width: 210px;
    max-width: min(320px, calc(100vw - 32px));
    max-height: 280px;
    overflow: auto;

    display: none;
    padding: 8px;

    border: 1px solid #d6e2ef;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 22px 46px rgba(15, 40, 75, 0.16);

    transform: translateX(50%);
}

.sp-filter-box.is-open .sp-filter-menu {
    display: block;
}

.sp-filter-option {
    width: 100%;
    min-height: 40px;
    padding: 0 12px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    border: 0;
    border-radius: 12px;
    cursor: pointer;

    font-family: "IRANSansXFaNum", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;

    color: #1c2b48;
    background: transparent;

    transition:
        background 160ms ease,
        color 160ms ease;
}

.sp-filter-option:hover {
    background: #f2f7fd;
}

.sp-filter-option.is-selected {
    color: #ffffff;
    background: #2a93ff;
}

.sp-filter-menu::-webkit-scrollbar {
    width: 7px;
}

.sp-filter-menu::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #c8d7e8;
}

.sp-filter-menu::-webkit-scrollbar-track {
    background: transparent;
}

/* table */

.sp-matches-table-wrap {
    position: relative;
    z-index: 1;
    overflow-x: auto;
    background: #ffffff;
}

.sp-matches-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    table-layout: fixed;
}

.sp-matches-table th,
.sp-matches-table td {
    padding: 18px 16px;
    text-align: center;
    vertical-align: middle;
    border-left: 1px solid #c7d8ea;
    border-bottom: 1px solid #c7d8ea;
}

.sp-matches-table th:first-child,
.sp-matches-table td:first-child {
    width: 52%;
}

.sp-matches-table th:nth-child(2),
.sp-matches-table td:nth-child(2) {
    width: 30%;
}

.sp-matches-table th:nth-child(3),
.sp-matches-table td:nth-child(3) {
    width: 18%;
}

.sp-matches-table th:last-child,
.sp-matches-table td:last-child {
    border-left: 0;
}

.sp-matches-table thead th {
    font-family: "IRANSansXFaNum", sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #24324d;
    background: #dfe7f0;
}

.sp-matches-table tbody tr:nth-child(odd) td {
    background: #f8fbfe;
}

.sp-matches-table tbody tr:nth-child(even) td {
    background: #eef4fa;
}

.sp-matches-table tbody tr:last-child td {
    border-bottom: 0;
}

.sp-match-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.sp-match-name-main {
    font-family: "IRANSansXFaNum", sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #1f2c45;
}

.sp-match-name-sub {
    font-family: "IRANSansXFaNum", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #557091;
}

.sp-match-date,
.sp-match-time {
    font-family: "IRANSansXFaNum", sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #2a354d;
}

.sp-empty-row td {
    padding: 28px 16px;
    font-family: "IRANSansXFaNum", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #557091;
    background: #f8fbfe !important;
}

/* responsive */

@media (max-width: 768px) {
    .sp-matches-section {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .sp-matches-card {
        border-radius: 26px;
    }

    .sp-matches-filters {
        gap: 10px;
        padding: 0 12px 14px;
        margin-top: -8px;
        flex-wrap: wrap;
        width: 100%;
        bottom: 0;
    }

    .sp-filter-pill {
        min-width: 96px;
        height: 38px;
        padding: 0 14px;
        font-size: 10px;
    }

    .sp-filter-menu {
        min-width: 180px;
        max-height: 260px;
    }

    .sp-matches-table {
        min-width: 520px;
    }

    .sp-matches-table th,
    .sp-matches-table td {
        padding: 14px 10px;
    }

    .sp-matches-table thead th {
        font-size: 14px;
    }

    .sp-match-name-main,
    .sp-match-date,
    .sp-match-time {
        font-size: 14px;
    }

    .sp-match-name-sub {
        font-size: 12px;
    }
}

/* ============================================================
   MATCHES TABLE - COMPACT + RESPONSIVE FIX
============================================================ */

.sp-matches-table-wrap {
    overflow-x: auto;
}

.sp-matches-table {
    min-width: 0;
}

.sp-matches-table th,
.sp-matches-table td {
    padding: 12px 10px;
    line-height: 1.55;
}

.sp-match-name {
    gap: 3px;
}

.sp-match-name-main {
    font-size: 15px;
    line-height: 1.7;
}

.sp-match-name-sub {
    font-size: 12px;
    line-height: 1.5;
}

.sp-match-date,
.sp-match-time {
    font-size: 14px;
    line-height: 1.6;
    white-space: normal;
}

.sp-matches-table th:first-child,
.sp-matches-table td:first-child {
    width: 56%;
}

.sp-matches-table th:nth-child(2),
.sp-matches-table td:nth-child(2) {
    width: 28%;
}

.sp-matches-table th:nth-child(3),
.sp-matches-table td:nth-child(3) {
    width: 16%;
}

@media (max-width: 768px) {
    .sp-matches-card {
        border-radius: 22px;
    }

    .sp-matches-filters {
        gap: 8px;
        padding: 0 10px 10px;
        margin-top: -6px;
    }

    .sp-filter-pill {
        min-width: auto;
        height: 34px;
        padding: 0 12px;
        font-size: 12px;
    }

    .sp-filter-menu {
        min-width: 170px;
        max-height: 240px;
    }

    .sp-matches-table-wrap {
        overflow-x: hidden;
    }

    .sp-matches-table {
        width: 100%;
        min-width: 0;
        table-layout: fixed;
    }

    .sp-matches-table th,
    .sp-matches-table td {
        padding: 9px 5px;
        line-height: 1.45;
    }

    .sp-matches-table thead th {
        font-size: 12px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .sp-match-name-main {
        font-size: 12.5px;
        line-height: 1.65;
    }

    .sp-match-name-sub {
        font-size: 10.5px;
        line-height: 1.45;
    }

    .sp-match-date,
    .sp-match-time {
        font-size: 11.5px;
        line-height: 1.5;
    }

    .sp-matches-table th:first-child,
    .sp-matches-table td:first-child {
        width: 54%;
    }

    .sp-matches-table th:nth-child(2),
    .sp-matches-table td:nth-child(2) {
        width: 30%;
    }

    .sp-matches-table th:nth-child(3),
    .sp-matches-table td:nth-child(3) {
        width: 16%;
    }
}

@media (max-width: 430px) {

    .sp-matches-table th,
    .sp-matches-table td {
        padding: 8px 4px;
    }

    .sp-match-name-main {
        font-size: 12px;
    }

    .sp-match-name-sub {
        font-size: 10px;
    }

    .sp-match-date,
    .sp-match-time {
        font-size: 11px;
    }

    .sp-filter-pill {
        height: 32px;
        padding: 0 21px;
        font-size: 9.5px;
    }
}

/* ============================================================
   OPTIONAL SECTION THEMES
============================================================ */

.sp-product-section--installment .sp-product-stage {
    background: linear-gradient(135deg, #b7d8fb 0%, #78aef6 100%);
    box-shadow: 0 18px 44px rgba(69, 129, 219, 0.18);
}

.sp-product-section--cashback .sp-product-stage {
    background: linear-gradient(135deg, #8c5cff 0%, #6a49ff 100%);
    box-shadow: 0 24px 60px rgba(79, 47, 187, 0.18);
}

/* ============================================================
   FINAL PRODUCT CAROUSEL SYSTEM
   Same component style for all product carousels.
   Individual data source / background / visual can stay different.
============================================================ */

.sp-product-stage[data-product-carousel] {
    --sp-product-visual-w: 170px;
    --sp-product-gap: 24px;
    --sp-product-nav-w: 108px;

    position: relative;
    overflow: hidden;
    min-height: 430px;
    padding: 20px;
    border-radius: 32px;
}

.sp-product-stage[data-product-carousel] .sp-product-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    pointer-events: none;
}

.sp-product-stage[data-product-carousel] .sp-product-visual {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 1;
    width: var(--sp-product-visual-w);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.sp-product-stage[data-product-carousel] .sp-product-visual img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

.sp-product-stage[data-product-carousel] .sp-product-head {
    position: relative;
    z-index: 3;
    min-height: 52px;
    margin-bottom: 18px;
    padding-right: calc(var(--sp-product-visual-w) + var(--sp-product-gap));
    padding-left: var(--sp-product-nav-w);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-product-stage[data-product-carousel] .sp-product-title {
    width: 100%;
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.45;
    text-align: right;
    text-shadow: 0 3px 12px rgba(16, 18, 44, 0.12);
}

.sp-product-stage[data-product-carousel] .sp-product-navs {
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sp-product-stage[data-product-carousel] .sp-product-nav {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    color: #7b8194;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 26px rgba(19, 24, 48, 0.10);
    transition: transform 220ms ease, opacity 220ms ease, background 220ms ease;
}

.sp-product-stage[data-product-carousel] .sp-product-nav:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.96);
}

.sp-product-stage[data-product-carousel] .sp-product-nav.swiper-button-disabled {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}

.sp-product-stage[data-product-carousel] .sp-product-body {
    position: relative;
    z-index: 3;
    padding-right: calc(var(--sp-product-visual-w) + var(--sp-product-gap));
    padding-left: 0;
    overflow: hidden;
}

.sp-product-stage[data-product-carousel] .sp-product-swiper-wrap {
    position: relative;
    z-index: 3;
    width: 100%;
    margin: 0;
    overflow: hidden;
}

.sp-product-stage[data-product-carousel] .sp-product-swiper {
    width: 100%;
    overflow: hidden;
    padding: 8px 0 2px;
    direction: rtl;
}

.sp-product-stage[data-product-carousel] .sp-product-swiper .swiper-wrapper {
    align-items: stretch;
}

.sp-product-stage[data-product-carousel] .sp-product-swiper .swiper-slide {
    height: auto;
}

.sp-product-stage[data-product-carousel] .sp-product-card {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: none;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.sp-product-stage[data-product-carousel] .sp-product-card:hover {
    transform: translateY(-3px);
}

.sp-product-stage[data-product-carousel] .sp-product-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sp-product-stage[data-product-carousel] .sp-product-media {
    position: relative;
    overflow: hidden;
    height: 168px;
    background: linear-gradient(180deg, #f7f8fb 0%, #ffffff 100%);
}

.sp-product-stage[data-product-carousel] .sp-product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
}

.sp-product-stage[data-product-carousel] .sp-product-logo {
    position: absolute;
    top: 9px;
    right: 9px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
}

.sp-product-stage[data-product-carousel] .sp-product-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sp-product-stage[data-product-carousel] .sp-product-installment {
    position: absolute;
    right: 9px;
    left: 9px;
    bottom: 7px;
    z-index: 2;
    min-height: 30px;
    padding: 7px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #1895ff 0%, #0a80f6 100%);
    box-shadow: 0 8px 18px rgba(10, 128, 246, 0.22);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.sp-product-stage[data-product-carousel] .sp-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 11px 10px 12px;
}

.sp-product-stage[data-product-carousel] .sp-product-merchant {
    margin: 0 0 4px;
    color: #667085;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.55;
    text-align: right;
}

.sp-product-stage[data-product-carousel] .sp-product-name {
    min-height: 30px;
    margin: 0 0 8px;
    color: #15213d;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.75;
    text-align: right;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sp-product-stage[data-product-carousel] .sp-product-price-row {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 6px;
    flex-direction: row-reverse;
}

.sp-product-stage[data-product-carousel] .sp-product-discount {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: #ff5a5f;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

.sp-product-stage[data-product-carousel] .sp-product-prices {
    min-width: 0;
    text-align: left;
}

.sp-product-stage[data-product-carousel] .sp-product-old-price {
    min-height: 16px;
    color: #b4bfd0;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: line-through;
    white-space: nowrap;
}

.sp-product-stage[data-product-carousel] .sp-product-current-price {
    margin-top: 1px;
    color: #118dff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.35;
    white-space: nowrap;
}

.sp-product-stage[data-product-carousel] .sp-product-pagination {
    display: none;
}

.sp-product-single .sp-product-navs,
.sp-product-single .sp-product-pagination {
    display: none !important;
}

@media (min-width: 1024px) {
    .sp-product-stage[data-product-carousel] .sp-product-swiper {
        overflow: hidden;
    }
}

@media (max-width: 1023px) {
    .sp-product-stage[data-product-carousel] {
        --sp-product-visual-w: 140px;
        --sp-product-gap: 18px;
    }
}

@media (max-width: 768px) {
    .sp-product-section {
        padding-top: 20px;
        padding-bottom: 24px;
    }

    .sp-product-stage[data-product-carousel] {
        --sp-product-visual-w: 76px;
        --sp-product-gap: 8px;
        min-height: auto;
        padding: 16px 10px 14px;
        border-radius: 20px;
    }

    .sp-product-stage[data-product-carousel] .sp-product-bg {
        opacity: 1;
        background-size: cover;
        background-position: center;
    }

    .sp-product-stage[data-product-carousel] .sp-product-visual {
        top: 50px;
        right: 0;
        bottom: 10px;
        z-index: 2;
        width: var(--sp-product-visual-w);
        align-items: center;
        opacity: 1;
    }

    .sp-product-stage[data-product-carousel] .sp-product-visual img {
        width: 74px;
        max-width: 74px;
    }

    .sp-product-stage[data-product-carousel] .sp-product-head {
        min-height: auto;
        margin-bottom: 12px;
        padding: 0 88px 0 8px;
        display: block;
    }

    .sp-product-stage[data-product-carousel] .sp-product-title {
        font-size: 16px;
        font-weight: 700;
        line-height: 1.45;
        text-align: right;
    }

    .sp-product-stage[data-product-carousel] .sp-product-navs,
    .sp-product-stage[data-product-carousel] .sp-product-pagination {
        display: none !important;
    }

    .sp-product-stage[data-product-carousel] .sp-product-body {
        padding-right: calc(var(--sp-product-visual-w) + var(--sp-product-gap));
        padding-left: 0;
        overflow: visible;
    }

    .sp-product-stage[data-product-carousel] .sp-product-swiper-wrap,
    .sp-product-stage[data-product-carousel] .sp-product-swiper {
        overflow: visible;
    }

    .sp-product-stage[data-product-carousel] .sp-product-swiper {
        padding: 0;
    }

    .sp-product-stage[data-product-carousel] .sp-product-card {
        border-radius: 15px;
    }

    .sp-product-stage[data-product-carousel] .sp-product-media {
        height: 112px;
        background: #f3f3f4;
    }

    .sp-product-stage[data-product-carousel] .sp-product-logo {
        top: 6px;
        right: 6px;
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    .sp-product-stage[data-product-carousel] .sp-product-installment {
        right: 6px;
        left: 6px;
        bottom: 6px;
        min-height: 24px;
        height: 24px;
        padding: 0 5px;
        font-size: 7.5px;
        line-height: 1.15;
    }

    .sp-product-stage[data-product-carousel] .sp-product-info {
        padding: 9px 7px 10px;
    }

    .sp-product-stage[data-product-carousel] .sp-product-merchant {
        font-size: 10px;
        line-height: 1.45;
    }

    .sp-product-stage[data-product-carousel] .sp-product-name {
        min-height: 42px;
        font-size: 9.5px;
        line-height: 1.7;
    }

    .sp-product-stage[data-product-carousel] .sp-product-discount {
        width: 24px;
        height: 24px;
        min-width: 24px;
        font-size: 9px;
    }

    .sp-product-stage[data-product-carousel] .sp-product-old-price {
        min-height: 15px;
        font-size: 8.5px;
    }

    .sp-product-stage[data-product-carousel] .sp-product-current-price {
        font-size: 10.5px;
    }
}

@media (max-width: 390px) {
    .sp-product-stage[data-product-carousel] {
        --sp-product-visual-w: 70px;
        --sp-product-gap: 8px;
        padding: 14px 8px 14px;
    }

    .sp-product-stage[data-product-carousel] .sp-product-visual img {
        width: 68px;
        max-width: 68px;
    }

    .sp-product-stage[data-product-carousel] .sp-product-head {
        padding-right: 78px;
    }

    .sp-product-stage[data-product-carousel] .sp-product-media {
        height: 106px;
    }

    .sp-product-stage[data-product-carousel] .sp-product-title {
        font-size: 15px;
    }
}

/* ============================================================
   BENEFITS DESKTOP STATIC + MOBILE LOOP
============================================================ */

/* Desktop: 4 static cards, no carousel */
@media (min-width: 709px) {
    .sp-benefits-swiper {
        overflow: visible;
    }

    .sp-benefits-swiper.is-static .swiper-wrapper {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
        transform: none !important;
    }

    .sp-benefits-swiper.is-static .swiper-slide {
        width: auto !important;
        height: auto;
        margin: 0 !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .sp-benefits-swiper.is-static .swiper-slide:nth-child(n + 5) {
        display: none;
    }

    .sp-benefits-pagination {
        display: none !important;
    }
}

/* Mobile: centered loop mode */
@media (max-width: 708px) {
    .sp-benefits-section {
        overflow: hidden;
    }

    .sp-benefits-shell {
        overflow: visible;
    }

    .sp-benefits-swiper {
        width: 100vw;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        padding: 18px 54px 22px;
        overflow: hidden;
    }

    .sp-benefits-swiper .swiper-wrapper {
        align-items: center;
    }

    .sp-benefits-swiper .swiper-slide {
        height: auto;
        opacity: 0.48;
        transform: scale(0.78);
        transition:
            transform 260ms var(--sp-ease),
            opacity 260ms var(--sp-ease);
    }

    .sp-benefits-swiper .swiper-slide-active {
        z-index: 3;
        opacity: 1;
        transform: scale(1);
    }

    .sp-benefits-swiper .swiper-slide-prev,
    .sp-benefits-swiper .swiper-slide-next {
        z-index: 2;
        opacity: 0.82;
        transform: scale(0.86);
    }

    .sp-benefits-pagination {
        display: none !important;
    }

    .sp-benefit-card:hover {
        transform: none;
    }
}

/* ============================================================
   WORLD CUP FIX PACK - 20260617
   Final overrides. Keep this block at the very end of style.css.
============================================================ */

/* Benefits: desktop must be static, mobile keeps centered slider. */
@media (min-width: 709px) {
    .sp-benefits-swiper.is-benefits-desktop-static {
        overflow: visible !important;
    }

    .sp-benefits-swiper.is-benefits-desktop-static .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
        transform: none !important;
        align-items: stretch !important;
    }

    .sp-benefits-swiper.is-benefits-desktop-static .swiper-slide {
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        opacity: 1 !important;
        transform: none !important;
        display: flex !important;
        justify-content: center !important;
    }

    .sp-benefits-swiper.is-benefits-desktop-static .swiper-slide:nth-child(n + 5) {
        display: none !important;
    }

    .sp-benefits-swiper.is-benefits-desktop-static .sp-benefit-card {
        width: 100% !important;
    }
}

@media (max-width: 708px) {
    .sp-benefits-swiper.is-benefits-mobile-loop {
        overflow: visible !important;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .sp-benefits-swiper.is-benefits-mobile-loop .swiper-wrapper {
        align-items: center !important;
    }

    .sp-benefits-swiper.is-benefits-mobile-loop .swiper-slide {
        height: auto !important;
        opacity: 0.58;
        transform: scale(0.82);
        transition: transform 260ms var(--sp-ease), opacity 260ms var(--sp-ease);
    }

    .sp-benefits-swiper.is-benefits-mobile-loop .swiper-slide-active {
        z-index: 3;
        opacity: 1;
        transform: scale(1);
    }

    .sp-benefits-swiper.is-benefits-mobile-loop .swiper-slide-prev,
    .sp-benefits-swiper.is-benefits-mobile-loop .swiper-slide-next {
        z-index: 2;
        opacity: 0.82;
        transform: scale(0.88);
    }

    .sp-benefits-swiper.is-benefits-mobile-loop .sp-benefit-card {
        width: 100% !important;
    }
}

.sp-benefits-pagination {
    display: none !important;
}

/* Product carousel: one system for installment and cashback. */
.sp-product-section--installment .sp-product-stage[data-product-carousel] {
    background: linear-gradient(135deg, #12b8ff 0%, #0098f5 100%);
    box-shadow: 0 24px 60px rgba(0, 125, 250, 0.18);
}

.sp-product-section--cashback .sp-product-stage[data-product-carousel] {
    background: linear-gradient(135deg, #14b8ff 0%, #0098f5 100%);
    box-shadow: 0 24px 60px rgba(0, 125, 250, 0.18);
}

.sp-product-stage[data-product-carousel] {
    --sp-product-visual-w: 170px;
    --sp-product-gap: 24px;
    --sp-product-nav-w: 100px;
    min-height: 430px !important;
    padding: 20px !important;
    border-radius: 28px !important;
}

.sp-product-stage[data-product-carousel] .sp-product-head {
    min-height: 48px !important;
    margin-bottom: 18px !important;
    padding-right: calc(var(--sp-product-visual-w) + var(--sp-product-gap)) !important;
    padding-left: var(--sp-product-nav-w) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.sp-product-stage[data-product-carousel] .sp-product-title {
    width: 100% !important;
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    text-align: right !important;
}

.sp-product-stage[data-product-carousel] .sp-product-body {
    padding-right: calc(var(--sp-product-visual-w) + var(--sp-product-gap)) !important;
    padding-left: 0 !important;
    overflow: hidden !important;
}

.sp-product-stage[data-product-carousel] .sp-product-swiper-wrap,
.sp-product-stage[data-product-carousel] .sp-product-swiper {
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.sp-product-stage[data-product-carousel] .sp-product-swiper {
    padding: 8px 0 2px !important;
}

.sp-product-stage[data-product-carousel] .sp-product-swiper .swiper-wrapper {
    align-items: stretch !important;
}

.sp-product-stage[data-product-carousel] .sp-product-swiper .swiper-slide {
    height: auto !important;
}

/* Fallback: if Swiper JS/library does not initialize, still show 5 products instead of one giant card. */
.sp-product-stage[data-product-carousel] .sp-product-swiper:not(.swiper-initialized) .swiper-wrapper {
    display: flex !important;
    gap: 18px !important;
}

.sp-product-stage[data-product-carousel] .sp-product-swiper:not(.swiper-initialized) .swiper-slide {
    flex: 0 0 calc((100% - 72px) / 5) !important;
    width: auto !important;
    margin: 0 !important;
}

.sp-product-stage[data-product-carousel] .sp-product-card {
    height: 100% !important;
    border: 1px solid rgba(7, 27, 58, 0.08) !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    overflow: hidden !important;
}

.sp-product-stage[data-product-carousel] .sp-product-media {
    height: 168px !important;
    background: #f7f8fb !important;
}

.sp-product-stage[data-product-carousel] .sp-product-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.sp-product-stage[data-product-carousel] .sp-product-installment {
    right: 9px !important;
    left: 9px !important;
    bottom: 7px !important;
    min-height: 30px !important;
    padding: 7px 8px !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
}

.sp-product-stage[data-product-carousel] .sp-product-current-price {
    color: #007dfa !important;
}

.sp-product-section--cashback .sp-product-stage[data-product-carousel] .sp-product-installment {
    background: linear-gradient(135deg, #1895ff 0%, #0a80f6 100%) !important;
}

@media (max-width: 1023px) {
    .sp-product-stage[data-product-carousel] {
        --sp-product-visual-w: 130px;
        --sp-product-gap: 16px;
    }
}

@media (max-width: 768px) {
    .sp-product-section {
        padding-top: 20px !important;
        padding-bottom: 24px !important;
    }

    .sp-product-stage[data-product-carousel] {
        --sp-product-visual-w: 76px;
        --sp-product-gap: 8px;
        min-height: auto !important;
        padding: 16px 10px 14px !important;
        border-radius: 20px !important;
    }

    .sp-product-stage[data-product-carousel] .sp-product-head {
        min-height: auto !important;
        margin-bottom: 12px !important;
        padding: 0 88px 0 8px !important;
        display: block !important;
    }

    .sp-product-stage[data-product-carousel] .sp-product-title {
        font-size: 16px !important;
        text-align: right !important;
    }

    .sp-product-stage[data-product-carousel] .sp-product-navs,
    .sp-product-stage[data-product-carousel] .sp-product-pagination {
        display: none !important;
    }

    .sp-product-stage[data-product-carousel] .sp-product-body {
        padding-right: calc(var(--sp-product-visual-w) + var(--sp-product-gap)) !important;
        padding-left: 0 !important;
        overflow: visible !important;
    }

    .sp-product-stage[data-product-carousel] .sp-product-swiper-wrap,
    .sp-product-stage[data-product-carousel] .sp-product-swiper {
        overflow: visible !important;
    }

    .sp-product-stage[data-product-carousel] .sp-product-swiper:not(.swiper-initialized) .swiper-wrapper {
        gap: 10px !important;
    }

    .sp-product-stage[data-product-carousel] .sp-product-swiper:not(.swiper-initialized) .swiper-slide {
        flex: 0 0 calc((100% - 10px) / 1.85) !important;
    }

    .sp-product-stage[data-product-carousel] .sp-product-media {
        height: 112px !important;
    }

    .sp-product-stage[data-product-carousel] .sp-product-installment {
        right: 6px !important;
        left: 6px !important;
        bottom: 6px !important;
        min-height: 24px !important;
        height: 24px !important;
        padding: 0 5px !important;
        font-size: 7.5px !important;
    }
}

/* ============================================================
   WORLD CUP RULES SECTION - ISOLATED FINAL VERSION
============================================================ */

.spwc-rules-section {
    padding-top: 36px;
    padding-bottom: 28px;
}

/* Desktop / Mobile visibility بدون استفاده از sp-mobile-only */
.spwc-rules-desktop {
    display: block;
}

.spwc-rules-mobile {
    display: none;
}

/* Desktop image */
.spwc-rules-card {
    overflow: hidden;
    border-radius: var(--sp-radius-xl);
    background: var(--sp-white);
}

.spwc-rules-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: var(--sp-radius-xl);
}

/* Mobile scroll wrapper */
.spwc-rules-scroll-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: var(--sp-radius-lg);
    background: var(--sp-white);
}

.spwc-rules-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;

    border-radius: var(--sp-radius-lg);
    background: var(--sp-white);

    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

.spwc-rules-scroll::-webkit-scrollbar {
    display: none;
}

/* مهم‌ترین بخش: تصویر موبایل باید بزرگ‌تر از کانتینر بماند */
.spwc-rules-mobile-img {
    display: block;

    width: 1040px !important;
    min-width: 1040px !important;
    max-width: none !important;
    height: auto !important;

    border-radius: var(--sp-radius-lg);
}

/* Edge fade */
.spwc-rules-scroll-wrap::before,
.spwc-rules-scroll-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;

    width: 28px;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.spwc-rules-scroll-wrap::before {
    right: 0;
    background: linear-gradient(to left,
            rgba(246, 249, 255, 0.96),
            rgba(246, 249, 255, 0));
}

.spwc-rules-scroll-wrap::after {
    left: 0;
    background: linear-gradient(to right,
            rgba(246, 249, 255, 0.96),
            rgba(246, 249, 255, 0));
}

/* Swipe hint */
.spwc-rules-hint {
    position: absolute;
    right: 50%;
    bottom: 14px;
    z-index: 5;

    transform: translateX(50%);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 38px;
    padding: 8px 12px;

    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;

    color: #ffffff;
    background: rgba(6, 27, 58, 0.42);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    pointer-events: none;
    opacity: 1;

    transition:
        opacity 220ms ease,
        transform 220ms ease;
}

.spwc-rules-hint-arrows {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    animation: spwcRulesArrowsPulse 1.6s ease-in-out infinite;
}

.spwc-rules-hint-hand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: spwcRulesHandDrag 1.6s ease-in-out infinite;
}

.spwc-rules-scroll-wrap.is-scrolled .spwc-rules-hint {
    opacity: 0;
    transform: translateX(50%) translateY(8px);
}

@keyframes spwcRulesHandDrag {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

@keyframes spwcRulesArrowsPulse {

    0%,
    100% {
        opacity: 0.82;
    }

    50% {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .spwc-rules-section {
        padding-top: 8px;
        padding-bottom: 22px;
    }

    .spwc-rules-desktop {
        display: none !important;
    }

    .spwc-rules-mobile {
        display: block !important;
    }

    .spwc-rules-mobile-img {
        width: 1040px !important;
        min-width: 1040px !important;
        max-width: none !important;
    }
}

@media (max-width: 480px) {
    .spwc-rules-mobile-img {
        width: 960px !important;
        min-width: 960px !important;
        max-width: none !important;
    }

    .spwc-rules-hint {
        bottom: 12px;
        min-height: 36px;
        padding: 8px 11px;
    }
}

:root {
    --sp-instore-blue: var(--sp-primary, #007dfa);
    --sp-instore-text: var(--sp-text, #141827);
    --sp-instore-muted: var(--sp-muted, #7a8195);
    --sp-instore-line: #e5eaf4;
    --sp-instore-soft: #f5f8ff;
    --sp-instore-card: #ffffff;
    --sp-instore-radius: 20px;
}

.sp-instore-section {
    position: relative;
    overflow: hidden;
}

.sp-instore-section-header {
    margin-bottom: 8px;
}

.sp-instore-shell {
    margin-top: 8px;
}

.sp-instore-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.sp-instore-mini-title {
    color: var(--sp-instore-muted);
    font-size: 12px;
    font-weight: 800;
}

.sp-instore-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    direction: ltr;
}

.sp-instore-nav {
    width: 30px;
    height: 30px;
    border: 1px solid var(--sp-instore-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: var(--sp-instore-text);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .05);
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.sp-instore-nav:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 125, 250, .32);
    box-shadow: 0 10px 24px rgba(0, 125, 250, .10);
}

.sp-instore-swiper {
    width: 100%;
    overflow: visible;
    padding: 2px 2px 12px;
}

.sp-instore-swiper .swiper-slide {
    height: auto;
}

.sp-instore-pagination {
    display: flex;
    justify-content: center;
    min-height: 14px;
    margin-top: 0;
}

.sp-instore-pagination .swiper-pagination-bullet {
    width: 5px;
    height: 5px;
    margin: 0 3px !important;
    background: #c9d2e2;
    opacity: 1;
}

.sp-instore-pagination .swiper-pagination-bullet-active {
    width: 16px;
    border-radius: 999px;
    background: var(--sp-instore-blue);
}

.sp-instore-swiper-fallback {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.sp-instore-swiper-fallback .swiper-wrapper {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(156px, 184px);
    gap: 10px;
}

.sp-instore-card {
    position: relative;
    width: 100%;
    min-height: 0;
    border: 1px solid rgba(226, 232, 244, .98);
    border-radius: var(--sp-instore-radius);
    background: rgba(255, 255, 255, .94);
    padding: 8px;
    text-align: right;
    cursor: pointer;
    scroll-snap-align: start;
    box-shadow: 0 8px 24px rgba(17, 29, 62, .045);
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.sp-instore-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 125, 250, .24);
    box-shadow: 0 14px 32px rgba(17, 29, 62, .08);
}

.sp-instore-card-media {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, #f6f8ff, #edf3ff);
    aspect-ratio: 1 / 1;
}

.sp-instore-card-media>img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.sp-instore-card-fallback {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: grid;
    place-items: center;
    color: rgba(0, 125, 250, .70);
    font-size: 26px;
    font-weight: 950;
}

.sp-instore-card-logo {
    position: absolute;
    z-index: 2;
    top: 8px;
    inset-inline-end: 8px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .10);
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.sp-instore-card-logo img {
    width: 78%;
    height: 78%;
    object-fit: contain;
}

.sp-instore-branch-badge {
    position: absolute;
    z-index: 2;
    inset-inline-start: 8px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: var(--sp-instore-text);
    font-size: 10px;
    font-weight: 850;
    backdrop-filter: blur(8px);
}

.sp-instore-card-body {
    padding: 8px 2px 1px;
}

.sp-instore-card-title {
    margin: 0 0 6px;
    color: var(--sp-instore-text);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.65;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-instore-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}

.sp-instore-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 21px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(0, 125, 250, .08);
    color: var(--sp-instore-blue);
    font-size: 10px;
    font-weight: 850;
}

.sp-instore-modal[hidden] {
    display: none !important;
}

.sp-instore-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    padding: 24px;
    direction: rtl;
}

.sp-instore-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .38);
    backdrop-filter: blur(5px);
}

.sp-instore-dialog {
    position: relative;
    z-index: 1;
    width: min(560px, calc(100vw - 52px));
    max-height: min(630px, calc(100dvh - 76px));
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .24);
}

.sp-instore-modal-content {
    max-height: min(630px, calc(100dvh - 76px));
    overflow: auto;
    scrollbar-width: thin;
}

.sp-instore-close {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    z-index: 5;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: var(--sp-instore-text);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .14);
}

.sp-instore-modal-banner {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 6.3;
    background: linear-gradient(135deg, #f6f8ff, #edf3ff);
}

.sp-instore-modal-banner img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.sp-instore-detail-hero-empty {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(0, 125, 250, .70);
    font-size: 42px;
    font-weight: 950;
}

.sp-instore-modal-summary {
    position: relative;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px 16px 10px;
}

.sp-instore-modal-logo {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .10);
    overflow: hidden;
}

.sp-instore-modal-logo img {
    width: 78%;
    height: 78%;
    object-fit: contain;
}

.sp-instore-detail-title {
    margin: 0;
    color: var(--sp-instore-text);
    font-size: 19px;
    font-weight: 950;
    line-height: 1.55;
}

.sp-instore-detail-category {
    margin-top: 1px;
    color: var(--sp-instore-muted);
    font-size: 12px;
    font-weight: 800;
}

.sp-instore-detail-count {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(0, 125, 250, .08);
    color: var(--sp-instore-blue);
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.sp-instore-detail {
    padding: 0 16px 16px;
}

.sp-instore-branches-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    margin-top: 2px;
    border-top: 1px solid #eef2f8;
}

.sp-instore-branches-title h3 {
    margin: 0;
    color: var(--sp-instore-text);
    font-size: 15px;
    font-weight: 950;
}

.sp-instore-branches-title span {
    color: var(--sp-instore-muted);
    font-size: 11px;
    font-weight: 850;
}

.sp-instore-branches-list {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.sp-branch-card {
    border: 1px solid #e0e6f1;
    border-radius: 14px;
    background: #fff;
    padding: 10px 11px;
}

.sp-branch-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.sp-branch-name {
    display: inline-flex;
    align-items: flex-start;
    gap: 7px;
    min-width: 0;
    color: var(--sp-instore-text);
    font-size: 13px;
    font-weight: 950;
    line-height: 1.7;
}

.sp-branch-city {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--sp-instore-muted);
    font-size: 11px;
    font-weight: 850;
}

.sp-branch-info {
    display: grid;
    gap: 5px;
}

.sp-branch-line {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 7px;
    align-items: start;
    color: #2c3448;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.85;
    white-space: pre-line;
}

.sp-branch-line svg,
.sp-branch-name svg {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    color: #81899d;
    margin-top: 4px;
}

.sp-instore-empty {
    padding: 16px;
    border: 1px dashed #d8deea;
    border-radius: 14px;
    background: #fbfcff;
    color: var(--sp-instore-muted);
    text-align: center;
    font-size: 12px;
    font-weight: 750;
    line-height: 2;
}

body.sp-instore-modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .sp-instore-section-header {
        margin-bottom: 4px;
    }

    .sp-instore-topbar {
        margin-bottom: 8px;
    }

    .sp-instore-controls {
        display: none;
    }

    .sp-instore-swiper {
        padding-bottom: 10px;
    }

    .sp-instore-swiper-fallback .swiper-wrapper {
        grid-auto-columns: minmax(136px, 152px);
        gap: 9px;
    }

    .sp-instore-card {
        padding: 7px;
        border-radius: 18px;
    }

    .sp-instore-card-media {
        border-radius: 14px;
    }

    .sp-instore-card-logo {
        width: 30px;
        height: 30px;
        border-radius: 10px;
    }

    .sp-instore-branch-badge {
        min-height: 21px;
        padding: 3px 7px;
        font-size: 9.5px;
    }

    .sp-instore-card-title {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .sp-instore-chip {
        min-height: 20px;
        padding: 3px 7px;
        font-size: 9.5px;
    }

    .sp-instore-modal {
        padding: 22px 18px;
        align-items: center;
    }

    .sp-instore-dialog {
        width: calc(100vw - 38px);
        max-height: min(82dvh, 610px);
        border-radius: 22px;
    }

    .sp-instore-modal-content {
        max-height: min(82dvh, 610px);
    }

    .sp-instore-modal-banner {
        aspect-ratio: 16 / 7.2;
    }

    .sp-instore-modal-summary {
        grid-template-columns: 44px minmax(0, 1fr);
        padding: 10px 13px 8px;
    }

    .sp-instore-modal-logo {
        width: 44px;
        height: 44px;
        border-radius: 15px;
    }

    .sp-instore-detail-title {
        font-size: 16px;
    }

    .sp-instore-detail-category {
        font-size: 11px;
    }

    .sp-instore-detail-count {
        grid-column: 1 / -1;
        justify-self: start;
        min-height: 23px;
        padding: 3px 8px;
        font-size: 10.5px;
    }

    .sp-instore-detail {
        padding: 0 13px 13px;
    }

    .sp-instore-branches-title {
        padding-top: 10px;
    }

    .sp-instore-branches-title h3 {
        font-size: 14px;
    }

    .sp-branch-card {
        padding: 9px 10px;
        border-radius: 13px;
    }

    .sp-branch-main {
        margin-bottom: 5px;
    }

    .sp-branch-name {
        font-size: 12px;
    }

    .sp-branch-line {
        font-size: 11.5px;
        line-height: 1.75;
    }
}

.sp-seo-min {
    position: relative;
    overflow: hidden;
    background: transparent;
    border: 0;
}

.sp-seo-min-content {
    position: relative;
    overflow: hidden;
    max-height: 160px;
    /* فقط حدود یکی دو خط اول */
    padding-bottom: 34px;
    transition: max-height 280ms ease;
}

.sp-seo-min.is-open .sp-seo-min-content {
    max-height: 99999px;
    overflow: visible;
    padding-bottom: 12px;
}

.sp-seo-min-content h2 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.75;
    color: var(--sp-title);
}

.sp-seo-min-content h3 {
    margin: 22px 0 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.9;
    color: #1f2f4a;
}

.sp-seo-min-content h4 {
    margin: 18px 0 6px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.9;
    color: #233654;
}

.sp-seo-min-content h5 {
    margin: 14px 0 6px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.9;
    color: #233654;
}

.sp-seo-min-content p {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 400;
    line-height: 2.05;
    color: var(--sp-muted);
}

.sp-seo-alt-note {
    font-size: 11px !important;
    color: #9aa7b7 !important;
}

.sp-seo-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin: 12px 0 18px;
    border: 1px solid rgba(0, 125, 250, 0.16);
    border-radius: 14px;
}

.sp-seo-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    font-size: 12px;
    color: #33415c;
    background: #fff;
}

.sp-seo-table th,
.sp-seo-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(0, 125, 250, 0.12);
    border-left: 1px solid rgba(0, 125, 250, 0.10);
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.sp-seo-table th:last-child,
.sp-seo-table td:last-child {
    border-left: 0;
}

.sp-seo-table tr:last-child td {
    border-bottom: 0;
}

.sp-seo-table th {
    font-weight: 700;
    color: #061b3a;
    background: #f3f8ff;
}

.sp-seo-min-fade {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 24px;
    height: 56px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #f6f9ff 58%, #f6f9ff 100%);
    transition: opacity 200ms ease;
}

.sp-seo-min.is-open .sp-seo-min-fade {
    opacity: 0;
    visibility: hidden;
}

.sp-seo-min-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--sp-blue);
    font-family: var(--sp-font);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.8;
}

.sp-seo-min-toggle:hover {
    opacity: 0.86;
}

.sp-seo-min-toggle svg {
    flex: 0 0 auto;
    transition: transform 220ms ease;
}

.sp-seo-min.is-open .sp-seo-min-toggle svg {
    transform: rotate(-90deg);
}

@media (max-width: 768px) {
    .sp-section {
        padding: 18px 0 22px;
    }

    .sp-container {
        padding-inline: 14px;
    }

    .sp-seo-min-content {
        max-height: 66px;
        padding-bottom: 30px;
    }

    .sp-seo-min-content h2 {
        font-size: 17px;
        line-height: 1.85;
    }

    .sp-seo-min-content h3 {
        font-size: 14px;
        margin-top: 18px;
    }

    .sp-seo-min-content h4 {
        font-size: 13px;
    }

    .sp-seo-min-content p {
        font-size: 12px;
        line-height: 2;
    }

    .sp-seo-min-toggle {
        font-size: 12px;
    }

    .sp-seo-min-fade {
        height: 48px;
        bottom: 22px;
    }
}

/* ============================================================
   FAQ SECTION - MINIMAL
============================================================ */

.sp-faq-section {
    padding-top: 28px;
    padding-bottom: 36px;
}

.sp-faq-head {
    margin-bottom: 14px;
    text-align: center;
}

.sp-faq-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin: 0;

    color: var(--sp-navy);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.45;
}

.sp-faq-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--sp-navy);
}

.sp-faq-list {
    width: 100%;
}

.sp-faq-item {
    border-bottom: 1px solid rgba(7, 27, 58, 0.10);
}

.sp-faq-question {
    position: relative;

    width: 100%;
    min-height: 58px;
    padding: 16px 0 16px 42px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    border: 0;
    background: transparent;
    cursor: pointer;

    font-family: var(--sp-font);
    text-align: right;
}

.sp-faq-question span:first-child {
    color: #172238;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.9;
}

.sp-faq-symbol {
    position: absolute;
    left: 0;
    top: 50%;

    width: 18px;
    height: 18px;

    transform: translateY(-50%);
}

.sp-faq-symbol::before,
.sp-faq-symbol::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;

    border-radius: 999px;
    background: #172238;

    transform: translate(-50%, -50%);
    transition:
        opacity 180ms ease,
        transform 180ms ease;
}

.sp-faq-symbol::before {
    width: 11px;
    height: 1.8px;
}

.sp-faq-symbol::after {
    width: 1.8px;
    height: 11px;
}

.sp-faq-item.is-open .sp-faq-symbol::after {
    opacity: 0;
}

.sp-faq-answer {
    max-height: 0;
    overflow: hidden;

    transition: max-height 240ms ease;
}

.sp-faq-item.is-open .sp-faq-answer {
    max-height: 220px;
}

.sp-faq-answer-inner {
    padding: 0 0 16px 0;

    color: #6f7d92;
    font-size: 13px;
    font-weight: 400;
    line-height: 2.05;
}

.sp-faq-question:hover span:first-child {
    color: var(--sp-blue);
}

@media (max-width: 768px) {
    .sp-faq-section {
        padding-top: 22px;
        padding-bottom: 28px;
    }

    .sp-faq-head {
        margin-bottom: 10px;
    }

    .sp-faq-title {
        font-size: 22px;
        gap: 6px;
    }

    .sp-faq-title-icon svg {
        width: 18px;
        height: 18px;
    }

    .sp-faq-question {
        min-height: 52px;
        padding: 13px 0 13px 34px;
    }

    .sp-faq-question span:first-child {
        font-size: 13px;
        line-height: 1.9;
    }

    .sp-faq-symbol {
        width: 16px;
        height: 16px;
    }

    .sp-faq-symbol::before {
        width: 10px;
    }

    .sp-faq-symbol::after {
        height: 10px;
    }

    .sp-faq-answer-inner {
        padding-bottom: 14px;
        font-size: 12px;
        line-height: 2;
    }
}