.banner-header {
  background-image: url('images/header_banner_1200x300.png'); /* use correct path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 350px; /* adjust based on your banner image */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white;
  text-align: center;
}

.overlay-text {
  background-color: rgba(0, 0, 0, 0.5); /* darken text background for readability */
  padding: 20px;
  border-radius: 20px;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
}

header {
  background-color: #222;
  text-align: center;
  padding: 75px;
}

.products {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px;
}

.product {
  background: #fff;
  border: 1px solid #ccc;
  margin: 10px;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  width: 200px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
}

.product img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  transition: transform 0.3s ease; /* smooth transition */
  cursor: pointer;
}

.product img:hover {
  transform: scale(2.2); /* zooms in 10% */
}

.cart {
  background-color: #fff;
  margin: 20px;
  padding: 15px;
  border-radius: 8px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
}

.cart li:hover {
  text-decoration: line-through;
  color:red;
}

.checkout {
  margin-top: 30px;
  padding: 15px;
  border:1px solid #ccc;
  border-radius: 8px;
}

.checkout fieldset {
  margin-top: 15px;
  padding: 10px;
  border: 1px solid #aaa;
  border-radius: 5px;
}

.checkout input,
.checkout textarea {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  margin-bottom: 15px;
  border: 1px solid #aaa;
  border-radius: 4px;
}

.checkout button {
  padding: 10px 20px;
  background-color: green;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.size-selector {
  display: flex;
  gap: 8px;
  margin: 10px 0;
  flex-wrap: wrap;
}

.size-option {
  padding: 10px 14px;
  border: 1px solid #333;
  border-radius: 5px;
  cursor: pointer;
  background-color: #f5f5dc;
  font-weight: bold;
  transition: 0.2s ease;
}

.size-option:hover {
  background-color: #e1e1c5;
}

.size-option.selected {
  background-color: #8b5e3c;
  color: white;
}

.size-option.unavailable {
  text-decoration: line-through;
  color: #999;
  background-color: #eee;
  cursor: not-allowed;
}

.stripe-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  background-color: #28a745;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin: 20px auto;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.stripe-btn:hover {
  background-color: #218838;
  transform: translateY(-2px);
}

.stripe-icon {
  width: 24px;
  height: 24px;
}

select option:disabled {
  color: #999;
  background-color: #eee;
  text-decoration: line-through;;
}

.cart-message {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  z-index: 1000;
  animation: fadeInSlide 0.3s ease-out;
  display: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.cart-add {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.cart-remove {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translate(-50%, -20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}