    * { box-sizing: border-box; }

  body {font-family: Arial, sans-serif;}
  
  /* 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;
}

/* Το main παίρνει όλο τον διαθέσιμο χώρο */
.content {
  flex: 1;
}
  .cart-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
        padding:0px 20px;

  }
  .cart-items {
    flex: 1 1 300px;
    min-width: 250px;
  }
.cart-summary {
    flex: 0 0 300px;
    border: 1px solid #ddd;
    padding: 20px;
    height: fit-content;
    background: #f9f9f9;
    border-radius: 6px;
    width:100%;
    max-width:600px;
    margin-left:auto;
    margin-right:auto;
  }
  .qty-input {
    width: 60px;
  }
  .remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: red;
  }
  /* Responsive για μικρές οθόνες */
  @media (max-width: 1120px) {
    .cart-container {
       width: 100%;
      flex-direction: column;
    }
    .cart-summary {
      margin-top: 20px;
    }
  }

.add-to-cart-btn {
  background-color: #28a745;
  color: white;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.25s ease, transform 0.15s ease;
  -webkit-appearance: none; /* Fix για iOS Safari */
  -moz-appearance: none;
  appearance: none;
}
.add-to-cart-btn:hover {
  background-color: #218838;
  transform: translateY(-1px);
}
.add-to-cart-btn:active {
  background-color: #1e7e34;
  transform: translateY(0px);
}
.add-to-cart-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(72, 180, 97, 0.5);
}
a { text-decoration:none }
.header {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  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;
}
.mainbody{margin-top:30px;}
.add-to-wishlist {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    margin-left: 10px;
}
.add-to-wishlist:hover {
    color: red;
}
.cart-and-wishlist {
  display: flex;
  align-items: center;
  gap: 10px;
}
#toasth.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#toasth.show {opacity: 1; pointer-events: auto;}
.checkout-btn {display: block;margin-top: 30px; padding: 15px 0; background-color: #28a745; color: white; font-weight: bold; text-align: center; text-decoration: none; border-radius: 6px; transition: background-color 0.3s ease; }
.checkout-btn:hover { background-color: #218838;}
.goshop-btn { display: block; margin-top: 30px; padding: 15px 0; background-color: #fff; border: 1px solid #ddd; color: #323232; font-weight: bold; text-align: center; text-decoration: none; border-radius: 6px; transition: background-color 0.3s ease; }
.goshop-btn:hover { background-color: #323232; color: #fff; }
 .qty-wrapper { display: inline-flex; align-items: center; border: 0px solid #ccc; border-radius: 8px; overflow: hidden; max-width: 140px; margin-top:10px; margin-left:30px;}

.qty-input {
  width: 50px;
  text-align: center;
  font-size: 16px;
  border: none;
  padding: 6px 8px;
  background-color: #fff;
}

.qty-input:focus {
  outline: none;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  background-color: #f0f0f0;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.qty-btn:hover {
  background-color: #ddd;
}
.qty-wrapper {
  justify-content: center;
  align-items: center;
}

.qty-btn {
  padding: 2px 8px;
  margin: 0 2px;
}

.qty-input {
  width: 40px;
  text-align: center;
}

.remove-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 18px;
}

  .plus-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: #0070BC;
  }
  
@media (max-width: 600px) {

.total{margin-top:15px;}
}

.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: flex; justify-content: center; align-items: center;
  z-index: 9999;
}

.modal-content {
  background: #fff;
  padding: 20px 30px;
  border-radius: 12px;
  text-align: center;
  max-width: 90%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.modal-actions {
  margin-top: 20px;
}

.modal-actions .btn {
  padding: 10px 20px;
  margin: 0 10px;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  font-size: 16px;
}

.modal-actions .yes {
  background-color: #e53935;
  color: white;
}

.modal-actions .no {
  background-color: #ccc;
  color: black;
}

.empty-cart {
  text-align: center;
  padding: 50px 20px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
  margin: 40px auto;
  max-width: 1200px;
}

.empty-cart .icon {
  font-size: 64px;
  margin-bottom: 20px;
}

.empty-cart h2 {
  font-size: 28px;
  color: #333;
  margin-bottom: 10px;
}

.empty-cart p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

.empty-cart .browse-btn {
  display: inline-block;
  background: #007bff;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  transition: background 0.3s ease;
}
.empty-cart .browse-btn:hover {
  background: #0056b3;
}
