/* Developed By Package +201002241591 - 3lwaaa@gmail.com - https://wa.me/201002241591 */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap');

salla-add-product-button .s-add-btn {
    font-family: 'Tajawal', 'Neo Sans Arabic', sans-serif !important;
    direction: rtl !important;
    unicode-bidi: bidi-override !important;
}

/* Base Styles */
@import url(https://raw.githack.com/elwa2/cssres/main/freeraed.css);

:root {
    --color-primary: #6B7D55;
    --color-primary-dark: #4f5d3f;
    --color-primary-light: #a2b08b; /* اللون الفاتح الجديد */
    --color-secondary: #8FA67B; /* اللون الفرعي الجديد */
    --color-primary-reverse: #ffffff;
    --1: #6B7D55;
    --2: #4f5d3f;
    --3: #384730;
    --4: #ffffff;
}

/* Fonts */
@font-face {
    font-family: "GESSTextMedium";
    src: url("https://alfont.com/wp-content/fonts/thulth-arabic-fonts//alfont_com_Cadillac-Sans-Arabic-Medium.ttf");
}

body, html {
    background-color: #ffffff !important;
}

body, *:not(i) {
    font-family: "GESSTextMedium" !important;
}

/* Header Styles */
header.store-header .inner.bg-inherit {
    background: var(--1) !important;
    position: relative;
    z-index: 2;
}

header.store-header img {
    width: 160px !important;
    max-height: 80px !important;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Logo Animation */
@keyframes pulseLogo {
    0% { transform: scale(1); }
    50% { transform: scale(1.9); }
    100% { transform: scale(1); }
}

.animated-logo {
    animation: pulseLogo 2.5s infinite;
    transition: transform 0.3s ease-in-out;
}

/* Navigation Styles */
.mm-spn.mm-spn--light,
.s-slider-nav-arrow,
.top-navbar,
.footer-is-light .store-footer .store-footer__inner,
.footer-is-light .store-footer {
    background: var(--1) !important;
    color: #ffffff !important;
}

i.sicon-menu.text-primary.text-2xl,
button.undefined.s-button-element,
.main-menu li>a,
a.topnav-link-item.right-side,
.header-btn__icon,
.topnav-link-item,
.s-cart-summary-total,
.store-footer h3,
p.max-w-sm.leading-6.mb-6,
p.text-sm.text-text-grey.mb-1,
b.text-sm,
.store-footer a {
    color: #ffffff !important;
}

.main-menu .has-children li a,
.main-menu .has-children .has-children:hover>a {
    color: var(--1);
}

.main-menu>.has-children:hover>a,
.main-menu li>a:hover {
    color: #ffffff;
}

.s-slider-nav-arrow svg {
    fill: #ffffff;
}

/* Product Button Styles - استخدام اللون الفرعي هنا */
salla-add-product-button.hydrated {
    background: var(--color-secondary) !important;
    color: #ffffff !important;
    border-radius: 15px !important;
    transition: all 0.9s ease-in-out;
}



/* أزرار التمرير وأقسام المتجر - استخدام اللون الفرعي */
.s-slider-nav-arrow,
.store-categories .category-item {
    background: var(--color-secondary) !important;
}

/* عناصر التمرير العلوية */
.scroll-top-button {
    background: var(--color-secondary) !important;
    color: white !important;
}

/* أقسام المتجر */
.store-categories .category-item:hover {
    background: var(--color-primary-dark) !important;
}

/* Banner Styles */
.custom-banner-entry {
    display: block;
    width: 100%;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    background-color: #f5f5f5;
    transition: transform 0.3s ease;
    position: relative;
}

.custom-banner-entry:hover {
    transform: scale(1.02);
}

.custom-banner-entry .banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.custom-banner-entry .banner-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

/* Wide Banner Styles */
section:nth-of-type(1).s-block.s-block--fixed-banner.wide-placeholder .container {
    padding: 0;
    margin: 0;
    max-width: 100%;
    transition: transform 0.3s, box-shadow 1.3s;
}

section.s-block.s-block--fixed-banner.wide-placeholder .container:hover,
.lazy__bg.lazy.entered.loaded:hover {
    transform: translateY(-8px);
}

/* Responsive Styles */
@media (min-width: 640px) {
    .s-block {
        margin-top: 0;
    }
}

@media (min-width: 750px) {
    salla-slider.photos-slider .swiper-slide {
        position: relative;
        margin-left: 0;
        margin-right: 0;
        height: auto;
        width: 100%;
        overflow: hidden;
        border-radius: 0.375rem;
    }

    section:nth-of-type(1).s-block.s-block--photos-slider {
        margin-top: 0rem;
    }
}

@media (max-width: 991px) {
    .s-block.s-block--banners > .grid {
        grid-template-columns: 1fr 1fr;
    }

    .s-block.s-block--banners > .grid .banner-entry {
        height: 234px;
    }

    salla-slider.photos-slider .swiper {
        padding-left: 0 !important;
    }

    salla-slider.photos-slider .swiper-slide {
        border-radius: 0px !important;
        width: 100%;
        margin: 0;
        padding: 0;
    }
}

@media only screen and (max-width: 900px) {
    .store-footer__inner,
    a.mb-4.last\:mb-0.flex.items-center.text-sm.leading-none,
    .store-footer .contact-social ul,
    a.flex.items-center.m-0,
    .flex.rtl\:space-x-reverse.space-x-2.items-end {
        text-align: center;
        justify-content: center;
    }
}

/* سياسات الموقع - تدرج لوني */
.store-footer .footer-policies {
    background: linear-gradient(135deg, var(--1) 0%, var(--1) 50%, #ffffff 50%, #ffffff 100%);
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.store-footer .footer-policies .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.store-footer {
    color: var(--1) !important;
    background-color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    border: 2px solid var(--1);
    transition: all 0.3s ease;
}

.store-footer a:hover {
    background-color: var(--1);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* للتنسيق في الجوال */
@media (max-width: 768px) {
    .store-footer . {
        background: linear-gradient(135deg, var(--1) 0%, var(--1) 30%, #ffffff 30%, #ffffff 100%);
    }
    
    .store-footer .container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* Header Buttons & Icons */
.header-btn__icon {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 25% / 50%;
  border-width: 1px;
  border-color: var(--color-primary-reverse);
  color: var(--color-primary-reverse);
  font-size: 20px;
}

/* Product Cards */
.s-product-card-vertical {
  flex-direction: column;
  border-radius: 30px;
  border: none;
  
}

.s-product-card-vertical:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(200, 176, 114, 0.2);
}

.s-product-card-entry {
  border: 1px solid var(--color-primary);
  box-shadow: 0 2px 8px rgba(181, 164, 138, 0.1);
  border-radius: 30px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.s-product-card-entry:hover {
  box-shadow: 0 4px 12px rgba(181, 164, 138, 0.15);
}

.s-product-card-image {
  background-color: #fff !important;
  border-radius: 30px 30px 0 0;
  overflow: hidden;
}

.s-product-card-content {
  padding: 1rem;
}

.s-product-card-content-title a {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  color: #5a5a5a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.s-product-card-content-title a:hover {
  color: var(--color-primary-dark);
}

.s-product-card-promotion-title {
  background-color: var(--color-primary-reverse) !important;
  color: white !important;
  padding: 4px 10px !important;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin: 0.5rem 0;
}

/* Animation */
@keyframes heartbeat {
  0% {
    transform: scale(1);
    transform-origin: center center;
    animation-timing-function: ease-out;
  }
  10% {
    transform: scale(0.91);
  }
}

.animated-text {
  font-size: 24px;
  font-weight: bold;
  color: var(--color-primary);
  text-align: center;
  animation: shimmer 3s infinite ease-in-out;
  text-shadow: 0 0 8px rgba(181, 164, 138, 0.4);
}

@keyframes shimmer {
  0% { opacity: 0.8; text-shadow: 0 0 8px rgba(181, 164, 138, 0.4); }
  50% { opacity: 1; text-shadow: 0 0 16px rgba(181, 164, 138, 0.8); }
  100% { opacity: 0.8; text-shadow: 0 0 8px rgba(181, 164, 138, 0.4); }
}

[data-scroll-animation] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

[data-scroll-animation].animated {
  opacity: 1;
  transform: translateY(0);
}

/* إضافة أنماط للون الفرعي */
.secondary-bg {
    background-color: var(--color-secondary) !important;
}

.secondary-text {
    color: var(--color-secondary) !important;
}

.secondary-border {
    border-color: var(--color-secondary) !important;
}

/* عناصر التنقل الثانوية */
.secondary-nav-item {
    background-color: var(--color-secondary);
    color: white !important;
    border-radius: 8px;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.secondary-nav-item:hover {
    background-color: var(--color-primary-dark);
}

/* أزرار الإجراءات الثانوية */
.secondary-action-button {
    background-color: var(--color-secondary) !important;
    color: white !important;
    border: 2px solid var(--color-secondary) !important;
}

.secondary-action-button:hover {
    background-color: var(--color-primary-dark) !important;
    border-color: var(--color-primary-dark) !important;
}

salla-add-product-button.hydrated {
    /* background: #ffffff !important; */
    color: #ffffff !important;
    border-radius: 15px !important;
    transition: all 0.9s ease-in-out;
}


/* زر إضافة إلى السلة - لون أخضر ثابت */
salla-add-product-button.hydrated {
    background: var(--color-primary) !important;
    color: white !important;
    transition: all 0.3s ease-in-out !important;
}

salla-add-product-button.hydrated {
    font-family: 'Tajawal', sans-serif !important;
    direction: rtl !important;
}

.s-add-btn {
    text-transform: none !important;
    letter-spacing: 0 !important;
}

@media (max-width: 640px) {
    .is-sticky-product-bar .sticky-product-bar__quantity, .is-sticky-product-bar .sticky-product-bar salla-add-product-button {
        width: 100%;
        --tw-translate-y: 1.25rem;
        transform: translate(var(--tw-translate-x), 1.25rem) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
        transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
        opacity: 0;
        transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
        transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
        transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
        transition-duration: 700ms;
        transition-timing-function: cubic-bezier(0.55, 0, 0.1, 1);
    }
}
salla-add-product-button.hydrated {
    font-family: 'Tajawal', sans-serif !important;
    direction: rtl !important;
}
salla-add-product-button.hydrated {
    background: var(--color-primary) !important;
    color: white !important;
    transition: all 0.3s ease-in-out !important;
}
salla-add-product-button.hydrated {
    /* background: #ffffff !important; */
    color: #ffffff !important;
    border-radius: 15px !important;
    transition: all 0.9s ease-in-out;
}
salla-add-product-button.hydrated {
    background: var(--color-secondary) !important;
    color: #ffffff !important;
    border-radius: 15px !important;
    transition: all 0.9s ease-in-out;
}










.s-product-card-promotion-title {
    --tw-bg-opacity: 1;
    background-color: rgba(153, 27, 27, 1);
    background-color: rgba(153, 27, 27, var(--tw-bg-opacity, 1));
    --tw-text-opacity: 1;
    color: rgba(255, 255, 255, 1);
    color: rgba(255, 255, 255, var(--tw-text-opacity, 1));
}
.s-product-card-promotion-title {
    background-color: #6b7d55 !important;
    color: white !important;
    padding: 4px 10px !important;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 921;
    display: math;
    margin: 0.5rem 0;
}