* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #f8f9fa;
  color: #333;
}

/* Header Styles */
header {
  background-color: #0f5132;
  color: white;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.menu-btn {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.menu-icon {
  display: inline-block;
  width: 20px;
  height: 2px;
  background-color: white;
  position: relative;
  margin-right: 8px;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: white;
  left: 0;
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  bottom: -6px;
}

.menu-text {
  font-size: 16px;
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.header-icons {
  display: flex;
  gap: 20px;
  position: relative;
}

.icon-btn {
  font-size: 20px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}

/* Cart Count Badge */
.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #e74c3c;
  color: white;
  font-size: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

.carousel-container {
  position: relative;
  height: 89vh;
  overflow: hidden;
}

.carousel {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.button-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 1rem;
}

.btn {
  background: #004d25;
  color: white;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #00703c;
  transform: translateY(-2px);
}

.carousel-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  transform: translateY(-50%);
}

.carousel-buttons i {
  color: white;
  font-size: 2rem;
  cursor: pointer;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.rolex-footer {
  background: #e9ecef;
  padding: 2rem;
  text-align: center;
}

.confirmation-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.confirmation-box {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  max-width: 600px;
}

.confirmation-box h1 {
  color: #004d25;
  margin-bottom: 1rem;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  width: 80%;
  max-width: 600px;
  position: relative;
  animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
}

.close:hover {
  color: #333;
}

/* Cart Items Styles */
#cart-items,
#order-history-items {
  margin: 20px 0;
  max-height: 400px;
  overflow-y: auto;
}

.cart-item,
.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  margin-bottom: 10px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cart-item-info,
.order-item-info {
  flex: 1;
}

.cart-item-title,
.order-item-title {
  font-weight: bold;
  color: #004d25;
  margin-bottom: 5px;
}

.cart-item-price,
.order-item-price {
  color: #666;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 5px;
}

.quantity-btn {
  background: #e9ecef;
  border: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s;
}

.quantity-btn:hover {
  background: #dee2e6;
}

.quantity-display {
  width: 30px;
  text-align: center;
  font-weight: bold;
}

.remove-item {
  background: none;
  border: none;
  color: #e74c3c;
  cursor: pointer;
  font-size: 16px;
  transition: color 0.2s;
}

.remove-item:hover {
  color: #c0392b;
}

.cart-total {
  display: flex;
  justify-content: flex-end;
  margin: 20px 0;
  padding-top: 15px;
  border-top: 1px solid #dee2e6;
}

.cart-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

/* Order History Styles */
.order-date {
  color: #666;
  font-size: 0.9rem;
  margin-top: 5px;
}

.order-items {
  margin-top: 10px;
  padding-left: 15px;
}

.order-item-detail {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.empty-message {
  text-align: center;
  color: #666;
  padding: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .button-group {
    flex-direction: column;
    gap: 5px;
  }

  .modal-content {
    width: 95%;
    margin: 15% auto;
  }

  .cart-item,
  .order-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-item-actions {
    margin-top: 10px;
    width: 100%;
    justify-content: space-between;
  }
}

