/* ==========================================================================
   Shared component classes (previously scattered across the theme's
   style.css — consolidated here since they only ever style markup that
   this plugin renders: the "primary" menu items, the mobile search bar,
   and the Advanced Woo Search widget embedded in it).
   ========================================================================== */

.dgwt-wcas-search-wrapp {
	width: 350px;
	max-width: 350px;
}

.aws-container {
    width: 450px;
}

@media only screen and (max-width: 950px) {
    .aws-container {
        width: 250px;
    }
}

@media only screen and (max-width: 650px) {
    .aws-container {
        width: 180px;
    }
}

.top-menu {
	padding-left: 0!important;
}

@media only screen and (min-width: 850px) {
	.mobile-search-bar-wrapper {
		display: none;
	}
}

@media only screen and (max-width: 849px) {
	.dgwt-wcas-ico-magnifier-handler {
		fill: white !important;
	}
}

/* Mobile Menu Overflow */
@media only screen and (max-width: 999px) {
	.panel.active-menu {
	overflow-y: auto!important;
	overflow-x: hidden!important;
}
}

/* Hover Menu */
a[href="https://eurospotled.com/etaireia/"]:not(:first-of-type),
a[href="https://eurospotled.com/nea/"] {
  color: black!important;
  font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 10px!important;
	margin-left: 10px !important;
}

ul.sub-menu li:first-child > a {
	color: black!important;
  font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 10px!important;
	margin-left: 10px !important;
}

/* Main menu item styling */
.menu-item.notmob {
  position: relative;
  display: inline-block;
}

/* Sub-menu styling - hidden by default */
.menu-item.notmob .sub-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: white;
  min-width: 200px;
  z-index: 100;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  padding: 10px 0;
  margin: 0;
  list-style: none;
  border: 1px solid #eee;
	text-align: start!important;
}

/* Sub-menu items styling */
.menu-item.notmob .sub-menu li {
  padding: 4px 15px;
}

.menu-item.notmob .sub-menu li a {
  color: black !important;
  text-decoration: none;
  display: block;
  white-space: nowrap;
	font-weight: 600;
}

/* Hover effects */
.menu-item.notmob:hover .sub-menu {
  display: block;
}
/* Ensure parent link stays visible */
.menu-item.notmob > a {
  display: inline-block;
  padding: 10px 2px;
  position: relative;
  z-index: 101; /* Keeps parent above dropdown */
}

/* Mobile Menu */
.panel {
	z-index: 99!important;
}

/* Custom Menu */
.menu-item a  {
	text-decoration:none !important;
}

.menu-cat li a {
	text-decoration: none !important;
}

.primary-custom_mob {
  margin-top: 30px;
}

/* ==========================================================================
   #euroheader — desktop bar, hover mega-menu, and mobile slide-in panel
   ========================================================================== */

#ast-desktop-header {
  display: none;
}
#euroheader .scroll-col {
  max-height: 605px;
  overflow-y: visible;
}
#euroheader .scroll-col::-webkit-scrollbar {
  width: 10px;
}
#euroheader .scroll-col::-webkit-scrollbar-track {
  background: #f1f1f1;
}
#euroheader .scroll-col::-webkit-scrollbar-thumb {
  background: #888;
}
#euroheader .scroll-col::-webkit-scrollbar-thumb:hover {
  background: #555;
}
#euroheader .mobile,
#euroheader .sublist > .go-back.mobile {
  display: none;
}
#euroheader .header-wrapper {
  margin: auto;
  max-width: 1200px;
}
#euroheader {
  background: transparent;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}
#euroheader ul {
  list-style: none;
  margin: 0;
}
#euroheader .header-wrapper {
  position: relative;
  z-index: 2;
}
#euroheader .header-wrapper > ul.top-menu {
  align-items: center;
  display: flex;
}
#euroheader .top-menu > li {
  cursor: pointer;
  padding: 0 10px;
  position: relative;
}
#euroheader .top-menu > li > a {
  align-items: center;
  color: #000 !important;
  display: flex;
  font-family: "Geom", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 16px;
  text-transform: uppercase;
}
#euroheader .top-menu > li:hover > a {
  color: #444;
}
#euroheader .top-menu li.open-cat img {
  height: 26px;
  margin-right: 22px;
  transition: 0.5s ease-out;
  width: 35px;
}
#euroheader .top-menu li.open-cat img.close-mn {
  animation-duration: 0.5s;
  animation-name: circle;
}
@keyframes circle {
  0% {
    transform: rotate(180deg);
  }
  to {
    transform: rotate(90deg);
  }
}
#euroheader .top-menu li.open-cat {
  margin-right: 21px;
}
#euroheader .top-menu > li > a:focus {
  position: relative;
  z-index: 1;
}
#euroheader .btn-men {
  display: none;
}
#euroheader .btn-men span {
  moz-transition: all 0.3s ease-in-out;
  background: #000;
  border-radius: 0;
  color: #000;
  height: 2px;
  left: 0;
  position: absolute;
  transition: all 0.3s ease-in-out;
  width: 30px;
  z-index: 1;
}
#euroheader .first-line {
  top: 19px;
}
#euroheader .sec-line {
  bottom: 0;
  margin: auto;
  top: 1px;
}
#euroheader .third-line {
  bottom: 18px;
}
#euroheader .panel {
  background-color: #ffffff;
  height: auto;
  max-height: calc(100vh - 140px);
  left: 0;
  opacity: 0;
  padding: 8px 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  transform: translateX(-3em);
  transition: all 0.3s ease-in-out 0.01s, visibility 0s linear 0.01s, z-index 0s linear 0.01s;
  -webkit-transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.03s, z-index 0s linear 0.01s;
  -moz-transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.03s, z-index 0s linear 0.01s;
  -o-transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.03s, z-index 0s linear 0.01s;
  visibility: hidden;
  z-index: -1;
}
#euroheader .panel.active-menu {
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.161);
  opacity: 1 !important;
  pointer-events: auto;
  transform: translateX(0);
  transition-delay: 0s, 0s, 0.5s;
  -webkit-transition-delay: 0s, 0s, 0.5s;
  -moz-transition-delay: 0s, 0s, 0.5s;
  visibility: visible;
}
@media only screen and (min-width: 900px) {
  #euroheader .panel.active-menu {
    width: 320px;
  }
}
#euroheader .menu-img {
  display: none;
  height: 100%;
  left: -390px;
}
#euroheader .brand-img,
#euroheader .menu-img {
  position: absolute;
  top: 0;
}
#euroheader .brand-img {
  bottom: 0;
  display: flex;
  height: auto;
  justify-content: center;
  left: 15px;
  margin: auto;
  max-height: 45px;
  max-width: 72px;
  padding: 0 5px;
  width: 100%;
}
#euroheader .brand-img img {
  border-radius: 35px;
  max-width: 100%;
  object-fit: contain;
}
#euroheader img.close-mn {
  display: none;
}
#euroheader ul.menu-cat {
  height: 100%;
  margin-left: 15px;
  width: 285px;
}
#euroheader ul.menu-cat > li > a {
  border-radius: 0;
  color: #605f65;
  display: flex;
  font-family: "Geom", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 17px;
  padding: 18px 16px;
  transition: 0.5s ease-out;
  white-space: nowrap;
}
#euroheader ul.menu-cat > li {
  text-align: left;
}
#euroheader ul.menu-cat > li,
#euroheader ul.sec-level > li {
  margin-bottom: 2px;
}
#euroheader ul.menu-cat > li:hover > a {
  background-color: #eeeff1;
  color: #1d1d1f;
  font-weight: 300;
}
#euroheader ul.menu-cat > li:hover > .menu-img {
  display: block;
}
#euroheader ul.menu-cat .sublist.first-level + li a {
  background-color: #fff;
  font-weight: 700;
}
#euroheader .sublist {
  box-shadow: 8px 8px 6px -6px rgba(0, 0, 0, 0.161);
  height: 100%;
  left: 100%;
  opacity: 0;
  padding: 20px 0;
  position: absolute;
  text-align: left;
  top: 0;
  visibility: hidden;
  width: 0;
  z-index: 1;
}
#euroheader .sublist.first-level {
  background-color: #fff;
}
#euroheader .sublist.first-level li a {
  color: #605f65;
  display: block;
  font-family: "Geom", sans-serif;
  font-weight: 300;
  line-height: 17px;
  padding: 18px 16px 18px 24px;
  position: relative;
  transition: 0.3s ease-out;
}
#euroheader .sublist.first-level li:hover > a {
  color: #1d1d1f;
  font-weight: 400;
}
#euroheader .sublist li:hover > a {
  background-color: #f6f6f6;
}
#euroheader ul li:hover > .sublist {
  display: block;
}
#euroheader ul li:focus > .sublist,
#euroheader ul li:hover > .sublist {
  opacity: 1;
  visibility: visible;
  width: 450px;
}
#euroheader .top-menu .sublist {
  background-color: #fff;
  display: none;
  padding: 5px 0;
}
#euroheader .top-menu .sublist li {
  margin: 1px 0 1px 20px;
  position: relative;
}
#euroheader .top-menu .sublist li a {
  display: block;
  font-size: 15px;
  padding: 15px 18px;
}
#euroheader .sublist.sec-level {
  background-color: #f6f6f6;
}
#euroheader .sublist.sec-level li a {
  border: none;
  color: #000;
  display: block;
  line-height: 17px;
  padding: 20px 15px 20px 100px;
  position: relative;
  transition: 0.5s ease-out;
}
#euroheader .sublist.sec-level li:hover > a {
  background-color: #fff;
  color: #444;
  font-weight: 700;
}
#euroheader .sublist-toggle {
  display: none;
}
#euroheader > ul {
  display: block !important;
  font-size: 0;
  height: 100%;
}
#euroheader > ul.mobile {
  display: none !important;
}
#euroheader > ul > li {
  display: inline-block;
  padding: 0 15px;
  vertical-align: middle;
}
#euroheader > ul > li:first-child {
  border-left: none;
  height: 100%;
  padding: 10px;
}
#euroheader > ul > li > a {
  cursor: pointer;
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  margin: 5px 0;
  padding: 0;
}
#euroheader > ul > li {
  border-left: none;
  color: #fff;
  height: 100%;
  padding: 10px;
}
#euroheader > ul > li:hover {
  background: none repeat scroll 0 0 #e9eaed;
  color: #000;
}
#euroheader .sublist .first-level {
  display: flex;
  flex-wrap: wrap;
}
#euroheader .sublist li a {
  align-items: center;
  color: #605f65;
  display: flex;
  font-family: "Geom", sans-serif;
  font-size: 15px;
  font-weight: 300;
  padding: 16px 10px;
  position: relative;
}
#euroheader .block {
  border: 1px solid #edeaea;
  margin: auto;
  max-width: 600px;
  min-height: 50px;
  text-align: left;
}
#euroheader .block .sublist {
  margin: 15px 0 5px;
}
#euroheader .block .sublist a {
  font-size: 14px;
}
#euroheader .ui-datepicker-calendar .ui-state-active {
  color: #000;
  color: #000 !important;
  font-weight: 700;
  outline: 2px solid #000;
}
#euroheader .ui-tabs-nav li.ui-state-active a {
  background-color: #eee;
  color: #000;
}
@media (max-width: 1200px) {
  #euroheader .header-wrapper {
    max-width: 980px;
  }
  #euroheader ul.menu-cat {
    width: 265px;
  }
  #euroheader ul.menu-cat > li > a {
    font-size: 15px;
  }
  #euroheader ul li:focus > .sublist,
  #euroheader ul li:hover > .sublist {
    width: 350px;
  }
}
@media (max-width: 1000px) {
  #euroheader .notmob {
    display: none;
  }
  #euroheader .mobile {
    display: block;
  }
  #euroheader .sublist.first-level li a,
  #euroheader .sublist.sec-level li a,
  #euroheader ul.menu-cat > li > a {
    color: #000;
    padding: 17px 15px 17px 25px;
  }
  #euroheader ul.menu-cat li a {
    float: left;
    width: calc(100% - 50px);
  }
  #euroheader ul.menu-cat > li > a {
    font-weight: 700;
  }
  #euroheader .sublist.first-level {
    background-color: #f6f4f4;
  }
  #euroheader .sublist.sec-level li:hover > a {
    background-color: unset;
  }
  #euroheader body.overlay {
    left: 318px;
    position: relative;
    transition: all 0.3s ease-in-out 0.01s;
    -webkit-transition: all 0.3s ease-in-out 0.01s;
    -moz-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0.01s;
  }
  #euroheader body.overlay:after {
    background-color: #0009;
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 9;
  }
  #euroheader {
    order: 1;
    padding-left: 0;
    width: unset;
  }
  #euroheader .panel {
    height: 100%;
    left: 0;
    margin-left: 0;
    padding: 26px 0;
    position: fixed;
    top: 0;
    transform: translateX(-100%);
    width: 320px;
    z-index: 1;
  }
  #euroheader ul.menu-cat.notmob {
    display: none;
  }
  #euroheader .sublist > .go-back.mobile,
  #euroheader ul.menu-cat.mobile {
    display: block;
  }
  #euroheader ul.menu-cat {
    margin-left: 0;
    width: 100%;
  }
  #euroheader ul.menu-cat li .plus-button {
    cursor: pointer;
    filter: grayscale(1);
    float: right;
    height: 47px;
    position: relative;
    width: 50px;
  }
  #euroheader ul.menu-cat li .plus-button:after {
    background: url(/wp-content/themes/astra-child/assets/category-arrow-green.svg) 100% no-repeat;
    bottom: 0;
    content: "";
    display: block;
    height: 8px;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    transform: rotate(90deg);
    transition: transform 0.8s;
    width: 14px;
  }
  #euroheader .close-panel {
    align-items: center;
    background-color: #000;
    cursor: pointer;
    display: flex;
    height: 45px;
    justify-content: center;
    position: absolute;
    right: -40px;
    top: 10px;
    width: 40px;
  }
  #euroheader .close-panel > .close-mn {
    display: block;
  }
  #euroheader ul li:focus > .sublist,
  #euroheader ul li:hover > .sublist {
    width: 100%;
  }
  #euroheader .sublist {
    background-color: #f6f4f4;
    left: -100%;
    padding-top: 0;
    transition: all 0.5s ease-in-out;
    width: 318px;
  }
  #euroheader .sublist .sublist {
    left: -100%;
  }
  #euroheader ul li:focus > .sublist,
  #euroheader ul li:hover > .sublist {
    opacity: 0;
    visibility: hidden;
  }
  #euroheader .sublist.first-level li a {
    border: none;
  }
  #euroheader ul.menu-cat > li:hover > a {
    background-color: unset;
    color: #000;
  }
  #euroheader li.go-back {
    background-color: #fff;
    color: #444;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    line-height: 22px;
    padding: 15px 20px 15px 60px;
    position: relative;
  }
  #euroheader li.go-back:before {
    background: url(/wp-content/themes/astra-child/assets/category-arrow.svg) 100% no-repeat;
    bottom: 0;
    content: "";
    display: block;
    height: 8px;
    left: 25px;
    margin: auto;
    position: absolute;
    top: 0;
    transform: rotate(-90deg);
    transition: transform 0.8s;
    width: 14px;
  }
}
@media (max-width: 480px) {
  #euroheader .first-line {
    top: 18px;
  }
  #euroheader .third-line {
    bottom: 19px;
  }
  #euroheader .header-wrapper {
    width: 90%;
  }
  #euroheader .top-menu li.open-cat {
    margin-right: 12px;
  }
  #euroheader .sec-line {
    top: -1px;
  }
}
@media (max-width: 380px) {
  #euroheader .sublist {
    width: 100%;
  }
  #euroheader ul.menu-cat > li > a {
    overflow: hidden;
    text-overflow: ellipsis;
    width: 14em;
  }
}
@media (max-width: 360px) {
  #euroheader body.overlay {
    left: 300px;
  }
  #euroheader .panel {
    width: 300px;
  }
}
@media (min-width: 481px) {
  #euroheader .header-wrapper {
    width: 92.5%;
  }
}
@media (min-width: 769px) {
  #euroheader .header-wrapper {
    width: 94%;
  }
}
@media (min-width: 1001px) {
  #euroheader .block {
    float: none;
    margin: 0 0 20px;
    width: auto;
  }
}
@media (max-width: 1900px) {
  #euroheader ul.menu-cat > li:hover > .menu-img {
    display: none;
  }
}
@media (min-width: 1367px) {
  #euroheader > ul > li {
    color: #000;
    padding: 10px 12px;
  }
  #euroheader > ul > li > a,
  #euroheader > ul > li > span {
    font-family: "Geom", sans-serif;
    font-size: 16px;
    font-weight: 300;
  }
}
