/* ===================================
   CSS Variables & Base Styles
   =================================== */

:root {
  --primary-color: #db2777;
  --primary-hover: #be185d;
  --secondary-color: #7c3aed;
  --success-color: #10b981;
  --error-color: #ef4444;
  --text-primary: #1f2937;
  --text-gray: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --card-bg: #f3e8ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 
  Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-light);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

/* Apply animations to page load */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.slide-in {
  animation: slideIn 0.5s ease-out;
}

.scale-in {
  animation: scaleIn 0.5s ease-out;
}

/* Stagger animation delays */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* ===================================
   Layout & Container
   =================================== */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

main {
  min-height: calc(100vh - 400px);
}

/* ===================================
   Header & Navigation
   =================================== */

.header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  animation: slideInFromLeft 0.5s ease-out;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  width: 2rem;
  height: 2rem;
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav a {
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav a:hover {
  color: var(--primary-color);
}

.nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.cart-btn {
  position: relative;
  padding: 0.5rem;
  transition: transform 0.3s ease;
}

.cart-btn:hover {
  transform: scale(1.1);
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--primary-color);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleIn 0.3s ease;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu {
  display: none;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
}

.mobile-menu.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0;
}

.mobile-nav a {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  padding-left: 0.5rem;
  color: var(--primary-color);
}

/* ===================================
   Buttons
   =================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn:disabled:hover {
  transform: none;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
  background: linear-gradient(135deg, #fce7f3 0%, #e0e7ff 100%);
  padding: 4rem 0;
  margin-bottom: 4rem;
  animation: fadeIn 0.8s ease-out;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  animation: fadeInUp 0.8s ease-out;
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 1.2s ease-out;
}

.hero-image {
  position: relative;
  animation: float 3s ease-in-out infinite;
}

.hero-image img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
}

/* ===================================
   Features Section
   =================================== */

.features {
  margin-bottom: 4rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  animation: fadeIn 0.6s ease-out backwards;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-gray);
}

/* ===================================
   Products Grid
   =================================== */

.products-section {
  margin-bottom: 4rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  animation: fadeInUp 0.6s ease-out;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-gray);
}

/* Search and Filters */
.search-filters {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.search-box {
  position: relative;
  max-width: 500px;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: var(--text-gray);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 3rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.1);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

.filter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.filter-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  animation: fadeIn 0.6s ease-out backwards;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.product-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background-color: var(--bg-light);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--primary-color);
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 1;
  animation: bounce 1s ease-in-out infinite;
}

.product-info {
  padding: 1.25rem;
}

.product-category {
  font-size: 0.75rem;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.product-title,
.product-name {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
  cursor: pointer;
}

.product-card:hover .product-title,
.product-card:hover .product-name {
  color: var(--primary-color);
}

.product-description {
  font-size: 0.875rem;
  color: var(--text-gray);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
}

.product-rating svg {
  width: 1rem;
  height: 1rem;
  color: #fbbf24;
}

.product-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.product-actions .btn {
  width: 100%;
}

/* ===================================
   Cart Page
   =================================== */

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
  padding: 2rem 0;
  animation: fadeIn 0.6s ease-out;
}

.cart-items {
  display: flex;
  flex-direction: column;
}

.cart-empty {
  text-align: center;
  padding: 4rem 2rem;
  animation: fadeInUp 0.6s ease-out;
  background-color: var(--bg-white);
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
}

.cart-empty-icon {
  width: 6rem;
  height: 6rem;
  margin: 0 auto 1.5rem;
  color: var(--text-gray);
  opacity: 0.5;
}

.cart-empty h2 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.cart-empty p {
  margin-bottom: 1.5rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  animation: fadeIn 0.4s ease-out backwards;
  position: relative;
}

.cart-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.cart-item-image {
  width: 120px;
  height: 120px;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: var(--bg-light);
  box-shadow: var(--shadow-sm);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cart-item:hover .cart-item-image img {
  transform: scale(1.05);
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  gap: 1rem;
}

.cart-item-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  flex: 1;
  cursor: pointer;
  transition: color 0.3s ease;
}

.cart-item-name:hover {
  color: var(--primary-color);
}

.cart-item-category {
  font-size: 0.875rem;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.cart-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  gap: 1rem;
}

.cart-item-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.cart-item-total {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.cart-item-unit {
  font-size: 0.875rem;
  color: var(--text-gray);
}

.quantity-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 0.375rem 0.75rem;
  background-color: var(--bg-white);
}

.quantity-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.375rem 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
}

.quantity-btn:hover {
  background-color: var(--bg-light);
  transform: scale(1.1);
}

.quantity-btn:active {
  transform: scale(0.95);
}

.quantity-btn svg {
  width: 16px;
  height: 16px;
}

.quantity-value {
  min-width: 2rem;
  text-align: center;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
}

.remove-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-gray);
  transition: all 0.3s;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remove-btn:hover {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--error-color);
  transform: scale(1.1);
}

.remove-btn:active {
  transform: scale(0.95);
}

.remove-btn svg {
  width: 20px;
  height: 20px;
}

/* Order Summary */
.order-summary {
  position: sticky;
  top: 5rem;
  padding: 1.5rem;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  animation: fadeIn 0.6s ease-out;
}

.summary-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.summary-label {
  color: var(--text-gray);
}

.summary-total {
  border-top: 1px solid var(--border-color);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

.summary-total .summary-row {
  font-size: 1.25rem;
  font-weight: 600;
}

.summary-total .summary-value {
  color: var(--primary-color);
}

.summary-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.summary-actions .btn {
  width: 100%;
}

.free-shipping-notice {
  font-size: 0.875rem;
  color: var(--text-gray);
  text-align: center;
  margin-top: 1rem;
}

/* ===================================
   Form Styles
   =================================== */

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  transition: color 0.3s;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.1);
  transform: translateY(-2px);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.form-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  animation: fadeIn 0.6s ease-out backwards;
}

.form-card:hover {
  box-shadow: var(--shadow-md);
}

.form-card h2,
.form-card h3 {
  margin-bottom: 1rem;
}

.form-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===================================
   Contact Page Enhancements
   =================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-hero {
  text-align: center;
  padding: 3rem 0;
  background: linear-gradient(135deg, #fce7f3 0%, #e0e7ff 100%);
  border-radius: 1rem;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out;
}

.contact-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-hero p {
  font-size: 1.25rem;
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto;
}

/* Contact Info */
.contact-info-card {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
  animation: fadeIn 0.8s ease-out;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: white;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  animation: fadeIn 0.6s ease-out backwards;
}

.contact-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-sm);
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
  padding: 0.5rem;
  background-color: rgba(219, 39, 119, 0.1);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
  background-color: var(--primary-color);
  color: white;
}

.contact-item h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.contact-item p {
  font-size: 0.875rem;
  color: var(--text-gray);
  margin: 0;
  line-height: 1.6;
}

/* Contact Form Enhancements */
.contact-form-wrapper {
  position: relative;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.contact-form-wrapper:hover::before {
  opacity: 0.1;
}

/* Map Container */
#map {
  border-radius: 0.5rem;
  box-shadow: var(--shadow-md);
  animation: fadeIn 1s ease-out;
}

.map-container {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  margin-top: 2rem;
  padding: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
}

.map-container h2 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.map-container #result {
  transition: all 0.3s ease;
  width: 100%;
  border: 2px solid var(--border-color);
  height: 450px;
}

.map-container #status {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-gray);
  padding: 0.5rem;
}

.map-container #mapBtn {
  transition: all 0.3s ease;
}

.map-container #mapBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
}

.map-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(219, 39, 119, 0.1), rgba(124, 58, 237, 0.1));
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.map-container:hover::before {
  opacity: 0.3;
}

/* Quick Help Box */
.quick-help-box {
  background: linear-gradient(135deg, #fdf2f8 0%, #f3e8ff 100%);
  border: 2px solid var(--primary-color);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  animation: fadeIn 1s ease-out;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.quick-help-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

.quick-help-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

/* ===================================
   Tabs
   =================================== */

.tabs {
  width: 100%;
}

.tabs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--border-color);
}

.tab-trigger {
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-gray);
  transition: all 0.3s;
  margin-bottom: -2px;
  position: relative;
}

.tab-trigger::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.tab-trigger:hover::before {
  width: 100%;
}

.tab-trigger.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.tab-trigger.active::before {
  width: 100%;
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.tab-content.active {
  display: block;
}

/* ===================================
   Footer
   =================================== */

.footer {
  background-color: #111827;
  color: #d1d5db;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
  animation: fadeIn 0.8s ease-out;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.footer-brand:hover {
  transform: scale(1.05);
}

.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: 0.5rem;
}

.footer-list a {
  color: #d1d5db;
  font-size: 0.875rem;
  transition: all 0.3s;
  position: relative;
  padding-left: 0;
}

.footer-list a:hover {
  color: var(--primary-color);
  padding-left: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.social-links a {
  color: #d1d5db;
  transition: all 0.3s;
  padding: 0.5rem;
  border-radius: 0.375rem;
}

.social-links a:hover {
  color: var(--primary-color);
  background-color: rgba(219, 39, 119, 0.1);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
}

/* ===================================
   Page Header
   =================================== */

.page-header {
  padding: 2rem 0;
  animation: fadeInUp 0.6s ease-out;
}

.page-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.page-description {
  font-size: 1.25rem;
  color: var(--text-gray);
}

/* ===================================
   Product Detail Page
   =================================== */

.product-detail {
  padding: 2rem 0;
  animation: fadeIn 0.6s ease-out;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
  transition: all 0.3s;
}

.back-btn:hover {
  color: var(--primary-color);
  transform: translateX(-5px);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.product-detail-image {
  aspect-ratio: 1;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: fadeIn 0.8s ease-out;
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-detail-image:hover img {
  transform: scale(1.05);
}

.product-detail-info {
  animation: fadeIn 1s ease-out;
}

.product-detail-info .product-badge {
  position: static;
  display: inline-block;
  margin-bottom: 1rem;
}

.product-detail-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.product-detail-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.product-detail-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.product-detail-description {
  margin-bottom: 2rem;
}

.product-detail-description h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.product-detail-description p {
  color: var(--text-gray);
  line-height: 1.8;
}

.product-meta {
  margin-bottom: 2rem;
}

.product-meta-item {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.product-meta-label {
  color: var(--text-gray);
}

.product-availability {
  color: var(--success-color);
}

.quantity-selector {
  margin-bottom: 2rem;
}

.quantity-selector label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.quantity-cart-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-features {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.product-features h3 {
  margin-bottom: 1rem;
}

.product-features ul {
  list-style: none;
}

.product-features li {
  color: var(--text-gray);
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
}

/* ===================================
   About Page
   =================================== */

.about-hero {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease-out;
}

.about-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.about-hero p {
  font-size: 1.25rem;
  color: var(--text-gray);
  max-width: 800px;
  margin: 0 auto;
}

.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  animation: fadeIn 1s ease-out;
}

.about-story-image {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.about-story-image:hover {
  transform: scale(1.05);
}

.about-story-image img {
  width: 100%;
}

.about-values {
  margin-bottom: 4rem;
}

.about-values h2 {
  text-align: center;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  text-align: center;
  padding: 2rem;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  animation: fadeIn 0.6s ease-out backwards;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.value-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
  transform: scale(1.2) rotate(10deg);
}

.value-card h3 {
  margin-bottom: 0.75rem;
}

.value-card p {
  font-size: 0.875rem;
  color: var(--text-gray);
}

.about-team {
  background-color: var(--bg-light);
  border-radius: 0.5rem;
  padding: 3rem 2rem;
  text-align: center;
  animation: fadeIn 1s ease-out;
}

.about-team h2 {
  margin-bottom: 1.5rem;
}

.about-team p {
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* ===================================
   CTA Section
   =================================== */

.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 4rem 0;
  text-align: center;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
  animation: fadeIn 1s ease-out;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  animation: shimmer 5s infinite;
}

.cta-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  animation: float 3s ease-in-out infinite;
}

.cta-section h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================================
   Alert/Toast Messages
   =================================== */

.toast {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideIn 0.3s ease-out;
  z-index: 9999;
  min-width: 300px;
}

.toast.success {
  border-left: 4px solid var(--success-color);
}

.toast.error {
  border-left: 4px solid var(--error-color);
}

.toast.success::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: var(--success-color);
  color: white;
  font-weight: bold;
}

.toast.error::before {
  content: '✕';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: var(--error-color);
  color: white;
  font-weight: bold;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1024px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
  }
  
  .order-summary {
    position: static;
  }
  
  .product-detail-grid,
  .about-story {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .product-detail-title {
    font-size: 2rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .about-hero h1 {
    font-size: 2rem;
  }
  
  .contact-hero h1 {
    font-size: 2rem;
  }
  
  .quantity-cart-group {
    flex-direction: column;
  }
  
  .quantity-cart-group .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .hero-text h1 {
    font-size: 1.75rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .cart-item {
    grid-template-columns: 80px 1fr;
    gap: 1rem;
    padding: 1rem;
  }
  
  .cart-item-image {
    width: 80px;
    height: 80px;
  }
  
  .cart-item-name {
    font-size: 1rem;
  }
  
  .cart-item-total {
    font-size: 1.25rem;
  }
  
  .cart-item-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .cart-item-price {
    align-items: flex-start;
    width: 100%;
  }
  
  .map-container {
    padding: 1rem;
  }
  
  .map-container #result {
    height: 300px;
  }
}

/* ===================================
   Utilities
   =================================== */

.text-center { text-align: center; }
.text-gray { color: var(--text-gray); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.hidden { display: none; }

/* Add animation delays to staggered elements */
.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }
.contact-item:nth-child(4) { animation-delay: 0.4s; }

.value-card:nth-child(1) { animation-delay: 0.1s; }
.value-card:nth-child(2) { animation-delay: 0.2s; }
.value-card:nth-child(3) { animation-delay: 0.3s; }
.value-card:nth-child(4) { animation-delay: 0.4s; }

.cart-item:nth-child(1) { animation-delay: 0.1s; }
.cart-item:nth-child(2) { animation-delay: 0.2s; }
.cart-item:nth-child(3) { animation-delay: 0.3s; }