/* develope By Package +201002241591  3lwaaa@gmail.com - https://wa.me/201002241591 */
@import url(https://raw.githack.com/elwa2/cssres/main/organicfoood.css);:root {
    --font-main: 'Tajawal';
    --color-primary: #7dc145;
    --bg-primary: #ffffff;
    --bg-secondary: #ffffff;
    --header-bg: #0f9147;
    --header-text-color: #ffffff;
    /* --store-text-primary: #111827; */
    --store-text-secondary: #7dc145;
    --product-bg: #ffffff;
    --color-primary-dark: #008533;
    --color-primary-light: #2dd17f;
    --color-primary-reverse: #d3ffff;
    --product-image-height: 17rem;
    --product-border-color: #eeeeee;
    --product-enhanced-btn-bg: #3a8772;
    --product-enhanced-btn-color: #ffffff;
    --products-per-row: 4;
    --footer-bg: #f3f4f6;
    --footer-text-color: #374151;
    --bottom-footer-bg: #F9FAFB;
    --countdown-bg: #f3f4f6;
    --countdown-color: #111827;
    --countdown-border-color: #f3f4f6;
    --bottom-nav-bg: #ffffff;
    --bottom-nav-text-color: #111827;
    --wa-btn-bg: #0f9147;
    --wa-btn-text-color: #ffffff;
    --1:#0f9147;
    --logo: url("https://cdn.salla.sa/form-builder/cVkxVfLDPug53enZYsd6R4mLkf2HvwTvNEWNDwS5.png");
}

@media (max-width: 767px) {
    div.app-inner.flex.flex-col.min-h-full.bg-storeBG > footer > div > div.store-footer__inner > div > div.lg\:-mt-\[45px\].relative.z-\[1\].lg\:col-\[2\] > a:before {
        max-height: 8rem !important;
        width: 12rem;
        top: -3rem;
    }
}

#app > div.app-inner.flex.flex-col.min-h-full.bg-storeBG > footer > div > div.store-footer__inner > div > div.lg\:-mt-\[45px\].relative.z-\[1\].lg\:col-\[2\] > p {
    color: #7dc145;
}

@media (min-width: 1024px) {
    .lg\:grid-cols-5 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .grid-cols-2 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.s-button-primary-outline {
    /* fill: #414042; */
    fill: var(--color-primary);
    /* color: #414042; */
    color: #fff;
    background: var(--color-primary);
    border-radius: 36px;
}

.product-card__enhanced-mini-cart button.s-button-element {
    background: #0f9147 !important;
    color: #fff !important;
    border-radius: 29px;
}

@media (min-width: 750px) {
    .s-block.s-block--square-links:nth-of-type(8) .lg\:grid-cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .main-nav-container.fixed-pinned .main-menu>li>a {
        padding-top: 13px;
        padding-bottom: 5px;
    }
}

section.advanced-slider {
    /* margin-top: 80px; */
}

h2.text-3xl.font-bold.tracking-tight.text-store-text-primary.sm\:text-4xl {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 33rem;
    margin: auto;
}

@media (max-width: 1024px) {
    h2.text-3xl.font-bold.tracking-tight.text-store-text-primary.sm\:text-4xl {
        width: 20rem;
    }
}

@media only screen and (min-width: 1024px) {
    .main-menu li.root-level>a {
        padding-top: 0px;
        padding-bottom: 1rem;
        font-weight: 700;
    }

    #app > div.app-inner.flex.flex-col.min-h-full.bg-storeBG > section.advanced-slider.advanced-slider--0.auto-height {
        /* margin-top: 73px; */
    }
}

salla-slider .slide--one-fourth {
    width: 37%;
}

@media (min-width: 1024px) {
    salla-slider .slide--one-fourth {
        width: 17%;
    }
}

@media (max-width: 1024px) {
    .product-card__enhanced-mini-cart button.s-button-element i {
        color: transparent !important;
        display: none;
    }

    .product-card__enhanced-mini-cart__btn--inner {
        margin: auto;
        text-align: center;
    }

    span.rtl\:mr-auto.ltr\:ml-auto.enhanced-label {
        margin: auto;
    }
}

body.index .s-button-primary-outline,.s-button-primary {
    
    position: relative;
     border: 2px solid var(--1);
    border-radius: 0.5rem;
    background:  var(--1);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateZ(0);
    overflow: hidden;
    isolation: isolate;
}

/* Hover Effect */
body.index .s-button-primary-outline:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 20px -10px rgb(15 145 71 / 39%);
}

/* Active State */
body.index .s-button-primary-outline:active {
    transform: translateY(1px) scale(0.98);
}

/* Shine Effect */
body.index .s-button-primary-outline::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient( 30deg, transparent 25%, rgba(255, 255, 255, 0.2) 50%, transparent 75% );
    transform: translateX(-100%) rotate(25deg);
    transition: transform 0.6s ease-in-out;
    z-index: -1;
}

body.index .s-button-primary-outline:hover::after {
    transform: translateX(100%) rotate(25deg);
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.2);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(37, 99, 235, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

body.index .s-button-primary-outline:focus {
    outline: none;
    animation: pulse 1.5s infinite;
}

/* Loading Animation */
body.index .s-button-primary-outline.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* استهداف الزر الداخلي بشكل مباشر */
body.index .s-button-primary-outline.s-button-element {
    position: relative;
    overflow: visible;
    --primary-color: var(--1);
    --glow-color: rgb(150 221 82 / 44%);
    transition: all 0.3s ease !important;
}

/* تأثير الجلو */
body.index .s-button-primary-outline.s-button-element::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 0.5rem;
    border: 2px solid var(--glow-color);
    animation: glowPulse 2s infinite linear;
    opacity: 0;
}

@keyframes glowPulse {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

/* تأثيرات الـ Hover */
body.index .s-button-primary-outline.s-button-element:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px var(--glow-color) !important;
}

/* إصلاح التداخل مع عناصر المكتبة */
body.index .s-button-primary-outline.s-button-element * {
    position: relative;
    z-index: 2;
}

/* استهداف جميع أزرار s-button-primary */
body.index .s-button-primary.s-button-element ,.s-button-primary {
    position: relative;
    overflow: visible !important;
    --primary-color: #0f9147;
    --glow-color: rgb(125 193 69 / 38%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* تأثير الجلو المعدل */
body.index .s-button-primary.s-button-element::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 0.6rem;
    border: 3px solid var(--glow-color);
    animation: enhancedGlow 1.5s infinite ease-in-out;
    opacity: 0;
    z-index: 1;
}

@keyframes enhancedGlow {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        transform: scale(1.02);
    }

    100% {
        opacity: 0;
        transform: scale(1.05);
    }
}

/* تأثيرات الـ Hover المطورة */
body.index .s-button-primary.s-button-element:hover {
    transform: translateY(-3px) scale(1.03) !important;
    box-shadow: 0 8px 25px -5px var(--glow-color) !important;
    z-index: 2;
}

/* تأثير الضغط */
body.index .s-button-primary.s-button-element:active {
    transform: translateY(1px) scale(0.98) !important;
    transition-duration: 0.1s !important;
}

/* تحسينات الطبقات */
body.index .s-button-primary.s-button-element > * {
    position: relative;
    z-index: 3;
}

section#best-offers-3-slider .swiper-wrapper.s-slider-swiper-wrapper {
    justify-content: center;
}

body.products-has-border .product-card {
    border: 1px solid #0e4a3e;
}

.store-footer__contacts-row {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 40px;
    padding-top: 0;
}

.product-card--primary-buttons button, .product-card--primary-buttons salla-button {
    border-color: #414042 !important;
    border-color: var(--color-primary) !important;
    color: #414042 !important;
    color: #ffffff !important;
}

.product-card--primary-buttons button i, .product-card--primary-buttons salla-button i {
    color: #414042 !important;
    color: #ffffff !important;
}

button.tab-trigger.\!text-lg.s-button-element.s-button-btn.s-button-outline.s-button-primary-outline.s-button-loader-after.inactive {
    opacity: 1;
}

.tabs-wrapper .tabs__item {
    display: block;
    opacity: 1;
}

.tabs-wrapper {
    display: flex;
    flex-direction: column;
}

.tabs-wrapper .tabs__item.is-active {
    order: 2;
}

.tabs.hide-scroll.justify-center {
    display: none;
}

body {
    font-size: 15px;
    font-weight: 400;
    line-height: 26px;
    color: #231f1e;
    color: #ffffff;
    position: relative;
}

.store-footer a.footer-logo img,.navbar-brand img,.store-footer .footer-container .logo-footer .foo {
    max-height: 3rem !important;
    content: var(--logo) !important;
}

body.index div.app-inner.flex.flex-col.min-h-full.bg-storeBG > footer > div > div.store-footer__inner > div > div.lg\:-mt-\[45px\].relative.z-\[1\].lg\:col-\[2\] > a {
    filter: brightness(17.5);
}

body.index .main-nav-container.fixed-pinned.animated.fixed-header .navbar-brand {
    filter: none
}

body.index .navbar-brand img {
    filter: brightness(17.5) !important;
}

body.index .main-nav-container.fixed-pinned.animated.fixed-header .navbar-brand img {
    filter: none !important;
}

body.index .store-footer a.footer-logo img {
    filter: none !important;
}

section#best-offers-3-slider {}
.flex.items-center.justify-center.w-10.h-10.mx-auto.mb-3.rounded-full.sm\:w-12.sm\:h-12 {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #7dc144;
    background-size: cover;
    background-position: center;
}

 div.app-inner.flex.flex-col.min-h-full.bg-storeBG > section.px-4.s-block.s-block--stats.container.sm\:max-w-xl.md\:max-w-full.lg\:max-w-screen-xl.md\:px-24.lg\:px-8 > div > div > div:nth-child(2) > div  {
    background-image: url('https://cdn.salla.sa/form-builder/BDFHe6L17JXGOvq0TD6HR3S33Nxwg7EtFDIAXGh8.gif');
    background-color: ;
}

div.app-inner.flex.flex-col.min-h-full.bg-storeBG > section.px-4.s-block.s-block--stats.container.sm\:max-w-xl.md\:max-w-full.lg\:max-w-screen-xl.md\:px-24.lg\:px-8 > div > div > div:nth-child(1) > div  {
    background-image: url('https://cdn.salla.sa/form-builder/qF3yu8L0aHS4KWW8kvldvKvnXc1Q1jRvkaJnwn13.gif');
}

div.app-inner.flex.flex-col.min-h-full.bg-storeBG > section.px-4.s-block.s-block--stats.container.sm\:max-w-xl.md\:max-w-full.lg\:max-w-screen-xl.md\:px-24.lg\:px-8 > div > div > div:nth-child(3) > div {
    background-image: url('https://cdn.salla.sa/form-builder/uH8EGD0TqNPQWoiUoW7cfQtrOvtUnYdvn6NwmtHG.gif');
}
 
#app > div.app-inner.flex.flex-col.min-h-full.bg-storeBG > section.px-4.s-block.s-block--stats.container.sm\:max-w-xl.md\:max-w-full.lg\:max-w-screen-xl.md\:px-24.lg\:px-8 > div > div > div:nth-child(n) > div > i {
    font-size: 0;
}