/* ===== Blue Dhaka — Solar Marigold & Yellow Luxe Styles ===== */

:root {
  --primary: #F59E0B;          /* Solar Radiant Yellow */
  --primary-bright: #FBBF24;   /* Vivid Gold Yellow */
  --primary-dark: #D97706;    /* Amber Ochre */
  --primary-light: #FEF3C7;   /* Pale Butter */
  --midnight: #0F172A;         /* Deep Midnight Slate */
  --midnight-card: #1E293B;
  --surface: #FFFDF5;          /* Warm Cream Porcelain */
  --surface-pure: #FFFFFF;
  --text-charcoal: #0F172A;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --border-yellow: #FDE68A;
  --trust-sage: #15803D;
  --whatsapp: #25D366;
  --error: #DC2626;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-charcoal);
  background-color: var(--surface);
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Playfair Display', serif;
}

/* ===================================================
   CONTINUOUS SCROLLING MOTION ANIMATION (HERO LOOKBOOK)
   =================================================== */

@keyframes marqueeUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

@keyframes marqueeDown {
  0% {
    transform: translateY(-50%);
  }
  100% {
    transform: translateY(0);
  }
}

.animate-marquee-up {
  animation: marqueeUp 22s linear infinite;
  will-change: transform;
}

.animate-marquee-down {
  animation: marqueeDown 24s linear infinite;
  will-change: transform;
}

.marquee-container:hover .animate-marquee-up,
.marquee-container:hover .animate-marquee-down {
  animation-play-state: paused;
}

/* Running Ticker Animation */
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-ticker {
  display: flex;
  width: 200%;
  animation: ticker 25s linear infinite;
}
.animate-ticker:hover {
  animation-play-state: paused;
}

/* ===================================================
   PRODUCT SHOWCASE & BUYING STUDIO
   =================================================== */

/* Color Swatches */
.color-swatch {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.color-swatch:hover {
  transform: scale(1.15);
}
.color-swatch.active {
  border-color: #0F172A;
  box-shadow: 0 0 0 3px #F59E0B;
}
.color-swatch .check-icon {
  color: white;
  font-size: 18px;
  display: none;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.6));
}
.color-swatch.active .check-icon {
  display: block;
}

/* Sizing Buttons Grid */
.size-pill {
  min-width: 58px;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 13px;
  font-weight: 700;
  background: #FFFFFF;
  color: var(--text-charcoal);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.size-pill:hover:not(.sold-out) {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-1px);
}
.size-pill.active {
  background: #0F172A !important;
  color: #FBBF24 !important;
  border-color: #0F172A !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}
.size-pill.sold-out {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
  background: #F1F5F9;
  border-color: #E2E8F0;
}
.size-pill .bust-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  margin-top: 2px;
  opacity: 0.75;
}

/* Product Gallery Zoom */
.main-image-container {
  overflow: hidden;
  border-radius: 16px;
  position: relative;
  background-color: #F1F5F9;
}
.main-image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0, 0.2, 1);
}
.main-image-container:hover img {
  transform: scale(1.08);
}

/* Thumbnails */
.thumbnail-strip .thumb {
  width: 72px;
  height: 96px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.thumbnail-strip .thumb:hover {
  opacity: 0.9;
}
.thumbnail-strip .thumb.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-light);
}
.thumbnail-strip .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CTA Buttons */
.btn-buy-now {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #0F172A;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 15px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}
.btn-buy-now:hover {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.btn-add-cart {
  background: #0F172A;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 15px 24px;
  border-radius: 8px;
  border: 1px solid #334155;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.btn-add-cart:hover {
  background: #1E293B;
  border-color: #F59E0B;
  color: #FBBF24;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.3);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  font-weight: 700;
  font-size: 13px;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.btn-whatsapp:hover {
  background: #1EBE5D;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Accordions */
.accordion-section {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 8px;
  background: white;
}
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  background: white;
  transition: background 0.15s;
}
.accordion-header:hover {
  background: #FFFDF5;
}
.accordion-header .chevron {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.accordion-header.open .chevron {
  transform: rotate(180deg);
}
.accordion-body {
  display: none;
  padding: 0 18px 16px;
  font-size: 13px;
  line-height: 22px;
  color: var(--text-muted);
}
.accordion-body.open {
  display: block;
}

/* Product Cards */
.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover {
  border-color: var(--border-yellow);
  box-shadow: 0 12px 28px -6px rgba(245, 158, 11, 0.15);
  transform: translateY(-4px);
}
.product-card .card-image {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  background: #F8FAFC;
}
.product-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
}
.product-card:hover .card-image img {
  transform: scale(1.06);
}

/* Toasts */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  padding: 14px 22px;
  border-radius: 10px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.3s cubic-bezier(0.2, 0, 0.2, 1), toastOut 0.3s cubic-bezier(0.2, 0, 0.2, 1) 2.7s forwards;
}
.toast.success { background: #0F172A; border-left: 4px solid #F59E0B; color: #FFFDF5; }
.toast.error { background: #DC2626; }
.toast.info { background: #F59E0B; color: #0F172A; }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-10px); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #F59E0B;
  border-radius: 3px;
}

@media (max-width: 768px) {
  .thumbnail-strip {
    flex-direction: row;
    overflow-x: auto;
  }
  .thumbnail-strip .thumb {
    width: 60px;
    height: 80px;
    flex-shrink: 0;
  }
}

/* ===================================================
   3D STAGE CAROUSEL & IMMERSIVE PRODUCT SHOWCASE
   (Matching YouTube Shorts Animation Reference)
   =================================================== */

.stage-showcase-container {
  position: relative;
  width: 100%;
  perspective: 1400px;
  transform-style: preserve-3d;
  overflow: hidden;
}

.stage-track {
  position: relative;
  width: 100%;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

@media (min-width: 640px) {
  .stage-track { height: 580px; }
}
@media (min-width: 1024px) {
  .stage-track { height: 640px; }
}
@media (min-width: 1440px) {
  .stage-track { height: 700px; }
}

/* Base Stage Garment Card */
.stage-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  transition: all 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center center;
  will-change: transform, opacity, filter;
  user-select: none;
}

@media (min-width: 640px) {
  .stage-card { width: 340px; }
}
@media (min-width: 1024px) {
  .stage-card { width: 400px; }
}
@media (min-width: 1440px) {
  .stage-card { width: 440px; }
}

.stage-card-img-wrapper {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 1.75rem;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.15);
  border: 2px solid rgba(245, 158, 11, 0.2);
  transition: all 0.4s ease;
}

@media (min-width: 640px) {
  .stage-card-img-wrapper { height: 440px; }
}
@media (min-width: 1024px) {
  .stage-card-img-wrapper { height: 500px; }
}
@media (min-width: 1440px) {
  .stage-card-img-wrapper { height: 560px; }
}

.stage-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========================================================= */
/* ANTI-GRAVITY FLOATING LEVITATION & DYNAMIC GROUND SHADOW  */
/* ========================================================= */

@keyframes antiGravityLevitate {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-16px);
  }
}

@keyframes groundShadowPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.35;
  }
  50% {
    transform: scale(0.82);
    opacity: 0.18;
  }
}

.stage-float-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  will-change: transform;
}

/* Floor Ambient Drop-Shadow */
.stage-card-shadow {
  position: absolute;
  bottom: -22px;
  left: 10%;
  width: 80%;
  height: 26px;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0) 70%);
  filter: blur(10px);
  pointer-events: none;
  transition: all 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Center Active State (Prominent, High-Emphasis Anti-Gravity Item) */
.stage-card.is-center {
  transform: translate(-50%, -50%) translate3d(0, 0, 80px) scale(1);
  z-index: 30;
  opacity: 1;
  pointer-events: auto;
}
.stage-card.is-center .stage-float-wrapper {
  animation: antiGravityLevitate 3.5s ease-in-out infinite;
}
.stage-card.is-center .stage-card-shadow {
  animation: groundShadowPulse 3.5s ease-in-out infinite;
}
.stage-card.is-center .stage-card-img-wrapper {
  border-color: #F59E0B;
  box-shadow: 0 30px 60px -15px rgba(217, 119, 6, 0.28), 0 10px 25px -5px rgba(15, 23, 42, 0.12);
}

/* Left Side State (Receded with 3D Depth) */
.stage-card.is-prev {
  transform: translate(-50%, -50%) translate3d(-110%, 0, -100px) scale(0.78);
  z-index: 15;
  opacity: 0.72;
  cursor: pointer;
}
@media (min-width: 1024px) {
  .stage-card.is-prev {
    transform: translate(-50%, -50%) translate3d(-125%, 0, -120px) scale(0.82);
  }
}
@media (min-width: 1536px) {
  .stage-card.is-prev {
    transform: translate(-50%, -50%) translate3d(-135%, 0, -100px) scale(0.85);
  }
}
.stage-card.is-prev:hover {
  opacity: 0.95;
  transform: translate(-50%, -50%) translate3d(-105%, -8px, -60px) scale(0.82);
}

/* Right Side State (Receded with 3D Depth) */
.stage-card.is-next {
  transform: translate(-50%, -50%) translate3d(110%, 0, -100px) scale(0.78);
  z-index: 15;
  opacity: 0.72;
  cursor: pointer;
}
@media (min-width: 1024px) {
  .stage-card.is-next {
    transform: translate(-50%, -50%) translate3d(125%, 0, -120px) scale(0.82);
  }
}
@media (min-width: 1536px) {
  .stage-card.is-next {
    transform: translate(-50%, -50%) translate3d(135%, 0, -100px) scale(0.85);
  }
}
.stage-card.is-next:hover {
  opacity: 0.95;
  transform: translate(-50%, -50%) translate3d(105%, -8px, -60px) scale(0.82);
}

/* Hidden / Far-Out Items */
.stage-card.is-hidden {
  transform: translate(-50%, -50%) translate3d(0, 0, -300px) scale(0.5);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

/* Sleek Stage Navigation Pill Controls */
.stage-nav-pill-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  z-index: 40;
}

.stage-pill-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.stage-pill-btn:hover {
  background: #FFFFFF;
  color: #000000;
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.stage-pill-btn:active {
  transform: scale(0.95);
}

.stage-pill-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.stage-pill-dot {
  height: 7px;
  border-radius: 9999px;
  background: #CBD5E1;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
  padding: 0;
}
.stage-pill-dot.active {
  width: 28px;
  background: #0F172A;
}
.stage-pill-dot:not(.active) {
  width: 7px;
}
.stage-pill-dot:not(.active):hover {
  background: #64748B;
  transform: scale(1.2);
}

/* Floating Bottom Control Console */
.floating-console-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(254, 243, 199, 0.6);
  border-radius: 2rem;
  transition: all 0.3s ease;
}

