/* Add custom CSS styles below */ 
.has-overlay:after {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    background-color: transparent;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    --tw-content: "";
    content: "";
    content: var(--tw-content);
}

.product-single .categories-container {
  display: none !important;
}

.product-index .categories-container 
 {
  display: none !important;
}



@media (min-width: 1024px) {

..banner-entry {
    position: relative;
    height: 555px;
    overflow: hidden;
    border-radius: 0.375rem;
    --tw-bg-opacity: 1;
    background-color: rgba(243, 244, 246, 1);
    background-color: rgba(243, 244, 246, var(--tw-bg-opacity, 1));
    background-size: auto;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0.75rem;
    text-align: center;
    --tw-text-opacity: 1;
    color: rgba(255, 255, 255, 1);
    color: rgba(255, 255, 255, var(--tw-text-opacity, 1));
        background-color: transparent !important;

}}

.@media (max-width: 767px) {.banner-entry {
    position: relative;

    overflow: hidden;
    border-radius: 0.375rem;
    --tw-bg-opacity: 1;
    background-color: rgba(243, 244, 246, 1);
    background-color: transparent !important;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0.75rem;
    text-align: center;
    --tw-text-opacity: 1;
    color: rgba(255, 255, 255, 1);
    color: rgba(255, 255, 255, var(--tw-text-opacity, 1));
}}
.footer-is-light .store-footer .store-footer__inner {
    --tw-border-opacity: 1;
    border-bottom-color: rgba(229, 231, 235, 1);
    border-bottom-color: rgba(229, 231, 235, var(--tw-border-opacity, 1));
    --tw-bg-opacity: 1;
    background-color: rgba(243, 244, 246, 1);
    background-color: #FFF5E9;
}
.footer-is-light .store-footer {
    --tw-bg-opacity: 1;
    background-color: rgba(249, 250, 251, 1);
    background-color: #fff5e9;
    --tw-text-opacity: 1;
    color: rgba(55, 65, 81, 1);
    color: rgba(55, 65, 81, var(--tw-text-opacity, 1));
}.s-product-card-price {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 700;
    color: #EEC263;
    font-weight: bolder;
    font-size: 24px;
}.top-navbar .s-search-input {
    border-style: none;
    background-color: white;
}
.top-navbar {
    display: flex
;
    min-height: 48px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background: rgba(255, 245, 233, 1);
}

.s-block {
    margin-top: 0REM;
    PADDING-BOTTOM: 2REM;
}/* التأكد من أن الحاوية الرئيسية تأخذ عرض الشاشة بالكامل */
.wide-placeholder .container {
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
    margin-right: auto;
    margin-left: auto;
}

/* التأكد من أن البنر داخل الحاوية يأخذ عرض الحاوية بالكامل */
.wide-placeholder .banner--fixed {
    width: 100%;
    height: auto;
}
.s-button-element:not(:disabled):not([loading]) {
    pointer-events: auto;
    background: #EEC263;
    color: white;
    border-radius: 0px;
}.s-product-card-entry {
    position: relative;
    display: flex
;
    height: 100%;
    justify-content: space-between;
    border-radius: .75rem;
    --tw-bg-opacity: 1;
    background-color: rgba(255, 255, 255, 1);
    background-color: rgba(255, 255, 255, var(--tw-bg-opacity, 1));
    transition-property: box-shadow;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    border: 2px solid #EEC263;
}

/* تنسيق العنوان الرئيسي داخل القسم */
.section-heading {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px; /* المسافة بين العنوان والأقسام */
  color: #333;
}

/* تنسيق الحاوية التي تحتوي على الفئات */
.categories-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center; /* محاذاة العناصر في المنتصف */
}

/* باقي التنسيقات كما هي */
.category-item {
  flex: 1 1 calc(20% - 40px);
  max-width: 200px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.category-item a {
  display: block;
  text-align: center;
  padding: 10px;
}

.category-item img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 0;
}

.category-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .category-item {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .category-item {
    flex: 1 1 100%;
  }
}
.section-heading {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 48px;
    color: #333;
    PADDING-TOP: 64PX;
}
.categories-container {
    display: flex;
    flex-wrap: inherit;
    gap: 3px;
    justify-content: space-evenly;
}

.boxItem {
    position: relative;
    width: calc(50% - 10px);
    height: auto;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    background-color: #f7d8e9;
    transition: transform 0.3s ease;
}


#best-offers-1-slider{    padding-top: 28px;
}


.s-slider-block__title h2 {
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); /* حركة سلسة باستخدام منحنى بيزير */
}

.s-slider-block__title h2:hover {
color:white;  transform: scale(1.1) rotate(0deg); 
    background-color: #FEAA4A;


}

.s-slider-block__title h2 {
    position: relative;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    border: 1px solid #FEAA4A;
    padding: 10px;
    border-radius: 33px;
    margin-top: 27px;
    color: #FEAA4A;
}



عرض الكل 
.s-slider-block__display-all {
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); /* حركة سلسة باستخدام منحنى بيزير */
}

.s-slider-block__display-all:hover {
color:white;  transform: scale(1.1) rotate(0deg); 
    background-color: #5041a1;


}

.s-slider-nav-arrow svg {
    width:30px;
    fill: white;
}

.s-slider-nav-arrow {
    display: inline-flex;
    height: 2.5rem;
    width: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border-width: 1px;
    --tw-border-opacity: 1;
    border-color: rgba(209, 213, 219, 1);
    border-color: rgb(55 38 148);
    font-size: 1.25rem;
    line-height: 1.75rem;
    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: 300ms;
}
.s-slider-nav-arrow svg {
    width:30px;
    fill: white;
}

.s-products-slider-card {
  transition: all 0.3s ease-in-out;
}

.s-products-slider-card:hover {
  transform: translateY(-5px);
}

.s-products-slider-card:hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(154, 133, 188, 0.5), rgba(0, 0, 0, 0.1));
  opacity: 0.7;
  z-index:  0.7;
  border-radius: 10px;
}

.s-product-card-entry {
  position: relative;
  overflow: hidden;
}

.s-product-card-image img {
  transition: transform 0.3s ease-in-out;
}

.s-products-slider-card:hover .s-product-card-image img {
  transform: scale(1.05);
}.s-slider-block__display-all {
    display: inline-block;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 700;
    color: #414042;
    color: var(--color-primary);
    border: 1px solid;
    padding: 11px;
    border-radius: 12px;
}
.s-slider-block__display-all:hover {
    color: white;
    transform: scale(1.1) rotate(0deg);
    background-color: #FEAA4A;
}

.s-slider-nav-arrow {
    display: inline-flex
;
    height: 2.5rem;
    width: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border-width: 1px;
    --tw-border-opacity: 1;
    border-color: rgba(209, 213, 219, 1);
    border-color:transparent;
    font-size: 1.25rem;
    line-height: 1.75rem;
    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: 300ms;
    background: #3E1F20;
}

.s-social-link a {
    display: flex
;
    height: 2rem;
    width: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border-width: 1px;
    font-size: 0.875rem;
    line-height: 1.25rem;
    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: 300ms;
    background: #FEAA4A;
}
.s-social-link a svg {
    height: 0.875rem;
    width: 0.875rem;
    fill: #3E1F20;
}

.s-contacts-icon:where([dir="rtl"], [dir="rtl"] *) {
    margin-left: 0.625rem;
    background: #FEAA4A;
}
.s-contacts-icon svg {
    height: 0.875rem;
    width: 0.875rem;
    fill: #3E1F20;
}

.s-contacts::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 176px;
    width: 184px;
    height: 128px;
    background-image: url( https://i.imgur.com/VnonR7A.png);
    background-size: contain;
    background-repeat: no-repeat;
    LEFT: 61PX;
}
@media (MAX-width: 640px) {
    .s-contacts::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 384px;
    width: 184px;
    height: 127px;
    background-image: url(https://i.imgur.com/VnonR7A.png);
    background-size: contain;
    background-repeat: no-repeat;
    LEFT: 21PX;
}
}




.s-contacts::before {
animation: slideUpDown 5s infinite ease-out;}

@keyframes slideUpDown {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}@media (max-width: 640px) {
    .s-contacts::before {
        content: "";
        position: absolute;
        bottom: 221px;
        width: 160px;
        height: 127px;
        background-image: url(https://i.imgur.com/VnonR7A.png);
        background-size: contain;
        background-repeat: no-repeat;
        left: 21px;
    }
}/* width */
::-webkit-scrollbar {
  width: 10px;
}
/* Track */
::-webkit-scrollbar-track {
  background: #fff;
}
/* Handle */
::-webkit-scrollbar-thumb {
  background: #FEAA4A;
}

/* Basic styling for the section */
#E_store_features_sec_16 {
  text-align: center;
  padding: 20px;
  background-color: #f9fafb; /* Light background color */
}

/* Title and paragraph styling */
#E_store_features_sec_16 h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

#E_store_features_sec_16 p {
  font-size: 16px;
  color: #666; /* Light gray for description */
  margin-bottom: 30px;
}

/* Feature items container styling */
.feature-items {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* Each feature item styling */
.f_features-item {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 200px;
  padding: 20px;
  text-align: center;
}

.f_features-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0;
}

.f_features-item p {
  font-size: 14px;
  color: #666;
}

.feature-icon img {
  width: 50px;
  height: auto;
}

/* Responsiveness for smaller screens */
@media (max-width: 768px) {
  .f_features-item {
    width: 100%;
    margin-bottom: 20px;
  }
}

.f_enhanced-store-features .f_features-item {
    display: flex;
    flex: 1 1 0%;
    flex-grow: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 2rem;
    background-color: var(--main-background);
    padding: 1rem;
    transition-property: box-shadow;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: 500ms;
}


.f_enhanced-store-features .f_features-item:hover {
    --tw-shadow: 5px 10px 30px #2B2D340D;
    --tw-shadow-colored: 5px 10px 30px var(--tw-shadow-color);
    box-shadow: 0 0 transparent, 0 0 transparent, var(--tw-shadow);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);
}
@media (min-width: 768px) {
    .f_enhanced-store-features .f_features-item .feature-icon {
        height: 7rem;
        width: 10rem;
    }
}

/* Basic styling for the section */
#E_store_features_sec_16 {
  text-align: center;
  padding: 20px;
  background-color: #f9fafb; /* Light background color */
}

/* Title and paragraph styling */
#E_store_features_sec_16 h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

#E_store_features_sec_16 p {
  font-size: 16px;
  color: #666; /* Light gray for description */
  margin-bottom: 30px;
}

/* Feature items container styling */
.feature-items {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* Each feature item styling */
.f_features-item {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 200px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease; /* Adding a hover effect */
}

/* Add hover effect for scaling the feature item */
.f_features-item:hover {
  transform: translateY(-10px); /* Slight lift on hover */
}

/* Styling for feature titles */
.f_features-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0;
}

.f_features-item p {
  font-size: 14px;
  color: #666;
}

/* Image icon styling with h-full class */
.feature-icon img.h-full {
  width: 50px;
  height: 50px; /* Ensuring a fixed height for consistency */
  object-fit: contain; /* Ensure image keeps its aspect ratio */
}

/* Responsiveness for smaller screens */
@media (max-width: 768px) {
  .f_features-item {
    width: 100%;
    margin-bottom: 20px;
  }
}
.f_enhanced-store-features .f_features-item .feature-icon {
    margin-bottom: .5rem;
    display: flex;
    height: 4rem;
    width: 7rem;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
@media (min-width: 768px) {
    .f_enhanced-store-features .f_features-item .feature-icon {
        height: 7rem;
        width: 10rem;
    }
}
.feature-icon img.h-full {
    width: 171px;
    height: 50px;
    object-fit: scale-down;
    height: 100%;
}
.f_enhanced-store-features .f_features-item:hover .feature-icon i, .f_enhanced-store-features .f_features-item:hover .feature-icon img {
    animation: toRightFromLeft .3s forwards;
}



@media (min-width: 768px) {
    .f_enhanced-store-features .f_features-item {
        border-radius: 4rem;
        padding: 2rem;
    }
}

.f_enhanced-store-features .f_features-item h3 {
    margin-bottom: .25rem;
    text-align: center;
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 700;
    color: var(--main-color);
}
.f_enhanced-store-features .f_features-item p {
    text-align: center;
    font-size: .75rem;
    line-height: 1rem;
    color: var(--secondary-color);
}


.pointer {
  width: 10px; /* حجم النقطة المركزية */
  height: 10px;
  background-color: #FEAA4A; /* لون النقطة المركزية */
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: none; /* منع التفاعل مع النقطة */
}

.pointer::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px; /* حجم الحلقة النابضة */
  height: 20px;
  border: 2px solid #FEAA4A; /* لون الحلقة */
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

@media (min-width: 1024px) {

#leftLine {position: absolute;
    left: -572px !important;
    top: 50%;
    transform: translateY(-50%);
    width: 555px !important;
    height: 2px;
    background-color: rgb(198, 160, 73);
}
#rightLine{    position: absolute;
    right: -572px!important;
    top: 50% !important;
    transform: translateY(-50%);
    width: 555px !important;
    height: 2px;
    background-color: rgb(198, 160, 73);
}}

@media (max-width: 767px) {
#rightLine{
    position: absolute;
    right: -133px!important;
    top: 50%;
    transform: translateY(-50%);
    width: 125px!important;
    height: 2px;
    background-color: rgb(198, 160, 73);
}
#leftLine {position: absolute;
    left: -133px !important;
    top: 50%;
    transform: translateY(-50%);
    width: 125px!important;
    height: 2px;
    background-color: rgb(198, 160, 73);
}
#statsContainer{    flex-wrap: nowrap !important;
    gap: 0px!important;}
}}


.s-block--slider-with-bg .slider-bg:before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    --tw-bg-opacity: 1;
    background-color: rgba(0, 0, 0, 1);
    background-color: transparent !important;
    opacity: 0.6;
}
.footer-is-light .store-footer .store-footer__inner {
    --tw-border-opacity: 1;
    border-bottom-color: rgba(229, 231, 235, 1);
    border-bottom-color: rgba(229, 231, 235, var(--tw-border-opacity, 1));
    --tw-bg-opacity: 1;
    background-color: rgba(243, 244, 246, 1);
    background-color: #FFFFFF;
}.footer-is-light .store-footer {
    --tw-bg-opacity: 1;
    background-color: rgba(249, 250, 251, 1);
    background-color: white;
    --tw-text-opacity: 1;
    color: rgba(55, 65, 81, 1);
    color: rgba(55, 65, 81, var(--tw-text-opacity, 1));
}


.location-tabs {
  display: flex;
  gap: 10px;
}

.location-tabs__map {
  padding: 10px 20px;
}

.location-tab-trigger {
  cursor: pointer;
  padding: 5px 10px;
  border: 1px solid #00c7b7;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.location-tab-trigger.is-active {
  background-color: #00c7b7;
  color: white;
}

.location-tabs-wrapper {
  position: relative;
  height: 300px;
}

.location-tabs__item {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.location-tabs__item.is-active {
  display: block;
  opacity: 1;
}

.location-google-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.location-tabs-wrapper {
  position: relative;
  width: 100%; /* عرض 90% من العرض الكامل */
  height: 700px; /* ارتفاع محدد */
  margin: 0 auto; /* مركز الحاوية */
}

.location-google-map {
  width: 100%; /* أخذ العرض الكامل */
  height: 100%; /* أخذ الارتفاع الكامل */
}

.container-100 {
  width: 100vw; /* عرض كامل للشاشة */
  max-width: 100vw; /* لضمان عدم تجاوز العرض */
  margin: 0 auto; /* لمركز الحاوية في المنتصف */
}

.location-container {
  width: 100vw; /* عرض كامل للشاشة */
  height: auto; /* ارتفاع كامل للشاشة */
  margin: 0;
  padding: 0;
}

.google-map {
  width: 100%;
  height: 100%; /* أخذ الارتفاع الكامل */
}

.google-map iframe {
  width: 100%;
  height: 100%; /* تأكد من أن الخريطة تأخذ العرض والارتفاع الكاملين */
  border: none; /* إزالة الحدود */
}

/* Media Queries لتكييف التصميم على الشاشات الصغيرة */
@media (max-width: 768px) {
  .location-tabs-wrapper {
    height: 500px; /* تقليل الارتفاع على الشاشات الصغيرة */
  }
  
  .location-tab-trigger {
    font-size: 12px; /* تصغير حجم النص */
    padding: 3px 8px; /* تقليل الحشوة */
  }

  .location-google-map iframe {
    height: 400px; /* تقليل ارتفاع الـ iframe */
  }
}

@media (max-width: 480px) {
  .location-tabs-wrapper {
    width: 100%; /* عرض كامل للشاشة الصغيرة */
    height: 400px; /* ارتفاع أصغر للشاشة الصغيرة */
  }

  .location-tab-trigger {
    font-size: 10px; /* تصغير حجم النص */
    padding: 2px 5px; /* تقليل الحشوة */
  }

  .location-google-map iframe {
    height: 300px; /* تقليل ارتفاع الـ iframe أكثر */
  }
}
.text-xl {
    font-size: 2.25rem;
    line-height: 3.75rem;
}

@media (max-width: 480px) {
    .location-tab-trigger {
        font-size: 10px;
        padding: 10px 42px;
    }
}

  .location-tab-trigger {
        font-size: 18px;
        padding: 14px 42px;
    }

   
}
.location-container {
    width: 100vw;
    height: 50vw;
    margin: 0;
    padding: 0;
    color: #3e2d99;
}

.location-tab-trigger {
    border: 1px solid #c9a148;
}

.location-tab-trigger.is-active {
    background-color: #C9A149;
}


@media (max-width: 767px) {
    .location-tab-trigger {
        font-size: 10px;
        padding: 0px 5px !important;
    }
}

.s-block--slider-with-bg .slider-bg:before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    --tw-bg-opacity: 1;
    background-color: rgba(0, 0, 0, 1);
    background-color: transparent;
    opacity: 0.6;
}



..product-single #statsSection{display:none;}



..product-single .location-container{display:none;}


#statsSection {
  display: none;
}

/* إظهار السكشن فقط في الصفحة الرئيسية */
body.index #statsSection {
  display: block;
}


.location-container {
  display: none;
}

/* إظهار السكشن فقط في الصفحة الرئيسية */
body.index .location-container {
  display: block;
}

















.categories-container {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;}

.category-item {
  text-align: center;
  border-radius: 20px;
  overflow: hidden;
  width: calc(33.333% - 20px); /* كل عنصر يأخذ ثلث العرض مع مسافة بين العناصر */
  margin-bottom: 20px; /* لإضافة مسافة بين الصفوف */
  transition: transform 0.3s ease; /* تأثير التكبير */
}


.category-item img {
  width: 100%;
  height: auto;
  border-radius: 20px 20px 0 0;
  transition: transform 0.3s ease; /* تأثير التكبير للصورة */
}



.category-name {
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
  border: 1px solid #e0e0e0;
  border-top: none;
  transition: transform 0.3s ease, color 0.3s ease; /* تأثير التحريك واللون */
}

.category-item:hover .category-name {
  transform: translateY(-5px); /* تحريك النص للأعلى عند التحويم */
  color: #007bff; /* تغيير لون النص عند التحويم */
}

.category-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

 

.categories-container {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
      padding-bottom: 27px;
  flex-wrap: wrap; /* للسماح للعناصر بالانتقال إلى صفوف جديدة */


}
.category-item {
  text-align: center;
  border-radius: 20px;
  overflow: hidden;
  width: 150px;
  transition: transform 0.3s ease; /* تأثير التكبير */
}

.category-item:hover {
  transform: scale(1.1); /* تكبير العنصر عند التحويم */
}

.category-item img {
  width: 100%;
  height: auto;
  border-radius: 20px 20px 0 0;
  transition: transform 0.3s ease; /* تأثير التكبير للصورة */
}

.category-item:hover img {
  transform: scale(1.1); /* تكبير الصورة عند التحويم */
}

.category-name {

  padding: 10px;
  font-size: 16px;
  font-weight: bold;
  border: 1px solid #c70000;
  border-top: none;
  transition: transform 0.3s ease, color 0.3s ease; /* تأثير التحريك واللون */
  color:rgba(53, 30, 19, 1);
}

.category-item:hover .category-name {
  transform: translateY(-5px); /* تحريك النص للأعلى عند التحويم */
  color: #C70000; /* تغيير لون النص عند التحويم */
}

.category-item:hover .category-name {
    transform: translateY(-5px);
    color: white;
    border: 0;
}
.category-item {
    text-align: center;
    border-radius: 20px;
    overflow: hidden;
    width: 21%;
    transition: transform 0.3s ease;
}

.category-item:hover img {
    transform: scale(1.0);
}





.categories-container {
  display: flex;
  flex-wrap: wrap; /* يسمح بالانتقال لصف جديد بعد 4 عناصر */
  gap: 15px; /* مسافة بين العناصر */
  justify-content: center; /* توسيط العناصر */
  margin: 20px 0;
      justify-content: space-between;
    width: 80%;
    margin: auto;
}


.category-item {
  flex: 1 1 calc(25% - 15px); /* عرض العنصر 25% مع الأخذ في الاعتبار الفجوات */
  max-width: calc(25% - 15px); /* عرض أقصى */
  box-sizing: border-box; /* للتأكد من حساب الحواف والمسافات */
  text-align: center;
}

.category-item img {
  width: 100%;
  height: auto;
  border-radius: 8px; /* حواف دائرية للصورة (اختياري) */
  transition: transform 0.3s ease; /* تأثير عند التمرير */
}

.category-item img:hover {
  transform: scale(1.1); /* تكبير الصورة عند التمرير */
}



.services-heading {
  font-size: 24px;
  font-weight: bold;
}

.heading-container {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}

.categories-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: space-between;
  width: 90%;
  margin: 40px auto;
  padding-bottom: 27px;
}

.category-item {
  flex: 1 1 calc(20% - 15px); /* 5 عناصر في الصف */
  max-width: calc(20% - 15px);
  box-sizing: border-box;
  text-align: center;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.category-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.category-item:hover {
  transform: scale(1.05);
}

.category-item:hover img {
  transform: scale(1.1);
}

.category-name {
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
  border: 1px solid #c70000;
  border-top: none;
  color: #c70000;
  transition: all 0.3s ease;
}

.category-item:hover .category-name {
  transform: translateY(-5px);
  color: white;
  background: #c70000;
  border: none;
}

.services-heading {
  font-size: 24px;
  font-weight: bold;
  color: rgba(53, 30, 19, 1);
}

.heading-container {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}
/* شاشة أقل من 1200px – 3 عناصر */
@media (max-width: 1200px) {
  .category-item {
    flex: 1 1 calc(33.333% - 15px);
    max-width: calc(33.333% - 15px);
  }
}

/* شاشة أقل من 768px – 2 عنصر */
@media (max-width: 768px) {
  .category-item {
    flex: 1 1 calc(50% - 15px);
    max-width: calc(50% - 15px);
  }
}

/* شاشة أقل من 480px – عنصر واحد */
@media (max-width: 480px) {
  .category-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.category-item:hover {
    transform: scale(1.0);
}
.category-item {
    flex: 1 1 calc(20% - 15px);
    max-width: calc(20% - 15px);
    box-sizing: border-box;
    text-align: center;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
    background: transparent;
    box-shadow: none !important;
}
@media (min-width: 1024px) {

.categories-container {
    display: flex
;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
    width: 60%;
    margin: 40px auto;
    padding-bottom: 27px;
}

}
@media (max-width: 768px) {


.categories-container {
    display: flex
;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
    width: 100%;
    margin: 40px auto;
    padding-bottom: 27px;
}}


.services-heading {
  position: relative;
  font-size: 24px;
  font-weight: bold;
  color: rgba(53, 30, 19, 1);
  text-align: center;
  margin: 40px 0;
}

.services-heading::before,
.services-heading::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 80px;
  height: 2px;
  background-color: rgba(53, 30, 19, 1); /* نفس لون النص */
}

.services-heading::before {
  right: 100%;
  margin-right: 15px;
}

.services-heading::after {
  left: 100%;
  margin-left: 15px;
}
.services-heading::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 50%;
    height: 1px;
    background-color: rgba(53, 30, 19, 1);
    right: -187px !important;
}

.services-heading::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 50%;
    height: 1px;
    background-color: rgba(53, 30, 19, 1);
    left: -187px !important;
}

.services-subtitle {
    font-size: 13px;
    color: rgba(102, 102, 102, 1);
    margin-top: -35px;
    margin-bottom: 35px;
    text-align: center;
    line-height: 1.5;
}


@media (max-width: 768px) {

.services-heading::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 17%;
    height: 1px;
    background-color: rgba(53, 30, 19, 1);
    right: -5px !important;
}
@media (max-width: 768px) {

.services-heading::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 17%;
    height: 1px;
    background-color: rgba(53, 30, 19, 1);
    left: -5px !important;
}
.servicesSection{    margin-top: -42px;
}




    .categories-container {
        display: flex
;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: space-between;
        width: 100%;
        margin: 0;
        padding-bottom: 0px;
    }
    
    
    
    
    
    .heading-container {
    width: 100%;
    text-align: center;
    margin-bottom: auto;
}
}




@media (max-width: 768px) {
    @media (max-width: 768px) {
        .services-heading::after {
            content: "";
            position: absolute;
            top: 50%;
            width: 12%;
            height: 1px;
            background-color: rgba(53, 30, 19, 1);
            left: -5px !important;
        }
    }


@media (max-width: 768px) {
    .services-heading::before {
        content: "";
        position: absolute;
        top: 50%;
        width: 12%;
        height: 1px;
        background-color: rgba(53, 30, 19, 1);
        right:  -5px !important;
    }
}


    font-size: 12px;
  }
}

/* احترام إعداد تقليل الحركة بالجهاز */
@media (prefers-reduced-motion: reduce) {
  .store-features .feature-card {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .store-features .feature-icon {
    transition: none;
  }
}


.features-images {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
  box-sizing: border-box;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-image {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;

  opacity: 0;
  transform: translateY(15px);
  animation: imageFadeUp 0.6s ease forwards;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.feature-image:nth-child(2) {
  animation-delay: 0.12s;
}

.feature-image:nth-child(3) {
  animation-delay: 0.24s;
}

.feature-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.feature-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

@keyframes imageFadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* الموبايل */
@media (max-width: 600px) {
  .features-images {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 15px 12px;
  }

  .feature-image {
    border-radius: 8px;
  }
}

/* إيقاف الحركة عند تفعيل تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  .feature-image {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}

/* ==============================
   قسم التسوق حسب نوع الحيوان
================================ */

.animal-categories-section {
  width: 100%;
  padding: 40px 20px;
  background: #ffffff;
  direction: rtl;
  box-sizing: border-box;
}

.animal-categories-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

/* العنوان */
.animal-categories-heading {
  margin: 0 0 30px;
  text-align: center;
}

.animal-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.animal-categories-heading h2 {
  margin: 0;
  color: #171717;
  font-family: inherit;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.5;
  white-space: nowrap;
}

.animal-title-line {
  display: block;
  width: 55px;
  height: 1px;
  background-color: #cda64c;
}

.animal-categories-heading p {
  margin: 3px 0 0;
  color: #777777;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
}

/* شبكة الصور */
.animal-categories-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}

/* رابط الصورة */
.animal-category-card {
  display: block;
  width: 100%;
  line-height: 0;
  text-decoration: none;
  overflow: visible;

  opacity: 0;
  transform: translateY(14px);
  animation: animalCardShow 0.55s ease forwards;

  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

/* الصور بدون زوايا أو طبقة إضافية */
.animal-category-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 0;
}

/* ظهور تدريجي */
.animal-category-card:nth-child(1) {
  animation-delay: 0.04s;
}

.animal-category-card:nth-child(2) {
  animation-delay: 0.08s;
}

.animal-category-card:nth-child(3) {
  animation-delay: 0.12s;
}

.animal-category-card:nth-child(4) {
  animation-delay: 0.16s;
}

.animal-category-card:nth-child(5) {
  animation-delay: 0.20s;
}

.animal-category-card:nth-child(6) {
  animation-delay: 0.24s;
}

.animal-category-card:nth-child(7) {
  animation-delay: 0.28s;
}

.animal-category-card:nth-child(8) {
  animation-delay: 0.32s;
}

.animal-category-card:nth-child(9) {
  animation-delay: 0.36s;
}

.animal-category-card:nth-child(10) {
  animation-delay: 0.40s;
}

/* حركة بسيطة عند المرور */
.animal-category-card:hover {
  transform: translateY(-5px);
  filter: brightness(1.04);
}

@keyframes animalCardShow {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* التابلت */
@media (max-width: 900px) {
  .animal-categories-section {
    padding: 32px 16px;
  }

  .animal-categories-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}

/* الموبايل */
@media (max-width: 600px) {
  .animal-categories-section {
    padding: 28px 12px;
  }

  .animal-categories-heading {
    margin-bottom: 22px;
  }

  .animal-title-row {
    gap: 10px;
  }

  .animal-categories-heading h2 {
    font-size: 19px;
  }

  .animal-title-line {
    width: 30px;
  }

  .animal-categories-heading p {
    margin-top: 2px;
    font-size: 11px;
  }

  .animal-categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

/* الشاشات الصغيرة جدًا */
@media (max-width: 350px) {
  .animal-categories-heading h2 {
    font-size: 17px;
  }

  .animal-title-line {
    width: 20px;
  }

  .animal-categories-grid {
    gap: 8px;
  }
}

/* إيقاف الأنيميشن لمن يفضل تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  .animal-category-card {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}

.animal-title-line {
  display: block;
  width: 55px;
  height: 5px;
  border-radius: 2px;
  background-color: #cda64c;
}

/* ==================================
   عنوان منتجات الحيوانات الأليفة
================================== */

.pets-products-heading {
  width: 100%;
  padding: 35px 20px 22px;
  box-sizing: border-box;
  background-color: #ffffff;
  direction: rtl;
}

.pets-heading-content {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

/* العنوان والخطوط */
.pets-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
}

.pets-title-row h2 {
  margin: 0;
  color: #171717;
  font-family: inherit;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.5;
  white-space: nowrap;
}

.pets-heading-line {
  display: block;
  width: 70px;
  height: 2px;
  flex-shrink: 0;
  background-color: #cda64c;
  border-radius: 10px;
}

/* الوصف */
.pets-heading-content p {
  max-width: 680px;
  margin: 5px auto 0;
  color: #737373;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
}

/* ظهور بسيط */
.pets-heading-content {
  animation: petsHeadingShow 0.65s ease both;
}

@keyframes petsHeadingShow {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* الموبايل */
@media (max-width: 600px) {
  .pets-products-heading {
    padding: 28px 12px 18px;
  }

  .pets-title-row {
    gap: 10px;
  }

  .pets-title-row h2 {
    font-size: 18px;
  }

  .pets-heading-line {
    width: 30px;
  }

  .pets-heading-content p {
    max-width: 330px;
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.7;
  }
}

/* الشاشات الصغيرة جدًا */
@media (max-width: 350px) {
  .pets-title-row h2 {
    font-size: 16px;
  }

  .pets-heading-line {
    width: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pets-heading-content {
    animation: none;
  }
}

/* عنوان الخدمات البيطرية */
.vet-services-heading {
  width: 100%;
  padding: 35px 20px 22px;
  box-sizing: border-box;
  background-color: #ffffff;
  direction: rtl;
}

.vet-heading-content {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
  animation: vetHeadingShow 0.65s ease both;
}

/* العنوان والخطان */
.vet-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
}

.vet-title-row h2 {
  margin: 0;
  color: #171717;
  font-family: inherit;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.5;
  white-space: nowrap;
}

.vet-title-line {
  display: block;
  width: 70px;
  height: 2px;
  flex-shrink: 0;
  background-color: #cda64c;
  border-radius: 10px;
}

/* النص الصغير */
.vet-heading-content p {
  max-width: 700px;
  margin: 4px auto 0;
  color: #737373;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
}

/* حركة ظهور بسيطة */
@keyframes vetHeadingShow {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* الموبايل */
@media (max-width: 600px) {
  .vet-services-heading {
    padding: 28px 12px 18px;
  }

  .vet-title-row {
    gap: 10px;
  }

  .vet-title-row h2 {
    font-size: 18px;
  }

  .vet-title-line {
    width: 30px;
  }

  .vet-heading-content p {
    max-width: 340px;
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.7;
  }
}

@media (max-width: 350px) {
  .vet-title-row h2 {
    font-size: 16px;
  }

  .vet-title-line {
    width: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vet-heading-content {
    animation: none;
  }
}
/* ================================
   بانر الخدمة البيطرية
================================ */

.vet-service-banner {
  width: 100%;
  margin: 12px 0 35px;
  padding: 0 20px;
  box-sizing: border-box;
}

.vet-service-banner-box {
  position: relative;
  width: 86%;
  max-width: 1260px;
  height: 220px;
  margin: 0 auto;
  overflow: hidden;
  background-color: #17213c;
  line-height: 0;
}

/* خلفية لملء المساحات بدون تشويه الصورة الأساسية */
.vet-service-banner-box::before {
  content: "";
  position: absolute;
  inset: -20px;

  background-image:
    linear-gradient(
      rgba(17, 28, 54, 0.18),
      rgba(17, 28, 54, 0.35)
    ),
    url("https://cdn.files.salla.network/other/2017836678/350e58c0-eebe-46bc-b0af-40fb815d11c3-original.webp");

  background-size: cover;
  background-position: center;
  filter: blur(15px);
  transform: scale(1.08);
}

/* الصورة الأساسية تظهر كاملة */
.vet-service-banner-box img {
  position: relative;
  z-index: 1;

  display: block;
  width: 100%;
  height: 100%;
  margin: 0 auto;

  object-fit: contain;
  object-position: center;

  border: 0;
  animation: vetBannerShow 0.6s ease both;
}

/* حركة ظهور خفيفة */
@keyframes vetBannerShow {
  from {
    opacity: 0;
    transform: scale(0.985);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* التابلت */
@media (max-width: 900px) {
  .vet-service-banner {
    margin-top: 10px;
    margin-bottom: 28px;
    padding: 0 15px;
  }

  .vet-service-banner-box {
    width: 100%;
    height: 190px;
  }
}

/* الموبايل */
@media (max-width: 600px) {
  .vet-service-banner {
    margin-top: 8px;
    margin-bottom: 22px;
    padding: 0 12px;
  }

  .vet-service-banner-box {
    width: 100%;
    height: auto;
    background: transparent;
  }

  /* إلغاء الخلفية الضبابية على الموبايل */
  .vet-service-banner-box::before {
    display: none;
  }

  .vet-service-banner-box img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vet-service-banner-box img {
    animation: none;
  }
}

/* =====================================
   سكشن الفروع والخريطة
===================================== */

.custom-branches-section {
  --branches-gold: #cda343;
  --branches-dark: #100e07;
  --branches-text: #171717;

  width: 100%;
  padding: 45px 20px 55px;
  background-color: #ffffff;
  box-sizing: border-box;
  direction: rtl;
}

.custom-branches-section * {
  box-sizing: border-box;
}

.custom-branches-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

/* العنوان */
.branches-heading {
  margin-bottom: 24px;
  text-align: center;
}

.branches-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
}

.branches-title-row h2 {
  margin: 0;
  color: var(--branches-text);
  font-family: inherit;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.5;
  white-space: nowrap;
}

.branches-title-line {
  display: block;
  width: 65px;
  height: 2px;
  flex-shrink: 0;
  border-radius: 5px;
  background-color: var(--branches-gold);
}

.branches-heading p {
  margin: 2px 0 0;
  color: #777777;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.7;
}

/* الخريطة واللوحة */
.branches-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, 0.85fr);
  align-items: stretch;
  gap: 0;
  width: 100%;
  min-height: 500px;
  direction: ltr;
  overflow: hidden;
  border-radius: 9px;
  background-color: #f5f5f5;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

/* الخريطة */
.branches-map {
  position: relative;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 500px;
  background-color: #eeeeee;
}

.branches-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: 0;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.branches-map iframe.is-changing {
  opacity: 0.35;
}

/* اللوحة الداكنة */
.branches-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  padding: 25px 24px 22px;
  background-color: var(--branches-dark);
  color: #ffffff;
  direction: rtl;
}

.branches-panel-label {
  margin: 0 0 13px;
  color: var(--branches-gold);
  font-size: 12px;
  font-weight: 700;
}

/* أزرار الفروع */
.branches-tabs {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.branch-tab {
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;

  display: flex;
  align-items: center;
  gap: 9px;

  color: #ffffff;
  background-color: transparent;
  border: 0;
  border-radius: 7px;

  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: right;
  cursor: pointer;

  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s ease;
}

.branch-tab:hover {
  color: var(--branches-gold);
  transform: translateX(-2px);
}

.branch-tab.is-active {
  color: #ffffff;
  background-color: var(--branches-gold);
}

.branch-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: currentColor;
}

/* بيانات الفرع */
.branch-information {
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.branch-information > h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
}

.branch-info-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
}

.branch-info-icon {
  width: 31px;
  height: 31px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 7px;
  color: var(--branches-gold);
  background-color: #fffaf0;
  font-size: 16px;
  font-weight: 700;
}

.branch-info-row small {
  display: block;
  margin-bottom: 1px;
  color: var(--branches-gold);
  font-size: 10px;
  line-height: 1.4;
}

.branch-info-row p {
  margin: 0;
  color: #ffffff;
  font-size: 11px;
  line-height: 1.6;
}

/* زر الاتجاهات */
.branch-map-button {
  min-height: 43px;
  margin-top: auto;
  padding: 10px 16px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  border-radius: 7px;
  background-color: var(--branches-gold);
  color: #ffffff !important;

  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;

  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.branch-map-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
}

.direction-icon {
  font-size: 16px;
}

/* التابلت */
@media (max-width: 900px) {
  .custom-branches-section {
    padding: 38px 15px 45px;
  }

  .branches-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.85fr);
    min-height: 470px;
  }

  .branches-map,
  .branches-map iframe {
    min-height: 470px;
  }

  .branches-panel {
    padding: 20px 17px;
  }
}

/* الموبايل */
@media (max-width: 700px) {
  .custom-branches-section {
    padding: 30px 12px 35px;
  }

  .branches-heading {
    margin-bottom: 18px;
  }

  .branches-title-row {
    gap: 10px;
  }

  .branches-title-row h2 {
    font-size: 20px;
  }

  .branches-title-line {
    width: 35px;
  }

  .branches-heading p {
    font-size: 11px;
  }

  .branches-layout {
    display: flex;
    flex-direction: column;
    min-height: auto;
    border-radius: 8px;
  }

  /* لوحة الفروع تظهر أولًا */
  .branches-panel {
    order: 1;
    padding: 18px 15px;
  }

  .branches-map {
    order: 2;
    min-height: 330px;
    height: 330px;
  }

  .branches-map iframe {
    min-height: 330px;
    height: 330px;
  }

  .branch-tab {
    min-height: 40px;
    font-size: 12px;
  }

  .branch-map-button {
    margin-top: 12px;
  }
}

/* شاشات الموبايل الصغيرة */
@media (max-width: 380px) {
  .branches-title-row h2 {
    font-size: 18px;
  }

  .branches-title-line {
    width: 24px;
  }

  .branches-map,
  .branches-map iframe {
    min-height: 290px;
    height: 290px;
  }
}
/* =====================================
   سكشن الفروع والخريطة
===================================== */

.custom-branches-section {
  --branches-gold: #cda343;
  --branches-dark: #100e07;
  --branches-text: #171717;

  width: 100%;
  padding: 45px 20px 55px;
  background-color: #ffffff;
  box-sizing: border-box;
  direction: rtl;
}

.custom-branches-section * {
  box-sizing: border-box;
}

.custom-branches-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

/* العنوان */
.branches-heading {
  margin-bottom: 24px;
  text-align: center;
}

.branches-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
}

.branches-title-row h2 {
  margin: 0;
  color: var(--branches-text);
  font-family: inherit;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.5;
  white-space: nowrap;
}

.branches-title-line {
  display: block;
  width: 65px;
  height: 2px;
  flex-shrink: 0;
  border-radius: 5px;
  background-color: var(--branches-gold);
}

.branches-heading p {
  margin: 2px 0 0;
  color: #777777;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.7;
}

/* الخريطة واللوحة */
.branches-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, 0.85fr);
  align-items: stretch;
  gap: 0;
  width: 100%;
  min-height: 500px;
  direction: ltr;
  overflow: hidden;
  border-radius: 9px;
  background-color: #f5f5f5;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

/* الخريطة */
.branches-map {
  position: relative;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 500px;
  background-color: #eeeeee;
}

.branches-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: 0;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.branches-map iframe.is-changing {
  opacity: 0.35;
}

/* اللوحة الداكنة */
.branches-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  padding: 25px 24px 22px;
  background-color: var(--branches-dark);
  color: #ffffff;
  direction: rtl;
}

.branches-panel-label {
  margin: 0 0 13px;
  color: var(--branches-gold);
  font-size: 12px;
  font-weight: 700;
}

/* أزرار الفروع */
.branches-tabs {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.branch-tab {
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;

  display: flex;
  align-items: center;
  gap: 9px;

  color: #ffffff;
  background-color: transparent;
  border: 0;
  border-radius: 7px;

  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: right;
  cursor: pointer;

  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s ease;
}

.branch-tab:hover {
  color: var(--branches-gold);
  transform: translateX(-2px);
}

.branch-tab.is-active {
  color: #ffffff;
  background-color: var(--branches-gold);
}

.branch-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: currentColor;
}

/* بيانات الفرع */
.branch-information {
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.branch-information > h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
}

.branch-info-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
}

.branch-info-icon {
  width: 31px;
  height: 31px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 7px;
  color: var(--branches-gold);
  background-color: #fffaf0;
  font-size: 16px;
  font-weight: 700;
}

.branch-info-row small {
  display: block;
  margin-bottom: 1px;
  color: var(--branches-gold);
  font-size: 10px;
  line-height: 1.4;
}

.branch-info-row p {
  margin: 0;
  color: #ffffff;
  font-size: 11px;
  line-height: 1.6;
}

/* زر الاتجاهات */
.branch-map-button {
  min-height: 43px;
  margin-top: auto;
  padding: 10px 16px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  border-radius: 7px;
  background-color: var(--branches-gold);
  color: #ffffff !important;

  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;

  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.branch-map-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
}

.direction-icon {
  font-size: 16px;
}

/* التابلت */
@media (max-width: 900px) {
  .custom-branches-section {
    padding: 38px 15px 45px;
  }

  .branches-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.85fr);
    min-height: 470px;
  }

  .branches-map,
  .branches-map iframe {
    min-height: 470px;
  }

  .branches-panel {
    padding: 20px 17px;
  }
}

/* الموبايل */
@media (max-width: 700px) {
  .custom-branches-section {
    padding: 30px 12px 35px;
  }

  .branches-heading {
    margin-bottom: 18px;
  }

  .branches-title-row {
    gap: 10px;
  }

  .branches-title-row h2 {
    font-size: 20px;
  }

  .branches-title-line {
    width: 35px;
  }

  .branches-heading p {
    font-size: 11px;
  }

  .branches-layout {
    display: flex;
    flex-direction: column;
    min-height: auto;
    border-radius: 8px;
  }

  /* لوحة الفروع تظهر أولًا */
  .branches-panel {
    order: 1;
    padding: 18px 15px;
  }

  .branches-map {
    order: 2;
    min-height: 330px;
    height: 330px;
  }

  .branches-map iframe {
    min-height: 330px;
    height: 330px;
  }

  .branch-tab {
    min-height: 40px;
    font-size: 12px;
  }

  .branch-map-button {
    margin-top: 12px;
  }
}

/* شاشات الموبايل الصغيرة */
@media (max-width: 380px) {
  .branches-title-row h2 {
    font-size: 18px;
  }

  .branches-title-line {
    width: 24px;
  }

  .branches-map,
  .branches-map iframe {
    min-height: 290px;
    height: 290px;
  }

  
}


/* =================================
   شركاؤنا وعلاماتنا التجارية
================================= */

.brands-section {
  width: 100%;
  padding: 32px 20px 34px;
  background-color: #faf7ef;
  direction: rtl;
  box-sizing: border-box;
}

.brands-section * {
  box-sizing: border-box;
}

.brands-container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
}

/* رأس السكشن */
.brands-header {
  display: grid;
  grid-template-columns: 100px 1fr 100px;
  align-items: center;
  margin-bottom: 22px;
}

.brands-header h2 {
  margin: 0;
  color: #171717;
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

/* أزرار الأسهم */
.brands-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  direction: ltr;
}

.brands-arrow {
  width: 30px;
  height: 30px;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #9f7d2e;
  background-color: transparent;
  border: 0;
  border-radius: 50%;

  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;

  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s ease;
}

.brands-arrow:hover {
  color: #ffffff;
  background-color: #cda343;
  transform: scale(1.06);
}

/* حاوية اللوجوهات */
.brands-slider {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;

  width: 100%;
  padding: 2px 5px 4px;

  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;

  scrollbar-width: none;
}

.brands-slider::-webkit-scrollbar {
  display: none;
}

/* كل لوجو */
.brand-item {
  flex: 1 0 0;
  min-width: 150px;
  height: 95px;

  display: flex;
  align-items: center;
  justify-content: center;

  scroll-snap-align: center;

  opacity: 0;
  transform: translateY(9px);
  animation: brandLogoShow 0.55s ease forwards;
}

.brand-item:nth-child(1) {
  animation-delay: 0.05s;
}

.brand-item:nth-child(2) {
  animation-delay: 0.10s;
}

.brand-item:nth-child(3) {
  animation-delay: 0.15s;
}

.brand-item:nth-child(4) {
  animation-delay: 0.20s;
}

.brand-item:nth-child(5) {
  animation-delay: 0.25s;
}

.brand-item img {
  display: block;
  width: 100%;
  max-width: 175px;
  height: 75px;
  object-fit: contain;

  filter: none;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.brand-item:hover img {
  transform: translateY(-4px) scale(1.04);
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.08));
}

@keyframes brandLogoShow {
  from {
    opacity: 0;
    transform: translateY(9px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* التابلت */
@media (max-width: 900px) {
  .brands-section {
    padding: 28px 15px 30px;
  }

  .brands-slider {
    justify-content: flex-start;
    gap: 25px;
  }

  .brand-item {
    flex: 0 0 calc(33.333% - 17px);
    min-width: 180px;
  }
}

/* الموبايل */
@media (max-width: 600px) {
  .brands-section {
    padding: 24px 12px 26px;
  }

  .brands-header {
    grid-template-columns: 65px 1fr 65px;
    margin-bottom: 17px;
  }

  .brands-header h2 {
    font-size: 16px;
  }

  .brands-controls {
    gap: 2px;
  }

  .brands-arrow {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .brands-slider {
    gap: 18px;
    padding-bottom: 5px;
  }

  .brand-item {
    flex: 0 0 calc(50% - 9px);
    min-width: 145px;
    height: 80px;
  }

  .brand-item img {
    max-width: 145px;
    height: 65px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-item {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .brand-item img,
  .brands-arrow {
    transition: none;
  }
}


/* زر أضف للسلة */
salla-add-product-button .s-button-primary,
salla-add-product-button button {
    background-color: #1A2340 !important;
    border-color: #1A2340 !important;
    color: #ffffff !important;
    fill: #ffffff !important;
}

/* عند مرور الماوس */
salla-add-product-button .s-button-primary:hover,
salla-add-product-button button:hover {
    background-color: #11182e !important;
    border-color: #11182e !important;
    color: #ffffff !important;
}