.custom-banner-home>.container {
    margin-top: -100px;
    background-color: #ffffff;
    z-index: 9999999;
    position: relative;
    display: block;
    max-width: 800px;
    margin-left: 0;
}


.custom-banner-home .box-title {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
}

.home-icon-blok {
    background-color: white;
    padding: 24px;
    max-width: initial;
}

.home-icon-blok.fs-ms {
    color: #BCBDC0 !important;
}

.banner-grid-in-midle {
    max-width: initial;

}

/* Product Gallery Adjustments */
.product-gallery {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: flex-start;
}

/* Main Product Swiper */
.main-product-swiper {
  flex: 1;
  position: relative;
  width: 100%;
  padding-top: 100%;
}

.main-product-swiper .swiper-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Gallery Item */
.main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

/* Side Product Swiper */
.side-product-swiper {
  width: 21%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.side-product-swiper .swiper-slide {
  margin-bottom: 12px;
}

/* Thumbnail Image */
.thumb-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
}

/* Hide navigation buttons */
.main-product-swiper .button-prev,
.main-product-swiper .button-next {
  display: none !important;
}

.product-single .product-gallery .side-product-swiper {
    margin-block: min(max(50px, 50 / 1440 * 100vw), 0px) !important;
}

.product-single .product-gallery .main-product-swiper .gallery-item {
  height: auto !important;
}


/* Category Card Adjustments */
.category-img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  display: block;
} 

.category-title.text-width h5,
.category-title.text-width .h5 {
    font-size: 0.875rem;
}

.card-body.text-width {
    flex: 1 1 auto;
    padding: 0.75rem 0.00rem;
}

.category-title.text-width {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
    margin: 0 auto;
    height: 75px;
}

/* Responsive Adjustments for Category Cards */
@media (min-width: 576px) {
    .category-img {
        width: 100%;
        height: 160px;
        object-fit: contain;
        display: block;
    } 

    .category-title.text-width h5,
    .category-title.text-width .h5 {
        font-size: 0.875rem;
    }

    .card-body.text-width {
        flex: 1 1 auto;
        padding: 0.75rem 0;
    }

    .category-title.text-width {
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
        margin: 0 auto;
        height: 75px;
    }
}

/* Mobile Adjustments for Category Cards */
@media (max-width: 575.98px) {
    .category-img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .category-title.text-width,
    .card-body.text-width {
        padding: initial;
        height: auto;
    }

    .category-title.text-width h5,
    .category-title.text-width .h5 {
        font-size: initial;
    }
}
/* Navbar Stuck Menu – ΤΕΛΕΙΟ, ΧΩΡΙΣ ΚΕΝΑ, ΧΩΡΙΣ ΝΑ ΦΕΥΓΕΙ, ΜΕ ΠΟΛΥ ΜΙΚΡΟ LINE-HEIGHT ΣΤΑ DROPDOWN */
@media (min-width: 992px) {

  .navbar.navbar-stuck-menu {
    position: relative !important;
    z-index: 10000000 !important;
  }

  .navbar.navbar-stuck-menu .dropdown-menu {
    position: absolute !important;
    z-index: 10000001 !important;
    background: #fff !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 8px 0 !important;           /* Μικρότερο padding */
    min-width: 220px !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .navbar.navbar-stuck-menu.navbar-expand-lg.navbar-light.mt-n2.pt-0.pb-2 {
    background: #ffffff !important;
    padding-bottom: 0 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
  }

  .navbar.navbar-stuck-menu .navbar-nav .nav-item {
    position: relative;
    flex: 0 0 9%;
    min-width: 80px;
    text-align: center;
  }

  .navbar.navbar-stuck-menu .navbar-nav .nav-item:not(:first-child):not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 1px;
    background: rgba(0,175,240,0.2);
  }

  /* ΠΟΛΥ ΜΙΚΡΟ LINE-HEIGHT ΣΤΑ DROPDOWN (1.2) */
  .navbar-stuck-menu .dropdown-item {
    font-size: 13px !important;
    line-height: 1.1 !important;        /* ΠΟΛΥ ΜΙΚΡΟΤΕΡΟ */
    padding: 6px 20px !important;       /* Μικρότερο padding */
    white-space: normal !important;
    word-break: break-word !important;
  }

  .navbar-stuck-menu .dropdown-item:hover {
    background: #f0faff !important;
    color: #1ea8f2 !important;
  }

  /* Τα links στο navbar (πάνω) */
  .navbar.navbar-stuck-menu .navbar-nav .nav-link {
    font-size: 11px !important;
    line-height: 1.6 !important;
    font-weight: 500 !important;
    padding: 6px 2px !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  .navbar.navbar-stuck-menu .navbar-nav .nav-link:hover {
    color: #1ea8f2 !important;
    font-weight: 700 !important;
  }

  /* 1ο ΕΠΙΠΕΔΟ – ΚΟΛΛΗΜΕΝΟ ΚΑΤΩ ΑΠΟ ΤΟ LINK */
  .navbar-stuck-menu .nav-item > .dropdown-menu {
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
  }

  /* ΥΠΟΜΕΝΟΥ – ΚΟΛΛΗΜΕΝΟ ΔΕΞΙΑ Ή ΑΡΙΣΤΕΡΑ */
  .navbar-stuck-menu .dropdown-menu .dropdown-menu {
    top: 0 !important;
    left: 100% !important;
    right: auto !important;
  }

  /* FLIP ΑΡΙΣΤΕΡΑ – ΤΑ 3 ΤΕΛΕΥΤΑΙΑ */
  .navbar-stuck-menu .nav-item:nth-last-child(-n+3) > .dropdown-menu {
    left: auto !important;
    right: 0 !important;
  }

  .navbar-stuck-menu .nav-item:nth-last-child(-n+3) .dropdown-menu .dropdown-menu {
    left: auto !important;
    right: 100% !important;
  }

  /* ΧΩΡΙΣ SCROLL */
  .navbar.navbar-stuck-menu .dropdown-menu {
    max-height: none !important;
    overflow: visible !important;
  }

  /* Z-INDEX ΑΣΦΑΛΕΙΑ – Όταν είναι ανοιχτό */
  .navbar-stuck-menu .dropdown.show > .dropdown-menu,
  .navbar-stuck-menu .dropdown-menu.show {
    z-index: 10000002 !important;
  }

  /* ΛΙΣΤΕΣ ΑΓΑΠΗΜΕΝΩΝ – ΠΑΝΤΑ ΠΑΝΩ ΑΠΟ ΟΛΑ */
  .navbar-tool .shadow.position-absolute[style*="z-index"],
  .navbar-tool .shadow.position-absolute {
      z-index: 10000003 !important;
      top: 50px !important;
      left: -265px !important;
      width: 312px !important;
  }

  /* ΕΞΤΡΑ ΑΣΦΑΛΕΙΑ – Αν αλλάξει το HTML */
  .navbar-tool:hover .shadow,
  .navbar-tool[aria-expanded="true"] .shadow {
      z-index: 10000003 !important;
  }

}
/* ΛΙΣΤΕΣ ΑΓΑΠΗΜΕΝΩΝ – MOBILE & DESKTOP – ΠΑΝΤΑ ΟΡΑΤΕΣ */
@media (max-width: 991.98px) {
  /* Ανοίγει κάτω από το navbar */
  .navbar-tool .shadow.position-absolute {
    position: fixed !important;
    top: 60px !important;           /* Κάτω από το mobile navbar */
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    max-width: 320px !important;
    z-index: 10000004 !important;   /* Πάνω από stuck menu */
    margin: 0 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
  }

  /* Αποτροπή overflow */
  body {
    overflow-x: hidden;
  }
}

/* DESKTOP – Ήδη δουλεύει, αλλά για ασφάλεια */
@media (min-width: 992px) {
  .navbar-tool .shadow.position-absolute {
    z-index: 10000003 !important;
    top: 50px !important;
    left: -265px !important;
    width: 312px !important;
  }
}

/* Ensure dropdowns appear above other elements */
.dropdown-menu {
    z-index: 10000002 !important;
}

/* Additional Fields Container */
.additional-fields-container {
    align-items: flex-start;
    gap: 15px;
}

/* Image Container */
.image-container {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
}

/* Field Image Styling */
.field-image {
    width: 85px;
    height: 85px;
    object-fit: contain;
    border-radius: 4px;
    background-color: #f8f9fa;
    padding: 2px;
}

/* Mobile: max-width 576px */
@media (max-width: 576px) {
    .additional-fields-container {
        flex-direction: column;
    }
    
    .image-container {
        margin-left: 0 !important;
        margin-top: 10px;
        align-self: center;
    }
}

/* Product Thumbnail Styling */
.product-thumb {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 260px;
    overflow: hidden;
}

.product-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Hide navbar when lightGallery is open on large screens */
body.lg-on .navbar.navbar-stuck-menu {
    display: none !important;
}