/* Dosti Mart - Modern Fashion Store CSS */

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand Colors - Fashion Forward */
  --primary-color: #1a1a2e;
  --secondary-color: #16213e;
  --accent-color: #e94560;
  --accent-hover: #d63447;
  --success-color: #00a651;
  --warning-color: #f39c12;
  
  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #e9ecef;
  --bg-dark: #1a1a2e;
  
  /* Text Colors */
  --text-primary: #212529;
  --text-secondary: #6c757d;
  --text-light: #adb5bd;
  --text-white: #ffffff;
  
  /* Borders */
  --border-color: #dee2e6;
  --border-radius: 8px;
  --border-radius-lg: 16px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.15);
  
  /* Transitions */
  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navigation */
.navbar {
  background: var(--bg-primary);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.75rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

.nav-logo span {
  color: var(--accent-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: var(--transition);
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-primary);
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  border-bottom: none !important;
}

.dropdown-menu a:hover {
  background: var(--bg-secondary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-icon {
  position: relative;
  color: var(--text-primary);
  transition: var(--transition);
}

.nav-icon:hover {
  color: var(--accent-color);
}

.nav-icon svg {
  width: 24px;
  height: 24px;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--accent-color);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 12px;
  min-width: 18px;
  text-align: center;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  min-height: 700px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(233, 69, 96, 0.3) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
  color: var(--text-white);
  position: relative;
  z-index: 1;
  animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
  animation: fadeInUp 0.6s ease-out 0.3s both;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-title span {
  display: inline-block;
  background: linear-gradient(90deg, #fff, #f0f0f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 500px;
  animation: fadeInUp 0.6s ease-out 0.4s both;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.6s ease-out 0.5s both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 0.6s ease-out 0.6s both;
}

.btn-hero-primary {
  background: white;
  color: #764ba2;
  padding: 1rem 3rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-hero-secondary {
  background: transparent;
  color: white;
  padding: 1rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-image-placeholder {
  width: 100%;
  max-width: 450px;
  height: 550px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  animation: floatAnimation 4s ease-in-out infinite;
}

@keyframes floatAnimation {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}

.hero-image-placeholder::before {
  content: "✨";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 8rem;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.hero-image-placeholder::after {
  content: "NEW COLLECTION";
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  text-align: center;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  text-align: center;
}

.btn-primary {
  background: var(--accent-color);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.btn-large {
  padding: 1rem 3rem;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
  display: block;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 2rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Featured Carousel */
.featured-section {
  padding: 4rem 0;
  background: var(--bg-secondary);
}

.carousel-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1rem 0;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: none;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--text-primary);
  z-index: 10;
  transition: var(--transition);
}

.carousel-btn:hover {
  background: var(--accent-color);
  color: white;
}

.carousel-btn.prev {
  left: 1rem;
}

.carousel-btn.next {
  right: 1rem;
}

/* Product Cards */
.product-card {
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  min-width: 280px;
  flex-shrink: 0;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.product-card.large {
  min-width: 320px;
}

.product-image-container {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.discount-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 0.85rem;
}

.discount-badge.large {
  font-size: 1rem;
  padding: 0.5rem 1rem;
}

.product-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.product-card:hover .product-overlay {
  opacity: 1;
  transform: translateY(0);
}

.quick-add-btn {
  width: 100%;
  padding: 0.75rem;
  background: white;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.quick-add-btn:hover {
  background: var(--accent-color);
  color: white;
}

.product-info {
  padding: 1.25rem;
}

.product-category {
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.5rem 0;
  color: var(--text-primary);
  line-height: 1.3;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.star {
  color: #ddd;
  font-size: 0.9rem;
}

.star.filled {
  color: #ffc107;
}

.star.half {
  color: #ffc107;
  position: relative;
}

.review-count {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.current-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-color);
}

.current-price.large {
  font-size: 1.75rem;
}

.original-price {
  color: var(--text-secondary);
  text-decoration: line-through;
  font-size: 0.95rem;
}

/* Categories Grid */
.categories-section {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.category-card {
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid transparent;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: var(--shadow-lg);
}

.category-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.category-card h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.category-count {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Products Grid */
.products-section {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

/* Trust Section */
.trust-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  background: var(--bg-secondary);
}

.trust-badge {
  text-align: center;
  padding: 2rem;
}

.trust-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.trust-badge h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.trust-badge p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: var(--text-white);
  padding: 4rem 2rem 2rem;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto 3rem;
}

.footer-section h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--text-white);
}

.footer-section p {
  color: var(--text-light);
  line-height: 1.8;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.payment-methods-footer {
  margin-bottom: 1.5rem;
}

.payment-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.payment-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.payment-icon span {
  color: var(--text-light);
  font-size: 0.85rem;
}

.footer-bottom p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Page Header */
.page-header {
  text-align: center;
  padding: 4rem 2rem 2rem;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Product Detail Page */
.product-detail-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.product-detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.product-detail-image {
  position: relative;
}

.product-detail-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.product-detail-info {
  padding: 2rem 0;
}

.breadcrumb {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent-color);
}

.product-detail-name {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.product-detail-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.product-detail-rating span {
  color: var(--text-secondary);
}

.product-detail-price {
  margin-bottom: 1.5rem;
}

.product-detail-description {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.product-meta {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.product-meta p {
  margin-bottom: 0.5rem;
}

.product-features {
  margin-bottom: 2rem;
}

.product-features h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.product-features ul {
  list-style: none;
  padding-left: 0;
}

.product-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.product-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
}

.size-selector {
  margin-bottom: 2rem;
}

.size-selector h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.size-options {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.size-btn {
  min-width: 50px;
  height: 50px;
  border: 2px solid var(--border-color);
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.size-btn:hover,
.size-btn.selected {
  border-color: var(--accent-color);
  background: var(--accent-color);
  color: white;
}

.quantity-selector {
  margin-bottom: 2rem;
}

.quantity-selector h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.quantity-controls {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
}

.quantity-controls button {
  width: 50px;
  height: 50px;
  border: none;
  background: transparent;
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
}

.quantity-controls button:hover {
  background: var(--bg-secondary);
}

.quantity-controls span {
  width: 60px;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.product-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.product-trust {
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: var(--border-radius);
}

.trust-item {
  padding: 0.5rem 0;
  color: var(--text-secondary);
}

.related-products {
  margin-top: 4rem;
}

/* Cart Page */
.cart-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.empty-cart {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-cart-icon {
  font-size: 6rem;
  margin-bottom: 2rem;
}

.empty-cart h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.empty-cart p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.cart-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto auto auto;
  gap: 1.5rem;
  align-items: center;
  background: var(--bg-primary);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.cart-item-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

.cart-item-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.cart-item-category {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.cart-item-size {
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.cart-item-price {
  font-weight: 600;
  margin-top: 0.5rem;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
}

.cart-item-quantity button {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
}

.cart-item-quantity span {
  width: 50px;
  text-align: center;
  font-weight: 600;
}

.cart-item-total p {
  font-size: 1.25rem;
  font-weight: 700;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
}

.cart-item-remove:hover {
  color: var(--accent-color);
}

.cart-summary {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.cart-summary h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.summary-row.total {
  font-size: 1.25rem;
  font-weight: 700;
  border-bottom: none;
  margin-top: 1rem;
}

.free-shipping-hint {
  background: #fff3cd;
  color: #856404;
  padding: 0.75rem;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.cart-summary .btn {
  margin-top: 1.5rem;
}

/* Checkout Page */
.checkout-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.checkout-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.checkout-form {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.form-section {
  margin-bottom: 2.5rem;
}

.form-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.payment-option {
  display: block;
  cursor: pointer;
}

.payment-option input {
  display: none;
}

.payment-option-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.payment-option.selected .payment-option-content,
.payment-option:hover .payment-option-content {
  border-color: var(--accent-color);
  background: rgba(233, 69, 96, 0.05);
}

.payment-logo {
  flex-shrink: 0;
}

.payment-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.payment-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.checkout-summary {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.checkout-summary h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.checkout-items {
  margin-bottom: 1.5rem;
  max-height: 400px;
  overflow-y: auto;
}

.checkout-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.checkout-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.checkout-item-info {
  flex: 1;
}

.checkout-item-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.checkout-item-info p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.checkout-item-price {
  font-weight: 600;
  white-space: nowrap;
}

.summary-details {
  margin-top: 1.5rem;
}

.checkout-trust {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.checkout-trust p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Notification */
.notification {
  position: fixed;
  top: 100px;
  right: 20px;
  background: var(--primary-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  transform: translateX(100px);
  transition: var(--transition);
  z-index: 2000;
  font-weight: 600;
}

.notification.show {
  opacity: 1;
  transform: translateX(0);
}

/* Main Content */
.main-content {
  min-height: calc(100vh - 300px);
}

/* Policy Pages */
.policy-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.policy-content {
  background: var(--bg-primary);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.policy-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.policy-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.5rem;
}

.policy-content p {
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.policy-content ul,
.policy-content ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.policy-content li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.policy-content a {
  color: var(--accent-color);
  text-decoration: none;
}

.policy-content a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding: 3rem 2rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    max-width: 100%;
  }
  
  .hero-image {
    display: none;
  }
  
  .product-detail-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .cart-container {
    grid-template-columns: 1fr;
  }
  
  .checkout-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .nav-container {
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .product-card {
    min-width: 240px;
  }
  
  .cart-item {
    grid-template-columns: 100px 1fr;
    gap: 1rem;
  }
  
  .cart-item-quantity,
  .cart-item-total {
    grid-column: 2;
  }
  
  .cart-item-remove {
    position: absolute;
    top: 1rem;
    right: 1rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .product-actions {
    flex-direction: column;
  }
  
  .policy-content {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .btn-large {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
  
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Promo Banner */
.promo-banner {
  background: linear-gradient(90deg, #e94560, #764ba2);
  color: white;
  padding: 1rem 2rem;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.promo-banner a {
  color: white;
  text-decoration: underline;
  margin-left: 0.5rem;
}

.promo-banner strong {
  font-size: 1.2rem;
  margin: 0 0.5rem;
}

/* Enhanced Categories */
.categories-section {
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.category-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e94560, #764ba2);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.category-card:hover::before {
  transform: scaleX(1);
}

.category-card:hover {
  transform: translateY(-10px);
  border-color: rgba(233, 69, 96, 0.2);
  box-shadow: 0 20px 40px rgba(233, 69, 96, 0.15);
}

.category-icon {
  font-size: 4rem;
  margin-bottom: 1.25rem;
  display: block;
  transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
  transform: scale(1.2) rotate(5deg);
}

.category-card h3 {
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.category-count {
  color: var(--text-secondary);
  font-size: 0.95rem;
  background: var(--bg-secondary);
  padding: 0.25rem 1rem;
  border-radius: 20px;
  display: inline-block;
}

/* Featured Section Enhancement */
.featured-section {
  padding: 5rem 0;
  background: white;
  position: relative;
}

.featured-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e9ecef, transparent);
}

/* Products Section Enhancement */
.products-section {
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  background: #f8f9fa;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 2rem;
}

.section-header h2 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #e94560, #764ba2);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-top: 1rem;
}

/* Trust Section Enhancement */
.trust-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.trust-badge {
  text-align: center;
  padding: 2.5rem;
  background: white;
  border-radius: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.trust-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.trust-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.trust-badge h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.trust-badge p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 5rem 2rem;
  text-align: center;
  color: white;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.newsletter-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  outline: none;
}

.newsletter-form button {
  padding: 1rem 2.5rem;
  background: white;
  color: #764ba2;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .hero-stats {
    gap: 1.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    text-align: center;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form button {
    width: 100%;
  }
}
