:root {
  /* Enhanced Color Palette */
  --primary: #ff6b35;
  --primary-light: #ff8c5f;
  --primary-dark: #e55a2e;
  --primary-gradient: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  --accent: #4ecdc4;
  --accent-light: #7de3dc;

  /* Neutral Colors */
  --text-primary: #1a1a1a;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --surface: #ffffff;
  --surface-elevated: #fafafa;
  --background: #f8fafc;
  --border: #e5e7eb;
  --border-light: #f3f4f6;

  /* Glass Effect */
  --glass-bg: rgba(255, 255, 255, 0.25);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.2);

  /* Border Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --spring: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Effects */
.bg-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      #f8fafc 0%,
      #f1f5f9 25%,
      #eff6ff 50%,
      #fef3f2 75%,
      #fff7ed 100%);
  z-index: -2;
}

.floating-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  opacity: 0.1;
  animation: float 20s infinite linear;
}

.shape-1 {
  width: 120px;
  height: 120px;
  top: 10%;
  left: 10%;
  animation-delay: -2s;
}

.shape-2 {
  width: 80px;
  height: 80px;
  top: 20%;
  right: 15%;
  animation-delay: -8s;
}

.shape-3 {
  width: 160px;
  height: 160px;
  bottom: 20%;
  left: 5%;
  animation-delay: -14s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  bottom: 10%;
  right: 10%;
  animation-delay: -6s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.1;
  }

  25% {
    transform: translateY(-20px) rotate(90deg);
    opacity: 0.15;
  }

  50% {
    transform: translateY(0px) rotate(180deg);
    opacity: 0.1;
  }

  75% {
    transform: translateY(-15px) rotate(270deg);
    opacity: 0.12;
  }
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
  color: white;
}

.loading-logo {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: bounce 2s infinite;
}

.loading-text {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.loading-spinner {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto;
}

.spinner-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes bounce {

  0%,
  20%,
  53%,
  80%,
  100% {
    transform: translateY(0);
  }

  40%,
  43% {
    transform: translateY(-20px);
  }

  70% {
    transform: translateY(-10px);
  }

  90% {
    transform: translateY(-5px);
  }
}

/* Container & Layout */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: start;
  position: relative;
}

/* Header */
.header {
  grid-column: 1 / -1;
  margin-bottom: 2rem;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-icon {
  font-size: 2.5rem;
  animation: rotate 10s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.logo-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.header-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.stat-divider {
  width: 1px;
  height: 2rem;
  background: var(--border);
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  padding: 3rem 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  position: relative;
  overflow: hidden;
}

.hero-content {
  z-index: 2;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.title-line {
  display: block;
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.title-line:nth-child(2) {
  animation-delay: 0.2s;
}

.title-line.highlight {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 500px;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero-features {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.feature-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition-base);
}

.feature-tag:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary);
}

.feature-icon {
  font-size: 1rem;
}

.hero-visual {
  position: relative;
  width: 200px;
  height: 200px;
}

.hero-circle {
  width: 100%;
  height: 100%;
  background: var(--primary-gradient);
  border-radius: 50%;
  position: relative;
  animation: pulse 4s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-content {
  font-size: 5rem;
  line-height: 1;
}

.hero-decoration {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.8;
  animation: float 6s ease-in-out infinite;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* Products Section */
.products-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  gap: 3rem;
  align-items: start;
  position: relative;
}

.products-section {
  margin-bottom: 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

/* Enhanced Product Cards */
.product-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  position: relative;
  border: 1px solid var(--border-light);
  cursor: pointer;
}

.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;
  z-index: 1;
}

.product-card:hover::before {
  left: 100%;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.product-image-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface-elevated);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.product-card:hover .product-image {
  transform: scale(1.1) rotate(2deg);
}

/* Floating Action Button */
.add-to-cart-btn {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--primary-gradient);
  border: none;
  border-radius: var(--radius-full);
  padding: 1rem 1.5rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: var(--transition-base);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  z-index: 2;
}

.product-card:hover .add-to-cart-btn {
  transform: translateX(-50%) translateY(0);
}

.add-to-cart-btn:hover {
  transform: translateX(-50%) translateY(0) scale(1.05);
  box-shadow: var(--shadow-lg);
}

.add-to-cart-btn:active {
  transform: translateX(-50%) translateY(0) scale(0.95);
}

/* Quantity Controls */
.quantity-controls {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  padding: 0.5rem;
  display: none;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-md);
  animation: slideUpBounce 0.4s var(--ease-out-back);
  z-index: 2;
}

.quantity-controls.active {
  display: flex;
}

.quantity-btn {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  font-size: 1.2rem;
  font-weight: bold;
}

.quantity-btn:hover {
  background: white;
  color: var(--primary);
  transform: scale(1.1);
  border-color: white;
}

.quantity-btn:active {
  transform: scale(0.95);
}

.quantity-display {
  color: white;
  font-weight: 700;
  min-width: 2rem;
  text-align: center;
  font-size: 1rem;
}

/* Product Info */
.product-info {
  padding: 1.5rem;
  position: relative;
  z-index: 1;
}

.product-category {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.product-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Enhanced Cart */
.cart-container {
  position: sticky;
  top: 2rem;
  height: fit-content;
  max-height: calc(100vh - 4rem);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: 0;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.cart-glass-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.4) 0%,
      rgba(255, 255, 255, 0.1) 100%);
  z-index: -1;
}

.cart-header {
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid var(--border-light);
}

.cart-title-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.cart-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
}

.cart-count-badge {
  background: var(--primary-gradient);
  color: white;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  animation: bounceIn 0.6s var(--ease-out-back);
  position: relative;
}

.cart-count-badge::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  bottom: -2px;
  left: -2px;
  background: var(--primary-gradient);
  border-radius: 50%;
  z-index: -1;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes bounceIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.cart-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
}

/* Empty Cart State */
.cart-empty {
  padding: 3rem 2rem;
  text-align: center;
}

.empty-illustration {
  position: relative;
  margin-bottom: 2rem;
  display: inline-block;
}

.empty-cart-icon {
  width: 80px;
  height: 80px;
  color: var(--text-muted);
  opacity: 0.6;
}

.empty-cart-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}

.empty-sparkles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.sparkle {
  position: absolute;
  font-size: 1.5rem;
  animation: twinkle 2s infinite;
}

.sparkle-1 {
  top: 10%;
  right: 20%;
  animation-delay: 0s;
}

.sparkle-2 {
  top: 60%;
  left: 10%;
  animation-delay: 0.7s;
}

.sparkle-3 {
  bottom: 20%;
  right: 10%;
  animation-delay: 1.4s;
}

@keyframes twinkle {

  0%,
  100% {
    opacity: 0;
    transform: scale(0.5);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.empty-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.empty-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Cart Content */
.cart-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: calc(100vh - 12rem);
}

.cart-items-wrapper {
  overflow-y: auto;
  flex: 1;
  padding: 1rem;

  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

.cart-items-wrapper::-webkit-scrollbar {
  width: 8px;
}

.cart-items-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.cart-items-wrapper::-webkit-scrollbar-thumb {
  background-color: #bbb;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.cart-items-wrapper::-webkit-scrollbar-thumb:hover {
  background-color: #999;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
  position: relative;
}

.cart-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary);
}

.cart-item-image {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.cart-item-details {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.cart-item-quantity {
  font-weight: 600;
  color: var(--primary);
}

.cart-item-price {
  color: var(--text-muted);
}

.cart-item-total {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.remove-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.remove-btn:hover {
  background: #ef4444;
  color: white;
  transform: scale(1.1);
}

/* Cart Summary */
.cart-summary {
  padding: 1.5rem 2rem 2rem;
  border-top: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.5);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.subtotal-row {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.total-row {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  margin-bottom: 1.5rem;
}

.delivery-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(76, 205, 196, 0.1);
  border: 1px solid rgba(76, 205, 196, 0.2);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}

.delivery-icon {
  font-size: 1.25rem;
}

.delivery-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.delivery-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.delivery-subtitle {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.delivery-badge {
  background: var(--accent);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.confirm-btn {
  width: 100%;
  background: var(--primary-gradient);
  border: none;
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.confirm-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.confirm-btn:active {
  transform: translateY(0);
}

.btn-text {
  position: relative;
  z-index: 2;
}

.btn-icon {
  position: relative;
  z-index: 2;
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.confirm-btn:hover .btn-icon {
  transform: translateX(4px);
}

.btn-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.confirm-btn:active .btn-ripple {
  width: 300px;
  height: 300px;
}

/* Enhanced Order Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.modal-overlay.active {
  opacity: 1;
}

.modal-container {
  background: var(--surface);
  border-radius: var(--radius-2xl);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s var(--ease-out-back);
  border: 1px solid var(--border-light);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.modal-container::-webkit-scrollbar {
  display: none;
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-content {
  padding: 3rem 2rem 2rem;
}

.modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.success-animation {
  margin-bottom: 1.5rem;
  display: inline-block;
}

.success-icon {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto;
}

.success-circle {
  width: 100%;
  height: 100%;
  background: var(--primary-gradient);
  border-radius: 50%;
  position: relative;
  animation: successPulse 0.6s ease-out;
}

.success-checkmark {
  position: absolute;
  top: 40%;
  left: 47%;
  transform: translate(-50%, -50%);
}

.checkmark-stem,
.checkmark-kick {
  background: white;
  border-radius: 2px;
  position: absolute;
}

.checkmark-stem {
  width: 3px;
  height: 16px;
  transform: rotate(45deg);
  animation: checkmarkStem 0.3s ease-out 0.6s forwards;
  transform-origin: bottom;
  opacity: 0;
}

.checkmark-kick {
  width: 3px;
  height: 8px;
  transform: rotate(-45deg) translate(-6px, 4px);
  animation: checkmarkKick 0.3s ease-out 0.9s forwards;
  transform-origin: bottom;
  opacity: 0;
}

@keyframes successPulse {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes checkmarkStem {
  0% {
    transform: rotate(45deg) scaleY(0);
    opacity: 0;
  }

  100% {
    transform: rotate(45deg) scaleY(1);
    opacity: 1;
  }
}

@keyframes checkmarkKick {
  0% {
    transform: rotate(-45deg) translate(-6px, 4px) scaleY(0);
    opacity: 0;
  }

  100% {
    transform: rotate(-45deg) translate(-6px, 4px) scaleY(1);
    opacity: 1;
  }
}

.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
}

.order-summary {
  background: var(--surface-elevated);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border-light);
}

.summary-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.order-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-actions {
  display: flex;
  justify-content: center;
}

.new-order-btn {
  background: var(--primary-gradient);
  border: none;
  border-radius: var(--radius-lg);
  padding: 1rem 2rem;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  min-width: 200px;
}

.new-order-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.new-order-btn:active {
  transform: translateY(0);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s;
}

.new-order-btn:hover .btn-shine {
  left: 100%;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toast {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 320px;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease-out-back);
  backdrop-filter: blur(10px);
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  border-left: 4px solid var(--accent);
}

.toast.error {
  border-left: 4px solid #ef4444;
}

.toast-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.toast-message {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.toast-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  transition: var(--transition-fast);
  font-size: 1.2rem;
}

.toast-close:hover {
  background: var(--border-light);
  color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container {
    grid-template-columns: 1fr 360px;
    gap: 2rem;
  }
}

@media (max-width: 1024px) {
  .container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1rem;
  }

  .cart-container {
    position: relative;
    top: 0;
    max-height: none;
  }

  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-visual {
    margin: 0 auto;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  .header-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hero-section {
    padding: 2rem 1.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-features {
    justify-content: center;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cart-header {
    padding: 1.5rem 1.5rem 1rem;
  }

  .cart-summary {
    padding: 1rem 1.5rem 1.5rem;
  }

  .modal-content {
    padding: 2rem 1.5rem 1.5rem;
  }

  .toast-container {
    top: 1rem;
    right: 1rem;
    left: 1rem;
  }

  .toast {
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .feature-tag {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .product-card {
    margin: 0;
  }
}

/* Animation Utilities */
@keyframes slideUpBounce {
  0% {
    transform: translateY(100%) scale(0.8);
    opacity: 0;
  }

  50% {
    transform: translateY(-10%) scale(1.05);
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Loading States */
.loading {
  pointer-events: none;
  opacity: 0.7;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus States */
button:focus-visible,
.product-card:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Print Styles */
@media print {

  .cart-container,
  .floating-shapes,
  .bg-gradient {
    display: none;
  }
}