.cart-hero {
  background: var(--navy);
}
.cart-section {
  padding: 3rem 1.5rem 5rem;
  min-height: 50vh;
}

.cart-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.cart-empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}
.cart-empty h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--navy);
}
.cart-empty p {
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.cart-items-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: box-shadow 0.2s;
}
.cart-item:hover {
  box-shadow: var(--shadow-md);
}
.cart-item-image {
  width: 80px;
  height: 80px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
}
.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.cart-item-info {
  flex: 1;
}
.cart-item-name {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.cart-item-unit {
  font-size: 0.8rem;
  color: var(--gray-400);
}
.cart-item-price {
  font-weight: 600;
  color: var(--navy);
  margin-top: 0.3rem;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gray-50);
  border-radius: 50px;
  padding: 0.3rem;
}
.qty-btn {
  width: 34px;
  height: 34px;
  border: none;
  background: var(--white);
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--navy);
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.qty-btn:hover {
  background: var(--gold);
  color: var(--white);
}
.qty-value {
  font-weight: 700;
  min-width: 30px;
  text-align: center;
}
.cart-item-subtotal {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  min-width: 100px;
  text-align: right;
}
.remove-btn {
  background: none;
  border: none;
  color: #c0392b;
  cursor: pointer;
  font-size: 1.3rem;
  padding: 0.25rem 0.5rem;
  transition: 0.2s;
}
.remove-btn:hover {
  color: #e74c3c;
}

.cart-summary {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.cart-total-label {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
}
.cart-total-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
}
.summary-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* AOS visibility fix */
.cart-items-container [data-aos],
.cart-summary [data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 768px) {
  .cart-item {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .cart-item-subtotal {
    text-align: left;
    min-width: auto;
  }
  .cart-summary {
    flex-direction: column;
    text-align: center;
  }
}
