@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap');

/** start of hero section**/
/** === Top bar (above h1) === */
.advanced-slider .swiper .swiper-slide-active h2 {
    line-height: 1.5;
}

.hero-features-bar {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 16px;
    direction: rtl;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-feature img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.hero-feature span {
    color: #7d858d !important;
    font-size: 20px;
    font-weight: 400;
    white-space: nowrap;
}

.hero-features-divider {
    color: #7d858d !important;
    font-size: 24px;
    user-select: none;
}

/* === Bottom bar (under h2) === */
.hero-highlights-bar {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    margin-top: 16px;
    margin-bottom: 8px;
    direction: rtl;
}

.hero-highlight {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-highlight img {
    width: 43px;
    height: 43px;
    object-fit: contain;
}

.hero-highlight span {
    color: #b9c1c9 !important;
    font-size: 24px;
    font-weight: 600;
    white-space: nowrap;
}

/* === Rating bar (under highlights) === */
.hero-rating-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 8px;
    direction: rtl;
}

.hero-rating-bar .hero-rating-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.hero-rating-bar .hero-rating-stars svg {
    width: 24px;
    height: 24px;
}

.hero-rating-bar .hero-rating-score {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 20px;
    font-weight: 700;
}

.hero-rating-bar .hero-rating-text {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 20px;
    font-weight: 500;
}

.advanced-slider .swiper .swiper-slide-active .advanced-slider__caption__inner__content__button {
    animation: fadeInUp 0.4s ease-in-out backwards;
    animation-delay: 0.4s;
    padding: 10px 20px;
    border-radius: 10px !important;
    background-color: black !important;
    overflow: hidden;
    color: white;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid #666666;
}

.advanced-slider__caption__inner__content__button span::before {
    content: "\e96b";
    font-family: sallaicons !important;
    margin-inline: 5px;
    font-weight: 400 !important;
}

/* === Trust badge (after button) === */
.hero-trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    direction: rtl;
}

.hero-trust-badge img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.hero-trust-badge span {
    color: white !important;
    font-size: 1rem;
    white-space: nowrap;
}

/* === Animations === */

.advanced-slider .swiper .swiper-slide-active .hero-features-bar {
    animation: fadeInDown 0.4s ease-in-out backwards;
}

.advanced-slider .swiper .swiper-slide-active .hero-highlights-bar {
    animation: fadeInUp 0.4s ease-in-out backwards;
    animation-delay: 0.15s;
}

.advanced-slider .swiper .swiper-slide-active .hero-rating-bar {
    animation: fadeInUp 0.4s ease-in-out backwards;
    animation-delay: 0.3s;
}

.advanced-slider .swiper .swiper-slide-active .hero-trust-badge {
    animation: fadeInUp 0.4s ease-in-out backwards;
    animation-delay: 0.45s;
}

@media (max-width: 1024px) {
    .advanced-slider__slide {
        padding-block: 48px;
    }

    .advanced-slider .swiper .swiper-slide-active h2 {
        max-width: 275px;
        font-size: 31px;
        font-weight: bold;
    }

    .hero-features-bar,
    .hero-highlights-bar,
    .hero-rating-bar {
        padding: 0;
        margin: 0;
    }

    .hero-feature span {
        font-size: 10px;
        color: #c3cbd3 !important;
    }

    .hero-features-divider {
        font-size: 10px;
    }

    .hero-feature img {
        width: 12px;
        height: 12px;
    }

    .hero-highlights-bar {
        gap: 5px;
    }

    .hero-highlight span {
        font-size: 11px;
        color: white !important;
        font-weight: 400;
    }

    .hero-highlight img {
        width: 20px;
        height: 20px;
    }

    .hero-rating-bar .hero-rating-stars svg {
        width: 15px;
        height: 15px;
    }

    .hero-rating-bar .hero-rating-score {
        font-size: 13px;
        color: white !important;
    }

    .hero-rating-bar .hero-rating-text {
        font-size: 13px;
        color: white !important;
    }

    .hero-trust-badge {
        gap: 5px;
    }

    .hero-trust-badge img {
        width: 12px;
        height: 12px;
    }

    .hero-trust-badge span {
        font-size: 12px;
        color: white !important;
    }
}

/** end of hero section**/
/** start of cats section **/
.cats ul {
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(130px, 220px));
}

@media (max-width: 1024px) {
    .cats ul {
        grid-template-columns: repeat(auto-fit, minmax(130px, 150px)) !important;
    }
}

.cats .overflow-hidden {
    border-radius: 23px;
}

/** end of cats section **/
/** start of brands section **/
.s-block--animated-brands--marquee .marquee__group[aria-hidden="true"] {
    display: none !important;
}

.s-block--animated-brands--marquee .marquee__group {
    animation: none;
}

.s-block--animated-brands--marquee {
    justify-content: center;
}

.s-block--animated-brands h2::after {
    content: "أنظمة دفع موثوقة تحافظ على معلوماتك بكل أمان ";
    display: block;
    font-size: 0.75em;
    color: #141414;
    font-weight: 400;
    margin-top: 10px;
}

.s-block--animated-brands span {
    display: none;
}

/** end of brands section **/
/** start of products section **/
.s-products-slider-card {
    --tw-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
    box-shadow:
        var(--tw-ring-offset-shadow, 0 0 transparent),
        var(--tw-ring-shadow, 0 0 transparent), var(--tw-shadow);
}

.product-card .s-rating-stars-wrapper {
    flex-wrap: nowrap;
}

.product-card__normal-cart {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 8px;
}

.product-card__normal-cart .s-button-icon {
    border: 0;
}

.product-card__normal-cart .sicon-heart {
    font-size: 24px;
}

.product-card__normal-cart .sicon-shopping::before {
    content: "\e96b";
}

.s-button-outline .s-button-text {
    flex-direction: row-reverse;
}

.s-button-btn.s-button-primary-outline {
    background-color: black;
    color: white;
    border-radius: 10px;
    padding-block: 1rem;
    border: 1px solid black;
}

.s-button-btn.s-button-primary-outline:hover {
    background-color: white;
    color: black;
}

.product-card__buttons .wishlist {
    display: none;
}

/** end of products section **/
/** start of about section **/
.why-us {
    padding: 0;
}

.why-us .container {
    max-width: 1200px;
}

.why-us .container .flex {
    justify-content: center;
    align-items: flex-end;
}



.why-us h3 {
    font-size: 45px;
    line-height: 1.5;
    color: black !important;
    opacity: 1;
    font-weight: 700;
}

.why-us .text-store-text-primary {
    font-size: 27px;
    line-height: 1.5;
}

#about-3 .md\:w-7\/12 {
    background-image: url("https://i.ibb.co/Hpr3pQVy/image-149.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    padding: 40px;
    background-position: right bottom;
}

.why-us a {
    border-radius: 10px !important;
}

@media (max-width: 1024px) {
    .why-us h3 {
        font-size: 20px;
    }

    .why-us .text-store-text-primary {
        font-size: 20px;
    }
}

/** end of about section **/
/** start of feats section **/
.feats .grid {
    justify-content: center;
    grid-template-columns: repeat(3, minmax(0, 300px));
}

.feats .s-block--enhanced-features__item {
    border-radius: 20px !important;
}

@media (max-width: 1024px) {
    .feats .grid {
        grid-template-columns: repeat(1, minmax(0, 400px));
    }

    .s-block--enhanced-features__item:first-child {
        grid-column: span 1 / span 1;
    }
}

/** end of feats section **/
/** start of discount section **/
/** start of hero section**/
/** === Top bar (above h1) === */
.advanced-slider .swiper .swiper-slide-active h2 {
    line-height: 1.5;
}

.hero-features-bar {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 16px;
    direction: rtl;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-feature img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.hero-feature span {
    color: #7d858d !important;
    font-size: 20px;
    font-weight: 400;
    white-space: nowrap;
}

.hero-features-divider {
    color: #7d858d !important;
    font-size: 24px;
    user-select: none;
}

/* === Bottom bar (under h2) === */
.hero-highlights-bar {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    margin-top: 16px;
    margin-bottom: 8px;
    direction: rtl;
}

.hero-highlight {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-highlight img {
    width: 43px;
    height: 43px;
    object-fit: contain;
}

.hero-highlight span {
    color: #b9c1c9 !important;
    font-size: 24px;
    font-weight: 600;
    white-space: nowrap;
}

/* === Rating bar (under highlights) === */
.hero-rating-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 8px;
    direction: rtl;
}

.hero-rating-bar .hero-rating-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.hero-rating-bar .hero-rating-stars svg {
    width: 24px;
    height: 24px;
}

.hero-rating-bar .hero-rating-score {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 20px;
    font-weight: 700;
}

.hero-rating-bar .hero-rating-text {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 20px;
    font-weight: 500;
}

.advanced-slider .swiper .swiper-slide-active .advanced-slider__caption__inner__content__button {
    animation: fadeInUp 0.4s ease-in-out backwards;
    animation-delay: 0.4s;
    padding: 10px 20px;
    border-radius: 10px !important;
    background-color: black !important;
    overflow: hidden;
    color: white;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid #666666;
}

.advanced-slider__caption__inner__content__button span::before {
    content: "\e96b";
    font-family: sallaicons !important;
    margin-inline: 5px;
    font-weight: 400 !important;
}

/* === Trust badge (after button) === */
.hero-trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    direction: rtl;
}

.hero-trust-badge img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.hero-trust-badge span {
    color: white !important;
    font-size: 1rem;
    white-space: nowrap;
}

/* === Animations === */

.advanced-slider .swiper .swiper-slide-active .hero-features-bar {
    animation: fadeInDown 0.4s ease-in-out backwards;
}

.advanced-slider .swiper .swiper-slide-active .hero-highlights-bar {
    animation: fadeInUp 0.4s ease-in-out backwards;
    animation-delay: 0.15s;
}

.advanced-slider .swiper .swiper-slide-active .hero-rating-bar {
    animation: fadeInUp 0.4s ease-in-out backwards;
    animation-delay: 0.3s;
}

.advanced-slider .swiper .swiper-slide-active .hero-trust-badge {
    animation: fadeInUp 0.4s ease-in-out backwards;
    animation-delay: 0.45s;
}

@media (max-width: 1024px) {
    .advanced-slider__slide {
        padding-block: 48px;
    }

    .advanced-slider .swiper .swiper-slide-active h2 {
        max-width: 275px;
        font-size: 31px;
        font-weight: bold;
    }

    .hero-features-bar,
    .hero-highlights-bar,
    .hero-rating-bar {
        padding: 0;
        margin: 0;
    }

    .hero-feature span {
        font-size: 10px;
        color: #c3cbd3 !important;
    }

    .hero-features-divider {
        font-size: 10px;
    }

    .hero-feature img {
        width: 12px;
        height: 12px;
    }

    .hero-highlights-bar {
        gap: 5px;
    }

    .hero-highlight span {
        font-size: 11px;
        color: white !important;
        font-weight: 400;
    }

    .hero-highlight img {
        width: 20px;
        height: 20px;
    }

    .hero-rating-bar .hero-rating-stars svg {
        width: 15px;
        height: 15px;
    }

    .hero-rating-bar .hero-rating-score {
        font-size: 13px;
        color: white !important;
    }

    .hero-rating-bar .hero-rating-text {
        font-size: 13px;
        color: white !important;
    }

    .hero-trust-badge {
        gap: 5px;
    }

    .hero-trust-badge img {
        width: 12px;
        height: 12px;
    }

    .hero-trust-badge span {
        font-size: 12px;
        color: white !important;
    }
}

/** end of hero section**/
/** start of cats section **/
.cats ul {
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(130px, 220px));
}

@media (max-width: 1024px) {
    .cats ul {
        grid-template-columns: repeat(auto-fit, minmax(130px, 150px)) !important;
    }
}

.cats .overflow-hidden {
    border-radius: 23px;
}

/** end of cats section **/
/** start of brands section **/
.s-block--animated-brands--marquee .marquee__group[aria-hidden="true"] {
    display: none !important;
}

.s-block--animated-brands--marquee .marquee__group {
    animation: none;
}

.s-block--animated-brands--marquee {
    justify-content: center;
}

.s-block--animated-brands h2::after {
    content: "أنظمة دفع موثوقة تحافظ على معلوماتك بكل أمان ";
    display: block;
    font-size: 0.75em;
    color: #141414;
    font-weight: 400;
}

.s-block--animated-brands span {
    display: none;
}

/** end of brands section **/
/** start of products section **/
.s-products-slider-card {
    --tw-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
    box-shadow:
        var(--tw-ring-offset-shadow, 0 0 transparent),
        var(--tw-ring-shadow, 0 0 transparent), var(--tw-shadow);
}

.product-card .s-rating-stars-wrapper {
    flex-wrap: nowrap;
}

.product-card__normal-cart {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 8px;
}

.product-card__normal-cart .s-button-icon {
    border: 0;
}

.product-card__normal-cart .sicon-heart {
    font-size: 24px;
}

.product-card__normal-cart .sicon-shopping::before {
    content: "\e96b";
}

.s-button-outline .s-button-text {
    flex-direction: row-reverse;
}

.s-button-btn.s-button-primary-outline {
    background-color: black;
    color: white;
    border-radius: 10px;
    padding-block: 1rem;
    border: 1px solid black;
}

.s-button-btn.s-button-primary-outline:hover {
    background-color: white;
    color: black;
}

.product-card__buttons .wishlist {
    display: none;
}

.quickview-btn .s-button-btn.s-button-primary-outline {
    background-color: white;
    color: black;
    border-radius: 10px;
    padding-block: 1rem;
    border: 1px solid black;
}

.quickview-btn .s-button-btn.s-button-primary-outline:hover {
    background-color: black;
    color: white;
}

/** end of products section **/
/** start of about section **/
.why-us {
    padding: 0;
}

.why-us .container {
    max-width: 1366px;
}

.why-us .container .flex {
    justify-content: center;
    align-items: flex-end;
}

.why-us h3 {
    font-size: 45px;
    line-height: 1.5;
    color: black !important;
    opacity: 1;
    font-weight: 700;
}

.why-us .text-store-text-primary {
    font-size: 27px;
    line-height: 1.5;
}

#about-3 .md\:w-7\/12 {
    background-image: url("https://i.ibb.co/Hpr3pQVy/image-149.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    padding: 40px;
    background-position: right bottom;
}

.why-us a {
    border-radius: 10px !important;
}

@media (max-width: 1024px) {
    .why-us h3 {
        font-size: 20px;
    }

    .why-us .text-store-text-primary {
        font-size: 20px;
    }
}

/** end of about section **/
/** start of feats section **/
.feats .grid {
    justify-content: center;
    grid-template-columns: repeat(3, minmax(0, 300px));
}

.feats .s-block--enhanced-features__item {
    border-radius: 20px !important;
}

@media (max-width: 1024px) {
    .feats .grid {
        grid-template-columns: repeat(1, minmax(0, 400px));
    }

    .s-block--enhanced-features__item:first-child {
        grid-column: span 1 / span 1;
    }
}

/** end of feats section **/
/** start of discount section **/
.discount_banner>.container {
    padding: 0;
}

.discount_banner {
    padding: 0 !important;
    position: relative;
}

.discount_banner .flex {
    flex-direction: row !important;
    align-items: center !important;
}

/* === Text Side === */
.discount_banner .md\:w-7\/12 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    direction: rtl;
    position: relative;
}

.discount_banner .md\:w-7\/12>div {
    flex-direction: row-reverse;
}

.discount_banner h3 {
    text-align: center;
    margin-inline: auto;
    max-width: 340px;
    color: black;
    font-size: 3.2rem !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    margin-bottom: 0 !important;
    width: auto;
    opacity: 1;
}

.discount_banner .discount-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    margin-right: 20px;
}

.discount_banner .discount-top {
    display: flex;
    align-items: flex-end;
}

.discount_banner .discount-number {
    font-size: 153px;
    font-weight: 500 !important;
    line-height: 1;
    position: relative;
    color: black;
}

.discount_banner .discount-percent {
    position: absolute;
    right: -44px;
    bottom: 0;
    height: 130px;
    object-fit: contain;
}

.discount_banner .discount-label {
    font-size: 15px;
    font-weight: bold;
    color: #656565;
    max-width: 60px;
    line-height: 1.2;
    text-align: center;
}

.discount_banner h2,
.discount_banner p:not(.discount-label) {
    display: none !important;
}

.discount_banner .btn {
    background-color: transparent !important;
    border: 2px solid black !important;
    color: black !important;
    border-radius: 0 !important;
    margin-top: 0 !important;
    padding: 10px 30px !important;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.discount_banner .btn:hover {
    background-color: black !important;
    color: white !important;
}

@media (max-width: 1024px) {
    .discount_banner .flex {
        flex-direction: column-reverse !important;
    }

    .discount_banner .md\:w-5\/12,
    .discount_banner .md\:w-7\/12 {
        width: 100% !important;
        justify-content: center;
    }

    .discount_banner h3 {
        font-size: 1.5rem !important;
        text-align: center;
    }

    .discount_banner .discount-number {
        font-size: 4rem !important;
    }

    .discount_banner .discount-percent {
        height: 4rem;
        right: -20px;
    }

    .discount_banner .discount-label {
        font-size: 0.8rem;
    }

    .discount_banner h3 {
        font-size: 2rem !important;
        max-width: 200px;
    }
}

/** end of discount section **/
/** start of double banners section **/
.double-banners {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    direction: rtl;
}

.double-banner-card {
    flex: 1;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 280px;
    max-width: 667px;
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    animation: fadeInUp 0.5s ease-in-out backwards;
}

.double-banner-card-1 {
    justify-content: flex-end;
    padding-inline-end: 100px;
}

.double-banner-card-2 {
    justify-content: flex-start;
    padding-inline-start: 100px;
}

.double-banner-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.double-banner-card-content {
    text-align: center;
    padding: 20px;
}

.double-banner-card-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin: 0;
}

.double-banner-card-title span {
    display: block;
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.3;
}


@media (max-width: 1024px) {
    .double-banners {
        flex-direction: column;
    }

    .double-banner-card {
        min-height: 200px;
    }

    .double-banner-card-title span {
        font-size: 1.5rem;
    }
}

/** end of double banners section **/
/** start of why us 2 section **/
.why-us2>.container {
    padding: 0;
    max-width: 1200px;
}

.why-us2 {
    padding: 0 !important;
    position: relative;
}

.why-us2 .container {
    background-image: url("https://i.ibb.co/Hpr3pQVy/image-149.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-position: right bottom;
    text-align: center;
}


.why-us2 h2 {
    color: #fff;
    background: #fa412c;
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid white;
    border-radius: 8px;
    font-size: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.why-us2 p {
    font-size: 1.8rem;
    line-height: 1.6;
    margin-inline: auto;
    max-width: 500px;
}

.why-us2 p b {
    font-weight: 700;
    color: #000;
}

@media (max-width: 1024px) {
    .why-us2 .container {
        background-size: 50%;
        padding: 20px;
    }

    .why-us2 h2 {
        font-size: 1.3rem;
    }

    .why-us2 p {
        font-size: 1.1rem;
        max-width: 300px;
    }
}

/** end of why us 2 section **/
/** start of enhanced features section **/
.feats-2::before {
    content: "مميزاتنا.!";
    display: flex;
    justify-content: center;
    color: #141414;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.feats-2 .s-block--enhanced-features__item {
    border: 0;
    box-shadow: unset;
}

@media (max-width: 1024px) {
    .feats-2::before {
        font-size: 1.3rem;
    }
}

/** end of enhanced features section **/
.custom_test .review>.flex {
    flex-direction: column-reverse !important;
}

/** start of product page **/
@media (max-width: 768px) {
    .products-index .s-block--fixed-banner img {
        content: url("https://i.ibb.co/XrpPcSSq/Frame-1618871842-3.png");
    }
}

.features-section {
    padding: 40px 0;
    background: #fff;
    direction: rtl;
}

.features-section .features-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.features-section .feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 300px;
    flex: 1;
}

.features-section .feature-icon {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.features-section .feature-icon img {
    width: 78px;
    height: 78px;
    object-fit: contain;
}

.features-section .feature-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.features-section .feature-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .features-section .features-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .features-section .feature-card {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    .features-section .feature-icon {
        width: 65px;
        height: 65px;
    }

    .features-section .feature-icon img {
        width: 60px;
        height: 60px;
    }

    .features-section .feature-title {
        font-size: 1rem;
    }

    .features-section .feature-desc {
        font-size: 0.8rem;
    }
}

.product-single .s-payments-list-item {
    height: unset;
    width: 4rem;
}

.custom-payments-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px 0;
}

.custom-payments-row img {
    max-width: 100px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .custom-payments-row img {
        max-width: 55px;
    }
}

.product-single .s-rating-stars-wrapper {
    margin-block: 1rem;
}

.product-single .product-single__info {
    position: relative;
}


.product-sale-badge {
    position: relative;
    display: flex;
    align-items: center;
    position: absolute;
    left: 0;
    padding: 5px 10px;
    color: #21930a !important;
    font-weight: bold !important;
    font-size: 0.9rem !important;

    z-index: 1;
}

.product-sale-badge::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%2321930AFF' stroke-width='4' stroke-dasharray='17' stroke-dashoffset='27' stroke-linecap='square'/%3e%3c/svg%3e");
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.product-sale-badge span {
    color: #21930a !important;
    font-weight: bold !important;
    font-size: 0.9rem !important;
}

.product-sale-badge span svg {
    display: none !important;
}

.product-count-sale::after {
    content: "هذا المنتج ";
    display: inline-block;
}

.product-single .total-price {
    color: #e70303;
    font-size: 24px;
}

.product-single__discounted-amount {
    display: none !important;
}

/* .product-price-top {
    position: relative;
}

.product-single .product-price-top::after {
    content: "100% من المقيمين ينصحون بهذا المنتج";
    display: block;
    color: #21930a;
    font-size: 1rem;
    font-weight: bold;
    margin-block: 1rem;
    font-family: var(--font-main);
} */

.product-single .s-add-product-button-main button {
    border-radius: 12px !important;
    padding-block: 19px !important;
    max-height: 56px !important;
}

.product-single .s-add-product-button-main button:first-of-type {
    color: #fff !important;
    border: 1px solid black;
}

.product-single .s-add-product-button-main button:first-of-type:hover {
    background-color: white;
    border-color: black;
    color: black !important;
}

.product-single .s-add-product-button-main .s-add-product-button-mini-checkout {
    --salla-fast-checkout-button-border-radius: 12px !important;
}

@media (max-width: 1024px) {
    .product-single .s-add-product-button-main button {
        max-height: 50px !important;
    }
}

.product-viewers-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4C4C4C;
    font-size: 0.8rem;
    font-weight: bold;
    padding-inline: 1.25rem;
}

.product-viewers-badge img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.product-single .swiper-autoheight,
.product-single .swiper-autoheight .swiper-slide {
    max-height: 550px;
    height: 100%;
}

.product-single .s-slider-horizontal .s-slider-thumbs {
    margin-top: -1rem;
}

.product-single .s-slider-thumbs .swiper-slide {
    height: 150px !important;
    max-width: 120px !important;
    width: 100% !important;
}

@media (max-width: 1024px) {

    .product-single .swiper-autoheight,
    .product-single .swiper-autoheight .swiper-slide {
        max-height: 410px;
    }
}

.s-gifting-widget button {
    background-color: white !important;
    color: #277E2A !important;
    padding-block: 1rem !important;
    border: 2px solid #277E2A !important;
    border-radius: 12px !important;
}

.s-gifting-widget button span,
.s-gifting-widget .s-list-tile-item-subtitle {
    font-weight: bold !important;
}

.product-single__inner .s-button-btn {
    border-radius: 12px !important;
}

.s-gifting-widget button:hover {
    background-color: #277E2A !important;
    color: white !important;
}

@media (max-width: 1024px) {
    .share-row-mobile {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
}

.product-single .flex.items-center.justify-between.mb-5:has(.btn--wishlist) {
    display: none !important;
}

.social-share-row {
    padding: 1.25rem;
    justify-content: flex-end;
}

@media (max-width: 1024px) {
    .social-share-row {
        justify-content: flex-start;
    }
}

/** end of product page **/