:root {
  --main-color:#2a7616;
  --sec-color:#2c3e50;
  --text-color:#000;
  --section-footer:#f6f6f6;
  --section-signature:#282b38;
  --text-color:#000;
  --grey-color:#f6f6f6;
  --border-color:#f2f2f2;
  --background:#fffffffff;
  --background-primary:#f4f4f4;
  --background-secondary:#f6f6f6;
  --background-dark:#282b38;
  --blue:#007bff;
  --indigo:#6610f2;
  --purple:#6f42c1;
  --pink:#e83e8c;
  --red:#dc3545;
  --orange:#fd7e14;
  --yellow:#ffc107;
  --green:#28a745;
  --teal:#20c997;
  --cyan:#17a2b8;
  --white:#ffffff;
  --gray:#6c757d;
  --gray-dark:#343a40;
  --primary:#007bff;
  --secondary:#6c757d;
  --success:#28a745;
  --info:#17a2b8;
  --warning:#ffc107;
  --danger:#dc3545;
  --light:#f8f9fa;
  --dark:#343a40
}

/* =============================================================================
   BUTTONS
   ============================================================================= */
.btn-primary {
  background-color: #2a7616;
  border-color: #2a7616;
  font-weight: 600;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #28a745;
  border-color: #28a745;
}

.btn-outline-primary {
  color: #2a7616;
  border-color: #2a7616;
}

.btn-outline-primary:hover {
  background-color: #2a7616;
  border-color: #2a7616;
  color: #ffffff;
}

/* =============================================================================
   HEADER
   ============================================================================= */
.header-top {
  background-color: #2a7616;
  background: linear-gradient(135deg,#2c3e50 0%,#2c3e50 50%,#2a7616 50%,#2a7616 100%);
  color: #ffffff;
}

.header-top a,
.header-top .material-icons {
  color: #ffffff;
}

.header-top a:hover {
  opacity: 0.9;
}
@media (min-width: 768px) {
.header a:not(.dropdown-item):not(.btn) {
  color: #ffffff;
}
.header a:not(.btn):not(.dropdown-item):not(.badge):not(.alert-link):hover {
  color: #ffffff;
}}

.flex{ display:flex;}

@media (min-width: 1200px) {
  .header-bottom__row {
    align-items: center !important;
  }

  .header-bottom__logo,
  .header-bottom__right {
    flex: 0 0 auto !important;
    max-width: none !important;
    width: auto !important;
  }

  .header-bottom__center {
    flex: 1 1 auto !important;
    gap: 1rem;
    justify-content: center !important;
    max-width: none !important;
    width: auto !important;
  }

  .header-bottom__center .main-menu {
    flex: 1 1 auto !important;
    max-width: none !important;
    min-width: 0;
    width: auto !important;
  }

  .header-bottom__center .main-menu .js-menu-desktop,
  .header-bottom__center .main-menu__tree {
    width: 100%;
  }

  .header-bottom__center .main-menu__tree {
    flex-wrap: nowrap;
    height: auto !important;
    justify-content: flex-end;
  }

  .header-bottom__center .main-menu__tree > li {
    flex: 0 1 auto;
    height: auto !important;
    min-width: 0;
  }

  .header-bottom__center .main-menu__tree > li > a {
    overflow: hidden;
    padding-left: 0.55rem;
    padding-right: 0.55rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-bottom__center #_desktop_search {
    flex: 0 0 22rem !important;
    max-width: 22rem !important;
    min-width: 0;
    width: 22rem !important;
  }

  .header-bottom__center #search_widget {
    max-width: 22rem !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .header .header-bottom a.main-menu__tree__link:not(.dropdown-item):not(.btn) {
    color: #212529 !important;
  }

  .header .header-bottom a.main-menu__tree__link:not(.dropdown-item):not(.btn):focus,
  .header .header-bottom a.main-menu__tree__link:not(.dropdown-item):not(.btn):hover {
    color: #2a7616 !important;
  }
}

/* =============================================================================
   FOOTER
   ============================================================================= */
.footer,
.footer .footer__main {
  background: linear-gradient(135deg,  #2c3e50 0%,#2c3e50 50%,#2a7616 50%,#2a7616 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

}

.footer h2,
.footer h3,
.footer h4,
.footer a {
  color: #ffffff;
}

/* Footer site credit */
.footer .copyright,
.footer .site-credit {
   color: #ffffff;
  text-align: center;
  font-size: 0.865rem;
  line-height: 150%;
}

.footer .site-credit a {
  color: #ffffff;
}

.copyright a:hover,
.site-credit a:hover,
.footer a:hover {
  color: #ffffff;
  opacity: 0.9;
}



/* =============================================================================
   BACK TO TOP BUTTON
   ============================================================================= */
#back-to-top.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1040;
}

#back-to-top .material-icons {
  font-size: 24px;
  line-height: 1;
}

#back-to-top.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#back-to-top.back-to-top:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  #back-to-top.back-to-top {
    transition: none;
  }
}

/* =============================================================================
   CATEGORY MOBILE LAYOUT
   ============================================================================= */
@media (max-width: 767.98px) {
  body.layout-left-column #content-wrapper {
    order: 1;
  }

  body.layout-left-column #left-column {
    order: 2;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    margin-top: 2rem;
  }

  body.layout-left-column .products-selection,
  body.layout-full-width .products-selection {
    margin-bottom: 0.75rem;
  }

  body.layout-left-column .products-selection .total-products,
  body.layout-full-width .products-selection .total-products {
    margin-top: 0.75rem !important;
    font-size: 0.95rem;
  }

  body.layout-left-column .products-selection .sort-by-row,
  body.layout-full-width .products-selection .sort-by-row {
    gap: 0.75rem;
  }

  body.layout-left-column .products-selection .sort-by-row > *:first-child,
  body.layout-full-width .products-selection .sort-by-row > *:first-child {
    flex: 1 1 auto;
  }

  body.layout-left-column .products-selection .filter-button,
  body.layout-full-width .products-selection .filter-button {
    flex: 0 0 9rem;
    width: auto;
    max-width: 42%;
  }
}

/* =============================================================================
   PRODUCT CARDS
   ============================================================================= */
.product-miniature .card {
  overflow: hidden;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 0.5rem 1.25rem rgba(0,0,0,0.04);
}

.product-miniature .card:hover {
  border-color: #2a7616;
  box-shadow: 0 4px 8px rgba(0, 166, 81, 0.2);
}

.product-miniature .product-miniature__image-container {
  background: var(--bs-gray-100);
}

.product-miniature .product-miniature__image {
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

@media (max-width: 767.98px) {
  .product-miniature {
    margin-bottom: 1rem;
  }

  .product-miniature .manufacturer-strip {
    min-height: 2.5rem;
    padding: 0.25rem 0.5rem !important;
  }

  .product-miniature .manufacturer-strip img {
    max-width: 80%;
    max-height: 2rem !important;
  }

  .product-miniature .product-miniature__infos__top,
  .product-miniature .product-miniature__infos__bottom {
    padding: 0.5rem 0.625rem;
  }

  .product-miniature .product-miniature__infos__bottom {
    margin-bottom: 0.5rem;
  }

  .product-miniature .product-miniature__title {
    display: -webkit-box;
    min-height: 4.2em;
    overflow: hidden;
    font-size: 0.95rem;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .product-miniature .product-miniature__prices {
    margin-top: 0.25rem;
    font-size: 1rem;
  }

  .product-miniature .product-miniature__quickview_touch,
  .product-miniature .wishlist-button-add,
  .product-miniature .psm-cmp-button {
    width: 2rem;
    min-width: 2rem;
    height: 2rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.14);
  }

  .product-miniature .product-miniature__quickview_touch .material-icons,
  .product-miniature .wishlist-button-add .material-icons,
  .product-miniature .psm-cmp-button .material-icons {
    font-size: 1.25rem;
  }

  .product-miniature .product-miniature__quickview_touch {
    right: 0.5rem;
    bottom: 0.5rem;
  }

  .product-miniature .wishlist-button-add {
    right: 0.5rem;
    top: 0.5rem;
  }

  .product-miniature .psm-cmp-button {
    right: 0.5rem;
  }

  .product-miniature .btn-outline-primary,
  .product-miniature .add-to-cart-form .btn-primary {
    width: 100%;
    min-height: 2.75rem;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
}

.product-miniature .badge {
  background-color: #2a7616;
}

.product-miniature .product-miniature__price {
  color: #2a7616;
  font-weight: 600;
}

.product-flags .badge.discount {
  background-color: #ffffff;
  border-color: #2a7616;
  color: #2a7616;
}

/* =============================================================================
   PRODUCT PAGE
   ============================================================================= */
.product__current-price {
  color: #2a7616;
  font-weight: 700;
}

.add-to-cart,
.product-actions__button .btn-primary {
  background-color: #2a7616;
  border-color: #2a7616;
}

/* =============================================================================
   LINKS & NAVIGATION
   ============================================================================= */
a:not(.btn):not(.dropdown-item):not(.badge):not(.alert-link):hover {
  color: #2a7616;
}

.main-menu__tree > li > a:hover,
.main-menu__tree > li .menu-container a[data-depth="1"]:hover {
  color: #2a7616;
}

.category-tree__item__link:hover,
.left-block__link:hover {
  color: #2a7616;
}

/* =============================================================================
   PAGINATION
   ============================================================================= */
.pagination .page-item.active .page-link {
  background-color: #2a7616;
  border-color: #2a7616;
}

.pagination .page-link:hover {
  color: #2a7616;
  border-color: #2a7616;
}

/* =============================================================================
   FORMS
   ============================================================================= */
.form-control:focus,
.form-select:focus,
#search_widget input:focus {
  border-color: #2a7616;
  box-shadow: 0 0 0 0.25rem rgba(0, 166, 81, 0.25);
}

/* =============================================================================
   CART & CHECKOUT
   ============================================================================= */
.cart-summary {
  border: 1px solid #e8f5e9;
}

.cart-summary .cart-summary__total {
  color: #2a7616;
  font-weight: 700;
}

.checkout__steps--current .checkout__steps__number,
.checkout__steps--success .checkout__steps__number {
  background-color: #2a7616;
}

/* =============================================================================
   BREADCRUMB
   ============================================================================= */
.breadcrumb-item.active {
  color: #2a7616;
}

/* =============================================================================
   CATEGORIES & SUBCATEGORIES
   ============================================================================= */
.subcategory:hover {
  border-color: #2a7616;
  box-shadow: 0 2px 4px rgba(0, 166, 81, 0.1);
}

.product-miniature .product-miniature__title {color:#000;}

.product-miniature .card {
  -webkit-box-shadow: 0px 0px 2px 0px #A8A8A8;
  box-shadow: 0px 0px 2px 0px #A8A8A8;
}

/* =============================================================================
   ALERTS
   ============================================================================= */
.alert-success {
  background-color: #e8f5e9;
  border-color: #2a7616;
  color: #28a745;
}

/* =============================================================================
   BADGES & LABELS
   ============================================================================= */
.badge-primary,
.badge.bg-primary {
  background-color: #2a7616;
}

/* =============================================================================
   ICONS
   ============================================================================= */
.header-block__icon:hover,
.material-icons.text-primary {
  color: #2a7616;
}


.btn.decrement.js-decrement-button, .btn.increment.js-increment-button {
  background: #2a7616;
  color: #ffffff;
  border: 1px solid #2a7616;
}

.product-miniature .product-miniature__quickview_button{color:#000;}


#product .accordion-button {
  background: #f8f8f8;
  border: 1px solid #efefef;
  margin: 10px 0px;
  border-radius: 10px !important;
  padding: 10px !important;
}

#product .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg,  #2c3e50 0%,#2c3e50 50%,#2a7616 50%,#2a7616 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  box-shadow: inset 0 calc(var(--bs-accordion-border-width)*-1) 0 var(--bs-accordion-border-color);
  color: var(--bs-accordion-active-color);
  color: #ffffff;
   border: 1px solid #2a7616;
   padding:10px;
}

#product .accordion-button:not(.collapsed)::after {
  color: #ffffff;
}

.header-bottom {
  padding: 10px 0px;
}

#left-column #search-filters .facet.accordion-item {
  background: #f8f8f8;
  padding: 6px 8px;
  margin-bottom: 4px;
  border: 1px solid #efefef;
  border-radius: 2px;
}

#left-column #search-filters .accordion-button {
  background-color: transparent;
  font-size: 12px;
}


#left-column #search-filters .accordion-button:not(.collapsed) {
  background-color: transparent;
  box-shadow: none;
  color: var(--bs-accordion-active-color);
  border-bottom: 1px solid #efefef;
}

#left-column #search-filters hr:not(.alert-divider) {
  color: #efefef;
}

#left-column #search-filters .search-filters .search-filters-link {
  font-weight: 300;
  font-size: 14px;
  line-height: 16px;
}

.search-widgets__results {
  position: relative;
  width: 100%;
  z-index: 2;
  background: #fff;
}


#dxmnf-block,
.dxfaq-container {
  max-width: 1480px;
  margin: 20px auto;
}

@media (min-width: 768px) {
  .header-block__badge {
    background: #2c3e50;
    color:#fff;
  }

  .d-none.d-md-flex.header-block__title,
  .header-block__icon:hover,
  .material-icons.text-primary,
  .header a:not(.dropdown-item):not(.btn):hover,
  .header a:not(.dropdown-item):not(.btn):hover i {
    color: #fff;
  }

  .header-top .dropdown-menu.dropdown-menu-start.show a {
    color: #000;
  }
}


#grid-icons {
  background: #f8f8f8;
  padding: 20px 0;
}

h2.small-title {
  font-size: 1.75rem;
  font-weight: 800;
}

.small-title {
  font-size: 1.5rem;
  font-weight: 800;
}


#dxcategories_slider {
  margin-top: 30px;
}


  
  #footer a:not(.btn):not(.dropdown-item):not(.badge):not(.alert-link):hover {
  color: #ffffff;
  text-decoration: underline;
}

#index .dxtestimonial-follow-title, #index .dxfaq-group-title, #index .dxcategories-title, #index .title_blog.title_block {
  font-size: 1.5rem;
  margin-top: 10px;
  text-align: center;
}

#index .carousels-pack-block {
  /*max-width: 1480px;*/
  background: linear-gradient(135deg, #f6f6f6 0%, #f6f6f6 50%, #d4e4ce 50%, #d4e4ce 100%);
  margin: 60px auto;
}

#index .hicp-carousel-enabled.products,
#index  .block.ets_block_latest.ets_blog_ltr_mode.page_home.ets_block_slider {
    max-width: 1480px;
    margin: 0 auto;
}


#index .hicp-carousel__content-products .product-miniature {
    border: none;
}

#index .carousels-pack-block h2.small-title {
  font-size: 1.5rem;
  display: block;
  text-align: center;
  margin-top: 10px;
}

#index .carousels-pack-block {
  min-height: 530px;
}


.product-miniature .card {
  min-height: 480px;
}

.product-miniature .product-miniature__title {
    min-height: 60px;
}


.flex-grid {
  display: flex;
  flex-wrap: wrap;
}

.flex-item {
  flex: 0 0 33.333%;
  max-width: 33.333%;
  padding: 15px;
}

/* Mobile */
@media (max-width: 767px) {
  .flex-item {
    flex: 0 0 100%;
    max-width: 100%;
  }



#dxmnf-block, .dxfaq-container {
    padding: 0 10px;
}

.ets_block_latest.ets_block_slider {
    padding: 0 30px;
}}



#footer #author-blog-comment-link i {
  display: none;
}

#footer .ss_icon_group {
  display: none;
}

@media (min-width: 768px) {
  .ratio-homeSlider {
    --bs-aspect-ratio: 32.333%;
  }

.header-bottom .navbar-brand .logo {
  max-width: 180px;
}}

/********* Slide **********/

.carousel .carousel-caption {
  max-width: 680px;
  background: #24541ba6;
  padding: 20px;
  color: #fff;
}

.carousel .carousel-content p {
  color: #fefeff;
}

.carousel .carousel-control-next,
.carousel .carousel-control-prev {
  background: #000000;
}

.carousel .carousel-caption .caption-description {
  max-width: 35rem;
}

@media (max-width: 768px) {
  .carousel-caption {
    left: 5%;
    right: 5%;
  }

  .carousel .carousel-control-next {
    right: 1rem;
  }

}

#index .carousels-pack-block {
  min-height: 530px;
  margin-top: 120px;
}

/* =========================================================
   Header desktop layout — logo αριστερά / search κέντρο / δεξί hook
   (logo left · search bar true-centered · displayHeaderRight δεξιά)
   ========================================================= */

.header-bottom__logo {
  position: relative;
  z-index: 2;
}

.header-bottom .navbar-brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
}

/* Mobile (<768px): η search bar πέφτει σε δική της full-width γραμμή ΚΑΤΩ
   από τα action icons. Το wrapper γίνεται πραγματικό block με μεγάλο order
   ώστε να "τυλιχτεί" μετά τα _mobile_user_info (3) & _mobile_cart (4),
   αφήνοντας logo + account + cart στην πάνω γραμμή. */
@media (max-width: 767.98px) {
  .header-bottom__center {
    display: block;
    order: 5;
    width: 100%;
    margin-top: 0.5rem;
  }

  .header-bottom__mobile-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    margin-left: auto;
  }

  .header-bottom__mobile-actions .header-block__action-btn {
    padding-right: 0.45rem;
    padding-left: 0.45rem;
  }
}

@media (min-width: 768px) {
  .header-bottom__row {
    flex-wrap: nowrap;
  }

  /* Ισο-πλατείς ζώνες: logo / search / δεξί hook. */
  .header-bottom__logo,
  .header-bottom__center,
  .header-bottom__right {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    max-width: none;
  }
  .header-bottom__logo  { justify-content: flex-start; }
  .header-bottom__right { justify-content: flex-end; }

  /* Η ζώνη κέντρου γίνεται πραγματικό flex item γύρω από τη μπάρα. */
  .header-bottom__center {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-bottom__center #_desktop_search {
    width: 100%;
    max-width: 100%;
  }

  /* Η ζώνη ελέγχει το κεντράρισμα, όχι τα auto-margins του module
     (psm_search .psm-bar / stock #search_widget). */
  .header-bottom__center .psm-bar,
  .header-bottom__center #search_widget {
    width: 100%;
    max-width: 28rem;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
  }
}


#header .home-icons.et-home-icons,
.home-icons.et-home-icons {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  color:#000!important;
  width: auto !important;
  min-width: max-content !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
  white-space: nowrap !important;
}

#header .home-icons.et-home-icons > a,
.home-icons.et-home-icons > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
  text-decoration: none !important;
  line-height: 1 !important;
}

#header .home-icons.et-home-icons > a > .material-icons,
.home-icons.et-home-icons > a > .material-icons {
  display: inline-block !important;color:#000!important;
  font-family: 'Material Icons' !important;
  font-size: 28px !important;
  line-height: 1 !important;
  width: 1em !important;
  height: 1em !important;
  font-style: normal !important;
  font-weight: normal !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  white-space: nowrap !important;
  word-wrap: normal !important;
  direction: ltr !important;
  -webkit-font-feature-settings: 'liga' !important;
  -webkit-font-smoothing: antialiased !important;
}
