
/* Header Styles */

#header-container {
    position: fixed; /* Make the header fixed */
    top: 0; /* Position it at the top */
    left: 0; /* Align it to the left */
    width: 100%; /* Make it full width */
    background-color: white; /* Set a background color */
    z-index: 1000; /* Ensure it stays above other content */
    padding: 0px; /* Add some padding for aesthetics */
    
}

body {
    padding-top: 130px; /* Add padding to the top of the body to prevent content from hiding behind the fixed header */
}



/* Cart Banner */
.cart-banner {
  position: relative;
  width: 100%;
  height: 300px;
  min-height: 200px;
  max-height: 4000px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 0 0;
  border-radius: 12px;
  overflow: hidden;
}

.cart-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.18); /* Soft dark overlay */
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;

}

.cart-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
  display: block;
  opacity: 0.75;

}

.cart-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  color: #fff;
  padding: 40px 10px;
}

.cart-title {
  font-size: 60px;
  font-weight: 700;
  margin: 0 0 5px 0;
  letter-spacing: 2px;
}

.cart-subtitle {
  font-size: 18px;
  font-weight: 400;
  margin: 0;
  letter-spacing: 1px;
}

@media (max-width: 700px) {
  .cart-title {
    font-size: 32px;
  }
  .cart-subtitle {
    font-size: 16px;
  }
  .cart-content {
    padding: 24px 4px;
  }
}




/* Cart Container */
.cart-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cart-container h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

/* Cart Items */
.cart-items {
    margin-bottom: 30px;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.cart-item:last-child {
    border-bottom: none;
}

.item-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.item-details {
    flex: 1;
    margin-left: 20px;
}

.item-details h2 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.item-details p {
    font-size: 14px;
    color: #666;
}

.item-actions .btn {
    background-color: #ff4d4d;
    color: white;
    padding: 10px 15px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.item-actions .btn:hover {
    background-color: #ff1a1a;
}

/* Cart Summary */
.cart-summary {
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cart-summary h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.cart-summary p {
    font-size: 16px;
    margin: 5px 0;
    color: #666;
}

.checkout-btn {
    background-color: #4CAF50;
    color: white;
    padding: 15px 30px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.checkout-btn:hover {
    background-color: #45a049;
}