@media (max-width: 767px) {
  .tp-header-action-item.tp-header-action-item-compare {
    display: none !important;
  }
}
@media (max-width: 991px) {
  .tp-header-action-item-wishlist.d-none.d-lg-block {
    display: block !important;
  }
}

/* اظهار ايقونة الحساب على الموبايل */
@media (max-width: 991px) {
  .tp-header-login.d-none.d-lg-block {
    display: block !important;   /* هتظهر */
  }

  /* اخفاء النصوص عشان تبقى زي الايقونات التانية */
  .tp-header-login-content {
    display: none !important;
  }

  .tp-header-login-icon {
    margin-right: 0 !important; /* عشان يبقى مظبوط جنب باقي الايقونات */
  }
  .tp-header-action.ml-50 {
    margin-left: 5px !important;
    margin-right: 5px !important;
}
  .tp-header-login-icon span {
    border: 0px solid !important;
  }
}


    align-items: center !important;

    justify-content: center !important;

    margin-right: 10px !important;

  }

  /* ترتيب العناصر عشان البحث يظهر تحت اللوجو */

  .tp-header-area {

    display: flex !important;

    flex-direction: column !important;

    align-items: center !important;

  }

}
/* ✅ إظهار مربع البحث على الموبايل فقط بدون لخبطة الترتيب */

@media (max-width: 991px) {

  /* إظهار مربع البحث */

  .tp-header-search {

    display: block !important;

    width: 90% !important;

    margin: 8px auto !important;

    order: initial !important;

  }

  /* شكل المربع */

  .tp-header-search form {

    display: flex !important;

    align-items: center !important;

    background: #fff !important;

    border-radius: 30px !important;

    padding: 6px 10px !important;

    box-shadow: 0 2px 5px rgba(0,0,0,0.08) !important;

  }

  .tp-header-search input {

    flex: 1 !important;

    border: none !important;

    outline: none !important;

    padding: 8px !important;

    font-size: 15px !important;

    color: #333 !important;

    background: transparent !important;

  }

  .tp-product-arrival-active{
  padding: 0px !important;
  }
  .tp-header-search button {

    background: #ff7a00 !important;

    border: none !important;

    color: #fff !important;

    border- /* شكل المربع */

  .tp-header-search form {

    display: flex !important;

    align-items: center !important;

    background: #fff !important;

    border-radius: 30px !important;

    padding: 6px 10px !important;

    box-shadow: 0 2px 5px rgba(0,0,0,0.08) !important;

  }

  .tp-header-search input {

    flex: 1 !important;

    border: none !important;

    outline: none !important;

    padding: 8px !important;

    font-size: 15px !important;

    color: #333 !important;

    background: transparent !important;

  }

  .tp-header-search button {

    background: #ff7a00 !important;

    border: none !important;

    color: #fff !important;

    border-radius: 50% !important;
radius: 50% !important;

    width: 32px !important;

    height: 32px !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

  }

  /* نحافظ على ترتيب عناصر الهيدر */

  .tp-header-inner {

    display: flex !important;

    flex-wrap: wrap !important;

    justify-content: space-between !important;

    align-items: center !important;

  }

}

@media only screen and (max-width: 767px) {
  .tp-product-categories-slider.swiper-container {
    width: 100% !important;
    overflow: visible !important;
    padding: 6px 6px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .tp-product-categories-slider .swiper-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    transform: none !important;
    margin: 0 !important;
    gap: 8px !important;
    justify-content: flex-start !important;
  }

  .tp-product-categories-slider .swiper-slide,
  .tp-product-categories-slider .swiper-slide[style] {
    width: calc((100% - 32px) / 5) !important;
    min-width: calc((100% - 32px) / 5) !important;
    max-width: calc((100% - 32px) / 5) !important;
    flex: 0 0 calc((100% - 32px) / 5) !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .tp-product-category-item {
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    background: transparent !important;
  }

  .tp-product-category-thumb {
    width: 100% !important;
    height: 0 !important;
    padding-bottom: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    margin: 0 auto 6px !important;
    box-sizing: border-box !important;
  }

  .tp-product-category-thumb img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  .tp-product-category-content { padding: 0 4px !important; }

  .tp-product-category-title,
  .tp-product-category-title a {
    font-size: 10px !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    height: 32px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-align: center !important;
    color: #000 !important;
    font-weight: 600 !important;
  }

  .tp-product-categories-slider .swiper-button-next,
  .tp-product-categories-slider .swiper-button-prev,
  .tp-product-categories-slider .swiper-pagination {
    display: none !important;
  }
}



@media only screen and (max-width: 767px) {
.pb-30 {
    padding-bottom: 5px !important;
    padding-top: 5px !important;

}
}



  





.lomi-banner-full {

  width: 100%;

  overflow: hidden;

  text-align: center;

  margin-bottom: 20px;
  margin-top: 20px;


}

.lomi-banner-full img {

  width: 100%;

  height: auto;

  object-fit: cover;

  border-radius: 0;

  transform: scale(1);

  max-height: 50vh; /* يخلي الارتفاع حوالي 50% من الشاشة */

}


   !important;

    box-shadow: 0 2px 5px rgba(0,0,0,0.08) !important;

    width: 100%;

    max-width: 600px; /* أقصى عرض للصندوق على الكمبيوتر */

    margin: 0 auto;

    box-sizing: border-box;

}
/* مسافة بسيطة فوق الصورة */
div[style*="margin-top: -35px"] {
  margin-top: 10px !important;
}

/* الصورة تبقى فول هايت على الموبايل */
@media (max-width: 768px) {
  div[style*="margin-top: -35px"] img {
    height: 100px !important;
    object-fit: cover;
  }
}
/* Mobile-only CSS to display 5 categories per row in slider */
@media only screen and (max-width: 767px) {
    /* Container settings */
    .tp-product-category .container {
        padding: 0 10px !important;
    }
    
    .tp-product-categories-slider.swiper-container {
        overflow: hidden !important;
        width: 100% !important;
        padding: 0 !important;
    }
    
    .tp-product-categories-slider .swiper-wrapper {
        display: flex !important;
        flex-wrap: nowrap !important;
        width: auto !important;
    }
    
    /* Force 5 small items visible at once */
    .tp-product-categories-slider .swiper-slide {
        width: 18% !important;
        min-width: 18% !important;
        max-width: 18% !important;
        margin-left: 2.5% !important;
        margin-right: 0 !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Remove left margin from first visible item */
    .tp-product-categories-slider .swiper-slide:first-child {
        margin-left: 0 !important;
    }
    
    /* Override inline width styles from Swiper JS */
    .tp-product-categories-slider .swiper-slide[style*="width"] {
        width: 18% !important;
        min-width: 18% !important;
        margin-left: 2.5% !important;
    }
    
    .tp-product-categories-slider .swiper-slide[style*="width"]:first-child {
        margin-left: 0 !important;
    }
    
    /* Make category items compact */
    .tp-product-category-item {
        margin-bottom: 10px !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }
    
    /* Make image container small and square */
    .tp-product-category-thumb {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        overflow: hidden !important;
        margin: 0 auto 5px !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        border-radius: 8px !important;
        aspect-ratio: 1/1 !important;
    }
    
    .tp-product-category-thumb.fix {
        position: relative !important;
    }
    
    .tp-product-category-thumb a {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    .tp-product-category-thumb img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Make text very small and compact */
    .tp-product-category-content {
        padding: 0 !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .tp-product-category-title {
        font-size: 9px !important;
        line-height: 1.1 !important;
        margin: 3px 0 0 !important;
        height: 20px !important;
        overflow: hidden !important;
    }
    
    .tp-product-category-title a {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        word-break: break-word !important;
        font-size: 9px !important;
        line-height: 1.1 !important;
    }
    
    .tp-product-category-content p {
        font-size: 7px !important;
        margin: 2px 0 0 !important;
        line-height: 1.2 !important;
    }
}

/* For larger mobile screens (480px - 767px) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
    .tp-product-categories-slider .swiper-slide {
        width: 18% !important;
        min-width: 18% !important;
        max-width: 18% !important;
        margin-left: 2.5% !important;
    }
    
    .tp-product-categories-slider .swiper-slide:first-child {
        margin-left: 0 !important;
    }
    
    .tp-product-category-title {
        font-size: 10px !important;
        height: 22px !important;
    }
    
    .tp-product-category-title a {
        font-size: 10px !important;
    }
    
    .tp-product-category-content p {
        font-size: 8px !important;
    }
}

/* For very small screens (less than 360px) */
@media only screen and (max-width: 359px) {
    .tp-product-categories-slider .swiper-slide {
        width: 18% !important;
        min-width: 18% !important;
        max-width: 18% !important;
        margin-left: 2% !important;
    }
    
    .tp-product-categories-slider .swiper-slide:first-child {
        margin-left: 0 !important;
    }
    
    .tp-product-category-title {
        font-size: 8px !important;
        height: 18px !important;
    }
    
    .tp-product-category-title a {
        font-size: 8px !important;
    }
    
    .tp-product-category-content p {
        font-size: 6px !important;
    }
}
.section-title.tp-section-title {
  background-color: rgb(255, 153, 0);
  padding: 20px;
  border-radius: 8px;
  color: white;
}
/* ===========================

   Lomi – تحسين تصميم الواجهة

   =========================== */

/* تقليل المسافات الكبيرة بين الأقسام */

.pt-120 { padding-top: 40px !important; }

.pb-120 { padding-bottom: 40px !important; }

.pt-100 { padding-top: 35px !important; }

.pb-100 { padding-bottom: 35px !important; }

.pt-60  { padding-top: 25px !important; }

.pb-60  { padding-bottom: 25px !important; }

/* تقليل المسافة الفاضية بين الأقسام (زي اللي بين المنتجات) */

.section {

  margin-bottom: 40px !important;

}

/* تقليل المسافات بين كروت المنتجات */

.product__grid {

  gap: 15px !important;

}

.product__item {

  margin-bottom: 15px !important;

}

/* توحيد شكل العناوين (زي "منتجات مميزة") */

.section__title {

  font-weight: 700 !important;

  font-size: 20px !important;

  margin-bottom: 15px !important;

  color: #222 !important;

}

/* تحسين شكل الأزرار */

.tp-product-action-btn, .tp-product-add-to-cart {

  border-radius: 8px !important;

  font-weight: 600 !important;

}

/* استخدام خط أنيق (Cairo) لو الموقع عربي */

body {

  font-family: "Cairo", sans-serif !important;

}

/* تقليل حجم الفراغ بين الهيدر وبداية الصفحة */

.header__area {

  margin-bottom: 10px !important;

}

/* تحسين شكل الكروت ليكون أقرب لجوميا */

.product__item {

  box-shadow: 0 1px 4px rgba(0,0,0,0.08) !important;

  border-radius: 10px !important;

  transition: 0.2s ease-in-out;

}

.product__item:hover {

  box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;

  transform: translateY(-3px);

}
/* تحسين واجهة المتجر */
.product-item {
    margin-bottom: 10px !important;
}

.section--default {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}

header.site-header {
    padding: 8px 0 !important;
}

.product-item .product-info {
    padding: 10px !important;
}

body, .product-title, .menu-item a {
    font-size: 15px !important;
    font-weight: 500 !important;
}

img {
    margin-bottom: 5px !important;
}
/* تحسين واجهة المتجر */

.product-item {

    margin-bottom: 10px !important;

}

.section--default {

    padding-top: 30px !important;

    padding-bottom: 30px !important;

}

header.site-header {

    padding: 8px 0 !important;

}

.product-item .product-info {

    padding: 10px !important;

}

body, .product-title, .menu-item a {

    font-size: 15px !important;

    font-weight: 500 !important;

}

img {

    margin-bottom: 5px !important;

}
/* Search Bar Container */
.tp-header-mobile-search {
    background: white !important;
    border-radius: 12px !important;
    padding: 15px !important;
    box-shadow: 0 2px 8px rgba(255, 153, 0, 0.15) !important;
}

/* Search Form Wrapper */
.tp-header-search-wrapper {
    background: white !important;
    border: 2px solid #ff9900 !important;
    border-radius: 50px !important;
    overflow: hidden !important;
    padding: 5px !important;
}

/* Search Input Box */
.tp-header-search-box {
    flex: 1 !important;
    background: white !important;
}

.tp-header-search-box input[type="search"] {
    background: white !important;
    color: black !important;
    border: none !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    width: 100% !important;
    outline: none !important;
}

.tp-header-search-box input[type="search"]::placeholder {
    color: #666 !important;
    opacity: 0.7 !important;
}

.tp-header-search-box input[type="search"]:focus {
    background: white !important;
    color: black !important;
}

/* Category Dropdown Section */
.tp-header-search-category {
    background: white !important;
    border-left: none !important;
    border-right: none !important;
    padding: 0 10px !important;
}

.product-category-label {
    background: white !important;
    color: black !important;
    padding: 8px 15px !important;
    cursor: pointer !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
}

.product-category-label:hover {
    background: #fff5e6 !important;
}

.product-category-label span {
    color: black !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.product-category-label svg {
    color: #ff9900 !important;
    width: 18px !important;
    height: 18px !important;
}

/* Category Select Dropdown */
.tp-header-search-category select {
    background: white !important;
    color: black !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 15px !important;
    font-size: 14px !important;
    cursor: pointer !important;
    outline: none !important;
}

.tp-header-search-category select:focus {
    border: none !important;
    box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.1) !important;
}

.tp-header-search-category select option {
    background: white !important;
    color: black !important;
    padding: 10px !important;
}

/* Search Button - Hidden */
.tp-header-search-btn {
    display: none !important;
}

.tp-header-search-btn button {
    display: none !important;
}

/* Quick Search Results */
.bb-quick-search-results {
    background: white !important;
    color: black !important;
    border: 2px solid #ff9900 !important;
    border-radius: 8px !important;
    margin-top: 10px !important;
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.15) !important;
}

/* Form Styling */
.bb-form-quick-search {
    background: white !important;
}

/* RTL Support for Arabic */
.tp-header-search-category {
    border-left: none !important;
    border-right: none !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    /* Hide category dropdown completely on mobile */
    .tp-header-search-category {
        display: none !important;
    }
    
    .tp-header-search-wrapper {
        flex-wrap: nowrap !important;
    }
    
    .tp-header-search-box {
        width: 100% !important;
        margin-bottom: 0 !important;
    }
}