/* IRIS & CO - Premium Kaftan E-Commerce Styles */
/* Inspired by Shanour.in elegant minimalism */

:root {
  /* New Brand Colors - Cyan/Crimson Palette */
  --pastel-cyan: #a7e1df;
  --cyan: #5cb9b6;
  --cyan-bright: #72d8d0;
  --crimson: #df4c7c;
  --pastel-crimson: #ec9cb6;
  --deep-crimson: #964559;
  --light-pink: #F3c2da;
  
  /* Primary Actions */
  --primary: var(--crimson);
  --primary-hover: var(--deep-crimson);
  --accent: var(--cyan);
  --accent-light: var(--pastel-cyan);
  
  /* Neutrals */
  --charcoal: #2C2C2C;
  --warm-gray: #F5F5F0;
  --pure-white: #FFFFFF;
  --soft-black: #1a1a1a;
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-max: 1400px;
}

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

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--pure-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Pre-loader Animation */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--pastel-cyan) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-text {
  color: var(--pure-white);
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  padding: 0 20px;
  max-width: 800px;
  animation: fadeInText 0.8s ease-out forwards;
}

@keyframes fadeInText {
  0% { 
    opacity: 0;
    transform: translateY(20px);
  }
  100% { 
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header & Navigation */
.main-header {
  position: sticky;
  top: 0;
  background: var(--pure-white);
  border-bottom: 1px solid rgba(44, 44, 44, 0.1);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.main-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--charcoal);
  text-decoration: none;
  letter-spacing: 2px;
}

.logo-crimson {
  color: var(--crimson);
}

.main-nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
  align-items: center;
}

.main-nav a {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--crimson);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: var(--crimson);
}

.main-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  gap: 24px;
  align-items: center;
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: var(--charcoal);
  transition: color 0.3s ease;
  position: relative;
}

.icon-btn:hover {
  color: var(--crimson);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--crimson);
  color: white;
  font-size: 11px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* Hero Carousel Section */
.hero {
  height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pure-white);
  overflow: hidden;
}

.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(92, 185, 182, 0.65) 0%, rgba(167, 225, 223, 0.55) 100%);
}

.hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(223, 76, 124, 0.3) 0%, transparent 70%);
  animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.hero-content {
  text-align: center;
  z-index: 10;
  max-width: 900px;
  padding: 0 20px;
  position: relative;
}

.hero-tagline-container {
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  position: relative;
}

.hero-tagline {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(-50%) translateY(30px);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  text-align: center;
  width: 100%;
  pointer-events: none;
  padding: 0 20px;
}

.hero-tagline.active {
  opacity: 1;
  transform: translateY(-50%) translateY(0);
  pointer-events: auto;
}

.hero-tagline h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -1px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-tagline p {
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  font-weight: 300;
  letter-spacing: 0.5px;
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  padding: 0 20px;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.5s both;
}

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

.hero-carousel-indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-carousel-indicator {
  width: 40px;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.hero-carousel-indicator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--pure-white);
  transition: width 5s linear;
}

.hero-carousel-indicator.active {
  background: rgba(255, 255, 255, 0.6);
}

.hero-carousel-indicator.active::before {
  width: 100%;
}

.btn {
  padding: 16px 40px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  display: inline-block;
}

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

.btn-primary:hover {
  background: var(--deep-crimson);
  border-color: var(--deep-crimson);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(223, 76, 124, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.btn-secondary:hover {
  background: white;
  color: var(--cyan);
  transform: translateY(-2px);
}

/* Quick Filter Bar */
.quick-filters {
  background: var(--warm-gray);
  padding: 20px 0;
  border-bottom: 1px solid rgba(44, 44, 44, 0.1);
  position: sticky;
  top: 76px;
  z-index: 999;
}

.filter-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-btn {
  background: white;
  border: 1px solid rgba(44, 44, 44, 0.2);
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--crimson);
  color: white;
  border-color: var(--crimson);
  transform: translateY(-2px);
}

/* Brand Story Section */
.brand-story {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--pastel-cyan) 0%, var(--pure-white) 50%, var(--light-pink) 100%);
  position: relative;
  overflow: hidden;
}

.brand-story-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

.brand-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.brand-story-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--charcoal);
  margin-bottom: 24px;
  line-height: 1.2;
}

.brand-story-content .story-highlight {
  color: var(--crimson);
  font-weight: 700;
}

.brand-story-content p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--charcoal);
  margin-bottom: 20px;
  opacity: 0.9;
}

.brand-story-content .story-founder {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 2px solid var(--crimson);
}

.founder-name {
  font-weight: 700;
  color: var(--crimson);
  font-size: 20px;
  margin-bottom: 8px;
}

.founder-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
}

.brand-story-visual {
  position: relative;
  height: 600px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.brand-story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Revolutionary USP Section */
.revolutionary-usp {
  padding: 120px 0;
  background: var(--warm-gray);
  text-align: center;
}

.usp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.usp-container h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--charcoal);
  margin-bottom: 24px;
  line-height: 1.2;
}

.usp-subtitle {
  font-size: 22px;
  color: var(--crimson);
  font-weight: 600;
  margin-bottom: 60px;
  letter-spacing: 0.5px;
}

.usp-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.usp-feature {
  background: white;
  padding: 40px 30px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.usp-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--crimson));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.usp-feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.usp-feature:hover::before {
  transform: scaleX(1);
}

.usp-icon {
  font-size: 48px;
  color: var(--cyan);
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.usp-feature:hover .usp-icon {
  color: var(--crimson);
  transform: scale(1.1);
}

.usp-feature h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.usp-feature p {
  font-size: 16px;
  line-height: 1.7;
  color: #666;
}

/* Emotional Journey Section */
.emotional-journey {
  padding: 120px 0;
  background: var(--pure-white);
}

.journey-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

.journey-header {
  text-align: center;
  margin-bottom: 80px;
}

.journey-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--charcoal);
  margin-bottom: 24px;
  line-height: 1.2;
}

.journey-header p {
  font-size: 20px;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.journey-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  position: relative;
}

.journey-timeline::before {
  content: '';
  position: absolute;
  top: 180px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--crimson), var(--pastel-crimson));
  z-index: 0;
}

.journey-moment {
  position: relative;
  z-index: 1;
  text-align: center;
}

.journey-visual {
  width: 100%;
  height: 350px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 30px;
  position: relative;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.journey-moment:hover .journey-visual {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.journey-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journey-time {
  display: inline-block;
  background: var(--cyan);
  color: white;
  padding: 8px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.journey-moment:nth-child(2) .journey-time {
  background: var(--crimson);
}

.journey-moment:nth-child(3) .journey-time {
  background: var(--pastel-crimson);
}

.journey-moment h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.journey-moment p {
  font-size: 16px;
  line-height: 1.7;
  color: #666;
}

/* Section Container */
.section {
  padding: var(--section-padding);
  max-width: var(--container-max);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--charcoal);
  margin-bottom: 16px;
  font-weight: 600;
}

.section-subtitle {
  font-size: 18px;
  color: #666;
  font-weight: 300;
}

/* Collections Grid */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  padding: 0 40px;
}

.collection-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  height: 500px;
  background: var(--warm-gray);
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.collection-card:hover img {
  transform: scale(1.08);
}

.collection-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  padding: 40px 30px;
  color: white;
  transition: padding 0.3s ease;
}

.collection-card:hover .collection-overlay {
  padding: 50px 30px;
}

.collection-name {
  font-family: var(--font-heading);
  font-size: 32px;
  margin-bottom: 8px;
  font-weight: 600;
}

.collection-count {
  font-size: 14px;
  opacity: 0.9;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px;
  padding: 0 40px;
}

.product-card {
  background: white;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.product-image-container {
  position: relative;
  overflow: hidden;
  padding-top: 125%;
  background: var(--warm-gray);
}

.product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--crimson);
  color: white;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
}

.product-quick-view {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: white;
  color: var(--charcoal);
  padding: 12px 30px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 2px;
  opacity: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.product-card:hover .product-quick-view {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.product-info {
  padding: 24px;
}

.product-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-collection {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 12px;
}

.price-current {
  font-size: 20px;
  font-weight: 700;
  color: var(--charcoal);
}

.price-original {
  font-size: 16px;
  color: #999;
  text-decoration: line-through;
}

/* Trust Signals */
.trust-section {
  background: var(--warm-gray);
  padding: 60px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding: 0 40px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.trust-item {
  text-align: center;
  padding: 30px 20px;
}

.trust-icon {
  font-size: 48px;
  color: var(--cyan);
  margin-bottom: 20px;
}

.trust-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.trust-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Footer */
.main-footer {
  background: var(--soft-black);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--crimson);
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 12px;
}

.footer-section a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--crimson);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .header-container {
    padding: 15px 20px;
  }
  
  .main-nav {
    display: none; /* Will add mobile menu later */
  }
  
  .hero {
    height: 70vh;
    min-height: 500px;
  }
  
  .hero-tagline-container {
    min-height: 160px;
    margin-bottom: 20px;
  }
  
  .hero-tagline h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 12px;
    line-height: 1.2;
  }
  
  .hero-tagline p {
    font-size: clamp(0.85rem, 3.5vw, 1rem);
    max-width: 90%;
    padding: 0 15px;
  }
  
  .hero-ctas {
    gap: 12px;
  }
  
  .btn {
    padding: 12px 28px;
    font-size: 14px;
  }
  
  .collections-grid,
  .products-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .quick-filters {
    top: 66px;
  }
  
  .filter-container {
    padding: 0 20px;
    gap: 12px;
  }
  
  .filter-btn {
    padding: 8px 18px;
    font-size: 13px;
  }
  
  .brand-story {
    padding: 60px 0;
  }
  
  .brand-story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .brand-story-visual {
    height: 400px;
  }
  
  .revolutionary-usp,
  .emotional-journey {
    padding: 60px 0;
  }
  
  .journey-timeline {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .journey-timeline::before {
    display: none;
  }
  
  .journey-visual {
    height: 280px;
  }
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
}

.modal-content {
  background: white;
  border-radius: 4px;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(50px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: white;
  border: none;
  font-size: 32px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  color: var(--charcoal);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.modal-close:hover {
  background: var(--crimson);
  color: white;
  transform: rotate(90deg);
}

/* Quick View Modal */
.quick-view-modal {
  padding: 60px;
}

.quick-view-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.quick-view-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quick-view-main-image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 4px;
}

.quick-view-thumbnails {
  display: flex;
  gap: 12px;
  overflow-x: auto;
}

.thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.thumbnail:hover,
.thumbnail.active {
  opacity: 1;
  border-color: var(--crimson);
}

.quick-view-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quick-view-details h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.quick-view-details .product-description {
  color: #666;
  line-height: 1.8;
  margin: 20px 0;
}

.size-selector {
  margin: 20px 0;
}

.size-selector label {
  display: block;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.size-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.size-btn {
  padding: 12px 24px;
  border: 2px solid var(--charcoal);
  background: white;
  color: var(--charcoal);
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  border-radius: 2px;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.size-btn:hover:not(.out-of-stock) {
  background: var(--charcoal);
  color: white;
}

.size-btn.active {
  background: var(--crimson);
  border-color: var(--crimson);
  color: white;
}

.size-btn.out-of-stock {
  opacity: 0.3;
  cursor: not-allowed;
  position: relative;
}

.size-btn.out-of-stock::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--charcoal);
  transform: rotate(-45deg);
}

.quick-view-details .btn {
  width: 100%;
  text-align: center;
  margin-top: 10px;
}

/* Notifications */
.notification {
  position: fixed;
  top: 100px;
  right: 30px;
  background: white;
  padding: 20px 30px;
  border-radius: 4px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  z-index: 10001;
  transform: translateX(400px);
  transition: transform 0.3s ease;
  font-weight: 500;
  max-width: 400px;
}

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

.notification-success {
  border-left: 4px solid var(--cyan);
}

.notification-error {
  border-left: 4px solid #e74c3c;
}

.notification-info {
  border-left: 4px solid var(--crimson);
}

/* Mobile Modal Adjustments */
@media (max-width: 768px) {
  .quick-view-modal {
    padding: 30px 20px;
  }
  
  .quick-view-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .modal-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 24px;
  }
  
  .notification {
    right: 20px;
    left: 20px;
    max-width: none;
  }
}

/* Gemini Chatbot Widget */
.chatbot-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  font-family: var(--font-body);
}

.chatbot-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--crimson));
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  transition: all 0.3s ease;
}

.chatbot-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.chatbot-toggle.active {
  background: var(--deep-crimson);
}

.chatbot-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  height: 600px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.3s ease-out;
}

.chatbot-window.active {
  display: flex;
}

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

.chatbot-header {
  background: linear-gradient(135deg, var(--cyan), var(--crimson));
  color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-header h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin: 0;
  font-weight: 600;
}

.chatbot-header p {
  font-size: 12px;
  opacity: 0.9;
  margin: 4px 0 0 0;
}

.chatbot-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.chatbot-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: var(--warm-gray);
}

.chat-message {
  margin-bottom: 16px;
  display: flex;
  gap: 12px;
  animation: messageSlide 0.3s ease-out;
}

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

.chat-message.user {
  flex-direction: row-reverse;
}

.message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--crimson));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  flex-shrink: 0;
}

.chat-message.user .message-avatar {
  background: var(--charcoal);
}

.message-content {
  max-width: 70%;
  background: white;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.chat-message.user .message-content {
  background: var(--crimson);
  color: white;
}

.message-loading {
  display: flex;
  gap: 6px;
  padding: 8px 0;
}

.loading-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  animation: dotPulse 1.4s ease-in-out infinite;
}

.loading-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dotPulse {
  0%, 80%, 100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  40% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.chatbot-input-container {
  padding: 20px;
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.chatbot-input-form {
  display: flex;
  gap: 12px;
}

.chatbot-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--warm-gray);
  border-radius: 24px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
  font-family: var(--font-body);
}

.chatbot-input:focus {
  border-color: var(--cyan);
}

.chatbot-send {
  background: linear-gradient(135deg, var(--cyan), var(--crimson));
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.chatbot-send:hover:not(:disabled) {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.chatbot-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.chatbot-quick-questions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.quick-question {
  background: white;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quick-question:hover {
  background: var(--cyan);
  color: white;
}

/* Mobile Chatbot */
@media (max-width: 768px) {
  .chatbot-window {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 85vh;
    border-radius: 16px 16px 0 0;
  }
  
  .chatbot-toggle {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    font-size: 24px;
  }
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.skeleton {
  background: linear-gradient(90deg, var(--warm-gray) 25%, #e0e0e0 50%, var(--warm-gray) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
