/*
Theme Name: Metropolitan
Description: Custom theme for Metropolitan Foods.
Author: Creative Kind
Author URI: https://creativekind.gr
Author Email: contact@creativekind.gr
Version: 1.0.0
Text Domain: hello-elementor-child
Template: hello-elementor
*/
/*
Add your custom styles here
*/

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
@media only screen and (min-width:1024px) {
.elementor .elementor-background-video-hosted {
    margin-left: -1px;
	}}
b, strong {
    font-weight: 600;
}
.tr_header .sub-menu{width:150px !important;}li.pll-parent-menu-item  .sub-menu{width:60px !important;min-width:0px !important;}
.thin-white-font{font-weight:300;}
.thin-gold-font{font-weight:300;color:#B68E53;}
.dgwt-jg-gallery {
    margin-top: 35px;
}
span.breadcrumb_last{white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
max-width: 200px;
    display: inline-block;
vertical-align: bottom;}

/** ECO **/
.eco_title h4 {
    min-height: 78px;
    vertical-align: middle;
    display: flex;
    align-items: center;
	inline-size: 150px;
    overflow-wrap: break-word;
}
.eco_desc p {
    min-height: 134px;
    vertical-align: middle;
    display: flex;
    align-items: center;
}
@media only screen and (max-width:1024px) {.eco_title h4 {min-height:50px; inline-size:auto;
    overflow-wrap:normal;} .eco_desc p {
	min-height:90px;}}

/* PRODUCTS */
.metro_icon .st0 {
    fill:currentcolor !important;
}
@media only screen and (min-width: 1300px) {
.metro_tab4 .e-n-tab-title{min-width:23.2%;}}
@media only screen and (max-width: 1299px) {
.metro_tab4 .e-n-tab-title{min-width:270px;}}

/* Product Categories TAB DROPDOWN */
.tabs-dropdown-mobile .st0 {
    fill:currentColor !important;
}
.custom-tab-dropdown {
  position: relative;
  max-width: 100%;
  font-size: 16px;
  user-select: none;
}
/* Επιλεγμένο στοιχείο */
.dropdown-selected {
  background: #f8f8f8;
  padding: 14px 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}
/* Εικονίδιο κατηγορίας */
.dropdown-selected img,
.dropdown-option img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
/* Βελάκι */
.dropdown-arrow {
  margin-left: auto;
  font-size: 14px;
  color: #888;
  transition: transform 0.3s ease;
  pointer-events: none;
}
.dropdown-options.open ~ .dropdown-arrow,
.dropdown-selected[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
}

/* Λίστα επιλογών με animation και scale */
.dropdown-options {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #ccc;
  z-index: 999;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}
/* Όταν ανοίγει */
.dropdown-options.open {
  opacity: 1;
  transform: scaleY(1);
  pointer-events: auto;
}
/* Εμφάνιση επιλογής */
.dropdown-option {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}
/* Hover */
.dropdown-option:hover {
  background: #eee;
  color: #b68e53;
}
.dropdown-option:hover img {
  filter: brightness(0) saturate(100%) invert(73%) sepia(34%) saturate(586%) hue-rotate(7deg) brightness(92%) contrast(86%);
}
/* Accessibility: Ενεργή επιλογή */
.dropdown-option[aria-selected="true"] {
  background: #f1f1f1;
  font-weight: 600;
}
/* Responsive */
@media (max-width: 1024px) {
  .tabs-dropdown-mobile .e-n-tabs-heading {
    display: none !important;
  }

  .custom-tab-dropdown {
    display: block;
    margin-bottom: 20px;
  }
}
@media (min-width: 1025px) {
  .custom-tab-dropdown {
    display: none;
  }
}
/* POSTS */
/* Wrapper του widget (metro-loop) */
.metro-loop{
  position: relative;
}
/* Το link που περιέχει την εικόνα */
.metro-loop > a{
  position: relative;     /* για το absolute overlay */
  display: block;
  overflow: hidden;
  line-height: 0;
}
/* Η εικόνα */
.metro-loop > a > img{
  display: block;
  width: 100%;
  height: auto;
}
/* Overlay gradient */
.metro-loop > a::before{
  content: "";
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  background-image: linear-gradient(180deg, #00000000 0%, #887566 100%);
  opacity: .2;                 /* κρυφό αρχικά */
  transition: opacity .3s ease-in-out;
  pointer-events: none;
  z-index: 1;
}
/* Hover */
.metro-loop > a:hover::before{
  opacity: .7;
}
.elementor-post-navigation__separator-wrapper {
    padding: 0 12px;
}span.elementor-post-navigation__link__prev {
    margin-top: -4px;
}span.elementor-post-navigation__link__next {
    margin-top: -4px;
}
/* KARTA */
.karta2 h5{font-size:23px;margin-bottom:10px;}
@media only screen and (max-width: 768px) {.karta2 h5{font-size:16px;}}
.metro_gallery figure.swiper-slide-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    background-image: linear-gradient(180deg, #00000000 0%, #000 100%);
    opacity: 0.5;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    z-index: 1;
}
.metro_gallery figure.swiper-slide-inner:hover::before{opacity:0.7;}
.metro_gallery img.swiper-slide-image{object-fit:cover;height:320px;width:100%;}
@media only screen and (max-width: 768px){.metro_gallery img.swiper-slide-image{object-fit:cover;height:200px;width:100%;}}
.tabs-nav-arrows button{border:1px solid #887566;color:#887566;}
.tabs-nav-arrows [type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover{background:#887566; color:#fff;}
button.forminator-button.forminator-button-submit{width:100% !important;}
.forminator-checkbox__label{color:#fff;}
.forminator-checkbox__label a{color:#887566;font-weight:500;}
.forminator-checkbox__label a:hover{color:#fff;text-decoration:underline;}
.cmplz-message p{text-align:center;margin-bottom:0px;}
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn{font-size:13px !important;}