:root {
  --primary-color: #1e88e5;
  --secondary-color: #26c6da;
  --accent-color: #ffb300;
  --light-bg: #e3f2fd;
  --dark-bg: linear-gradient(135deg, #0277bd 0%, #039be5 100%);
}

body {
  background-color: var(--light-bg);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar styling */
.navbar {
  background: var(--dark-bg) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  padding: 0.8rem 1rem;
}

.navbar-brand {
  font-size: 1.6rem;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  margin-right: 10px;
}

.search-container {
  max-width: 400px;
  width: 100%;
}

.navbar .btn-search {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #212121;
  font-weight: 600;
}

.navbar .btn-search:hover {
  background-color: #ffa000;
  border-color: #ffa000;
}

.navbar-nav .nav-link {
  color: #fff !important;
  padding: 0.5rem 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-color) !important;
}

.btn-cart {
  background-color: var(--accent-color);
  color: #212121;
  font-weight: 600;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-cart:hover {
  background-color: #ffa000;
  color: #212121;
}

/* Page header */
.page-header {
  padding: 2.5rem 0;
}

.page-header h1 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: #546e7a;
  font-size: 1.1rem;
}

/* Product cards */
.product-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.product-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.product-category {
  color: #78909c;
  letter-spacing: 1px;
  font-weight: 600;
}

.product-title {
  font-weight: 600;
  color: #37474f;
  margin-bottom: 0.75rem;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 20px;
}

.price-classic {
  background-color: #43a047;
  color: white;
}

.price-strawberry {
  background-color: #e53935;
  color: white;
}

.price-mint {
  background-color: #00acc1;
  color: white;
}

.quantity-input {
  border: 2px solid #ddd;
  border-radius: 6px;
  padding: 0.5rem;
  font-size: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.quantity-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(30, 136, 229, 0.25);
}

/* Summary section */
.summary-container {
  background-color: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.summary-title {
  color: #37474f;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  border-bottom: 2px solid #e3f2fd;
  padding-bottom: 0.5rem;
}

.summary-list {
  list-style: none;
  padding-left: 0;
}

.summary-list li {
  padding: 0.5rem 0;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #f5f5f5;
}

.total-amount {
  font-size: 1.2rem;
  color: var(--primary-color);
  text-align: right;
  margin-top: 1rem;
  font-weight: 700;
}

.checkout-btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  width: 100%;
  transition: all 0.3s ease;
  border: none;
  margin-top: 1rem;
}

.checkout-btn:hover {
  background: linear-gradient(135deg, #1976d2 0%, #00bcd4 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: white;
}

/* Footer */
.site-footer {
  background: var(--dark-bg);
  color: white;
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-logo {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
}

.copyright {
  font-size: 0.9rem;
  opacity: 0.9;
}

.payment-info {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 0.5rem;
}

@media (max-width: 992px) {
    .card-img-top { height: 130px; }
    h1 { font-size: 1.5rem; }
    .navbar-brand { font-size: 1.2rem; }
    .summary { font-size: 0.97rem; }
}
@media (max-width: 576px) {
    .card { margin-bottom: 1.5rem; }
    .container { padding-left: 0.5rem; padding-right: 0.5rem; }
}
