/* Base Theme Colors and Variables */
:root {
  --primary-color: #4a90e2;
  --secondary-color: #2c3e50;
  --accent-color: #e74c3c;
  --background-color: #f5f6fa;
  --text-color: #2c3e50;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: var(--background-color);
  color: var(--text-color);
  overflow-x: hidden;
}

/* Navigation Styles */
nav {
  background-color: var(--primary-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  height: 60px;
}

.logo {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Product Grid and Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
}

.product-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-image-container {
  position: relative;
  padding-top: 75%; /* 4:3 Aspect Ratio */
  overflow: hidden;
}

.product-image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-details {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.description {
  color: #666;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.price {
  color: var(--accent-color);
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* Buttons and Interactive Elements */
.buy-btn, .add-to-cart-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.buy-btn:hover, .add-to-cart-btn:hover {
  background-color: #357abd;
}

/* Mobile Navigation */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: white;
  margin: 5px 0;
  transition: 0.3s;
}

/* Cart and Order Styles */
.cart-container, .order-container {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  margin-bottom: 5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    margin: 0 0 1rem 0;
  }
}

/* Touch Device Optimizations */
@media (hover: none) {
  .product-card:hover {
    transform: none;
  }

  .buy-btn {
    padding: 0.875rem 1rem;
  }
}

/* High DPI Screen Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}
/* Profile Styles */
.profile-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: bold;
}

.profile-info {
  flex-grow: 1;
}

.profile-info h2 {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.profile-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.submit-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #357abd;
}

/* Address Form Styles */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

#add-new-address {
  color: var(--secondary-color);
  margin-bottom: 2rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

input[type="text"],
input[type="tel"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.grid {
  display: grid;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gap-4 {
  gap: 1rem;
}

.text-gray-700 {
  color: #4a5568;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
  font-weight: 500;
}

.btn-secondary {
  background-color: #e2e8f0;
  color: var(--secondary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-secondary:hover {
  background-color: #cbd5e0;
}

.flex {
  display: flex;
}

.justify-end {
  justify-content: flex-end;
}

.mr-4 {
  margin-right: 1rem;
}

/* Hamburger Menu Styles */
.hamburger-menu {
  display: none;
  margin-top: 2rem;
}

.menu-item {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--secondary-color);
  text-decoration: none;
  border-bottom: 1px solid #edf2f7;
}

.menu-item:last-child {
  border-bottom: none;
}

.cart-count {
  background-color: var(--accent-color);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  margin-left: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .grid-cols-2 {
    grid-template-columns: 1fr;
  }
  
  .profile-header {
    flex-direction: column;
    text-align: center;
  }
  
  .profile-actions {
    flex-direction: column;
  }
  
  .submit-btn {
    width: 100%;
    text-align: center;
  }
  
  .hamburger-menu {
    display: block;
  }
}
/* Navigation Container */
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  height: 60px;
}

/* Logo Styling */
.logo {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.9;
}

/* Main Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 0.5rem;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
}

.nav-links a:hover {
  opacity: 0.8;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background-color: white;
  padding: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 999;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--secondary-color);
  text-decoration: none;
  border-bottom: 1px solid #edf2f7;
  transition: background-color 0.3s ease;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  background-color: #f7fafc;
}

/* Mobile Menu Toggle Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: white;
  margin: 5px 0;
  transition: transform 0.3s ease;
}

/* Alert Messages */
.alert {
  background-color: #f8d7da;
  color: #721c24;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 4px;
  text-align: center;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  /* Show mobile menu when active */
  .mobile-menu.active {
    display: block;
  }

  /* Animate hamburger to X when active */
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
}
/* Admin Login Styles */
.auth-container {
  max-width: 400px;
  margin: 4rem auto;
  padding: 2rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.auth-container h2 {
  color: var(--secondary-color);
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

/* Admin Dashboard Styles */
.admin-dashboard {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1.5rem;
}

.admin-dashboard h2 {
  color: var(--secondary-color);
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.add-btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  margin-bottom: 2rem;
  transition: background-color 0.3s ease;
}

.add-btn:hover {
  background-color: #357abd;
}

/* Products Table Styles */
.products-table {
  width: 100%;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  overflow: hidden;
}

.products-table table {
  width: 100%;
  border-collapse: collapse;
}

.products-table th {
  background-color: #f8fafc;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--secondary-color);
  border-bottom: 2px solid #edf2f7;
}

.products-table td {
  padding: 1rem;
  border-bottom: 1px solid #edf2f7;
  color: #4a5568;
}

.products-table tr:last-child td {
  border-bottom: none;
}

.products-table tr:hover {
  background-color: #f7fafc;
}

/* Address Styles */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.address-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.address-card {
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
}

.default-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: #48bb78;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
}

.address-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  justify-content: flex-end;
}

.address-btn {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.edit-btn {
  background-color: #edf2f7;
  color: var(--secondary-color);
}

.edit-btn:hover {
  background-color: #e2e8f0;
}

.default-btn {
  background-color: var(--primary-color);
  color: white;
}

.default-btn:hover {
  background-color: #357abd;
}

.delete-btn {
  background-color: #feb2b2;
  color: #c53030;
}

.delete-btn:hover {
  background-color: #fc8181;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .auth-container {
    margin: 2rem 1rem;
  }
  
  .products-table {
    overflow-x: auto;
  }
  
  .products-table table {
    min-width: 600px;
  }
  
  .address-grid {
    grid-template-columns: 1fr;
  }
  
  .address-actions {
    flex-direction: column;
  }
  
  .address-btn {
    width: 100%;
    text-align: center;
  }
}

/* Form Buttons */
.form-submit {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  width: 100%;
  transition: background-color 0.3s ease;
}

.form-submit:hover {
  background-color: #357abd;
}

/* Utility Classes */
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.text-center { text-align: center; }
.flex { display: flex; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
/* Orders Page Styling */
.order-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.order-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.order-header {
  background: linear-gradient(to right, var(--primary-color), #357abd);
  color: white;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-number {
  font-size: 1.1rem;
  font-weight: 600;
}

.order-date {
  font-size: 0.9rem;
  opacity: 0.9;
}

.order-items {
  padding: 1.5rem;
}

.order-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #edf2f7;
  transition: background-color 0.2s ease;
}

.order-item:hover {
  background-color: #f7fafc;
}

.order-item:last-child {
  border-bottom: none;
}

.item-image {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  background-color: #f7fafc;
}

.item-details {
  margin-left: 1rem;
  flex-grow: 1;
}

.item-name {
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.25rem;
}

.item-quantity {
  color: #666;
  font-size: 0.9rem;
}

.item-price {
  font-weight: 600;
  color: var(--accent-color);
}

.order-footer {
  background-color: #f8fafc;
  padding: 1rem 1.5rem;
  border-top: 1px solid #edf2f7;
}

.order-total {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.shipping-address {
  color: #666;
  font-size: 0.9rem;
}

/* Status badges */
.status-badge {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.status-pending {
  background-color: #fef3c7;
  color: #92400e;
}

.status-completed {
  background-color: #d1fae5;
  color: #065f46;
}

.status-cancelled {
  background-color: #fee2e2;
  color: #991b1b;
}

/* Addresses Page Styling */
.addresses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
}

.address-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.address-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.default-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #48bb78, #38a169);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(56, 161, 105, 0.2);
}

.address-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.address-details {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.address-phone {
  color: #666;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.address-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.address-btn {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  flex: 1;
  text-align: center;
  cursor: pointer;
}

.btn-edit {
  background-color: #e2e8f0;
  color: var(--secondary-color);
}

.btn-edit:hover {
  background-color: #cbd5e0;
}

.btn-default {
  background-color: var(--primary-color);
  color: white;
}

.btn-default:hover {
  background-color: #357abd;
}

.btn-delete {
  background-color: #fee2e2;
  color: #dc2626;
}

.btn-delete:hover {
  background-color: #fecaca;
}

/* Empty State Styling */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.empty-state-text {
  color: #4a5568;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.add-new-btn {
  display: inline-block;
  background: linear-gradient(to right, var(--primary-color), #357abd);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.add-new-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(74, 144, 226, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .addresses-grid {
    grid-template-columns: 1fr;
  }
  
  .order-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .address-actions {
    flex-direction: column;
  }
  
  .address-btn {
    width: 100%;
  }
}
/* Orders Page Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.orders-container {
    min-height: 80vh;
}

.page-title {
    font-size: 1.875rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2rem;
}

/* Order Card */
.order-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

/* Order Header */
.order-header {
    background: #f8fafc;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.order-number {
    font-weight: 600;
    color: #2c3e50;
}

.order-date {
    font-size: 0.875rem;
    color: #64748b;
}

/* Status Badges */
.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-pending {
    background-color: #fef3c7;
    color: #92400e;
}

.status-completed {
    background-color: #d1fae5;
    color: #065f46;
}

.status-cancelled {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Order Items */
.order-items {
    padding: 1.5rem;
}

.order-item {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.order-item:last-child {
    border-bottom: none;
}

.item-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background-color: #f1f5f9;
}

.item-details {
    flex: 1;
}

.item-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.item-quantity {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.item-price {
    font-weight: 600;
    color: #4a90e2;
}

/* Order Footer */
.order-footer {
    background-color: #f8fafc;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.order-total {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.shipping-address {
    color: #64748b;
    font-size: 0.875rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.empty-state p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.shop-now-btn {
    display: inline-block;
    background-color: #4a90e2;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.shop-now-btn:hover {
    background-color: #357abd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .order-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .order-item {
        flex-direction: column;
        gap: 1rem;
    }

    .item-image {
        width: 100%;
        height: 200px;
    }
}
/* Addresses Page Styles */
.addresses-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.page-title {
    font-size: 1.875rem;
    font-weight: 600;
    color: #2c3e50;
}

.add-address-btn {
    display: inline-block;
    background-color: #4a90e2;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.add-address-btn:hover {
    background-color: #357abd;
}

/* Addresses Grid */
.addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Address Card */
.address-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.default-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: #48bb78;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.address-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-right: 5rem;
}

.address-details {
    margin-bottom: 1.5rem;
}

.address-line {
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.address-phone {
    color: #64748b;
    font-size: 0.875rem;
}

/* Address Actions */
.address-actions {
    display: flex;
    gap: 0.75rem;
}

.address-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    flex: 1;
}

.make-default-btn {
    background-color: #4a90e2;
    color: white;
}

.make-default-btn:hover {
    background-color: #357abd;
}

.edit-btn {
    background-color: #edf2f7;
    color: #2d3748;
}

.edit-btn:hover {
    background-color: #e2e8f0;
}

.delete-btn {
    background-color: #fee2e2;
    color: #dc2626;
}

.delete-btn:hover {
    background-color: #fecaca;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.empty-state p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .addresses-grid {
        grid-template-columns: 1fr;
    }
    
    .address-actions {
        flex-direction: column;
    }
    
    .address-btn {
        width: 100%;
    }
}
/* Cart Container Styles */
.cart-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.cart-container h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #333;
}

/* Cart Item Styles */
.cart-item {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  margin-bottom: 1rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.cart-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.cart-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
}

.cart-item-details {
  flex-grow: 1;
  margin-left: 1.5rem;
}

.cart-item-details h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #333;
}

/* Quantity Controls */
.cart-quantity {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
}

.cart-quantity button {
  background-color: #f3f4f6;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cart-quantity button:hover {
  background-color: #e5e7eb;
}

/* Cart Total and Buttons */
.cart-total {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: right;
  margin: 2rem 0;
  color: #2563eb;
}

.submit-btn {
  display: inline-block;
  background-color: #2563eb;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.submit-btn:hover {
  background-color: #1d4ed8;
}

/* Remove Button */
.cart-item .remove-btn {
  padding: 0.5rem 1rem;
  background-color: #ef4444;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cart-item .remove-btn:hover {
  background-color: #dc2626;
}

/* Empty Cart Message */
.cart-empty {
  text-align: center;
  padding: 3rem;
  color: #6b7280;
}

/* Checkout Page Specific Styles */
.checkout-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Address Card Styles */
.address-card {
  padding: 1.5rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  transition: box-shadow 0.3s ease;
  cursor: pointer;
}

.address-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.address-card.selected {
  border: 2px solid #2563eb;
}

/* Order Summary Styles */
.order-summary {
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.order-summary h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

.order-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.order-total {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid #e5e7eb;
  font-weight: 600;
  font-size: 1.25rem;
  display: flex;
  justify-content: space-between;
}

/* Place Order Button */
.place-order-btn {
  display: block;
  width: 100%;
  background-color: #2563eb;
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-top: 1.5rem;
}

.place-order-btn:hover {
  background-color: #1d4ed8;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .cart-item {
    flex-direction: column;
    text-align: center;
  }
  
  .cart-item-details {
    margin-left: 0;
    margin-top: 1rem;
  }
  
  .cart-quantity {
    justify-content: center;
  }
  
  .checkout-container {
    padding: 1rem;
  }
}
/* Cart Container Styles */
.cart-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.cart-container h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #333;
}

/* Cart Item Styles */
.cart-item {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  margin-bottom: 1rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.cart-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.cart-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
}

.cart-item-details {
  flex-grow: 1;
  margin-left: 1.5rem;
}

.cart-item-details h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #333;
}

/* Quantity Controls */
.cart-quantity {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
}

.cart-quantity button {
  background-color: #f3f4f6;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cart-quantity button:hover {
  background-color: #e5e7eb;
}

/* Cart Total and Buttons */
.cart-total {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: right;
  margin: 2rem 0;
  color: #2563eb;
}

.submit-btn {
  display: inline-block;
  background-color: #2563eb;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.submit-btn:hover {
  background-color: #1d4ed8;
}

/* Remove Button */
.cart-item .remove-btn {
  padding: 0.5rem 1rem;
  background-color: #ef4444;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cart-item .remove-btn:hover {
  background-color: #dc2626;
}

/* Empty Cart Message */
.cart-empty {
  text-align: center;
  padding: 3rem;
  color: #6b7280;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .cart-item {
    flex-direction: column;
    text-align: center;
  }
  
  .cart-item-details {
    margin-left: 0;
    margin-top: 1rem;
  }
  
  .cart-quantity {
    justify-content: center;
  }
}
/* Custom Icon Sizes and Styles */
.checkout-icon {
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 2;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.section-icon {
    width: 1rem;
    height: 1rem;
    color: #3b82f6; /* blue-500 */
}

/* Gradient Text Enhancement */
.gradient-text {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Enhanced Card Styles */
.checkout-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(229, 231, 235, 0.5);
    transition: all 0.3s ease;
}

.checkout-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Address Card Styles */
.address-card {
    border: 2px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
}

.address-card:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.address-card.selected {
    border-color: #3b82f6;
    background-color: #f0f7ff;
}

/* Enhanced Button Styles */
.checkout-btn {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.2);
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px -1px rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

/* Product Image Styles */
.product-image {
    width: 4.5rem;
    height: 4.5rem;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Price Text Styles */
.price-text {
    font-weight: 600;
    color: #1e40af;
}

.total-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e40af;
}

/* Empty State Styles */
.empty-state {
    text-align: center;
    padding: 2rem;
}

.empty-state-icon {
    width: 3rem;
    height: 3rem;
    color: #3b82f6;
    margin: 0 auto 1rem;
}

/* Quantity Badge Styles */
.quantity-badge {
    background-color: #f3f4f6;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    color: #4b5563;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .checkout-icon {
        width: 1rem;
        height: 1rem;
    }

    .product-image {
        width: 3.5rem;
        height: 3.5rem;
    }

    .checkout-btn {
        padding: 0.75rem 1.5rem;
    }
}

/* Animation Styles */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* Loading State Styles */
.loading-spinner {
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid #f3f4f6;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Page Title */
.page-title {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 2rem;
    background: linear-gradient(to right, #2563eb, #9333ea);
    -webkit-background-clip: text;
    color: transparent;
}

/* Grid Layout */
.checkout-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Common Section Styles */
.section {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    border: 1px solid #f3f4f6;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Icon Styles */
.icon {
    width: 1.25rem;
    height: 1.25rem;
    stroke: #3b82f6;
}

/* Address Card Styles */
.address-card {
    border: 2px solid transparent;
    border-radius: 0.75rem;
    padding: 1.25rem;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.address-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.address-check {
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 1.5rem;
    height: 1.5rem;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.address-card:hover .address-check {
    opacity: 1;
}

.address-name {
    font-weight: 500;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.address-details {
    color: #4b5563;
    margin-bottom: 0.25rem;
}

.address-phone {
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* Order Items Styles */
.order-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

.order-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.item-image {
    width: 6rem;
    height: 6rem;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.item-placeholder {
    width: 6rem;
    height: 6rem;
    background: #e5e7eb;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-details {
    flex-grow: 1;
}

.item-name {
    font-weight: 500;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.item-meta {
    color: #4b5563;
}

.item-price {
    font-weight: 500;
    font-size: 1.125rem;
}

/* Order Summary Styles */
.order-summary {
    display: none;
}

@media (min-width: 768px) {
    .order-summary {
        display: block;
    }
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.summary-total {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
    margin-top: 1rem;
    font-size: 1.125rem;
}

.total-amount {
    font-weight: bold;
    color: #2563eb;
}

/* Button Styles */
.place-order-btn {
    width: 100%;
    background: linear-gradient(to right, #3b82f6, #1d4ed8);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.place-order-btn:hover {
    background: linear-gradient(to right, #2563eb, #1e40af);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

/* Empty State Styles */
.empty-state {
    text-align: center;
    padding: 2rem 0;
}

.empty-icon {
    width: 4rem;
    height: 4rem;
    stroke: #3b82f6;
    margin: 0 auto 1rem;
}

.add-address-btn {
    display: inline-block;
    background: linear-gradient(to right, #3b82f6, #1d4ed8);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    font-weight: 500;
    margin-top: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.add-address-btn:hover {
    background: linear-gradient(to right, #2563eb, #1e40af);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}
.inline-form {
    display: inline;
}

.address-actions {
    margin-top: 1rem;
}

.address-actions .btn-link {
    padding: 0;
    margin: 0 0.5rem;
    text-decoration: none;
}

.address-form {
    max-width: 600px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 1rem;
}

.form-control {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.text-danger {
    color: #dc3545;
}
/* Address Selection Styles */
.addresses-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.address-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.address-card:hover {
    border-color: #6b7280;
}

.address-selected {
    border-color: #4f46e5;
    background-color: #f9fafb;
}

.address-radio {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.address-radio input[type="radio"] {
    width: 1.2rem;
    height: 1.2rem;
    cursor: pointer;
}

.default-badge {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #4f46e5;
    font-size: 0.875rem;
    font-weight: 500;
}

.default-badge svg {
    width: 1rem;
    height: 1rem;
}

.address-content {
    margin-left: 1.75rem;
}

.btn-add-address {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #4f46e5;
    color: white;
    border-radius: 0.375rem;
    text-decoration: none;
    margin-top: 1rem;
}

.btn-add-address:hover {
    background-color: #4338ca;
}

.btn-place-order {
    width: 100%;
    padding: 0.75rem;
    background-color: #4f46e5;
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    margin-top: 1rem;
}

.btn-place-order:hover {
    background-color: #4338ca;
}

/* Authentication Pages Styles (Login/Register) */
.auth-container {
    max-width: 400px;
    margin: 4rem auto;
    padding: 2rem;
}

.auth-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    position: relative;
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    position: relative;
}

.auth-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.auth-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    outline: none;
}

.form-group input:focus {
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    transform: translateY(-1px);
}

.form-group input:focus + label {
    color: var(--primary-color);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #357abd);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #357abd, #2c5aa0);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.btn-google {
    background: linear-gradient(135deg, #db4437, #c23321);
    color: white;
    box-shadow: 0 4px 15px rgba(219, 68, 55, 0.3);
}

.btn-google:hover {
    background: linear-gradient(135deg, #c23321, #a52914);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(219, 68, 55, 0.4);
}

.btn-full {
    width: 100%;
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #d1d5db, transparent);
}

.auth-divider span {
    padding: 0 1rem;
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
    background: white;
}

/* Footer */
.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.auth-footer p {
    color: #6b7280;
    margin-bottom: 0;
}

.auth-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-link:hover {
    color: #357abd;
    text-decoration: underline;
}

/* Alert Styles */
.alert {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
    animation: fadeInDown 0.4s ease-out;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border-left-color: #10b981;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border-left-color: #ef4444;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Animation */
.auth-card {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Enhanced Button Styles */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, var(--primary-color), #357abd);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #357abd, #2c5aa0);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.3);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-secondary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #4b5563, #374151);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 114, 128, 0.4);
}

/* Add to Cart Button */
.add-to-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    width: 100%;
}

.add-to-cart-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.add-to-cart-btn:hover::before {
    width: 300px;
    height: 300px;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.add-to-cart-btn i {
    font-size: 1.1em;
}

/* Buy Now Button */
.buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-color), #c53030);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    width: 100%;
    margin-top: 0.5rem;
}

.buy-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.buy-btn:hover::before {
    width: 300px;
    height: 300px;
}

.buy-btn:hover {
    background: linear-gradient(135deg, #c53030, #9b2c2c);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.buy-btn i {
    font-size: 1.1em;
}

/* Proceed to Checkout Button */
.checkout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
    width: 100%;
    margin-top: 1.5rem;
}

.checkout-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.checkout-btn:hover::before {
    width: 300px;
    height: 300px;
}

.checkout-btn:hover {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
}

.checkout-btn i {
    font-size: 1.2em;
}

/* Make Default Button */
.btn-default,
.default-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3);
}

.btn-default::before,
.default-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-default:hover::before,
.default-btn:hover::before {
    width: 200px;
    height: 200px;
}

.btn-default:hover,
.default-btn:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

/* Edit Button */
.edit-btn,
.btn-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(99, 102, 241, 0.3);
}

.edit-btn::before,
.btn-edit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.edit-btn:hover::before,
.btn-edit:hover::before {
    width: 200px;
    height: 200px;
}

.edit-btn:hover,
.btn-edit:hover {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

/* Delete Button */
.delete-btn,
.btn-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.3);
}

.delete-btn::before,
.btn-delete::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.delete-btn:hover::before,
.btn-delete:hover::before {
    width: 200px;
    height: 200px;
}

.delete-btn:hover,
.btn-delete:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

/* Submit Button (Generic) */
.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, var(--primary-color), #357abd);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #357abd, #2c5aa0);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

/* Button Loading State */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Button Group Spacing */
.btn-group {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-group .btn-primary,
.btn-group .btn-secondary,
.btn-group .submit-btn {
    flex: 1;
    min-width: 120px;
}

/* Admin Dashboard Styles */
.admin-dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
}

/* Admin Header */
.admin-header {
    background: linear-gradient(135deg, var(--primary-color), #357abd);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-title p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.header-actions .btn-primary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.header-actions .btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #357abd);
    color: white;
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.stat-content p {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Admin Section */
.admin-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box i {
    position: absolute;
    left: 1rem;
    color: #9ca3af;
}

.search-box input {
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    width: 300px;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.product-admin-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.product-admin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-image-container {
    height: 200px;
    overflow: hidden;
    background: #f8fafc;
    position: relative;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-admin-card:hover .product-image {
    transform: scale(1.05);
}

.product-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #9ca3af;
    font-size: 3rem;
}

.product-details {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.product-description {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    gap: 0.75rem;
    padding: 0 1.5rem 1.5rem;
}

.product-actions .btn-edit,
.product-actions .btn-delete {
    flex: 1;
    justify-content: center;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
}

/* Quick Actions */
.quick-actions {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.quick-actions h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 16px;
    text-decoration: none;
    color: var(--secondary-color);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, var(--primary-color), #357abd);
    color: white;
}

.action-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.action-card span {
    font-weight: 500;
    font-size: 1rem;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-header h3 i {
    color: #f59e0b;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f3f4f6;
    color: var(--secondary-color);
}

.modal-body {
    padding: 2rem;
}

.modal-body p {
    margin-bottom: 1rem;
    color: #4b5563;
    line-height: 1.6;
}

.warning-text {
    color: #f59e0b;
    font-weight: 500;
    font-size: 0.9rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid #e5e7eb;
    justify-content: flex-end;
}

.modal-actions .btn-secondary,
.modal-actions .btn-delete {
    min-width: 120px;
    justify-content: center;
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: #6b7280;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #d1d5db;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.empty-state p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .admin-dashboard-container {
        padding: 1rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .section-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-content {
        margin: 1rem;
        width: calc(100% - 2rem);
    }
    
    .modal-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .product-actions {
        flex-direction: column;
    }
}

/* Responsive Button Adjustments */
@media (max-width: 768px) {
    .btn-group {
        flex-direction: column;
    }
    
    .btn-group .btn-primary,
    .btn-group .btn-secondary,
    .btn-group .submit-btn {
        width: 100%;
    }
    
    .checkout-btn {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}

/* Sexy visual upgrades (overrides) */
:root {
  --primary-gradient: linear-gradient(135deg,#6a11cb 0%,#2575fc 100%);
  --muted: #6b7280;
}

.btn-place-order, .buy-btn, .add-to-cart-btn, .submit-btn {
  background-image: var(--primary-gradient);
  border: none;
  color: #fff;
  padding: 0.9rem 1.6rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(37,117,252,0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  font-weight: 600;
}

.btn-place-order:hover, .buy-btn:hover, .add-to-cart-btn:hover, .submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(37,117,252,0.2);
}

.product-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(2,6,23,0.08);
}

.product-image-container {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.price {
  color: #111827;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.order-card, .cart-container, .profile-container {
  border-radius: 14px;
  padding: 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 8px 26px rgba(15,23,42,0.06);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.status-badge {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
}
.status-pending { background: #f59e0b; }
.status-completed { background: #10b981; }
.status-cancelled { background: #ef4444; }

.item-price, .order-total, .summary-total .total-amount {
  font-weight: 800;
  color: #0f172a;
}

/* subtle rounded input focus */
input[type="text"], input[type="number"], input[type="tel"], select, textarea {
  border-radius: 10px;
}

/* small screens tweaks */
@media (max-width: 640px) {
  .products-grid { grid-template-columns: 1fr; }
  .nav-container { padding: 0 0.75rem; }
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateX(400px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    min-width: 280px;
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-success {
    border-left: 4px solid #10b981;
}

.toast-success i {
    color: #10b981;
    font-size: 1.5rem;
}

.toast-error {
    border-left: 4px solid #ef4444;
}

.toast-error i {
    color: #ef4444;
    font-size: 1.5rem;
}

.toast-notification span {
    font-weight: 500;
    color: #2d3748;
}

/* Cart Animation Styles */
.flying-to-cart {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cart-badge {
    animation: none;
}

.cart-badge.bounce {
    animation: bounceScale 0.6s ease;
}

@keyframes bounceScale {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(0.9); }
    75% { transform: scale(1.1); }
}

.pulse {
    animation: pulseGlow 0.6s ease;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); box-shadow: 0 0 20px rgba(74, 144, 226, 0.6); }
}

/* Consistent Button Styles */
.btn-primary,
.btn-secondary,
.btn-danger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #357abd);
    color: white;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(74, 144, 226, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .toast-notification {
        right: 10px;
        left: 10px;
        min-width: unset;
    }
}

/* Checkout Sexy Styles */
.checkout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 900px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

.section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.section-title {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 1rem;
}

.section-title .icon {
    width: 24px;
    height: 24px;
    stroke: var(--primary-color);
}

/* Address Cards */
.addresses-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.address-card {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    background: #fff;
    overflow: hidden;
}

.address-card:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.address-card.address-selected {
    border-color: var(--primary-color);
    background: #eff6ff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

.address-card.address-selected::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px 0 0 4px;
}

.address-radio {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.address-radio input[type="radio"] {
    margin-top: 0.25rem;
    width: 1.2rem;
    height: 1.2rem;
    cursor: pointer;
}

/* Order Items */
.order-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.3s ease;
}

.order-item:last-child {
    border-bottom: none;
}

.item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.item-placeholder {
    width: 80px;
    height: 80px;
    background: #f1f5f9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-placeholder .icon {
    width: 32px;
    height: 32px;
    stroke: #94a3b8;
}

.item-details {
    flex-grow: 1;
}

.item-name {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.item-meta {
    color: #64748b;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.item-price {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

/* Summary */
.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    color: #475569;
}

.summary-total {
    border-top: 2px dashed #e2e8f0;
    margin-top: 1rem;
    padding-top: 1rem;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--secondary-color);
}
.summary-total .total-amount {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Sexy Checkout Button */
.btn-place-order {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1.5rem;
}

.btn-place-order .icon {
    width: 24px;
    height: 24px;
}

.btn-place-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.btn-place-order:active {
    transform: translateY(1px);
}

.btn-add-address {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #f1f5f9;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}
.btn-add-address:hover {
    background-color: #e2e8f0;
    transform: scale(1.02);
}

.text-gray-400 {
    color: #94a3b8;
}


/* Product Card Animations */
.product-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}
.product-card img {
    transition: transform 0.5s ease;
}
.product-card:hover img {
    transform: scale(1.05);
}
.add-to-cart-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.add-to-cart-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}
.add-to-cart-btn:active::after {
    width: 200px;
    height: 200px;
}


/* Mobile Menu Sexy Styling */
.mobile-menu {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 250px;
    height: calc(100vh - 60px);
  background: rgba(255, 255, 255, 0.98);
  border-right: 1px solid #e2e8f0;
    flex-direction: column;
    padding: 2rem 1rem;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  box-shadow: 2px 0 15px rgba(15, 23, 42, 0.08);
    display: flex;
}
.mobile-menu.active {
    left: 0;
}
.mobile-menu a {
  color: #0f172a;
    text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}
.mobile-menu a:hover {
  background: #f1f5f9;
  transform: translateX(4px);
}

/* Mobile Menu Button Animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}


/* Cart Items Sexy Styling */
.cart-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}
.cart-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}
.cart-item-details h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.cart-quantity {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}
.cart-quantity .quantity-controls {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 20px;
    padding: 0.25rem;
}
.cart-quantity button {
    border: none;
    background: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background 0.2s ease;
}
.cart-quantity button:hover {
    background: var(--primary-color);
    color: white;
}
.cart-quantity span {
    padding: 0 0.5rem;
    font-weight: bold;
}
.remove-btn {
    background: #fee2e2;
    color: #ef4444;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: auto;
}
.remove-btn:hover {
    background: #ef4444;
    color: white;
}


/* Cart Responsive Improvements */
@media (max-width: 600px) {
    .cart-item {
        flex-direction: column;
        text-align: center;
    }
    .remove-btn {
        margin-left: 0;
        width: 100%;
        margin-top: 1rem;
    }
}


/* Split Screen Auth Styles */
.auth-split-container {
    display: flex;
    min-height: 80vh;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    margin: 2rem auto;
    max-width: 1000px;
}
.auth-image-side {
    flex: 1;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.8), rgba(231, 76, 60, 0.8)), url("https://images.unsplash.com/photo-1490481651871-ab68de25d43d?q=80&w=1000&auto=format&fit=crop");
    background-size: cover;
    background-position: center;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}
.auth-image-side h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}
.auth-image-side p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}
.auth-features {
    list-style: none;
}
.auth-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.auth-form-side {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}
.auth-title {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}
.auth-subtitle {
    color: #64748b;
    margin-bottom: 2rem;
}
.form-group label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #475569;
}
.form-group input {
    border: none;
    border-bottom: 2px solid #e2e8f0;
    border-radius: 0;
    padding: 10px 0;
    font-size: 1.1rem;
    background: transparent;
}
.form-group input:focus {
    box-shadow: none;
    border-bottom-color: var(--primary-color);
}
.btn-primary.btn-full {
    height: 50px;
    font-size: 1.2rem;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    margin-top: 1rem;
}
.btn-primary.btn-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.6);
}
.auth-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}
.auth-divider span {
    background: white;
    padding: 0 10px;
    color: #94a3b8;
    position: relative;
    z-index: 1;
}
.auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e2e8f0;
}
.btn-google {
    background: white;
    color: #333;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    font-weight: 600;
}
.btn-google:hover {
    background: #f8fafc;
}
/* Responsive Split Layout */
@media (max-width: 768px) {
    .auth-split-container {
        flex-direction: column;
    }
    .auth-image-side {
        padding: 2rem;
        text-align: center;
    }
    .auth-features {
        display: none;
    }
    .auth-form-side {
        padding: 2rem;
    }
}


/* Split Screen Auth Styles */
.auth-split-container {
    display: flex;
    min-height: 80vh;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    margin: 2rem auto;
    max-width: 1000px;
}
.auth-image-side {
    flex: 1;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.8), rgba(231, 76, 60, 0.8)), url("https://images.unsplash.com/photo-1490481651871-ab68de25d43d?q=80&w=1000&auto=format&fit=crop");
    background-size: cover;
    background-position: center;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}
.auth-image-side h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}
.auth-image-side p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}
.auth-features {
    list-style: none;
}
.auth-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.auth-form-side {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}
.auth-title {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}
.auth-subtitle {
    color: #64748b;
    margin-bottom: 2rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #475569;
    margin-bottom: 0.5rem;
}
.form-group input {
    width: 100%;
    border: none;
    border-bottom: 2px solid #e2e8f0;
    border-radius: 0;
    padding: 10px 0;
    font-size: 1.1rem;
    background: transparent;
    transition: all 0.3s ease;
}
.form-group input:focus {
    box-shadow: none;
    outline: none;
    border-bottom-color: var(--primary-color);
}
.btn-primary.btn-full {
    width: 100%;
    height: 50px;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    margin-top: 1rem;
    transition: all 0.3s ease;
}
.btn-primary.btn-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.6);
}
.auth-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}
.auth-divider span {
    background: white;
    padding: 0 10px;
    color: #94a3b8;
    position: relative;
    z-index: 1;
}
.auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e2e8f0;
}
.btn-google {
    background: white;
    color: #333;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    height: 50px;
    font-weight: 600;
    transition: background 0.3s ease;
}
.btn-google:hover {
    background: #f8fafc;
}
/* Responsive Split Layout */
@media (max-width: 768px) {
    .auth-split-container {
        flex-direction: column;
    }
    .auth-image-side {
        padding: 2rem;
        text-align: center;
    }
    .auth-features {
        display: none;
    }
    .auth-form-side {
        padding: 2.5rem;
    }
}


/* ---- JUICY CART UPGRADES ---- */
.cart-container {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2.5rem;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}
.cart-container h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  background: linear-gradient(to right, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}
.cart-item {
  display: flex;
  align-items: stretch;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none;
}
.cart-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.1);
  border-color: #bfdbfe;
}
.cart-item img {
  width: 140px;
  height: 180px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  background: #fff;
}
.cart-item-details {
  flex-grow: 1;
  margin-left: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cart-item-details h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}
.cart-item-details p {
  font-size: 1.25rem;
  font-weight: 600;
  color: #059669;
  margin-bottom: 1rem;
}
.cart-quantity .quantity-controls {
  display: inline-flex;
  align-items: center;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 30px;
  padding: 0.25rem;
}
.cart-quantity button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #475569;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-quantity button:hover {
  background: #3b82f6;
  color: white;
}
.cart-quantity span {
  font-weight: 700;
  font-size: 1.1rem;
  min-width: 40px;
  text-align: center;
  color: #0f172a;
}
.remove-btn {
  background: #fef2f2;
  color: #ef4444;
  border: 1px solid #fca5a5;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  align-self: center;
}
.remove-btn:hover {
  background: #ef4444;
  color: white;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}
.cart-total {
  text-align: right;
  font-size: 2rem;
  font-weight: 800;
  color: #1e293b;
  margin: 2rem 0;
  padding-top: 1.5rem;
  border-top: 2px dashed #e2e8f0;
}
.cart-total span {
  color: #059669;
}
.cart-container > .submit-btn {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 1.25rem;
  padding: 1.2rem;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  border-radius: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}
.cart-container > .submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.4);
}

@media (max-width: 640px) {
  .cart-container {
    padding: 1.5rem;
    margin: 1rem;
    border-radius: 16px;
  }
  .cart-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
  }
  .cart-item img {
    width: 150px;
    height: 200px;
    margin-bottom: 1rem;
  }
  .cart-item-details {
    margin-left: 0;
    width: 100%;
    margin-bottom: 1rem;
  }
  .cart-quantity {
    justify-content: center;
    margin-bottom: 1rem;
  }
  .remove-btn {
    width: 100%;
    padding: 0.8rem;
  }
  .cart-total {
    font-size: 1.5rem;
    text-align: center;
  }
}
