/* 1. تثبيت الهيدر الشفاف فوق البنر (في الصفحة الرئيسية فقط) */
.store-home header.store-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99 !important;
    background: transparent !important;
}

/* 2. تصفير ألوان الشريطين (في الصفحة الرئيسية فقط) */
.store-home .top-navbar,
.store-home #mainnav,
.store-home .main-nav-container,
.store-home #mainnav .bg-white,
.store-home #mainnav .inner.bg-inherit {
    background-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* 3. إصلاح الهيدر في الصفحات الداخلية (لإرجاعه لوضعه الطبيعي) */
body:not(.store-home) header.store-header {
    position: relative !important;
    background-color: #FFF6F2 !important; /* لون خلفية متجرك */
    border-bottom: 1px solid #f0e6e1 !important; /* خط خفيف ليفصل الهيدر عن المنتجات */
}

body:not(.store-home) .top-navbar,
body:not(.store-home) #mainnav,
body:not(.store-home) .main-nav-container,
body:not(.store-home) #mainnav .bg-white,
body:not(.store-home) #mainnav .inner.bg-inherit {
    background-color: #FFF6F2 !important;
}

/* 3. حماية القائمة الجانبية للموبايل (عشان تفضل بيضاء وسليمة 100%) */
s-drawer, 
.s-drawer, 
s-mobile-menu {
    background-color: #ffffff !important; 
    z-index: 99999 !important; /* القائمة الجانبية هي اللي تاخد أعلى رقم */
}

/* 4. تصميم الزجاج (هيتطبق على شريط اللوجو بس لما تنزل لتحت) */
#mainnav.scrolled-glass {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background-color: rgba(253, 248, 245, 0.95) !important; /* لون أوف وايت شفاف */
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    transition: all 0.3s ease !important;
    z-index: 99 !important; /* قللنا الرقم هنا كمان */
}



























/* Add custom CSS styles below */ 
/*.products-grid.eq-height .product, .products-grid.eq-height .thumbnail, .products-listing.eq-height .product, .products-listing.eq-height .thumbnail, body.salla-default #products_div.eq-height .product, body.salla-default #products_div.eq-height .thumbnail {
    border: 4px solid #e9c89d;
    border-radius: 6px;
    box-shadow: rgb(100 100 111 / 20%) 0px 7px 29px 0px;
}


.sicon-cart:before {
    color: #c59f4e;
}


.product-add {
    background: #c59f4e;
    border-radius: 10px;
}


.sicon-cart:before {
    color: #fff;

}


.site-header {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 0px 0px 0 rgb(0 0 0 / 20%), 0 0px 20px 0 rgb(0 0 0 / 10%);
    background: #c59f4e;
}

.header-wrapper {
    background: #c59f4e;
}

.footer-main {
    border-radius: 20px;
    border-top: 0px solid #a63f3f;
    margin: 15px;
    background-color: #c59f4e;
    color: #fff;
    text-align: center;
    padding-top: 30px;
}

.footer-title span {
    background: #fff;
    padding-right: 15px;
    padding-left: 15px;
    padding-bottom: 5px;
    font-size: 15px !important;
    border-radius: 10px;
}


.circle-action {
    border: 0px solid #ececec;
    border-radius: 3px;
    background: none;
    color: #fff;
    line-height: 40px;
}

#cart_badge {
    line-height: 1.5384616;
    background: #fff;
    color: #c59f4e;
}


.sub-nav-header::before {
    content: "";
    text-align: center !important;
    display: block;
    height: 50px !important;
    background-image: url(https://map.velan.com.sa/wp-content/uploads/2022/09/BURKAN-2.png);
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    margin: 15px 0 20px 0;
}

.sub-nav-header a {
    padding: 8px;
    border-radius: 10px;
}

.sub-nav-header img {
    display: contents;
    margin: 0 auto;
    width: 75px;
    height: 75px;
    border: 2px solid #fff;
    border-radius: 50%;
}

.sub-nav__menu:before {
    vertical-align: middle;
    font-family: FontAwesome !important;
    content: '\f0c9';
    color: #fff;
    font-size: 22px;
    float: right;
    width: 70px;
}



.sub-nav__menu svg {
    display: inline-block;
    vertical-align: middle;
    width: 0px;
    height: 0px;
}

.footer .store-certificate b {
    color: #ffff;
    font-size: 13px;
}

.store-contact a {
    color: #f9f6f6;
}

.social__item a {
    color: #f9f6f6;
    border: 1px solid #fff;
}


.product-form, .product-options {
    background-color: #fff;
    border: 1px solid #eee!important;
    border-radius: 29px;
    padding: 20px!important;
}

.cart-fav .add_to_cart_large_btn, .cart-fav .not-available-large {
    border-radius: 14px;
    flex: 1 1 auto;
    font-size: 18px;
    height: 38px;
    line-height: 20px;
    margin: 0 0 0 10px;
    min-height: unset!important;
    position: static;
    transform: unset;
}

.product-details__title {
    color: #5a5a5a;
    font-size: 24px;
    font-family: dinnextltw23-medium;
    margin-bottom: 1rem;
    text-align: center;
}

.product {
    position: relative;
    margin-bottom: 0rem;
    font-size: 14px;
    border: 1px solid #ececec;
    border-radius: 28px;
    padding-bottom: 1rem;
    -webkit-transition: all .2s ease-out;
    transition: all .2s ease-out;
    text-align: center;
}


.section[data-type=banner] {
    padding: 1rem 0 0!important;
    background-color: #ffd19342;
}


.article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
    display: block;
    background-color: #ffd19342;
}


.section-products .container {
    padding-top: 0;
    background: none;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: none;
}

.footer-header {
    background: #ffd19342;
    text-align: center;
}

.u-white {
    background-color: #ffd19342;
}


.element.style {
    background: #ffd19342;
}


.element.style {
    background-color: #ffd19342;
}


.tax-label {
    color: #f70606;
    display: table;
    font-size: 12px;
    line-height: 1;
    margin: 3px 0 0;
}


.footer-main a, .footer-main p {
    color: #fff;
}*/
/*main-slider */
 salla-slider.photos-slider .swiper-slide {
    padding: 0rem;
    margin: 0rem;
    width: 100%;
}
/*main-slider */
/*arrow of slider */

/*arrow of slider */
.footer-is-light .store-footer .store-footer__inner {

    background-color: rgb(255 246 242)!important;
}
.s-slider-block__title {
    display: none;
}
div#mainnav {
    background: #fff6f2;
}
section.s-block.s-block--fixed-banner.wide-placeholder .container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}
.app-inner.flex.flex-col.min-h-full {
    background: #FFF6F2 !important;
}
@media (min-width: 776px) {
  img[src="https://cdn.salla.sa/form-builder/GXECsjUQBJg65Cs876HxUtqpimd3KgSnRJHEWnfj.png"] {
    width: 85%;
    margin: auto;
    margin-left: 0;
  }
}
/*----------------banner----------------*/
.banner--fixed img {
    background: unset !important;
     margin-bottom:20px ;
}
/*-----------banner--------------------*/
.md\:grid-cols-3 {
grid-template-columns: repeat(3,minmax(0,1fr));}

.two-row .banner-entry:first-child {
    grid-column: 1 / 1;
    grid-row: 1 / 1;
}
a.banner-entry{
    height: 500px;
    background-color:unset;
}
.lazy__bg.lazy.entered.loaded {
    background-size: contain;
    background-repeat: no-repeat;
}
@media(min-width:768px) and (max-width:1200px){
a.banner-entry{
    height: 400px;
}
}
@media(max-width:767px){
a.banner-entry{
    height: 160px;
    padding: 0rem;
  
}
}
section:nth-of-type(1){
margin-top:0px
}

/*-margin-top of main container----*/
/*------main-image------*/
.swiper.s-slider-container.swiper-initialized {
    margin-left: 0!important;
   padding:0px
}
/*-------------------------------------*/
salla-slider.photos-slider .swiper:where([dir=rtl],[dir=rtl] *) {
     padding-left:0;
}
.swiper.s-slider-container.swiper-initialized {
    margin-left: 0!important;
    padding: 0px;
}
salla-slider.photos-slider .swiper-slide {
    margin-left: 1rem;
    margin-right: 1rem;
    width: 100%;
    padding: 0px;
}
/*--------------media-of-product--------*/
@media screen and (max-width:768px){
.s-products-slider-card{
    width:50%
}
button.undefined {
    font-size: 15px;
    padding: 10px;
}
}
/*--------------media-of-product--------*/
@keyframes moveUpDown {
    0%,100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

/*.s-product-card-entry { 
    animation: moveUpDown 2s ease-in-out infinite; 
}*/
footer *{
margin-left:auto;
margin-right:auto ;
text-align: center;
}


.d{
    border-radius: 20px;
  }
     /* Animation keyframes for zoom-in effect */
@keyframes zoomIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* Styles for overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Styles for popup container */
.popup-container {
  z-index: 101;
  animation: zoomIn 1s ease forwards;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Styles for popup header */

/* Styles for close button */
#closeButton {
  background: none;
  border: none;
  font-size: 36px;
  cursor: pointer;
  color: white;
  position: absolute;
  top: -30px;
  left: -25px;
}

.popup-content img {
max-width:500px
}

@media(max-width:767px){
.popup-content img {
max-width:300px
}
#closeButton {
       top: -50px;
    left: 25px;
}
}
.popup-header {
  display: flex;
  justify-content: flex-end;
}

.s-payments-list a:last-child{
  background-color: red;
}
/*************************/
.popup-content h2{
background-color:#fff;
padding:20px ;
  border-radius:30px
}
/* Hide opo up */
#popupOverlay {
    display: none;
}
.s-slider-block__title {
    display: none !important;
}

/************----------------------------------------------------------------------------------------------------------------------
--------------------------------------*************/

<style>
  /* تنسيق الحاوية الرئيسية */
  .custom-categories-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 40px 15px;
    flex-wrap: wrap;
    direction: rtl; 
  }

  /* تنسيق كل قسم */
  .cat-item {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  /* تنسيق الدائرة اللي فيها الصورة */
  .cat-img-box {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background-color: #f9f9f9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* حركة الـ Bounce الناعمة */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid transparent;
  }

  /* تنسيق الصورة نفسها */
  .cat-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  /* تنسيق النص */
  .cat-title {
    margin-top: 18px;
    font-size: 22px;
    color: #8b5a41; /* لون بني مشابه للصورة */
    font-weight: bold;
    font-family: inherit; /* هياخد خط المتجر التلقائي */
    transition: all 0.3s ease;
  }

  /* =========================================
     تأثيرات الـ HOVER الجامدة
  ========================================= */
  
  /* 1. رفع الدائرة لفوق مع إضافة ظل وإطار خفيف */
  .cat-item:hover .cat-img-box {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(139, 90, 65, 0.2); 
    border-color: #dcb39e;
  }

  /* 2. زووم خفيف للصورة من جوه */
  .cat-item:hover img {
    transform: scale(1.12);
  }

  /* 3. تغيير بسيط في لون النص وتكبيره سنة */
  .cat-item:hover .cat-title {
    color: #5c3a29;
    transform: scale(1.05);
  }

  /* =========================================
     التجاوب مع الموبايل (Responsive)
  ========================================= */
  @media (max-width: 768px) {
    .custom-categories-wrapper {
      gap: 15px;
      padding: 20px 10px;
    }
    .cat-img-box {
      width: 130px;
      height: 130px;
    }
    .cat-title {
      font-size: 16px;
      margin-top: 12px;
    }
  }

  @media (max-width: 480px) {
    .custom-categories-wrapper {
      gap: 10px;
    }
    .cat-img-box {
      width: 100px;
      height: 100px;
    }
    .cat-title {
      font-size: 14px;
    }
  }
</style>