/**
 * General rules - used in all website
 * Header
 * -Main navigation
 * -Header Menu Button
 * -Open state adjustments
 * -Header Search
 * -Header Contact
 * -Secondary Navigation
 * -Mini-Cart
 * -Scrolled
 * -Mobile Bottom Bar
 * Homepage
 * Single Page
 * Blog Page
 * -Single Blog Page
 * Contact Page
 * Account Page
 * 404 Page
 * Sub-footer
 * Prefooter
 * Footer
 * Copyright
 * Social Media (Header & Footer)
 * Responsive
 */

/*-----------------------------------------------------------*/
/* Blob Animation                                            */
/*-----------------------------------------------------------*/
/*.main-batteries-wrapper.theme-grid{display: none;}*/
.tablepress th{background: #cccccc !important;}
.page-main-title{padding-top: 100px;}
.entry-title{padding-top: 70px;}

.page-path{display: none;}

.main-batteries-wrapper {
  margin-top: -220px !important;
  position: relative;
  z-index: 2;
  margin-bottom: 50px;
}

.product-category {
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.25);
}

.product-category {
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: 0.4px;
  text-decoration: none;
  padding: 0;
  margin: 0;
}

.prod-cat-grid-big-cat .cat-title {
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: 35px;
  letter-spacing: 0.4px;
  text-decoration: none;
  padding: 0;
  margin: 0;
}

a.view-products-btn {
  font-size: 18px !important;
  line-height: 28px;
  letter-spacing: 0.4px;
  text-decoration: none;
  color: var(--blue);
  transition: var(--main-easing);
  font-weight: 400 !important;
  border-bottom: 2px solid var(--blue);
}

a.view-products-btn:hover {
  color: var(--dark-b);
}

.blob-c {
  min-height: 100vh;
  height: 100%;
  overflow: hidden;
  position: fixed;
  width: 100%;
  filter: blur(40px);
  z-index: -1;
  /*   background: rgba(255,255,255,0.1) */
}

.shape-blob {
  background: transparent;
  height: 60px;
  width: 80px;
  border-radius: 40% 50% 30% 40%;
  animation: transform 18s ease-in-out infinite both alternate,
    movement_one 12s ease-in-out infinite both;
  opacity: 1;
  position: absolute;
  left: 75%;
  top: 40%;
}
.shape-blob.one {
  background: var(--glow-green);
  height: 500px;
  width: 500px;
  left: -10%;
  top: 13%;
  transform: rotate(-180deg);
  animation: transform 8s ease-in-out infinite both alternate,
    movement_two 10s ease-in-out infinite both;
}

.shape-blob.two {
  background: var(--glow-green);
  height: 500px;
  width: 700px;
  left: 40%;
  top: 60%;
  transform: rotate(-180deg);
  animation: transform 10s ease-in-out infinite both alternate,
    movement_two 5s ease-in-out infinite both;
}

@keyframes transform {
  0%,
  100% {
    border-radius: 33% 67% 70% 30% / 30% 40% 70% 70%;
  }
  20% {
    border-radius: 37% 63% 51% 49% / 37% 35% 35% 63%;
  }
  40% {
    border-radius: 36% 64% 64% 36% / 64% 48% 52% 26%;
  }
  60% {
    border-radius: 37% 63% 51% 49% / 30% 30% 70% 73%;
  }
  80% {
    border-radius: 40% 60% 42% 58% / 51% 51% 49% 59%;
  }
}

@keyframes movement_one {
  0%,
  100% {
    transform: none;
  }
  50% {
    transform: translate(50%, 20%) rotateY(10deg) scale(1);
  }
}

@keyframes movement_two {
  0%,
  500% {
    transform: none;
  }
  50% {
    transform: translate(50%, 20%) rotate(-200deg) scale(1.3);
  }
}
/*
/* Γενικά */

html {
  overflow-x: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  overflow-x: hidden;
  position: relative;
  max-width: 100vw;
  margin: 0;
  padding: 0;
}

/* Prevent body scrolling when burger menu is open */
body.burger-menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}
#preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, #003457 39.58%, #006ab3 100%);
  display: grid;
  justify-content: center;
  z-index: 9999;
  align-items: center;
  align-content: center;
  justify-items: center;
  transition: transform 1s ease, opacity 1s ease;
}

#preloader.hide {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.battery-container {
  position: relative;
  width: 250px;
  height: 250px;
}

.battery-image {
  width: 100%;
  height: auto;
  display: block;
  z-index: 2;
  position: relative;
}
.text-pre h2 {
  padding-top: 30px;
  color: white !important;
  font-size: 25px;
  line-height: 25px;
  text-align: center;
  font-style: italic;
}

.battery-fill {
  position: absolute;
  bottom: 5%;
  left: 14%;
  width: 80%;
  height: 0%;
  background: linear-gradient(0deg, #c4ff00 20%, #c4ff00 60%, #c4ff00 100%);
  /*background:var(--blue);*/
  z-index: 1;
  border-radius: 4px;
  transition: height 0.3s ease;
  max-height: 50%;
}
/**
 * General rules - used in all website
 */
.product-categories-wrapper,
.first-box {
  position: relative;
  z-index: 1;
}

/* Theme Grid Container - Prevent Overflow */
.theme-grid {
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Prevent all containers from overflowing */
.container,
.theme-grid,
.header-row,
.preheader {
  max-width: 100%;
  box-sizing: border-box;
}

/* Fix for images that might cause overflow */
img {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

/* Prevent internal scrolling in containers */
.theme-grid > *,
.biomixaniki-hlekrokinisi > *,
.first-box > *,
.image-collage > *,
.mpataries > *,
.plirofories_etairias > *,
.news > *,
.sel-posts-row > *,
.prod-cat-grid > * {
  overflow: visible;
  max-width: 100%;
}

/* Fix specific grid items that might overflow */
.biomixaniki-hlekrokinisi,
.news,
.mpataries,
.plirofories_etairias,
.sel-posts-row,
.prod-cat-grid {
  overflow: visible;
}

/* Remove scrollbars from all grid and flex containers */
.first-box,
.image-collage,
.mpataries,
.plirofories_etairias,
.plirofories-images,
.biomixaniki-hlekrokinisi,
.news,
.sel-posts-row,
.prod-cat-grid,
.posts-grid,
.posts-row {
  overflow: visible !important;
}

/* Exception for specific elements that need controlled overflow */
.main-navigation,
#primary-menu,
.sub-menu,
body,
html {
  overflow-x: hidden;
}

.social-icon {
  width: 40px;
  height: 40px;
}
.fixed-gradient-section {
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 1300px;
  z-index: 0;
  pointer-events: none;
}

.gradient-background-up,
.gradient-background-down {
  position: absolute;
  width: 100%;
  height: 50%;
  left: 0;
}

.gradient-background-up {
  top: 0;
  background: radial-gradient(
    164.05% 124.18% at 50% 124.18%,
    #c4ff00 0%,
    #c4ff00 31.25%,
    rgba(255, 255, 255, 0) 53.64%,
    rgba(255, 255, 255, 0) 100%
  );
}

.gradient-background-down {
  bottom: 0;
  background: radial-gradient(
    164.05% 124.18% at 50% 124.18%,
    #c4ff00 0%,
    #c4ff00 31.25%,
    rgba(255, 255, 255, 0) 53.64%,
    rgba(255, 255, 255, 0) 100%
  );
  rotate: -180deg;
}

.page-path {
  padding-top: 150px;
}
.page-path a {
  text-decoration: none;
}
/**
 * Header
 */
/* Search */
/* Search Styling */
/* Search Input */
input.swp-input--search.swp-input {
  border-radius: 100px !important;
  background-color: rgba(255, 255, 255, 0.8) !important;
  border: transparent !important;
  padding-left: 25px !important;
}

form.searchwp-form .searchwp-form-input-container {
  width: 230px;
  height: 40px;
}

/* Header Background */
.site-header {
  background: linear-gradient(
    180deg,
    rgba(247, 247, 247, 0.35) 0%,
    rgba(247, 247, 247, 0) 100%
  );
  backdrop-filter: blur(5.35px);
  position: fixed;
  top: 0;
  z-index: 9998;
}

/* Preheader */
.preheader {
  display: flex;
  justify-content: space-between;
  padding: 10px 30px;
}

.preheader-line {
  display: block;
  height: 1px;
  background: var(--black);
  width: 40px;
}

.preheader-mail,
.preheader-social {
  display: flex;
  gap: 20px;
  align-items: center;
}

.preheader-mail p,
.preheader-social p {
  margin: 0;
}

.preheader a {
  text-decoration: none;
}

/* Header Row */
.header-row {
  padding: 0 30px;
  border-radius: 8px;
  background: linear-gradient(90deg, #003457 20%, #006ab3 60%, #c4ff00 100%);
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

/* Branding */
.site-branding {
  max-width: 100px;
  margin-right: 30px;
}

/* Navigation */
.main-navigation {
  flex-grow: 1;
}

.menu li {
  margin: 0;
}
/* Βασικό μενού */
ul#primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

ul#primary-menu > li {
  position: relative;
  padding: 11px 0;
}

ul#primary-menu > li > a {
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  display: block;
  transition: var(--main-easing);
}

ul#primary-menu > li > a:hover {
  color: var(--glow-green);
}

/* Drop-down menu (2ο επίπεδο) */
ul#primary-menu > li > .sub-menu {
  position: fixed;
  gap: 20px;
  left: 50%;
  top: 100%;
  transform: translate(-50%, 0);
  background: white !important;
  background-color: white !important;
  padding: 30px;
  min-width: 300px;
  max-width: 1140px;
  width: calc(100% - 40px);
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 9999;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  overflow: visible;
  max-height: 80vh;
  overflow-y: auto;
  pointer-events: none; /* Enable interaction when visible */
}

/* Εμφάνιση 2ου επιπέδου με hover */

ul#primary-menu > li:hover > .sub-menu,
ul#primary-menu > li > .sub-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto; /* Enable interaction */
}

/* Αντικείμενα του drop-down */
ul#primary-menu ul.sub-menu > li {
  position: relative;
  margin-bottom: 10px;
  background: white !important;
  list-style: none;
  width: 100%;
}

ul#primary-menu ul.sub-menu > li > a {
  color: #222;
  font-size: 16px;
  text-decoration: none;
  display: block;
  padding: 5px 0;
  line-height: 1.4;
  transition: color 0.3s ease;
  width: max-content;
}

ul#primary-menu ul.sub-menu > li > a:hover {
  color: var(--blue, #007bff);
}

/* === Τρίτο Επίπεδο === */
/* Εξαιρούμε το απόλυτο positioning και styles του drop-down */
ul#primary-menu ul.sub-menu > li > ul.sub-menu {
  all: unset;
  display: block;
  position: static;
  opacity: 1;
  visibility: visible;
  margin-top: 10px;
  padding-left: 15px;
  background-color: transparent;
}

/* Αντικείμενα του τρίτου επιπέδου */
ul#primary-menu ul.sub-menu > li > ul.sub-menu li {
  margin-bottom: 5px;
}

ul#primary-menu ul.sub-menu > li > ul.sub-menu li a {
  color: #444;
  font-size: 14px;
  text-decoration: none;
  display: block;
  padding: 4px 0;
  line-height: 1.3;
  transition: color 0.3s ease;
}

ul#primary-menu ul.sub-menu > li > ul.sub-menu li a:hover {
  color: var(--blue, #007bff);
}

.footer-gradient {
  background: linear-gradient(0deg, #006ab3 0%, #f7f7f700 100%);
  height: 30vh;
}

span.battery-production {
  color: var(--glow-green);
}
/**
 * Prefooter
 */
.prefooter-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.prefooter {
  position: relative;
}

.prefooter > img {
  position: absolute;
  bottom: 0;
  left: 0;
}

/* Prefooter Message (πάνω από όλα) */
.prefooter-message {
  font-size: 40px;
  font-weight: 600;
  color: var(--main-white);
  text-align: center;
  max-width: 1010px;
  margin: 0 auto;
  line-height: 1.3;
  z-index: 10;
  position: sticky;
}

/* Διάταξη Εικόνας & Πληροφοριών δίπλα δίπλα */
.prefooter-columns {
  display: flex;
  flex-direction: wrap;
}

/* Εικόνα */
.prefooter-image {
  flex: 1 1 40%;
}

/* Πληροφορίες */
.prefooter-info {
  flex: 1 1 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.prefooter-info h2 {
  font-size: 60px;
  color: white;
  font-weight: 600;
  margin: 0;
}

/* Τοποθεσία */
.prefooter-content-location {
  margin-top: 10px;
}

/* Τηλέφωνο & Email δίπλα δίπλα */
.prefooter-contact {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.prefooter-contact > div {
  flex: 1 1 45%;
}

/* Link Style */
.prefooter-info a {
  color: white;
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  text-decoration: none;
  transition: var(--main-easing);
}

.prefooter-info a:hover {
  color: var(--glow-green);
}

/* Footer */
.site-footer {
  padding: 30px 0;
  background: linear-gradient(0deg, #003457 39.58%, #006ab3 100%);
}

.site-info {
  display: flex;
  justify-content: space-between;
  padding: 30px;
  align-items: center;
  color: var(--main-white);
  position: relative;
  flex-wrap: wrap;
}

.site-info::before {
  content: '';
  display: block;
  height: 1px;
  background: var(--blue);
  width: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.footer-logo {
  max-width: 120px;
}

.copyright-message {
  font-size: 14px;
}
.copyright-message a {
  color: var(--geo-green);
  text-decoration: none;
}

.social-icons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

p.copyright-message {
  color: white !important;
}

.copyright-message a {
  color: var(--glow-green) !important;
}

.social-icon {
  transition: var(--main-easing);
}
.social-icon:hover {
  transform: scale(1.2);
}
.policies-wrapper {
  display: grid;
  gap: 20px;
}
.policies-wrapper a {
  font-size: 20px;
  line-height: 1px;
}
.policies-wrapper h5 {
  margin: 0;
  padding: 0;
}

.first-box {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  padding-top: 100px;
  max-width: 100%;
  box-sizing: border-box;
}

.first-box.grid.theme-grid {
  padding-top: 8% !important;
}

.image-collage {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 55px;
  max-width: 100%;
  box-sizing: border-box;
}

.mpataries {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  max-width: 100%;
  box-sizing: border-box;
}

.plirofories_etairias {
  display: grid !important;
  grid-template-columns: 65% 35%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 100px;
}

.plirofories-images {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  max-width: 100%;
  box-sizing: border-box;
}

.biomixaniki-hlekrokinisi-wrapper {
  background: linear-gradient(90deg, #003457 20%, #006ab3 60%);
  padding: 30px 0;
  margin: 200px 0;
}

.biomixaniki-hlekrokinisi {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
}

.biomixaniki-hlekrokinisi p {
  color: white;
}

.bio-text {
  width: 130%;
  max-width: calc(100vw - 40px);
  box-sizing: border-box;
}

.image-motion {
  display: inline-block;
  animation: slideLeftAndBack 2s ease-in-out infinite;
}
.bio-text h2 {
  color: white;
}

.bio-image {
  right: -42px;
  top: 20px;
  display: inline-block;
  animation: slideLeftAndBack 2s ease-in-out infinite;
  max-width: calc(100vw - 60px);
  overflow: hidden;
}

@keyframes slideLeftAndBack {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateX(0);
  }
}

.news {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 100px;
}

.news-text {
  margin: 4% 0 0 27%;
}
.news-text h2 {
  color: white;
}
.news p {
  color: white;
}
.news-wrapper {
  background-color: var(--black);
}
/*****************/
.plirofories-images img {
  transition: transform 0.3s ease;
}
.plirofories-images img:hover {
  transform: translateY(-4px);
}
.plirofories_etairias-wrapper {
  background-color: #0088cd;
}

.plirofories_etairias h3 {
  color: white;
}
.plirofories_etairias p {
  color: white;
}

.mpataries-wrapper {
  background: linear-gradient(90deg, #003457 20%, #006ab3 60%);
  margin: 50px 0;
}

.mpataries-text h2 {
  color: white;
}
.mpataries-text p {
  color: white;
}

.grad-btn {
  position: relative;
  display: inline-block;
  padding: 24px 26px;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  font-weight: 500;
  font-size: 16px;
  line-height: 0;
  vertical-align: middle;
  background: linear-gradient(90deg, #003457 20%, #006ab3 60%);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1;
}

.grad-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #003457;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: -1;
  /*transform: scale(0.9);*/
}

.grad-btn:hover::before {
  opacity: 1;
  /*transform: scale(1);*/
}

.grad-btn:hover {
  /*transform: scale(1.05) translateY(-2px);*/
  box-shadow: 0 8px 30px rgba(0, 52, 87, 0.4);
  color: white;
}

a.grad-btn:hover::before {
  color: white;
}

.grad-btn span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.grad-btn svg {
  width: 16px;
  height: 16px;
  fill: white;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

/*
.grad-btn:hover svg {
    transform: translateX(4px);
}*/

.grad-btn a {
  color: white !important;
  text-decoration: none;
}

.grad-b {
  position: relative;
  display: inline-block;
  padding: 18px 26px;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  font-weight: 500;
  font-size: 16px;
  background: linear-gradient(90deg, #003457 20%, #006ab3 60%);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1;
}

.grad-b::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #003457;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: -1;
  transform: scale(0.9);
}

.grad-b:hover::before {
  opacity: 1;
  transform: scale(1);
}

.grad-b:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 52, 87, 0.4);
  color: white;
}

.grad-b span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.grad-b svg {
  width: 16px;
  height: 16px;
  fill: white;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.grad-b:hover svg {
  transform: translateX(4px);
}

.prod-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  padding: 0 20px;
  margin: 50px 50px;
  max-width: 100%;
  box-sizing: border-box;
}

.product-category {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cat-image img {
  margin-bottom: -6px;
}

.prod-cat-grid .product-category {
  border-radius: 8px;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.25);
  background: white;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding: 50px;
  margin-bottom: 20px;
}

.product-category .category-description {
  /*padding: 0 30px;*/
  margin-bottom: 0;
}

.product-category > a:first-child {
  /*padding: 30px 30px 0 30px;*/
  display: block;
}

.category-more-button a {
  font-weight: 400;
  font-size: 18px !important;
  line-height: 28px;
  letter-spacing: 0.4px;
  text-decoration: none;
  color: var(--blue);
  transition: var(--main-easing);
  border-bottom: 2px solid var(--blue);
}
.product-category img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 20px;
}

.prod-cat-grid-big-cat .product-category img {
  width: 100%;
  height: 250px;
  object-fit: contain;
}

.product-category p {
  font-size: 10px;
  line-height: 20px;
  font-size: 16px;

}

.product-category a {
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px; /* 155.556% */
  letter-spacing: 0.4px;
  text-decoration: none;
}

.product-category h2 {
  line-height: 20px;
  font-weight: 600;
  /*padding: 20px 0 0 30px;*/
}
.prod-cat-grid-big-cat .cat-description {
  padding: 0;
}
.product-category h2 a {
  font-weight: 900;
}

.category-more-button {
  /*padding: 20px 0 0 30px;*/
}
.product-categories {
  margin-bottom: 100px;
}

/* Home-page-posts*/
.post-date,
.sel-post-date {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 5px;
  display: block;
}

.post-excerpt,
.sel-post-excerpt {
  font-size: 1rem;
  line-height: 1.4;
  margin-top: 8px;
  color: #444;
}

.sel-posts-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  max-width: 100%;
  box-sizing: border-box;
	padding: 20px;
}

.sel-post-cell {
  border: 0px solid transparent;
  border-radius: 8px;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.25);
  gap: 20px;
  transition: var(--main-easing);
  background: white;
  max-width: 100%;
  box-sizing: border-box;
}

.sel-post-cell:hover {
  transform: scale(1.03);
  border: 2px solid var(--blue);
  border-radius: 8px;
}

.sel-post-excerpt {
  margin-bottom: 30px;
}
.sel-post-info {
  padding: 20px 30px;
}
a.post-read-more-btn {
  color: var(--blue);
  text-decoration: none;
  transition: var(--main-easing);
  border-bottom: 2px solid var(--blue);
}
a.post-read-more-btn:hover {
  color: var(--dark-b);
}
.sel-post-title {
  border-bottom: 3px solid var(--blue);
  text-decoration: none;
  padding-bottom: 5px;
  width: max-content;
  width: 100%;
  display: grid;
  font-weight: 600;
  text-transform: uppercase;
}
.posts-block-wrapper {
  margin-top: -100px !important;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(270deg, rgba(34, 38, 40, 0) 0%, #222628 100%);
  pointer-events: none;
  z-index: 1;
}
.news_image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  min-height: 300px;
}

.news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-more a {
  text-decoration: none;
  color: var(--black);
  transition: var(--main-easing);
  border-bottom: 2px solid var(--black);
  padding-bottom: 5px;
}
.post-more a:hover {
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
}

/*Batteries Sections*/

.mpataries-image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 300px;
}

.mpataries-image.rel {
  position: relative;
  width: 100%;
  height: 100%;
}

.mpataries-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mpataries-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(270deg, rgba(0, 106, 179, 0) 0%, #005c98 100%);

  z-index: 1;
  pointer-events: none;
}

.mpataries-text {
  margin: 4% 0 0 27%;
}

/***/
.plirofories-side-img-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 300px;
}

.plirofories-side-img.rel {
  position: relative;
  width: 100%;
  height: 100%;
}

.side-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.plirofories-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #1c88d1 0%, rgba(28, 136, 209, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

.plirofories-text {
  margin: 0 0 0 21%;
  padding: 40px 0;
}

/**************/
.checklist-plirofories {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.checklist-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.checklist-icon {
  width: 24px;
  height: 24px;
}
.checklist-text {
  font-size: 16px;
}

.check_list_item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.check_list_item span {
  color: white;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 48px; /* 120% */
}

.mini-text-plir {
  color: white;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  margin-bottom: 20px;
  width: 80%;
}

/***************/
.check_list_bio span {
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
}

.image-wrapper-st {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.left-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.right-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.right-column > div {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.systhmata-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.image-4-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
}

.image-4-overlay img {
  max-width: 80%;
  height: auto;
}

.image-1 {
  display: flex;
  align-items: center;
}

/*About-us*/
.image-radius img {
  border-radius: 25px;
}
.about-grid {
  display: grid;
  grid-template-columns: 4% auto !important;
}
.about-grid figure {
  width: 50px;
}
.about-grid h3 {
  color: white;
}
.dark-blur-bg {
  background: linear-gradient(90deg, #003457 20%, #006ab3 60%);
}

.about-sec2 {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.about-sec2 p {
  color: white;
}
.light-text-about {
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  text-decoration: none;
  color: white;
}
.mini-text-ab p {
  font-size: 18px;
}
.width-80 {
  width: 80%;
}
.about-last-sec {
  padding: 50px 0;
  display: flex;
  align-content: center;
}

/*contact-page*/
.contact-form-wrapper {
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.25);
  padding: 50px;
  background: white;
}

.form-bg #wpforms-782-field_1,
.form-bg #wpforms-782-field_2,
.form-bg #wpforms-782-field_3,
.form-bg #wpforms-782-field_1-last {
  background-color: #e7e7e7 !important;
  border: 0px;
  border-radius: 8px;
  padding: 30px 10px;
}

.wpforms-submit {
  padding: 18px 26px;
  color: white;
  text-decoration: none;
  border-radius: 8px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
  font-weight: 500 !important;
  background: linear-gradient(90deg, #003457 20%, #006ab3 60%) !important;
  position: relative !important;
  overflow: hidden !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  z-index: 1 !important;
}

.wpforms-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #003457 !important;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease !important;
  z-index: -1;
  /*transform: scale(0.9);*/
}

.wpforms-submit:hover::before {
  opacity: 1;
  /*transform: scale(1);*/
}

.wpforms-submit:hover {
  /*transform: scale(1.05) translateY(-2px) !important;*/
  box-shadow: 0 8px 30px rgba(0, 52, 87, 0.4) !important;
}

.contact-form-wrapper h6 {
  color: var(--black);
}
.main-links a {
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  text-decoration: none;
  transition: var(--main-easing);
}
.main-links a:hover {
  color: var(--blue);
}
.info-grid {
  gap: 80px;
}
.image-contact {
  top: -210px;
  z-index: -1;
  right: 65px;
}

/* posts */
.posts-row.rel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 55px;
  margin: 100px 0;
}

.sel-post-cell img {
  width: -webkit-fill-available;
}
.sel-post-thumb img {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.post-thumb img {
  width: -webkit-fill-available;
  border-radius: 8px 8px 0 0;
}

.post-cell {
  background: white;
  border: 0px solid transparent;
  border-radius: 8px;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.25);
  gap: 20px;
  transition: var(--main-easing);
}

.post-cell:hover {
  transform: scale(1.03);
  border: 2px solid var(--blue);
  border-radius: 8px;
}

.post-excerpt {
  margin-bottom: 25px;
}

.post-info {
  padding: 20px;
}

a.post-title {
  text-decoration: none;
  font-size: 20px;
  border-bottom: 2px solid var(--blue);
  margin-bottom: 2px;
}

/*arthra*/
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.theme-grid .post-thumbnail img,
.theme-grid .post-thumbnail {
  width: 100%;
  height: auto;
  display: block;
}

.post-wrapper {
  display: flex;
  padding-top: 150px;
  gap: 50px;
}

.content-area {
  flex: 8;
}

.sidebar-area {
  flex: 2;
}

.wp-block-latest-posts.wp-block-latest-posts__list li {
  clear: both;
  overflow-wrap: break-word;
  background: white;
  padding: 20px;
  border-radius: 20px;
  margin: 0 0 20px 0;
  gap: 10px;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);
  transition: var(--main-easing);
}
.wp-block-latest-posts.wp-block-latest-posts__list li:hover {
  background: rgb(202, 202, 202);
}
img.attachment-thumbnail.size-thumbnail.wp-post-image {
  border-radius: 20px;
}

ul.wp-block-latest-posts__list.wp-block-latest-posts {
  padding: 0;
  margin: 0;
}

.page-id-518 aside#secondary {
  display: none;
}

.nav-links {
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
  padding: 10px;
  margin: 50px 0;
  /*border-radius: 8px;*/
}
.posted-on {
  border-radius: 8px;
  border: 2px solid #96bf0d;
  padding: 10px;
  font-weight: 600;
}

.wp-block-latest-posts__post-title {
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
}
.wp-block-latest-posts__read-more {
  text-decoration: none;
  color: #96bf0d;
}
.posted-on a {
  text-decoration: none;
  color: #96bf0d;
}

.entry-meta {
  padding-top: 50px;
}

.cat-links {
  border-radius: 8px;
  border: 2px solid #96bf0d;
  padding: 10px;
  font-weight: 600;
}

.cat-links a {
  text-decoration: none;
  color: #96bf0d;
}

.nav-links a {
  text-decoration: none;
}

.prod-cat-grid-big-cat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.prod-cat-grid-big-cat .product-category {
  background: white;
  border-radius: 8px;
}

.cat-content {
  padding: 50px;
}

/* WooCommerce Product Archive Styling */
.category-layout {
  padding: 150px 0 50px 0;
}

.category-container {
  max-width: 100%;
  margin: 0 auto;
}

.category-name {
  font-size: 40px;
  font-weight: 700;
  color: var(--black);
  text-align: center;
}

.category-description {
  text-align: center;
  margin-bottom: 0 0 50px 30px;
  font-size: 18px;
}

/* Product Grid Styling */
.category-products .products,
.category-subcategories .products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.category-products .product,
.category-subcategories .product {
  background: white;
  border-radius: 8px;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.25);
  padding: 30px;
  transition: var(--main-easing);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 100%;
  box-sizing: border-box;
width: 100% !important;
}

.category-products .product:hover,
.category-subcategories .product:hover {
  transform: scale(1.05);
  box-shadow: 0px 8px 30px 0px rgba(0, 0, 0, 0.35);
}

.category-products .product img,
.category-subcategories .product img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 20px;
}

.category-products .product .woocommerce-loop-product__title,
.category-subcategories .product .woocommerce-loop-product__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 15px;
  text-decoration: none;
}

.category-products .product .price,
.category-subcategories .product .price {
  font-size: 16px;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 15px;
}

.category-products .product .button,
.category-subcategories .product .button {
  background: #003457;
  color: white;
  border: none;
  padding: 20px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: var(--main-easing);
  text-align: center;
  font-weight: 500;
}

/*.category-products .product .button:hover,
.category-subcategories .product .button:hover {
  background: #003457;
  transform: translateY(-2px);
}*/

/* Flex Layout for Image + Subcategories */
.category-flex-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.category-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.15);
}

.category-bottom-text-wrapper {
  margin-top: 50px;
  padding: 30px;
  background: white;
  border-radius: 8px;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.15);
}

.no-products-message {
  text-align: center;
  font-size: 18px;
  color: #666;
  padding: 50px 0;
}

/*RESPONSIVE*/

/* Desktop overflow fixes */
@media only screen and (max-width: 1750px) {
  .main-batteries-wrapper {
    margin-top: -150px !important;
  }
}

@media only screen and (max-width: 1500px) {
  .theme-grid {
    padding: 0 50px;
  }
  .main-batteries-wrapper {
    margin-top: -100px !important;
  }
  
  .category-name {margin-top: 200px;}
}

@media only screen and (max-width: 1400px) {
  .entry-title {
    font-size: 50px;
  }
  .info-grid {
    gap: 0px;
  }
  h1 {
    font-size: 50px;
  }
  .category-container .page-path {
    padding-top: 120px;
  }

}

@media only screen and (max-width: 1300px) {
  .main-batteries-wrapper {
    margin-top: -80px !important;
  }
  .prod-cat-grid-big-cat {
    gap: 30px;
  }
}

@media only screen and (max-width: 1200px) {
  ul#primary-menu > li > a {
    padding: 0 5px;
  }
  .first-box.grid.theme-grid {
    padding-top: 10% !important;
  }
  ul#primary-menu {
    gap: 10px;
  }
  .menu li {
    font-size: 16px;
  }
  ul#primary-menu {
    justify-content: space-evenly;
    align-items: center;
  }
}

@media only screen and (max-width: 1100px) {
  .first-box.grid.theme-grid {
    padding-top: 15% !important;
  }
  .main-links a {
    font-size: 18px;
  }
  .menu li {
    font-size: 15px;
  }
  .prod-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (max-width: 1024px) {
  .prod-cat-grid-big-cat {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-batteries-wrapper {
    margin-top: 20px !important;
  }

  .bio-image {
    right: -42px;
    top: 200px;
    max-width: calc(100vw - 100px);
    overflow: hidden;
  }
  .bio-image img {
    max-width: 60%;
    height: auto;
  }

  .main-block-responsive {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .image-cennter-align {
    display: grid;
    justify-content: center;
  }

  .about-grid figure {
    width: 25px;
  }
  .about-grid h3 {
    font-size: 20px !important;
  }
  .about-grid {
    grid-template-columns: 8% auto !important;
  }
  .width-80 {
    width: 100%;
  }

  .contact-boxes {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    text-align: center;
	border-radius: 20px !important;
  }

  .image-contact {
    top: -190px;
  }

  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .prefooter-info h2 {
    font-size: 45px;
  }
  .post-wrapper {
    flex-direction: column;
    padding-top: 180px;
  }

  .product-page-wrapper {
    display: flex;
    flex-direction: column !important;
    padding: 20px !important;
  }
  .theme-grid {
    padding: 0 20px !important;
  }
  h1.product_title.entry-title {
    font-size: 30px !important;
  }
  .woocommerce-Tabs-panel {
    margin-top: 30px !important;
  }
  .woocommerce-product-details__short-description span {
    width: 100% !important;
  }
  h3 {
    font-size: 26px !important;
  }
  p {
    font-size: 18px !important;
  }
}
@media only screen and (min-width: 992px) {
  /* Ensure all grid containers don't create internal scroll */
  .first-box,
  .image-collage,
  .mpataries,
  .plirofories_etairias,
  .plirofories-images,
  .biomixaniki-hlekrokinisi,
  .news,
  .sel-posts-row,
  .prod-cat-grid {
    overflow: visible !important;
  }

  /* Fix for any positioned elements that might overflow */
  .bio-image,
  .bio-text {
    position: relative;
    overflow: visible;
  }

  /* Ensure text content doesn't create scroll */
  .mpataries-text,
  .plirofories-text,
  .news-text,
  .bio-text {
    overflow: visible;
    width: auto;
    max-width: 100%;
  }

  /* Fix slider/grid items to prevent internal scroll */
  .sel-post-cell,
  .product-category {
    overflow: visible !important;
  }
}

@media only screen and (max-width: 900px) {
  .mpataries-overlay {
    background: linear-gradient(90deg, #003457be 20%, #006bb37c 60%);
  }
  .image-overlay {
    background: linear-gradient(180deg, #222628 0%, rgba(34, 38, 40, 0) 100%);
  }
  .plirofories-overlay {
    background: linear-gradient(180deg, #1c88d1 0%, rgba(28, 136, 209, 0) 100%);
  }
  .bio-image img {
    max-width: 100%;
  }
  /*.entry-content{text-align: center;}*/
  h1 {
    font-size: 30px;
    line-height: 1.1;
  }
  .first-box.grid.theme-grid {
    padding-top: 18% !important;
  }
  .first-box {
    grid-template-columns: repeat(1, 1fr);
  }
  .footer-gradient {
    height: 10vh;
  }
  .prod-cat-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .posts-block-wrapper {
    margin-top: 20px !important;
  }
  .sel-posts-row {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
  .news-text {
    margin: 4% 0 0 5%;
  }
  .news {
    display: grid !important;
    grid-template-columns: repeat(1, 1fr);
  }
  .bio-text {
    width: 100%;
  }
  .biomixaniki-hlekrokinisi {
    display: grid !important;
    grid-template-columns: repeat(1, 1fr);
    justify-items: center;
  }
  .image-collage {
    display: flex !important;
    gap: 0px;
    flex-direction: column-reverse;
  }
  .mpataries-text {
    margin: 4% 0 0 5%;
  }
  .mpataries {
    display: grid !important;
    grid-template-columns: repeat(1, 1fr);
  }
  h2 {
    font-size: 40px;
    line-height: 46px;
  }
  .plirofories_etairias {
    display: grid !important;
    grid-template-columns: repeat(1, 1fr);
  }
  .plirofories-text {
    margin: 4% 0 0 5%;
  }
  .check_list_item span {
    font-size: 22px;
    line-height: 40px;
  }
  .bio-image {
    position: initial;
    display: grid;
    align-items: center;
    justify-items: center;
  }
}

@media only screen and (max-width: 800px) {
  .preheader {
    display: none;
  }
  .header-row {
    margin-top: 20px;
  }
  .prod-cat-grid-big-cat {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media only screen and (max-width: 650px) {
  form.searchwp-form .searchwp-form-input-container {
    width: 100px;
  }
  .prefooter-image img {
    opacity: 0.4;
  }
  .prefooter-image {
    position: absolute;
  }
  .posts-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .prefooter-columns {
    padding: 20px 0px;
  }
  .prefooter-info h2 {
    font-size: 35px;
  }
  .prefooter-info a {
    font-size: 20px;
    line-height: 0.5;
  }
  .prefooter-contact > div {
    flex: initial;
  }
  .prefooter-message h3 {
    font-size: 25px !important;
  }
  .site-info {
    padding: 20px 0 0 0;
  }
}

.product-category {
  transition: var(--main-easing);
}
.product-category:hover {
  transform: translateY(-10px);
}

.category-more-button a {
  transition: var(--main-easing);
}
.category-more-button a:hover {
  color: var(--dark-b);
}

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
  margin-left: auto;
}

.burger-menu svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  transition: all 0.3s ease;
}

.burger-menu:hover svg {
  fill: var(--glow-green, #c4ff00);
  transform: scale(1.1);
}

/* Burger menu active state - rotate the SVG */
.burger-menu.active svg {
  transform: rotate(90deg);
  fill: var(--glow-green, #c4ff00);
}

/* Burger menu active state - rotate the SVG */
.burger-menu.active svg {
  transform: rotate(90deg);
  fill: var(--glow-green, #c4ff00);
}

@media (max-width: 991px) {
  /* Show burger menu on mobile */
  .burger-menu {
    display: flex !important;
    order: 3;
    margin-left: auto;
  }

  /* Hide main navigation on mobile by default */
  .main-navigation {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 2rem 1rem;
    z-index: 1005;
    border-radius: 0 0 8px 8px;
    transition: all 0.3s ease;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    overflow: visible;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }

  /* Show navigation when burger is active */
  .main-navigation.active {
    display: flex !important;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  /* Adjust header row for mobile */
  .header-row {
    padding: 7px 20px;
    flex-wrap: wrap;
    position: relative;
  }

  /* Make sure branding stays in place */
  .site-branding {
    order: 1;
    margin-right: auto;
    flex-shrink: 0;
  }

  /* Search wrapper positioning */
  .search-wrapper {
    order: 2;
    margin: 0 auto;
  }

  /* Menu items styling */
  #primary-menu {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
    position: relative;
    z-index: 1000;
  }

  #primary-menu li {
    list-style: none;
    width: 100%;
    text-align: center;
    margin: 0;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: inherit;
  }

  #primary-menu li:last-child {
    border-bottom: none;
  }

  /* Style mobile menu links */
  #primary-menu > li > a {
    color: #333 !important;
    padding: 20px;
    transition: all 0.3s ease;
    display: block !important;
    width: 100%;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    position: relative;
  }

  #primary-menu > li > a:hover {
    color: var(--blue) !important;
  }

  /* Add arrow indicator for menu items with submenus */
  #primary-menu > li.has-submenu > a::after {
    content: '▼';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    transition: transform 0.3s ease;
  }

  /* Rotate arrow when submenu is open */
  #primary-menu > li.has-submenu.submenu-open > a::after {
    transform: translateY(-50%) rotate(180deg);
  }

  /* Show submenus on mobile */
  #primary-menu > li > .sub-menu,
  #primary-menu > li > ul {
    display: none !important;
    background: #f8f9fa;
    width: 100%;
    padding: 0;
    margin: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-radius: 0;
    grid-template-columns: 1fr;
    z-index: auto;
    overflow: visible;
  }

  /* Show submenu when parent is active */
  #primary-menu > li.submenu-open > .sub-menu,
  #primary-menu > li.submenu-open > ul {
    display: block !important;
  }

  /* Style submenu items */
  #primary-menu .sub-menu > li,
  #primary-menu ul > li {
    border-bottom: 1px solid #ddd;
    background: #f8f9fa;
    padding: 0;
    margin: 0;
    width: 100%;
    position: static;
    z-index: auto;
  }

  #primary-menu .sub-menu > li:last-child,
  #primary-menu ul > li:last-child {
    border-bottom: none;
  }

  #primary-menu .sub-menu > li > a,
  #primary-menu ul > li > a {
    color: #555 !important;
    padding: 15px 30px;
    font-size: 14px;
    font-weight: 400;
    background: transparent;
    border: none;
    display: block !important;
    width: 100%;
    text-decoration: none;
    position: relative;
    text-align: center;
  }

  #primary-menu .sub-menu > li > a:hover,
  #primary-menu ul > li > a:hover {
    background-color: #e9ecef;
    color: var(--blue) !important;
  }

  /* Third level submenus */
  #primary-menu .sub-menu .sub-menu,
  #primary-menu .sub-menu ul,
  #primary-menu ul .sub-menu,
  #primary-menu ul ul {
    display: none !important;
    background: #e9ecef;
    position: static;
    z-index: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: visible;
  }

  #primary-menu .sub-menu li.submenu-open .sub-menu,
  #primary-menu .sub-menu li.submenu-open ul,
  #primary-menu ul li.submenu-open .sub-menu,
  #primary-menu ul li.submenu-open ul {
    display: block !important;
  }

  #primary-menu .sub-menu .sub-menu > li > a,
  #primary-menu .sub-menu ul > li > a,
  #primary-menu ul .sub-menu > li > a,
  #primary-menu ul ul > li > a {
    padding-left: 50px;
    font-size: 13px;
    color: #666 !important;
    position: static;
    z-index: auto;
    text-align: center;
  }

  /* Ensure menu items have proper stacking context */
  #primary-menu > li {
    position: static;
    z-index: auto;
  }

  #primary-menu > li.submenu-open {
    z-index: auto;
    position: static;
  }

  /* Arrow indicators for submenu items that have children */
  #primary-menu .sub-menu > li.has-submenu > a::after,
  #primary-menu ul > li.has-submenu > a::after {
    content: '▼';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    transition: transform 0.3s ease;
  }

  #primary-menu .sub-menu > li.has-submenu.submenu-open > a::after,
  #primary-menu ul > li.has-submenu.submenu-open > a::after {
    transform: translateY(-50%) rotate(180deg);
  }

  /* Force show all menu items in burger menu */
  .main-navigation.active #primary-menu .sub-menu,
  .main-navigation.active #primary-menu ul ul {
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    height: auto !important;
    overflow: visible !important;
    max-height: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .main-navigation.active #primary-menu li {
    display: block !important;
    width: 100% !important;
  }

  .main-navigation.active #primary-menu a {
    display: block !important;
    width: max-content !important;
  }

  .main-navigation.active #primary-menu .sub-menu a {
    padding-left: 20px !important;
    font-size: 14px !important;
    width: 100% !important;
    text-align: left !important;
  }

  .main-navigation.active #primary-menu ul ul a {
    padding-left: 60px !important;
    font-size: 13px !important;
    text-align: center !important;
  }

  .texnika-applications-wrapper{    
    display: flex;
    flex-direction: column !important;
    justify-content: space-between;
  }
  .applications-wrapper{width: 100% !important; border-left: 0 !important; padding:50px 0 20px 0 !important;}
  .stoixeia-wrapper{margin-top: 50px; display: flex; flex-direction: column !important;}
  .stoixeia-info{width: 100% !important;}
  .stoixeia-image{display: flex; justify-content: center!important; width: 100%!important;}
  .stoixeia-additional-info{display: flex; flex-direction: column !important;}
  .additional-info-right{width: 100% !important;}
  .additional-info-left{width: 100% !important;}

}
@media only screen and (max-width: 650px) {
  .efarmoges-icons-wrapper{display: grid; grid-template-columns: repeat(2, 1fr)!important;}

}

@media only screen and (max-width: 500px) {


  .prod-cat-grid-big-cat .cat-title {
    font-size: 25px;
    line-height: 28px;
} 

.prod-cat-grid .product-category{padding: 25px;}
.prod-cat-grid{margin: 0;}
.check_list_item span{font-size: 20px; line-height: 26px;}
.biomixaniki-hlekrokinisi-wrapper{margin: 50px 0 0 0;}
.entry-title{font-size: 35px;}
.category-subcategories .products.category-grid li.product-category{margin: 0;}
.category-name{margin: 120px 0 50px 0; font-size: 32px;}
}


.error-404 {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: left;
  text-align: left;
  color: white;
}

.error-404 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.error-404 .content {
  position: relative;
  z-index: 2;
  background: #ffffffa3;
  padding: 75px 30px 75px 80px;
  border-radius: 0 50px 50px 0;
  width: 80%;
  text-align: left;
}

.error-404::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 60%,
    #f7f7f7 100%
  );
  z-index: 1;
  pointer-events: none;
}

.error-btn a {
  text-decoration: none;
  background: var(--dark-b);
  color: white;
  padding: 10px 30px;
  width: max-content;
  border-radius: 8px;
  transition: var(--main-easing);
}
.error-btn a:hover {
  color: white;
  background: var(--blue);
}

.cky-notice-des p {
  line-height: 24px;
}

.thank-y-con {
  display: flexs;
  flex-direction: column;
  align-content: center;
  align-items: center;
  gap: 50px;
}

/*search*/
/* === Search Results Grid Layout === */
.search-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 0 5px;
  overflow: hidden;
  padding: 50px 10px;
}

@media screen and (max-width: 1024px) {
  .search-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .search-results-grid {
    grid-template-columns: 1fr;
  }
}

/* === Individual Result Card === */
.search-results-grid article.post {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgb(0 0 0 / 10%);
  transition: var(--main-easing);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid white;
}

.search-results-grid article.post:hover {
  /*transform: translateY(-4px);*/
  transform: scale(1.02);
  border: 1px solid var(--blue);
}

/* === Thumbnail with Fixed Size === */
.search-results-grid .post-thumbnail {
  width: 100%;
  height: 280px; /* Σταθερό ύψος */
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
  background-color: #f0f0f0;
}

.search-results-grid .post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: white;
}

.search-results-grid h2 {
  text-decoration: none !important;
  font-size: 25px;
  margin-bottom: 2px;
  line-height: 32px;
  transition: var(--main-easing);
  padding-bottom: 20px;
}

.search-results-grid .read-more-button {
  transition: var(--main-easing);
  font-size: 18px !important;
  font-style: normal;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: 0.4px;
  text-decoration: none;
  border-bottom: 2px solid var(--blue);
  width: max-content;
  color: var(--blue);
}

.search-results-grid .read-more-button:hover {
  color: var(--dark-b);
}
.post a {
  text-decoration: none;
}

.page-header {
  margin-bottom: 2rem;
  margin-top: 15%;
}

.page-title {
  font-size: 2rem;
}

.page-title span {
  color: #0073aa;
}

.navigation.posts-navigation {
  margin-top: 2rem;
  text-align: center;
}

.navigation .nav-links a {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  background: var(--dark-b);
  transition: var(--main-easing);
}

.navigation .nav-links a:hover {
  background: var(--blue);
}

.nav-previous {
  text-align: right;
}
.nav-next {
  text-align: left !important;
}

p.no-results {
  margin: 15% 0 0 0;
  text-align: center;
}
