/* Performance Optimizations */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #faf9f9;
  color: #051092;
  position: relative;
  min-height: 100vh;
  overscroll-behavior: none;
  -webkit-overscroll-behavior: none;
}

/* Modern Navigation Bar */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #02464a, #051092);
  padding: 12px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Logo Section - Compact and Modern */
.logo-center {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
}

.logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

.logo-text {
  color: #fff;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 1px;
}

.logo-text small {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* Modern Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease;
}

.nav-links a:hover::before {
  left: 0;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Active page highlighting with distinct style */
.nav-links a.active {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-links a.active::before {
  left: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* Modern Cart Icon */
.cart-icon {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 20px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

.cart-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: linear-gradient(135deg, #ff4757, #ff3742);
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: 600;
  min-width: 18px;
  min-height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
  transition: all 0.3s ease;
}

.cart-badge.empty {
  display: none;
}

/* Mobile Menu Toggle - Hidden by default, shown on mobile */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  padding: 8px;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

body::before {
  content: "VASTRIKA";
  font-size: 120px;
  font-weight: bold;
  color: #000;
  opacity: 0.03;
  filter: blur(2px);
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-10deg);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

/* Dropdown Menu - Hidden on desktop, mobile only */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #02464a, #051092);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 999;
}

.dropdown-menu a {
  display: block;
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.dropdown-menu a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.3s ease;
}

.dropdown-menu a:hover::before,
.dropdown-menu a.active::before {
  left: 100%;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background: rgba(255, 255, 255, 0.1);
  padding-left: 40px;
}

.dropdown-menu a.active {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
  border-left: 4px solid rgba(255, 255, 255, 0.6);
  font-weight: 600;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

/* Modern 2025 Cart Modal - Large Horizontal Rectangle */
.cart-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cart-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.cart-modal-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-modal {
  background: #fff;
  border-radius: 24px;
  padding: 0;
  width: 90%;
  max-width: 1000px;
  height: auto;
  max-height: 85vh;
  min-height: 500px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
  transform: scale(0.85) translateY(30px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  display: flex;
  flex-direction: row;
  text-align: left;
}

.cart-modal-overlay.show .cart-modal {
  transform: scale(1) translateY(0);
}

/* Modal Left Section - Large Product Image */
.cart-modal-left {
  flex: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 24px 0 0 24px;
  padding: 40px;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

.cart-modal-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(2, 70, 74, 0.03) 0%, rgba(5, 16, 146, 0.03) 100%);
  z-index: 1;
}

.cart-product-image {
  width: 100%;
  max-width: 380px;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.cart-product-image:hover {
  transform: scale(1.02);
}

/* Modal Right Section - Product Details */
.cart-modal-right {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 500px;
  background: #fff;
  border-radius: 0 24px 24px 0;
  overflow: hidden;
}

.cart-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f2f5;
}

.cart-modal-title {
  font-size: 28px;
  font-weight: 700;
  color: #02464a;
  margin: 0;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.cart-modal-close {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #e9ecef;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.cart-modal-close:hover {
  background: #fff;
  color: #02464a;
  border-color: #02464a;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 4px 15px rgba(2, 70, 74, 0.2);
}

.cart-product-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-product-title {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.cart-product-price {
  font-size: 32px;
  font-weight: 800;
  color: #02464a;
  margin: 0;
  background: linear-gradient(135deg, rgba(2, 70, 74, 0.08), rgba(5, 16, 146, 0.08));
  padding: 15px 25px;
  border-radius: 16px;
  text-align: center;
  border: 2px solid rgba(2, 70, 74, 0.1);
  box-shadow: 0 4px 20px rgba(2, 70, 74, 0.08);
}

.cart-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 25px 0;
}

.quantity-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 20px;
  border-radius: 16px;
  border: 2px solid rgba(2, 70, 74, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.quantity-selector button {
  width: 48px;
  height: 48px;
  font-size: 24px;
  font-weight: bold;
  background: linear-gradient(135deg, #02464a, #051092);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(2, 70, 74, 0.3);
}

.quantity-selector button:hover {
  background: linear-gradient(135deg, #051092, #6c5ce7);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(2, 70, 74, 0.4);
}

.quantity-selector button:active {
  transform: scale(0.95);
}

.quantity-selector span {
  font-size: 24px;
  font-weight: 700;
  color: #02464a;
  min-width: 60px;
  text-align: center;
  background: white;
  padding: 12px 20px;
  border-radius: 12px;
  border: 2px solid rgba(2, 70, 74, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.size-selector {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 20px;
  border-radius: 16px;
  border: 2px solid rgba(2, 70, 74, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.size-selector label {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 18px;
  letter-spacing: -0.2px;
}

.size-selector select {
  padding: 12px 20px;
  border: 2px solid rgba(2, 70, 74, 0.1);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  background: white;
  color: #1a1a1a;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.size-selector select:focus {
  outline: none;
  border-color: #02464a;
  box-shadow: 0 0 0 4px rgba(2, 70, 74, 0.1);
  background: #f8f9fa;
}

.cart-modal-buttons {
  display: flex;
  gap: 15px;
  flex-direction: column;
  margin-top: 25px;
}

.cart-confirm-btn {
  background: linear-gradient(135deg, #02464a, #051092);
  color: white;
  border: none;
  padding: 18px 30px;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(2, 70, 74, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.cart-confirm-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.cart-confirm-btn:hover::before {
  left: 100%;
}

.cart-confirm-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(2, 70, 74, 0.4);
  background: linear-gradient(135deg, #051092, #6c5ce7);
}

.cart-confirm-btn:active {
  transform: translateY(-1px);
}

.cart-cancel-btn {
  background: transparent;
  color: #666;
  border: 2px solid #e9ecef;
  padding: 15px 30px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cart-cancel-btn:hover {
  background: #f8f9fa;
  border-color: #02464a;
  color: #02464a;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cart-cancel-btn:active {
  transform: translateY(0);
}

main {
  padding: 20px;
}

/* Modern Live Search Styles - Matching Navigation Theme */
.search-container {
  display: flex;
  justify-content: center;
  margin: 30px 0;
  padding: 0 20px;
}

.live-search-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
}

#live-search-input {
  width: 100%;
  padding: 15px 25px;
  font-size: 16px;
  border: 2px solid rgba(2, 70, 74, 0.2);
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.95));
  box-shadow: 0 8px 25px rgba(2, 70, 74, 0.15);
  transition: all 0.4s ease;
  outline: none;
  color: #02464a;
  font-weight: 500;
  backdrop-filter: blur(10px);
  position: relative;
}

#live-search-input::placeholder {
  color: rgba(2, 70, 74, 0.6);
  font-weight: 400;
}

#live-search-input:focus {
  border-color: #02464a;
  background: linear-gradient(135deg, #fff, #f8f9fa);
  box-shadow: 0 12px 35px rgba(2, 70, 74, 0.25);
  transform: translateY(-2px);
  color: #02464a;
}

.search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 250, 0.98));
  backdrop-filter: blur(15px);
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(2, 70, 74, 0.2);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  margin-top: 10px;
  border: 1px solid rgba(2, 70, 74, 0.1);
}

.search-result-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(2, 70, 74, 0.08);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.search-result-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(2, 70, 74, 0.05), transparent);
  transition: left 0.3s ease;
}

.search-result-item:hover::before,
.search-result-item.highlighted::before {
  left: 100%;
}

.search-result-item:hover,
.search-result-item.highlighted {
  background: linear-gradient(135deg, rgba(2, 70, 74, 0.05), rgba(5, 16, 146, 0.05));
  transform: translateX(5px);
  border-left: 3px solid #02464a;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-image {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 12px;
  margin-right: 15px;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(2, 70, 74, 0.15);
  transition: transform 0.3s ease;
}

.search-result-item:hover .search-result-image {
  transform: scale(1.05);
}

.search-result-details {
  flex: 1;
  min-width: 0;
}

.search-result-name {
  font-weight: 600;
  color: #02464a;
  margin: 0 0 6px 0;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.3px;
}

.search-result-price {
  color: #051092;
  font-weight: 700;
  font-size: 14px;
  margin: 0;
  background: linear-gradient(135deg, rgba(2, 70, 74, 0.1), rgba(5, 16, 146, 0.1));
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-block;
}

.search-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 250, 0.98));
  backdrop-filter: blur(15px);
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(2, 70, 74, 0.2);
  margin-top: 10px;
  color: #02464a;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid rgba(2, 70, 74, 0.1);
}

.loading-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(2, 70, 74, 0.2);
  border-top: 3px solid #02464a;
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
  margin-right: 12px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.no-results {
  padding: 25px;
  text-align: center;
  color: rgba(2, 70, 74, 0.7);
  font-style: italic;
  font-size: 15px;
  font-weight: 500;
}

.search-highlight {
  background: linear-gradient(135deg, rgba(2, 70, 74, 0.15), rgba(5, 16, 146, 0.15));
  color: #02464a;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(2, 70, 74, 0.1);
}

/* Responsive Search Design - Modern Theme */
@media (max-width: 768px) {
  .search-container {
    padding: 0 15px;
    margin: 20px 0;
  }
  
  #live-search-input {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 12px 20px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(2, 70, 74, 0.12);
  }
  
  #live-search-input:focus {
    box-shadow: 0 8px 25px rgba(2, 70, 74, 0.2);
    transform: translateY(-1px);
  }
  
  .search-dropdown {
    border-radius: 15px;
    margin-top: 8px;
    box-shadow: 0 10px 35px rgba(2, 70, 74, 0.18);
  }
  
  .search-result-item {
    padding: 12px 16px;
  }
  
  .search-result-image {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    margin-right: 12px;
  }
  
  .search-result-name {
    font-size: 14px;
  }
  
  .search-result-price {
    font-size: 13px;
    padding: 3px 8px;
    border-radius: 6px;
  }
  
  .search-loading {
    padding: 20px;
    font-size: 14px;
  }
  
  .loading-spinner {
    width: 20px;
    height: 20px;
    border-width: 2px;
    margin-right: 10px;
  }
}

section {
  margin: 50px 0;
  padding: 0 20px;
}

section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #02464a;
  margin-bottom: 40px;
  position: relative;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(135deg, #02464a, #051092);
  border-radius: 2px;
}

.product-card {
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  color: #000;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(2, 70, 74, 0.1);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s;
}

.product-card:hover::before {
  left: 100%;
}

.product-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 40px rgba(2, 70, 74, 0.2);
  border-color: #02464a;
}

.product-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 15px;
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

.product-card:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.footer {
  background-image: url("images/footer.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #4b0000;
  display: flex;
  justify-content: space-between;
  padding: 30px 40px;
  flex-wrap: wrap;
}

.footer-section {
  flex: 1;
  margin: 10px;
  min-width: 250px;
}

.footer-section h4 {
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 10px;
  color: #a10000;
}

.footer-section p,
.footer-section li {
  font-size: 14px;
  line-height: 1.6;
  color: #090101;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li a {
  text-decoration: none;
  color: #080101;
}

.footer-section ul li a:hover {
  text-decoration: underline;
}

.footer-logo {
  width: 160px;
  height: 160px;
  display: block;
  margin-bottom: 20px;
}

.footer-section.about {
  margin-left: 280px;
}

/* Legacy cart popup - removed, replaced with modern modal above */

/* Cart items container should be full width */
#cart-items {
  width: 100%;
}

/* Legacy styles removed - now using modern modal */

/* Responsive Navigation Design */
@media (max-width: 768px) {
  .top-nav {
    padding: 10px 15px;
    position: relative;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #02464a, #051092);
    flex-direction: column;
    gap: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 15px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    position: relative;
    overflow: hidden;
  }

  .nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.3s ease;
  }

  .nav-links a:hover::before,
  .nav-links a.active::before {
    left: 100%;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 35px;
    transform: translateY(0);
  }

  .nav-links a.active {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    border-left: 4px solid rgba(255, 255, 255, 0.6);
    font-weight: 600;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .logo-text {
    font-size: 16px;
  }

  .logo-text small {
    font-size: 10px;
  }

  .logo-img {
    width: 40px;
    height: 40px;
  }

  .cart-icon {
    min-width: 40px;
    min-height: 40px;
    font-size: 18px;
    padding: 10px;
  }

  /* Mobile Modal - Super Compact with Visible Button */
  .cart-modal-overlay {
    padding: 10px;
  }

  .cart-modal-wrapper {
    padding: 0;
  }

  .cart-modal {
    flex-direction: column;
    max-width: 92%;
    width: 92%;
    max-height: 75vh;
    min-height: auto;
    overflow-y: auto;
    border-radius: 12px;
  }

  .cart-modal-left {
    flex: none;
    border-radius: 12px 12px 0 0;
    min-height: 160px;
    max-height: 180px;
    padding: 12px;
    background: #f8f9fa;
  }

  .cart-product-image {
    max-width: 100%;
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .cart-modal-right {
    flex: 1;
    padding: 15px;
    min-height: auto;
    max-height: none;
    border-radius: 0 0 12px 12px;
    background: #fff;
  }

  .cart-modal-header {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
  }

  .cart-modal-title {
    font-size: 16px;
    font-weight: 600;
    color: #02464a;
    text-transform: uppercase;
    letter-spacing: 0.3px;
  }

  .cart-modal-close {
    width: 28px;
    height: 28px;
    font-size: 16px;
    padding: 2px;
  }

  .cart-product-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.2;
  }

  .cart-product-price {
    font-size: 18px;
    font-weight: 700;
    color: #02464a;
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
  }

  .cart-controls {
    gap: 10px;
    margin: 12px 0;
  }

  .quantity-selector {
    padding: 10px;
    border-radius: 6px;
    gap: 10px;
  }

  .quantity-selector button {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .quantity-selector span {
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 4px;
    min-width: 32px;
  }

  .size-selector {
    padding: 10px;
    border-radius: 6px;
    gap: 8px;
  }

  .size-selector label {
    font-size: 13px;
    font-weight: 500;
  }

  .size-selector select {
    padding: 6px 10px;
    font-size: 13px;
    border-radius: 4px;
    min-width: 70px;
  }

  .cart-modal-buttons {
    gap: 6px;
    margin-top: 12px;
  }

  .cart-confirm-btn {
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
  }

  .cart-cancel-btn {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    text-transform: none;
    letter-spacing: 0;
  }
}

/* Optimized Add to Cart Button */
.add-to-cart-btn {
  margin-top: 15px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #02464a, #051092);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  min-height: 44px;
  box-shadow: 0 2px 8px rgba(2, 70, 74, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
}

.add-to-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 70, 74, 0.3);
}

.add-to-cart-btn:active {
  transform: translateY(0);
}

/* Add to Cart Success Animation */
.add-to-cart-btn.success {
  background: linear-gradient(135deg, #22c55e, #16a34a) !important;
  transform: scale(1.02);
  transition: all 0.3s ease;
}

.add-to-cart-btn.success .original-text {
  opacity: 0;
}

.add-to-cart-btn.success .success-text {
  opacity: 1 !important;
  animation: successPulse 0.6s ease-out;
}

.success-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  font-weight: 600;
  font-size: 14px;
}

@keyframes successPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

.search-bar {
  margin-right: 20px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 10px;
}

.search-bar input {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.search-bar button {
  padding: 6px 12px;
  background-color: #8b1c1c;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.search-bar button:hover {
  background-color: #a62c2c;
}

.saree-filter-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px auto;
  flex-wrap: wrap;
}

.saree-filter-buttons button {
  background-color: #8b1c1c;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.saree-filter-buttons button:hover {
  background-color: #a32e2e;
}

html {
  scroll-behavior: smooth;
}

.saree-scroll-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px auto;
  flex-wrap: wrap;
}

.scroll-button {
  background-color: #8B0000;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.scroll-button:hover {
  background-color: #a52a2a;
}

/* ✅ Enhanced Responsive Design */
@media (max-width: 768px) {
  .top-nav {
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 12px 15px;
  }

  .logo-center {
    gap: 10px;
  }

  .logo-img {
    width: 35px;
    height: 35px;
  }

  .logo-text {
    font-size: 14px;
  }

  .logo-text small {
    font-size: 9px;
  }

  .cart-icon {
    min-width: 36px;
    min-height: 36px;
    font-size: 16px;
    padding: 8px;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 10px;
  }

  .footer-section.about {
    margin-left: 0;
  }

  .footer-section {
    min-width: 100%;
    margin: 10px 0;
  }

  .footer-logo {
    width: 100px;
    height: auto;
  }

  .product-card {
    max-width: 100%;
    width: 90%;
    margin: 10px auto;
  }

  .search-bar {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
}
/* Utility Classes */
.hidden {
  display: none !important;
}

.show {
  display: block !important;
}

/* Enhanced section styling remains the same */
/* Optimized Product Grid with Better Separation */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
  margin-top: 40px;
  padding: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* For Tablets (less than 1024px wide) */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    padding: 15px;
  }
}

/* For Mobile (less than 600px wide) */
@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 15px;
  }
}

/* Optimized Product Title Styling */
.product-card p {
  font-weight: 500;
  font-size: 15px;
  margin: 12px 0 10px;
  color: #333;
  line-height: 1.4;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Optimized Price Styling */
.product-card span {
  font-size: 18px;
  font-weight: 600;
  color: #02464a;
  display: block;
  margin: 10px 0 15px;
  padding: 8px 12px;
  background: rgba(2, 70, 74, 0.06);
  border-radius: 8px;
  border: 1px solid rgba(2, 70, 74, 0.1);
}

/* Removed distracting hover effect on price */

/* Optimized Product Card with Better Performance */
.product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
  max-width: 280px;
  width: 100%;
  background: #fff;
  padding: 18px;
  border-radius: 12px;
  color: #000;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  border: 1px solid rgba(2, 70, 74, 0.1);
  margin: 10px;
  will-change: transform;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(2, 70, 74, 0.12);
}

.product-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.2s ease;
  margin-bottom: 12px;
}

.product-card:hover img {
  transform: scale(1.02);
}

.product-description {
  font-size: 14px;
  color: #444;
  margin: 8px 0;
}

.hidden {
  display: none;
}

/* ======= ENHANCED PRODUCT STYLING ======= */

/* Product card link styling */
.product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card-link:hover {
  text-decoration: none;
}

/* Badge/Label for featured products */
.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
}

/* ======= MODERN 2025 CART PAGE STYLING ======= */

/* Cart Main Container */
.cart-main {
  min-height: calc(100vh - 100px);
  background: linear-gradient(135deg, #faf9f9 0%, #f8f9fa 100%);
  padding: 40px 20px;
}

/* Cart Header */
.cart-header {
  text-align: center;
  margin-bottom: 50px;
  padding: 30px 0;
  background: linear-gradient(135deg, rgba(2, 70, 74, 0.05), rgba(5, 16, 146, 0.05));
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.cart-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #02464a;
  margin: 0 0 10px 0;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.cart-subtitle {
  font-size: 1.1rem;
  color: rgba(2, 70, 74, 0.7);
  margin: 0;
  font-weight: 500;
}

/* Cart Container Layout */
.cart-container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Cart Items Section */
.cart-items-section {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(2, 70, 74, 0.1);
  border: 1px solid rgba(2, 70, 74, 0.1);
  min-height: 500px;
}

.cart-items-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f2f5;
}

.cart-items-header h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #02464a;
  margin: 0;
}

.clear-cart-btn {
  background: linear-gradient(135deg, #ff4757, #ff3742);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.clear-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
  background: linear-gradient(135deg, #ff3742, #e55656);
}

/* Cart Items Grid - Full Width List View */
.cart-items-grid {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
}

/* Individual Cart Item - Amazon-style List View */
.cart-item {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #ffffff, #fafbfc);
  padding: 25px 30px;
  border-radius: 20px;
  border: 2px solid rgba(2, 70, 74, 0.08);
  box-shadow: 0 8px 35px rgba(2, 70, 74, 0.12);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 160px;
  margin: 0;
}

.cart-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(2, 70, 74, 0.03), transparent);
  transition: left 0.6s ease;
}

.cart-item:hover::before {
  left: 100%;
}

.cart-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(2, 70, 74, 0.18);
  border-color: rgba(2, 70, 74, 0.25);
}

.cart-item img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 16px;
  margin-right: 25px;
  box-shadow: 0 8px 25px rgba(2, 70, 74, 0.15);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.cart-item:hover img {
  transform: scale(1.03);
}

.cart-item-details {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 25px;
  justify-content: center;
}

.cart-item-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #02464a;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.cart-item-size {
  font-size: 0.95rem;
  color: rgba(2, 70, 74, 0.7);
  font-weight: 500;
  background: rgba(2, 70, 74, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  width: fit-content;
}

.cart-item-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: #051092;
  margin: 8px 0 0 0;
  background: linear-gradient(135deg, rgba(5, 16, 146, 0.1), rgba(2, 70, 74, 0.1));
  padding: 8px 14px;
  border-radius: 10px;
  width: fit-content;
}

.cart-item-total {
  font-size: 1.1rem;
  font-weight: 600;
  color: #02464a;
  margin: 5px 0 0 0;
  opacity: 0.8;
}

.cart-item-controls {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  min-width: 200px;
  justify-content: flex-end;
}

.cart-item .quantity-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(2, 70, 74, 0.05), rgba(5, 16, 146, 0.05));
  padding: 10px 16px;
  border-radius: 14px;
  border: 2px solid rgba(2, 70, 74, 0.1);
  box-shadow: 0 4px 20px rgba(2, 70, 74, 0.08);
}

.cart-item .quantity-selector button {
  width: 36px;
  height: 36px;
  font-size: 16px;
  font-weight: bold;
  background: linear-gradient(135deg, #02464a, #051092);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(2, 70, 74, 0.2);
}

.cart-item .quantity-selector button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(2, 70, 74, 0.35);
  background: linear-gradient(135deg, #051092, #6c5ce7);
}

.cart-item .quantity-selector span {
  font-size: 16px;
  font-weight: 700;
  color: #02464a;
  min-width: 30px;
  text-align: center;
  background: white;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(2, 70, 74, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.remove-item-btn {
  background: linear-gradient(135deg, #ff4757, #ff3742);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(255, 71, 87, 0.2);
  white-space: nowrap;
}

.remove-item-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 71, 87, 0.35);
  background: linear-gradient(135deg, #ff3742, #e55656);
}

/* Order Summary Section */
.order-summary-section {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.order-summary {
  background: linear-gradient(135deg, #fff, #f8f9fa);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 10px 40px rgba(2, 70, 74, 0.1);
  border: 1px solid rgba(2, 70, 74, 0.1);
}

.summary-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #02464a;
  margin: 0 0 20px 0;
  text-align: center;
}

.summary-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 1rem;
}

.summary-row span:first-child {
  color: rgba(2, 70, 74, 0.8);
  font-weight: 500;
}

.summary-row span:last-child {
  color: #02464a;
  font-weight: 600;
}

.free-shipping {
  color: #28a745 !important;
  font-weight: 600 !important;
}

.total-row {
  border-top: 2px solid rgba(2, 70, 74, 0.1);
  padding-top: 15px;
  margin-top: 10px;
  font-size: 1.2rem;
}

.total-row span {
  font-weight: 700 !important;
  color: #02464a !important;
}

/* Form Sections */
.shipping-section,
.payment-section {
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 10px 40px rgba(2, 70, 74, 0.1);
  border: 1px solid rgba(2, 70, 74, 0.1);
}

.section-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #02464a;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Shipping Form */
.shipping-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #02464a;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid rgba(2, 70, 74, 0.1);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  background: rgba(248, 249, 250, 0.5);
  color: #02464a;
  transition: all 0.3s ease;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #02464a;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(2, 70, 74, 0.1);
  transform: translateY(-1px);
}

.form-group textarea {
  min-height: 80px;
  font-family: inherit;
}

/* Payment Options */
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-option {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 2px solid rgba(2, 70, 74, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(248, 249, 250, 0.3);
}

.payment-option:hover {
  border-color: rgba(2, 70, 74, 0.3);
  background: rgba(2, 70, 74, 0.05);
  transform: translateY(-1px);
}

.payment-option input[type="radio"] {
  margin-right: 15px;
  transform: scale(1.2);
  accent-color: #02464a;
}

.payment-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-icon {
  font-size: 1.5rem;
}

.payment-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.payment-title {
  font-weight: 600;
  color: #02464a;
  font-size: 1rem;
}

.payment-subtitle {
  font-size: 0.85rem;
  color: rgba(2, 70, 74, 0.7);
}

/* Checkout Button */
.checkout-btn {
  background: linear-gradient(135deg, #02464a, #051092);
  color: white;
  border: none;
  padding: 18px 30px;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(2, 70, 74, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
}

.checkout-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.checkout-btn:hover::before {
  left: 100%;
}

.checkout-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(2, 70, 74, 0.4);
  background: linear-gradient(135deg, #051092, #6c5ce7);
}

.checkout-btn:active {
  transform: translateY(-1px);
}

.btn-icon {
  font-size: 1.2rem;
}

/* Empty Cart State */
.empty-cart-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
}

.empty-cart-content {
  background: linear-gradient(135deg, #fff, #f8f9fa);
  padding: 60px 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(2, 70, 74, 0.1);
  border: 1px solid rgba(2, 70, 74, 0.1);
  max-width: 500px;
}

.empty-cart-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.7;
}

.empty-cart-content h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #02464a;
  margin: 0 0 15px 0;
}

.empty-cart-content p {
  font-size: 1rem;
  color: rgba(2, 70, 74, 0.7);
  margin: 0 0 30px 0;
  line-height: 1.5;
}

.continue-shopping-btn {
  background: linear-gradient(135deg, #02464a, #051092);
  color: white;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(2, 70, 74, 0.3);
}

.continue-shopping-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 70, 74, 0.4);
  text-decoration: none;
}

/* Cart Page Responsive Design */
@media (max-width: 1024px) {
  .cart-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .order-summary-section {
    order: -1;
  }
}

@media (max-width: 768px) {
  .cart-main {
    padding: 20px 15px;
  }
  
  .cart-header {
    margin-bottom: 30px;
    padding: 20px 15px;
  }
  
  .cart-title {
    font-size: 2rem;
  }
  
  .cart-subtitle {
    font-size: 1rem;
  }
  
  .cart-container {
    gap: 20px;
  }
  
  .cart-items-section,
  .shipping-section,
  .payment-section,
  .order-summary {
    padding: 20px;
    border-radius: 15px;
  }
  
  .cart-item {
    flex-direction: row;
    text-align: left;
    padding: 20px;
    min-height: 120px;
    align-items: center;
  }
  
  .cart-item img {
    width: 80px;
    height: 80px;
    margin-right: 15px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  
  .cart-item-details {
    flex: 1;
    padding-right: 10px;
    gap: 6px;
  }
  
  .cart-item-name {
    font-size: 1rem;
    line-height: 1.2;
  }
  
  .cart-item-size {
    font-size: 0.85rem;
    padding: 3px 8px;
  }
  
  .cart-item-price {
    font-size: 1.1rem;
    padding: 6px 10px;
    margin: 4px 0 0 0;
  }
  
  .cart-item-total {
    font-size: 0.9rem;
  }
  
  .cart-item-controls {
    flex-direction: row;
    margin-left: 10px;
    margin-top: 0;
    min-width: 140px;
    gap: 8px;
    justify-content: flex-end;
  }
  
  .cart-item .quantity-selector {
    padding: 6px 10px;
    gap: 6px;
  }
  
  .cart-item .quantity-selector button {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  
  .cart-item .quantity-selector span {
    font-size: 14px;
    padding: 4px 6px;
    min-width: 24px;
  }
  
  .remove-item-btn {
    padding: 6px 10px;
    font-size: 11px;
  }
  
  .cart-items-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 10px 14px;
    font-size: 16px; /* Prevent zoom on iOS */
  }
  
  .checkout-btn {
    padding: 15px 25px;
    font-size: 1rem;
    min-height: 50px;
  }
  
  .empty-cart-content {
    padding: 40px 20px;
    margin: 0 15px;
  }
  
  .empty-cart-icon {
    font-size: 3rem;
  }
  
  .empty-cart-content h2 {
    font-size: 1.5rem;
  }
}

/* Extra Mobile Responsive Design for Cart Items */
@media (max-width: 480px) {
  .cart-item {
    flex-direction: column;
    text-align: center;
    padding: 15px;
    min-height: auto;
  }
  
  .cart-item img {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
  }
  
  .cart-item-details {
    padding-right: 0;
    text-align: center;
  }
  
  .cart-item-name {
    font-size: 1rem;
  }
  
  .cart-item-price {
    font-size: 1.1rem;
    margin: 10px auto;
  }
  
  .cart-item-size {
    margin: 0 auto;
  }
  
  .cart-item-controls {
    margin-left: 0;
    margin-top: 15px;
    min-width: auto;
    align-items: center;
    justify-content: center;
  }
}

/* Optimized responsive design for products */
@media (max-width: 768px) {
  section h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }
  
  .product-card {
    min-height: 380px;
    margin: 8px auto;
    padding: 15px;
    max-width: 100%;
  }
  
  .product-card img {
    height: 220px;
    border-radius: 6px;
  }
  
  .product-card p {
    font-size: 14px;
    min-height: 35px;
    margin: 10px 0 8px;
  }
  
  .product-card span {
    font-size: 16px;
    padding: 6px 10px;
    margin: 8px 0 12px;
  }
  
  .add-to-cart-btn {
    padding: 10px 16px;
    font-size: 13px;
    min-height: 40px;
  }
}
