:root {
  --onyx-black: #212529;
  --text-dark: #1a1c1c;
  --text-muted: #544338;
  --cloth-on-primary: #ffffff;
  --cloth-surface-container-low: #f5f3f3;
  --cloth-on-surface: var(--onyx-black);
  --cloth-body-text: rgba(84, 67, 56, 0.85);
  --cloth-outline-variant: #d6c3b6;
  --cloth-outline: #837469;
}

.text-primary            { color: var(--btn-bg-dark) !important; }
.bg-primary              { background-color: var(--btn-bg-dark) !important; }
.text-on-primary         { color: var(--cloth-on-primary) !important; }
.text-on-surface-variant { color: var(--cloth-body-text) !important; }
.bg-surface-container-low { background-color: var(--cloth-surface-container-low) !important; }
.border-outline-variant  { border-color: var(--cloth-outline-variant) !important; }
.border-white-20         { border-color: rgba(255, 255, 255, 0.2) !important; }

.btn-cta-outline {
  border: 1px solid #fff;
  color: #fff;
  padding: 12px 24px;
  font-weight: 600;
  letter-spacing: 0.15em;
  background: transparent;
  transition: opacity 0.2s ease;
}
.btn-cta-outline:hover { opacity: 0.85; }

.hero-circle-glow {
  top: -3rem;
  left: -3rem;
  width: 18rem;
  height: 18rem;
  opacity: 0.05;
  filter: blur(30px);
  z-index: -1;
}

@media (min-width: 768px) {
  .workflow-connector:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 2.5rem;
    left: calc(50% + 3rem);
    width: calc(100% - 6rem);
    height: 1px;
    background: repeating-linear-gradient(
      to right,
      #d6c3b6 0, #d6c3b6 4px,
      transparent 4px, transparent 8px
    );
  }
  .workflow-connector { position: relative; }
}

.workflow-icon-wrap {
  width: 5rem;
  height: 5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.workflow-icon-wrap:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(129, 81, 33, 0.15) !important;
}

.workflow-icon-active { box-shadow: 0 4px 16px rgba(129, 81, 33, 0.35); }
.workflow-desc { max-width: 300px; }

.section-bg-muted { background-color: rgba(245, 243, 243, 0.5); }

.tryon-container {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid rgba(214, 195, 182, 0.5);
  aspect-ratio: 3 / 4;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tryon-cursor { cursor: pointer; }

.tryon-container:hover {
  animation: float-card 3s ease-in-out infinite;
  box-shadow: 0 20px 48px rgba(129, 81, 33, 0.15) !important;
}
.tryon-container:hover .tryon-after  { opacity: 1; transform: scale(1.05); }
.tryon-container:hover .tryon-before { opacity: 0.2; filter: grayscale(1) blur(4px); }
.tryon-container:hover .magic-label  { opacity: 1 !important; transform: translateY(0) !important; }

.tryon-after {
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
              transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.tryon-before { transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1); }

.cta-heading {
  color: #fff !important;
}

.cta-subtext {
  max-width: 36rem;
}

.cloth-category-page .cloth-section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}
.cloth-category-page .cloth-hero {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .cloth-category-page .cloth-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  .cloth-category-page .cloth-hero {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

@media (max-width: 767.98px) {
  .hero-circle-glow { display: none; }

  .cloth-category-page .cloth-hero {
    padding-top: 1.25rem;
    padding-bottom: 1.5rem;
  }
  .cloth-category-page .cloth-hero .row        { --bs-gutter-y: 1.25rem; }
  .cloth-category-page .cloth-hero .font-display-lg {
    font-size: clamp(1.85rem, 7.5vw, 2.35rem);
    margin-bottom: 0.75rem !important;
  }
  .cloth-category-page .cloth-hero .font-body-lg { margin-bottom: 1.25rem !important; font-size: 1rem; }

  .cloth-category-page .cloth-workflow               { padding-top: 2rem; padding-bottom: 2rem; }
  .cloth-category-page .cloth-workflow .text-center  { margin-bottom: 1.5rem !important; }
  .cloth-category-page .cloth-workflow .row          { --bs-gutter-y: 1.5rem; }
  .cloth-category-page .cloth-workflow .workflow-icon-wrap { width: 4rem; height: 4rem; margin-bottom: 1rem !important; }

  .cloth-category-page .cloth-collection-section { padding-top: 2rem; padding-bottom: 2rem; }
  .cloth-category-page .cloth-gif-row { margin-top: 1.25rem !important; padding-top: 1rem !important; }
  .cloth-category-page .cloth-gif-row h3          { margin-bottom: 0.75rem !important; }
  .cloth-category-page .cloth-gif-row .font-body-lg { margin-bottom: 1rem !important; }
}

.collection-boutique-mobile {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.boutique-featured-tryon {
  aspect-ratio: 4 / 5;
  max-height: min(72vh, 440px);
  margin-left: auto;
  margin-right: auto;
}
.boutique-featured-tryon:hover {
  animation: none;
  transform: none;
  box-shadow: 0 8px 24px rgba(129, 81, 33, 0.12) !important;
}
.boutique-featured-tryon .boutique-img-after  { opacity: 1; transform: scale(1); }
.boutique-featured-tryon .boutique-img-before { transition: opacity 0.4s ease, filter 0.4s ease; }


