/* =============================================
   DRAPE — COMPLETE STYLESHEET v2
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --cream: #faf8f5;
  --warm-gray: #f5f2ee;
  --gray-100: #f0ece7;
  --gray-300: #d4cfc9;
  --gray-400: #b0a9a1;
  --gray-500: #8a8178;
  --gray-700: #4a4540;
  --gray-800: #2d2926;
  --accent: #c4956a;
  --red: #e05555;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,.1);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.15);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --header-h: 100px;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { font-family: var(--font-body); background: var(--cream); color: var(--gray-800); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }

/* ---- HEADER ---- */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(250,248,245,.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-300);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }

.header-top {
  background: var(--black);
  color: rgba(255,255,255,.8);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.nav {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 68px;
  position: relative;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700;
  letter-spacing: 0.18em; color: var(--black);
  position: absolute; left: 50%; transform: translateX(-50%);
}

.nav-left, .nav-right { display: flex; align-items: center; gap: 8px; }

.nav-icon-btn {
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px; color: var(--gray-700);
  transition: all var(--transition);
}
.nav-icon-btn:hover { background: var(--gray-100); color: var(--black); }
.nav-icon-btn span { display: block; width: 20px; height: 1.5px; background: var(--gray-700); margin: 3px 0; }

.nav-cart-btn { position: relative; }
.cart-indicator {
  position: absolute; top: 4px; right: 4px;
  width: 16px; height: 16px;
  background: var(--black); color: white;
  font-size: 0.6rem; font-weight: 600;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.search-bar { display: none; padding: 12px 0; border-top: 1px solid var(--gray-300); background: var(--cream); }
.search-bar.open { display: block; }
.search-bar .container { display: flex; align-items: center; gap: 12px; }
.search-bar input {
  flex: 1; border: none; background: none;
  font-family: var(--font-body); font-size: 1rem;
  color: var(--black); outline: none; padding: 8px 0;
  border-bottom: 1.5px solid var(--gray-300);
}
.search-bar input:focus { border-bottom-color: var(--black); }
.search-bar button { background: none; border: none; cursor: pointer; font-size: 1rem; color: var(--gray-500); padding: 8px; }

/* ---- HERO SLIDER ---- */
.hero {
  margin-top: var(--header-h);
  position: relative;
  overflow: hidden;
  height: calc(100vh - var(--header-h));
  min-height: 500px;
}

.hero-slider { width: 100%; height: 100%; position: relative; }

.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: all; }

.hero-slide-bg {
  position: absolute; inset: 0;
}
.hero-slide-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.65) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
}

.hero-slide-content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column;
  justify-content: center;
  padding-top: 40px; padding-bottom: 60px;
  max-width: 600px;
}

.hero-label {
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.hero-label::before { content: ''; display: block; width: 32px; height: 1px; background: var(--accent); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 400; line-height: 1.05;
  color: white; margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.hero-title em { font-style: italic; color: var(--accent); }

.hero-desc {
  font-size: 1rem; color: rgba(255,255,255,.8);
  line-height: 1.75; max-width: 460px; margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-hero {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; color: var(--black);
  padding: 14px 32px;
  font-family: var(--font-body); font-size: 0.82rem;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1.5px solid white; transition: all var(--transition); cursor: pointer;
}
.btn-hero:hover { background: var(--accent); border-color: var(--accent); color: white; }

.btn-hero-ghost {
  display: inline-flex; align-items: center;
  background: transparent; color: white;
  padding: 14px 32px;
  font-family: var(--font-body); font-size: 0.82rem;
  font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1.5px solid rgba(255,255,255,.5); transition: all var(--transition); cursor: pointer;
}
.btn-hero-ghost:hover { border-color: white; background: rgba(255,255,255,.1); }

/* Slider arrows */
.hero-prev, .hero-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; background: rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.3);
  color: white; width: 48px; height: 48px;
  border-radius: 50%; font-size: 1.5rem;
  cursor: pointer; transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.hero-prev { left: 24px; }
.hero-next { right: 24px; }
.hero-prev:hover, .hero-next:hover { background: rgba(255,255,255,.3); }

.hero-dots {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.hero-dots .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.4); cursor: pointer;
  transition: all var(--transition);
}
.hero-dots .dot.active { width: 24px; border-radius: 3px; background: white; }

/* ---- MARQUEE ---- */
.marquee-strip { background: var(--black); overflow: hidden; padding: 14px 0; }
.marquee-track {
  display: flex; gap: 32px; white-space: nowrap;
  animation: marquee 20s linear infinite; width: max-content;
}
.marquee-track span {
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- SECTION HEADS ---- */
.section-head { margin-bottom: 48px; }
.section-label {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--accent); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400; color: var(--black); line-height: 1.1;
}

/* ---- CATEGORIES ---- */
.categories { background: var(--cream); }
.categories-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 16px;
}
.cat-card {
  border-radius: 6px; overflow: hidden;
  aspect-ratio: 3/4; position: relative; cursor: pointer;
  transition: transform var(--transition);
}
.cat-card:hover { transform: scale(1.02); }
.cat-card.cat-large { aspect-ratio: 2/3; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cat-card:hover img { transform: scale(1.05); }
.cat-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
  color: white;
}
.cat-info h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; margin-bottom: 2px; }
.cat-info span { font-size: 0.75rem; opacity: 0.8; letter-spacing: 0.08em; }

/* ---- FILTER BUTTONS ---- */
.products-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-btn {
  padding: 8px 20px; background: none;
  border: 1.5px solid var(--gray-300);
  font-family: var(--font-body); font-size: 0.78rem;
  font-weight: 500; letter-spacing: 0.06em;
  cursor: pointer; color: var(--gray-700);
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--black); border-color: var(--black); color: white;
}

/* ---- PRODUCTS GRID ---- */
.products-section { background: var(--warm-gray); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ---- PRODUCT CARD ---- */
.product-card {
  background: white;
  border-radius: 6px;
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.prod-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.prod-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.product-card:hover .prod-img-wrap img { transform: scale(1.05); }

.prod-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.badge-new { background: var(--black); color: white; }
.badge-sale { background: var(--red); color: white; }

.prod-wishlist {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px;
  background: white; border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  opacity: 0;
}
.product-card:hover .prod-wishlist { opacity: 1; }
.prod-wishlist:hover { transform: scale(1.15); }
.prod-wishlist.liked { opacity: 1; background: #fff0f0; }

.prod-add-btn {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 13px;
  background: rgba(10,10,10,.9); color: white;
  border: none;
  font-family: var(--font-body); font-size: 0.78rem;
  font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.product-card:hover .prod-add-btn { transform: translateY(0); }
.prod-add-btn:hover { background: var(--accent); }

.prod-info { padding: 14px; }
.prod-cat {
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 4px;
}
.prod-name {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 600;
  color: var(--black); margin-bottom: 8px; line-height: 1.3;
}
.prod-pricing { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.prod-price { font-size: 0.95rem; font-weight: 600; color: var(--black); }
.prod-mrp { font-size: 0.82rem; color: var(--gray-400); text-decoration: line-through; }
.prod-discount { font-size: 0.72rem; font-weight: 600; color: var(--red); }

/* ---- LOOKBOOK ---- */
.lookbook-scroll {
  display: flex; gap: 16px;
  overflow-x: auto; scrollbar-width: none;
  padding-bottom: 8px; scroll-snap-type: x mandatory;
}
.lookbook-scroll::-webkit-scrollbar { display: none; }
.lookbook-item {
  flex-shrink: 0; width: 240px;
  border-radius: 10px; overflow: hidden;
  scroll-snap-align: start; position: relative; cursor: pointer;
}
.lookbook-item img { width: 100%; height: 320px; object-fit: cover; transition: transform 0.4s ease; }
.lookbook-item:hover img { transform: scale(1.04); }
.lookbook-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 14px 14px;
  background: linear-gradient(to top, rgba(0,0,0,.65), transparent);
  color: white; font-size: 0.82rem;
}
.lookbook-tag {
  display: inline-block; background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px); padding: 3px 10px;
  border-radius: 20px; font-size: 0.7rem; margin-bottom: 6px; letter-spacing: 0.06em;
}
.lookbook-name { font-family: var(--font-display); font-size: 1rem; font-weight: 600; }

/* ---- PROMO BANNER ---- */
.promo-banner { background: var(--black); padding: 64px 0; }
.promo-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.promo-label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.promo-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; color: white; margin-bottom: 16px; line-height: 1.1; }
.promo-desc { color: rgba(255,255,255,.55); font-size: 0.95rem; line-height: 1.7; max-width: 440px; margin-bottom: 32px; }
.btn-promo {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: white; padding: 14px 32px;
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: none; cursor: pointer; transition: all var(--transition);
}
.btn-promo:hover { background: #b8845c; transform: translateY(-2px); }
.promo-visual { text-align: right; }
.promo-number { font-family: var(--font-display); font-size: clamp(5rem, 12vw, 10rem); font-weight: 700; color: rgba(255,255,255,.08); line-height: 0.9; letter-spacing: -0.04em; }
.promo-number span { font-size: 0.5em; }
.promo-sub { font-family: var(--font-display); font-size: 2rem; color: var(--accent); letter-spacing: 0.3em; margin-top: -8px; }

/* ---- TESTIMONIALS ---- */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testi-card {
  padding: 28px; border: 1px solid var(--gray-100);
  border-radius: 14px; background: var(--cream);
  transition: all var(--transition);
}
.testi-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.testi-stars { color: #f59e0b; font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 14px; }
.testi-text { font-size: 0.92rem; color: var(--gray-700); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
.testi-name { font-weight: 600; font-size: 0.88rem; color: var(--black); }
.testi-role { font-size: 0.75rem; color: var(--gray-400); }

/* ---- FEATURES ---- */
.features { background: var(--cream); }
.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; text-align: center; }
.feature-item { padding: 24px 16px; }
.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-item h4 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--black); margin-bottom: 6px; }
.feature-item p { font-size: 0.85rem; color: var(--gray-500); }

/* ---- FOOTER ---- */
.footer { background: var(--black); color: rgba(255,255,255,.6); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { font-family: var(--font-display); font-size: 2rem; font-weight: 700; letter-spacing: 0.18em; color: white; margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { font-size: 1.2rem; transition: transform var(--transition); }
.footer-socials a:hover { transform: scale(1.2); }
.footer-col h4 { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: white; margin-bottom: 20px; }
.footer-col a { display: block; font-size: 0.88rem; margin-bottom: 10px; transition: color var(--transition); }
.footer-col a:hover { color: white; }
.footer-newsletter { display: flex; }
.footer-newsletter input { flex: 1; padding: 12px 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-right: none; color: white; font-family: var(--font-body); font-size: 0.85rem; outline: none; }
.footer-newsletter input::placeholder { color: rgba(255,255,255,.35); }
.footer-newsletter button { padding: 12px 18px; background: var(--accent); border: none; color: white; font-size: 1rem; cursor: pointer; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; font-size: 0.8rem; flex-wrap: wrap; gap: 8px; }

/* ---- CART SIDEBAR ---- */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 900; opacity: 0; pointer-events: none; transition: opacity var(--transition); }
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-sidebar { position: fixed; top: 0; right: 0; width: 420px; height: 100vh; background: var(--cream); z-index: 1000; display: flex; flex-direction: column; transform: translateX(100%); transition: transform var(--transition); box-shadow: var(--shadow-lg); }
.cart-sidebar.open { transform: translateX(0); }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px; border-bottom: 1px solid var(--gray-300); }
.cart-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.cart-count { font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; background: var(--black); color: white; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.cart-close { width: 36px; height: 36px; background: var(--gray-100); border: none; border-radius: 50%; cursor: pointer; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.cart-close:hover { background: var(--black); color: white; }
.cart-items { flex: 1; overflow-y: auto; padding: 20px 28px; }
.cart-empty { text-align: center; padding: 60px 20px; }
.cart-empty-icon { font-size: 3rem; margin-bottom: 16px; }
.cart-empty p { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 6px; }
.cart-empty span { font-size: 0.85rem; color: var(--gray-400); }
.cart-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--gray-100); animation: slideIn 0.3s ease; }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.cart-item-img { width: 72px; height: 90px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.cart-item-meta { font-size: 0.78rem; color: var(--gray-400); margin-bottom: 10px; }
.cart-item-controls { display: flex; align-items: center; gap: 12px; }
.qty-btn { width: 26px; height: 26px; background: var(--gray-100); border: none; border-radius: 4px; cursor: pointer; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.qty-btn:hover { background: var(--black); color: white; }
.qty-num { font-size: 0.9rem; font-weight: 500; min-width: 20px; text-align: center; }
.cart-item-price { font-size: 0.9rem; font-weight: 600; align-self: flex-start; margin-top: 4px; }
.cart-item-remove { background: none; border: none; cursor: pointer; color: var(--gray-400); font-size: 0.8rem; transition: color var(--transition); align-self: flex-start; padding: 4px; }
.cart-item-remove:hover { color: var(--red); }
.cart-footer { padding: 20px 28px; border-top: 1px solid var(--gray-300); background: white; }
.cart-subtotal { display: flex; justify-content: space-between; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin-bottom: 6px; }
.cart-note { font-size: 0.75rem; color: var(--gray-400); margin-bottom: 16px; }
.btn-checkout { width: 100%; padding: 16px; background: var(--black); color: white; border: none; font-family: var(--font-body); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: all var(--transition); margin-bottom: 10px; }
.btn-checkout:hover { background: var(--gray-800); }
.btn-continue { width: 100%; padding: 12px; background: transparent; color: var(--gray-700); border: 1.5px solid var(--gray-300); font-family: var(--font-body); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: all var(--transition); }
.btn-continue:hover { border-color: var(--black); color: var(--black); }

/* ---- CHATBOT ---- */
.chatbot-widget { position: fixed; bottom: 28px; right: 28px; z-index: 800; }
.chatbot-toggle { width: 56px; height: 56px; background: var(--black); border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; box-shadow: 0 8px 32px rgba(0,0,0,.3); transition: transform 0.3s ease; position: relative; }
.chatbot-toggle:hover { transform: scale(1.08); }
.chatbot-badge { position: absolute; top: -4px; right: -4px; width: 18px; height: 18px; background: var(--red); color: white; border-radius: 50%; font-size: 0.65rem; font-weight: 700; display: flex; align-items: center; justify-content: center; animation: pulseBadge 2s infinite; }
@keyframes pulseBadge { 0%,100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.chatbot-panel { position: absolute; bottom: 72px; right: 0; width: 360px; background: white; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; display: none; flex-direction: column; max-height: 520px; border: 1px solid var(--gray-300); }
.chatbot-panel.open { display: flex; animation: panelIn 0.3s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes panelIn { from { opacity: 0; transform: translateY(20px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
.chatbot-header { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--black); color: white; }
.chatbot-avatar { width: 38px; height: 38px; background: linear-gradient(135deg, var(--accent), #e8b88a); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; flex-shrink: 0; }
.chatbot-name { font-family: var(--font-display); font-size: 1rem; font-weight: 600; }
.chatbot-status { font-size: 0.72rem; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 5px; }
.online-dot { width: 6px; height: 6px; background: #4ade80; border-radius: 50%; animation: blink 2s infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.chatbot-minimize { margin-left: auto; background: rgba(255,255,255,.12); border: none; color: white; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; }
.chatbot-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--cream); }
.chat-msg { display: flex; }
.chat-msg.bot { justify-content: flex-start; }
.chat-msg.user { justify-content: flex-end; }
.chat-bubble { max-width: 80%; padding: 10px 14px; border-radius: 16px; font-size: 0.87rem; line-height: 1.55; }
.chat-msg.bot .chat-bubble { background: white; color: var(--gray-800); border-bottom-left-radius: 4px; box-shadow: var(--shadow-sm); }
.chat-msg.user .chat-bubble { background: var(--black); color: white; border-bottom-right-radius: 4px; }
.chat-typing { display: flex; gap: 4px; padding: 12px 14px; background: white; border-radius: 16px; border-bottom-left-radius: 4px; width: fit-content; box-shadow: var(--shadow-sm); }
.chat-typing span { width: 6px; height: 6px; background: var(--gray-400); border-radius: 50%; animation: typingAnim 1.2s ease-in-out infinite; }
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingAnim { 0%,60%,100% { transform: translateY(0); } 30% { transform: translateY(-6px); } }
.chat-suggestions { display: flex; flex-wrap: wrap; gap: 6px; }
.suggestion-chip { padding: 6px 12px; background: white; border: 1px solid var(--gray-300); border-radius: 20px; font-family: var(--font-body); font-size: 0.75rem; cursor: pointer; color: var(--gray-700); transition: all var(--transition); }
.suggestion-chip:hover { background: var(--black); color: white; border-color: var(--black); }
.chatbot-input-area { padding: 12px 14px; border-top: 1px solid var(--gray-100); background: white; }
.api-key-section { display: flex; gap: 8px; }
.api-key-section input { flex: 1; padding: 9px 12px; border: 1.5px solid var(--gray-300); border-radius: 6px; font-family: var(--font-body); font-size: 0.8rem; outline: none; background: var(--cream); }
.api-key-section input:focus { border-color: var(--black); }
.api-key-section button { padding: 9px 14px; background: var(--black); color: white; border: none; border-radius: 6px; font-family: var(--font-body); font-size: 0.78rem; font-weight: 500; cursor: pointer; }
.chat-input-row { display: flex; gap: 8px; align-items: center; }
.chat-input-row input { flex: 1; padding: 10px 14px; border: 1.5px solid var(--gray-300); border-radius: 20px; font-family: var(--font-body); font-size: 0.87rem; outline: none; transition: border-color var(--transition); }
.chat-input-row input:focus { border-color: var(--black); }
#chatSend { width: 38px; height: 38px; background: var(--black); border: none; border-radius: 50%; color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all var(--transition); }
#chatSend:hover { background: var(--accent); }

/* ---- TOAST ---- */
.toast { position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--black); color: white; padding: 12px 24px; border-radius: 20px; font-size: 0.85rem; font-weight: 500; opacity: 0; pointer-events: none; transition: all 0.3s ease; white-space: nowrap; z-index: 2000; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .cat-card.cat-large { grid-row: span 2; }
  .products-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .testi-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --header-h: 90px; }
  .section { padding: 60px 0; }
  .hero { height: 70vh; }
  .hero-slide-overlay { background: linear-gradient(to bottom, rgba(0,0,0,.5), rgba(0,0,0,.3)); }
  .hero-slide-content { justify-content: flex-end; padding-bottom: 60px; }
  .hero-title { font-size: 2.8rem; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .cat-card.cat-large { grid-column: span 2; aspect-ratio: 16/7; }
  .products-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .promo-inner { flex-direction: column; }
  .promo-visual { display: none; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .cart-sidebar { width: 100vw; }
  .chatbot-panel { width: calc(100vw - 32px); right: -14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-prev, .hero-next { display: none; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; }
  .btn-hero, .btn-hero-ghost { width: 100%; text-align: center; justify-content: center; }
}
