* { box-sizing: border-box; }
  
  /* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Το body γεμίζει όλο το ύψος */
html, body {
  height: 100%;
  font-family: Arial, sans-serif;
}

/* Flex κοντέινερ για σελίδα */
.page-container {
min-height: 100vh;
display: flex;
flex-direction: column;  
}
.content {
  flex: 1;
}
.page-container {
min-height: 100vh;
display: flex;
flex-direction: column;
}
/* Το main παίρνει όλο τον διαθέσιμο χώρο */
.content {
flex: 1;
}
.cart-container {display: flex;gap: 30px;flex-wrap: wrap;}
  .cart-items {
    flex: 1 1 600px;
    min-width: 300px;
  }
  .cart-summary {
    flex: 0 0 300px;
    border: 1px solid #ddd;
    padding: 20px;
    height: fit-content;
    background: #f9f9f9;
    border-radius: 6px;
  }
  

    .main-container {
      display: flex;
      width: 100%;
      margin: 40px auto;
      padding: 0 0px;
      gap: 30px;
    }

    .sidebar {
      width: 250px;
      min-width: 220px;
      border: 1px solid #eee;
      padding: 20px;
      height: fit-content;
    }

    .product-grid {
    margin:20px;
      flex: 1;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 30px;
    }

    .product-item {
      text-decoration: none;
      color: inherit;
      border: 1px solid #eee;
      transition: box-shadow 0.3s ease;
      background: #fff;
    }

    .product-item:hover {
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }

    

    .product-item:hover img {
      transform: scale(1.05);
    }

    .product-info {
      padding: 15px;
      text-align: center;
    }

    .product-info h2 {
      font-size: 1rem;
      font-weight: normal;
      margin: 0 0 10px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .product-info p.price {
      color: #c20000;
      font-size: 1.1rem;
      font-weight: bold;
      margin: 0 0 10px;
    }

    .color-dots {
      display: flex;
      justify-content: center;
      gap: 6px;
      margin-top: 10px;
    }

    .color-dot {
      width: 18px;
      height: 18px;
      border-radius: 50%;
      border: 1px solid #ccc;
      cursor: pointer;
    }

    .color-dot.active {
      border: 2px solid #000;
    }

    @media (max-width: 1665px) {
      .product-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }
    @media (max-width: 1310px) {
      .product-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 995px) {
      .product-grid {
        grid-template-columns: repeat(1, 1fr);
      }
    }
.filters-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width:300px;
  margin-bottom: 20px;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  height:400px;
}
@media (max-width: 768px) {
      .main-container {
        flex-direction: column;
}
.sidebar {width: 100%;}
.filters-container {height:470px;width:100%;}
.product-grid {grid-template-columns: repeat(1, 1fr);}}

@media (max-width: 480px) {
.product-grid {grid-template-columns: 1fr;}
 }

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.filter-group select,
.filter-group input[type="range"],
.filter-actions button {
  padding: 8px;
  border-radius: 0px;
  border: 1px solid #ccc;
  min-width: 180px;
  font-size: 14px;
}

.color-dots {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.color-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
}

.color-dot.selected {
  border-color: #000;
}

.filter-actions {
  align-self: flex-end;
}

#clearFilters {
  background: #e74c3c;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

#clearFilters:hover {
  background: #c0392b;
}

.no-results {
  background: #f9f9f9;
  border: 2px dashed #ddd;
  padding: 30px;
  border-radius: 12px;
  max-width: 600px;
  margin: 40px auto;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.no-results .emoji {
  font-size: 60px;
  margin-bottom: 15px;
  animation: shake 0.6s ease-in-out;
}

@keyframes shake {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
  75% { transform: rotate(-4deg); }
  100% { transform: rotate(0deg); }
}

.no-results p {
  font-size: 1.1em;
  color: #555;
  margin-top: 0;
}
  .products-wrapper {
    width: 100%;
  }
  .products-header {
    display: flex;
    justify-content: flex-end; /* Ευθυγράμμιση δεξιά */
    margin-bottom: 10px;       /* Απόσταση από κάτω */
    align-items: center;
    margin-right:20px;
  }
 #sort-select {
padding: 5px 10px;
font-size: 1rem;
padding: 8px;
border-radius: 0px;
border: 1px solid #ccc;
min-width: 180px;
font-size: 15px;
}
}

a { text-decoration:none }

.header {
  background-color: #fff;
  box-shadow: 0 0px 0px rgba(0);
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 10px 20px;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left .logo {
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

.header-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.header-item {
  font-size: 18px;
  color: #333;
  text-decoration: none;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
}

.cart-icon span#cart-count {
  background-color: red;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
  position: absolute;
  top: -8px;
  right: -10px;
}

.search-popup {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: none;
  z-index: 999;
}

.search-popup input {
  padding: 8px 10px;
  font-size: 16px;
  width: 250px;
}

.search-popup button {
  background: none;
  border: none;
  font-size: 18px;
  margin-left: 10px;
  cursor: pointer;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .header {
    position: relative;
  }
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .header-right {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* Απόκρυψη φίλτρων σε κινητά */
@media (max-width: 768px) {
  .filters-container {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background: #f9f9f9;
    border-top: 1px solid #ddd;
  }

  .filters-container.show {
    display: flex;
  }

  .toggle-filters-btn {
    display: inline-block;
    background-color: #000;
    color: #fff;
    border: none;
    padding: 0.6rem 1rem;
    margin: 1rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
  }
}

/* Απόκρυψη κουμπιού σε desktop */
@media (min-width: 769px) {
  .toggle-filters-btn {
    display: none;
  }

  .filters-container {
    display: flex !important;
    gap: 2rem;
  }
}
  .custom-box {
    background-color: #fff; /* gray-100 */
    color: #1f2937;            /* gray-800 */
  }
  
  .overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 1s ease;
  opacity: 1;
  z-index: 10;
}

.overlay-hidden {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 1s ease;
  opacity: 0;
  z-index: 10;
}
.overlay-center-text {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 3.25rem; /* equivalent to text-4xl */
  z-index: 20;
}
.section-style {
margin-top:20px;
  padding-top:20px;        /* py-16 = 64px = 4rem */
  padding-bottom: 20px;
  background-color: #fff; /* bg-gray-100 */
  scroll-margin-top: 120px;  /* scroll-mt-[120px] */
  width:100%;
}
.container-custom {
  max-width:1300px;       /* max-w-7xl = 1280px = 80rem */
  margin-left: auto;      /* mx-auto */
  margin-right: auto;
  padding:0px 10px;
}

.container-custom > * + * {
  margin-top: 4rem;       /* space-y-16 = 64px = 4rem vertical spacing μεταξύ child elements */
}

.custom-heading {
  font-size: 1.875rem;      /* 30px - text-3xl */
  font-weight: 600;         /* font-semibold */
  text-align: center;       /* text-center */
  margin-bottom: 2rem;      /* mb-8 = 32px = 2rem */
}


.vitrina1 {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ή 3 αν προτιμάς */
  gap: 2rem;
}

.vitrina2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .vitrina1,
  .vitrina2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .vitrina1,
  .vitrina2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}



.custom-bg {
  position: absolute; /* absolute */
  top: 0; right: 0; bottom: 0; left: 0; /* inset-0 */
  background-size: cover; /* bg-cover */
  background-position: center; /* bg-center */
  transition-property: all; /* transition */
  transition-duration: 300ms; /* duration-300 */
  transform-origin: center center;
  transform: none; /* αρχική κατάσταση */
}

/* όταν ο γονέας έχει την κλάση group και γίνεται hover */
.group:hover .custom-bg {
  opacity: 0.8; /* opacity-80 */
}
.custom-card-gray {
  position: relative;           /* relative */
  border-radius: 0px;        /* rounded (συνήθως 8px) */
  box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06); /* shadow */
  overflow: hidden;             /* overflow-hidden */
  height: 28rem;                /* h-72 (72 * 0.25rem = 18rem = 288px) */
}
.custom-overlay {
  position: absolute;       /* absolute */
  top: 0; right: 0; bottom: 0; left: 0; /* inset-0 */
  background-color: rgba(255, 255, 255, 0); /* bg-white + bg-opacity-40 */
  display: flex;            /* flex */
  flex-direction: column;   /* flex-col */
  justify-content: center;  /* justify-center */
  align-items: center;      /* items-center */
  text-align: center;       /* text-center */
  padding: 1.5rem;          /* p-6 (6 * 0.25rem = 1.5rem) */
}
.custom-text {
  font-size: 1.25rem;    /* text-xl */
  font-weight: 700;      /* font-bold */
  margin-bottom: 0.5rem; /* mb-2 (2 × 0.25rem = 0.5rem) */
}
.custom-class {
  margin-bottom: 1rem;   /* mb-4 = 4 × 0.25rem = 1rem */
  font-size: 1rem;       /* text-base = 1rem (16px) */
}
.custom-class-2 {
  padding-top: 4rem;    /* py-16 = 16 × 0.25rem = 4rem */
  padding-bottom: 4rem;
  background-color: #ffffff;  /* bg-white */
}
.max-w-5xl {
  max-width: 64rem; /* 1024px περίπου */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem; /* 16px */
  padding-right: 1rem;
  text-align: center;
}
.text-3xl {
  font-size: 1.875rem; /* 30px */
  line-height: 2.25rem; /* 36px */
}

.font-semibold {
  font-weight: 600;
}

.mb-6 {
  margin-bottom: 1.5rem; /* 24px */
}
.text-lg-gray-relaxed {
  font-size: 1.125rem;
  color: #4a5568;
  line-height: 1.625;
}
.relative {
  position: relative;
}

.h-screen {
  height: 700px; /* Ύψος ίσο με το ύψος της οθόνης */
  width:100%;
  margin:auto;
  margin-top:0px;
}


/* Responsive */
@media (max-width: 776px) {
.h-screen {
  height: 300px; /* Ύψος ίσο με το ύψος της οθόνης */
  width:100%;
  margin:auto;
  margin-top:0px;
}
}



.overflow-hidden {
  overflow: hidden;
}


.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: opacity 1s ease-in-out;
  z-index: 0;
  opacity: 0;
}

.visible {
  opacity: 1;
  z-index: 1;
}

.hidden {
  opacity: 0;
  z-index: 0;
}
#slider-text {
  opacity: 1;
  transition: opacity 0.5s ease;
  font-size:45px;
}

#slider-text.fade-out {
  opacity: 0;
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  width: 100%;
  text-align: center;
  z-index: 10;
}

.slider-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.slider-dots .dot.active {
  opacity: 1;
}
.image-caption {
  padding: 12px;
  text-align: center;
  font-weight: bold;
  color: #222;
  background: linear-gradient(to right, #f5f5f5, #e0e0e0);
  border-top: 1px solid #ddd;
}

.card-title {
  margin-top: 12px;
  text-align: center;
  font-weight: bold;
  font-size:19px;
  color: #222;
}


.card-subtitle {
  text-align: center;
  font-weight: normal;
  padding:6px; 5px;
  font-size:15px;
  color: #222;
}
.productsgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 10px;
  width: 100%;
  box-sizing: border-box;
}

.product-item {
  display: flex;
  flex-direction: column;
  min-width: 0 !important;
  overflow: hidden;
  box-sizing: border-box;
}


.product-item {
  display: block;
  width: 100%;
  border: 1px solid #ccc;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 0px;
  transition: box-shadow 0.3s ease;
  background: #fff;
}

/* Responsive */
@media (max-width: 992px) {
  .productsgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .productsgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .productsgrid {
    grid-template-columns: 1fr;
  }
}


.product-item:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


.product-thumb {
      width: 100%;
      height: 280px;
      background: #fafafa;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

.product-item {
  min-width: 0; /* Αυτό λύνει πολλά προβλήματα σε grid */
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-info {
  font-family: Arial
}
.price{text-align:center; font-size:19px;}

.slider-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  position: absolute;
  bottom: 30px; /* απόσταση από κάτω */
  left: 50%;
  transform: translateX(-50%);
}
.overlay {
  position: absolute;
  top:0; left:0; width:100%; height:100%;
  background-size: cover;
  background-position: center;
  transition: opacity 1s ease-in-out;
}

.overlay.hidden { opacity: 0; z-index: 0; }
.overlay.visible { opacity: 1; z-index: 1; }

.overlay-center-text {
  position: absolute;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}

.slider-dots {
  margin-top: 20px;
}

.slider-dots .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
}

.slider-dots .dot.active {
  background: #fff;
}