/* 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;
    }
}