/* -------------------------------------- */
/*                GLOBAL                  */
/* -------------------------------------- */

:root {
  --accent: #c43670;
  --background: #fffaf4;
  --bg: var(--background);
  --text: #3b3b3b;
  --text-dark: #2c2c2c;
  --secondary-text: #555;
  --hover-accent: #e66c9e;
  --button-bg: #e5b9b4;
  --button-border: #f1c6c6;
  --button-hover: #e66c9e;
  /* header height used for spacing */
  --header-height: 84px; /* adjust if header is taller/shorter */
}

body {
  background-color: var(--bg);
  overflow-x: hidden;
  color: var(--text);
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 30px;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 34px;
  letter-spacing: 2px;
  text-align: center;
  color: var(--text);
  line-height: 1;
}

.icon-btn.profile i {
  font-size: 30px;
  color: var(--text);
  transition: color 0.3s ease;
  padding-right: 10px;
}

.icon-btn.profile:hover i {
  color: #000;
}

.icon-btn {
  color: var(--text);
  background: transparent;
  border: none;
  padding: 6px;
  display: inline-flex;
  justify-content: center;
  cursor: pointer;
}

.icon-btn:focus {
  outline: 3px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
}

/* SIDE MENU */
.side-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 230px;
  height: 100%;
  background-color: var(--bg);
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  padding-bottom: 80px;
  transition: left 0.3s ease;
  z-index: 2500;
  overflow-y: auto;
}

.side-menu.active {
  left: 0;
}

.side-menu ul {
  list-style: none;
  padding: 0 0 60px 0;
  margin-top: 60px;
}

.side-menu li {
  margin: 22px 0;
}
.side-menu > ul > li {
  margin: 30px 0; /* spacing between main links */
}

.side-menu a {
  text-decoration: none;
  color: var(--text);
  font-size: 18px;
  transition: color 0.2s;
  padding-left: 20px;
}

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

.close-btn {
  background: none;
  border: none;
  font-size: 26px;
  position: absolute;
  top: 15px;
  left: 190px;
  cursor: pointer;
  color: var(--text);
}

/* OVERLAY */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 2000;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Submenu container */

/* DIGITAL STYLIST ROW */
.submenu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  white-space: nowrap; /* 🚀 prevents wrapping */
  width: 100%;
  box-sizing: border-box;
}

/* Digital Stylist link */
.submenu-link {
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
  flex: 1;
  margin-right: 10px; /* tiny spacing before arrow */
  padding-left: 20px;
}

/* Arrow button */
.submenu-arrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--text);
}

.submenu-arrow .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

/* SUBMENU */
/* SUBMENU */
.submenu {
  max-height: 0;
  overflow: hidden;
  margin: 0;
  padding-left: 20px; /* align with main menu */
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top; /* IMPORTANT FIX */
  transition: max-height 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
  gap: 0; /* FIX: remove large spacing */
}

/* submenu items */
.submenu li {
  margin: 22px 0 0 0; /* same spacing as main links */
}

.submenu li:first-child {
  margin-top: 0; /* prevent peeking */
}

.submenu a {
  font-size: 16px;
  padding-left: 20px;
  color: var(--text);
  text-decoration: none;
  display: block;
}

/* When open */
.has-submenu.open .submenu {
  max-height: 600px;
  opacity: 1;
  transform: scaleY(1);
}
.side-menu > ul > li {
  margin: 30px 0;
}

.has-submenu .submenu-header {
  margin-bottom: 0; /* override any internal spacing */
}

/* FOOTER */
.site-footer {
  background-color: var(--bg);
  color: var(--text);
  padding: 20px 0 0;
  margin: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-family: "Poppins", sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1500px;
  margin: 0 auto;
  gap: 40px;
  padding: 0 20px;
  text-align: left;
}

.footer-column {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #2c2c2c;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 6px;
}

.footer-column a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 30px;
  margin-bottom: 0;
}

/* HERO */
.hero {
  width: 100%;
  text-align: center;
  padding: 120px 10% 100px;
  box-sizing: border-box;
  padding-top: 20px;
}

.hero-intro {
  max-width: 900px;
  margin: 0 auto 60px;
}

/* INTRO */
.intro-line {
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 500;
}

h1.floating-text {
  font-size: 3rem;
  margin-bottom: 20px;
  opacity: 0;
  font-family: "Playfair Display", serif;
  animation: floatIn 1.8s ease-out forwards;
}

h1.floating-text span {
  color: var(--accent);
}

.subtext {
  font-size: 1.1rem;
  color: #4a4a4a;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* FEATURE ROW */
.feature-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 0;
}

.feature-card {
  background-color: var(--bg);
  border-radius: 14px;
  padding: 30px 25px;
  width: 300px;
  height: 250px;
  box-shadow: 0 4px 12px rgba(0, 0, 0.15, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.feature-card h2 {
  margin-bottom: 10px;
  font-size: 1.4rem;
  color: var(--accent);
}

.feature-card p {
  font-size: 0.95rem;
  margin-bottom: 35px;
}

.cta-btn {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  padding: 10px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background-color: var(--bg);
}

.main-btn-container {
  text-align: center;
  margin-top: 40px;
}

.main-btn {
  background-color: var(--accent);
  color: white;
  border: none;
  padding: 12px 35px;
  border-radius: 10px;
  text-decoration: none;
  height: 25px;
  font-weight: 600;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  width: max-content;
  display: inline-block;
}

.main-btn:hover {
  transform: translateY(-3px);
}

/* ANIMATIONS */
@keyframes floatIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 1.2s ease forwards;
}

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

/* WHY STILED */
.why-stiled {
  text-align: center;
  padding: 20px 20px;
  background-color: var(--bg);
}

.why-stiled h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--text);
}

.why-intro {
  max-width: 700px;
  margin: 10px auto 30px;
  font-size: 1rem;
  color: #555;
}

.why-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

/* WHY CARDS */
.why-card {
  background-color: var(--bg);
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0.1, 0.1);
  padding: 30px 25px;
  width: 270px;
  transition: transform 0.3s ease;
}

.why-card:hover {
  transform: translateY(-5px);
}

.why-card i {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.why-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text);
}

/* HOW IT WORKS */
.how-it-works {
  padding: 50px 20px 70px;
  text-align: center;
}

.how {
  text-align: center;
  color: var(--text);
  font-family: "Playfair Display", serif;
  font-size: 45px;
  letter-spacing: 2px;
  margin-bottom: 0;
}

.here {
  text-align: center;
  font-size: 20px;
  color: var(--text);
  margin-top: 8px;
}

.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 22px;
  margin-top: 40px;
}

.step-icon {
  font-weight: bold;
  font-size: 23px;
  padding-top: 40px;
  color: var(--text);
  width: 24px;
  flex-shrink: 0;
  margin-left: 120px;
}

.step-content {
  margin-left: 12px;
}

.step-title {
  font-weight: bold;
  font-size: 23px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 40px;
}

.symbol {
  font-size: 16px;
}

.step-desc {
  font-size: 14px;
  color: var(--text);
  margin-left: 41px;
  margin-top: 10px;
}

/* FLOAT ANIMATION */
.floating-text {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: floatUp 1.8s ease-out forwards;
}

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

/* PROGRESS BAR */
.progress-container {
  position: absolute;
  left: 90px;
  top: 100px;
  bottom: 80px;
  width: 4px;
  background-color: rgba(214, 165, 160, 0.25);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar {
  width: 100%;
  height: 0;
  background-color: var(--accent);
  border-radius: 2px;
  transition: height 0.3s ease-out;
}

/* HOW BOX WRAPPER */
.how-box {
  position: relative;
  background-color: var(--bg);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 50px 40px;
  max-width: 800px;
  margin: 0 auto;
}

/* STYLIST HUB */
.stylist-hub {
  text-align: center;
  padding: 40px 20px;
  font-family: "Poppins", sans-serif;
  color: var(--text);
}

.stylist-hub h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.stylist-intro {
  font-size: 1rem;
  color: #6e6e6e;
  margin-bottom: 60px;
}

.stylist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.stylist-card {
  background-color: #f4c3c6;
  border-radius: 14px;
  padding: 40px 25px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.stylist-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.stylist-card i {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--accent);
}

.stylist-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-family: "Playfair Display", serif;
}

.stylist-card p {
  font-size: 0.9rem;
  color: #4a4a4a;
}

/* QUIZ INTRO */
.quiz-intro {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  min-height: auto;
  color: var(--text);
  overflow: visible !important;
  transform: none !important;
}

/* QUIZ CARD */
.quiz-card {
  background-color: var(--bg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 60px 50px;
  max-width: 700px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.quiz-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* HEADINGS */
.quiz-welcome {
  position: relative;
  display: inline-block;
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text);
  padding: 0.4em 1em;
  z-index: 1;
}

.quiz-welcome::after {
  content: "";
  display: block;
  width: 60%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent),
    #f3d6d1
  ); /* keep unique warm gradient */
  margin: 8px auto 0;
  border-radius: 2px;
}

.quiz-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #222; /* left as-is because it's darker than your main text */
}

.quiz-subtitle {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 2rem;
}

/* DISCLAIMER */
.quiz-disclaimer {
  background: #f3ede8; /* soft neutral background kept */
  border-radius: 12px;
  padding: 15px 20px;
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 30px;
  line-height: 1.5;
}

/* START BUTTON */
.quiz-start {
  margin-top: 40px;
}

.start-btn {
  background-color: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 12px 30px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.start-btn:hover {
  background-color: var(--accent);
  color: white;
  transform: translateY(-3px);
}

/* QUIZ QUESTIONS */
.topic {
  text-align: center;
  font-size: 30px;
  padding-top: 50px;
  color: var(--text);
  font-family: "Playfair display", serif;
  font-weight: 600;
}

.questions {
  margin-left: 100px;
  font-size: 20px;
  margin-top: 30px;
  color: var(--text);
  overflow: visible !important;
  transform: none !important;
}

/* OPTIONS GRID */
.options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 150px;
  margin-left: 70px;
  margin-right: 70px;
}

.option {
  cursor: pointer;
}

.option input {
  display: none; /* hide checkbox */
}

.card {
  background: var(--bg, #fff);
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: 0.25s ease;
  border: 2px solid transparent;
}

.card:hover {
  transform: translateY(-2px);
}
.palette-swatches {
  display: flex;
  justify-content: left;
  gap: 8px;
  margin-bottom: 12px;
}

.palette-swatches span {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}

.avoid-reason {
  margin-top: 30px;
  text-align: center;
}

.hidden {
  display: none;
}

.reason-grid {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.reason-btn {
  padding: 10px 16px;
  border-radius: 20px;
  border: 2px solid transparent;
  background: var(--bg);
  cursor: pointer;
  font-size: 0.9rem;
  transition: 0.2s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.reason-btn.selected {
  border-color: var(--accent);
}

/* Selected state */
.option input:checked + .card {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(214, 165, 160, 0.3);
}

.max {
  font-size: 14px;
  margin: 25px 20px 50px 20px;
  color: var(--text);
}

/* COLOR PICKER GRID */
.color-grid {
  display: grid;
  grid-template-columns: repeat(4, 60px);
  gap: 40px;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 60px;
}
.color-card {
  background: var(--bg, #fff);
  padding: 26px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 50px;
  max-width: 750px;
  margin-left: 30px;
  margin-right: 30px;
  justify-content: center;
}

.color-btn {
  width: 80px;
  height: 80px;
  border: 3px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.color-btn:hover {
  transform: scale(1.05);
}

.color-btn.selected {
  border: 4px solid var(--accent);
  transform: scale(1.1);
}

/* ============= SHARED CARD STYLING ============= */

/* ===== SHARED LAYOUT (card + grid) ===== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin: 25px 20px 50px 20px;
}

.card {
  background: var(--bg);
  padding: 20px;
  border-radius: 14px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.card:hover {
  transform: translateY(-3px);
}

.card.selected {
  border: 3px solid var(--accent);
}

.card h4 {
  margin: 0 0 6px 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.35;
}

/* ===== STYLE SECTION (inherits .card) ===== */

.style-grid {
}
.style-card {
}
.style-examples {
}

/* ===== BUDGET SECTION (inherits .card) ===== */

.budget-grid {
}

.budget-card {
  background: var(--bg);
  padding: 20px;
  border-radius: 14px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* Hover (when NOT selected) */
.budget-card:not(.selected):hover {
  transform: translateY(-3px);
  border-color: transparent;
}

/* Hover (when selected) keeps accent border */
.budget-card.selected:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.budget-card.selected {
  border-color: var(--accent);
  background: var(--background);
  box-shadow: 0 4px 12px rgba(122, 79, 243, 0.15);
}

.price-range {
  font-weight: 600;
  color: #444;
}

.examples {
  font-size: 0.85rem;
  color: #777;
}

/* PRIORITIES DRAGGABLE LIST */
.priority-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 25px 20px 50px 20px;
}

.priority-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.priority-slot {
  border: 2px dashed #ccc;
  border-radius: 12px;
  min-height: 70px;

  display: flex;
  align-items: stretch;
  justify-content: stretch;

  padding: 0;
}

/* When a card is inside a slot → FULL SIZE */
.priority-slot .priority-card {
  width: 100%;
  height: 100%;
  padding: 0 14px; /* horizontal padding only */
  border-radius: 10px;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: grab;
  box-sizing: border-box; /* ⬅ CRITICAL */
}

/* Optional: visual clarity */
.priority-slot.filled {
  border-style: solid;
}

.priority-card.dragging {
  opacity: 0.4;
}
/* Follow-up container spacing */
#budgetFollowup {
  margin: 30px 20px 50px; /* more left/right space */
}

/* Grid spacing */
.budget-flex-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; /* bigger gap between cards */
  margin-top: 16px;
}

/* Optional: make cards feel less cramped */
.flex-card {
  padding: 16px 12px;
}

/* CONTINUE BUTTON */
.save-continue-btn {
  text-align: center;
  justify-content: center;
  background-color: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  display: block;
  margin: 60px auto 100px;
  width: 400px;
}

.save-continue-btn:hover {
  background-color: var(--accent);
  transform: scale(1.03);
}

/* STICKY PROGRESS BAR */
.quiz-progress-container {
  position: sticky;
  top: 84px;
  width: 100%;
  height: 6px;
  background-color: #f5e6e2; /* soft neutral kept */
  border-radius: 3px;
  z-index: 999;
}

.quiz-progress-bar {
  height: 6px;
  width: 0%;
  background-color: var(--accent);
  border-radius: 3px;
  transition: width 0.4s ease;
}
.results {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg);
  padding: 80px 20px;
  box-sizing: border-box;
}

.results-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  width: 100%;
  background-color: var(--bg);
  margin: 0 auto;
  padding: 60px 40px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  z-index: 1;
}

/* === FLOATING HEADLINE === */
.results-section h1.float-in {
  font-family: "Playfair Display", serif;
  font-size: 2.6rem;
  color: var(--text);
  letter-spacing: 1px;
  margin-bottom: 40px;
  animation: floatInOnce 1.2s ease-out forwards;
}

.results-section h1.float-in::after {
  content: "";
  display: block;
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, var(--hover-accent), #eac1bb);
  margin: 8px auto 0;
  border-radius: 2px;
}

/* === SUMMARY CARD === */
.summary-card {
  background-color: var(--bg);
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  margin: 40px auto 0;
  text-align: center;
  max-width: 850px;
  width: 100%;
  box-sizing: border-box;
  transition: transform 0.3s ease;
}

.summary-card:hover {
  transform: translateY(-4px);
}

/* === STYLE TYPE & DESCRIPTION === */
#style-type {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: var(--text);
}

#style-desc {
  margin-top: 12px;
  font-size: 1rem;
  color: var(--secondary-text);
}

/* === COLOR PALETTE === */
.color-palette {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.color-palette div {
  width: 45px;
  height: 45px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.color-palette div:hover {
  transform: scale(1.1);
}

/* === BRAND LIST === */
#brandList {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

#brandList li {
  background-color: #f8f5f1;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, background-color 0.3s ease;
}

#brandList li:hover {
  transform: translateY(-3px);
  background-color: var(--hover-accent);
}
.price-range {
  font-size: 0.85rem;
  font-weight: 600;
  color: #444;
  margin: 4px 0;
}

.examples {
  font-size: 0.8rem;
  color: #777;
  line-height: 1.3;
}

/* === CONTINUE & RETAKE BUTTONS === */
.continue-btn,
.retake-btn {
  display: inline-block;
  margin-top: 35px;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.continue-btn {
  background-color: var(--accent);
  color: var(--bg);
}

.continue-btn:hover {
  transform: translateY(-3px);
}

.retake-btn {
  background-color: #f3d6d1;
  color: var(--text);
}

.retake-btn:hover {
  transform: translateY(-3px);
}

/* === FLOAT ANIMATION === */
@keyframes floatInOnce {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  60% {
    opacity: 1;
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}
/* === PROFILE CONTAINER === */
.profile-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 600px;
  margin: 30px auto;
  padding: 1rem;
  box-sizing: border-box;
}

/* === PROFILE PICTURE === */
.profile-pic-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
  cursor: pointer;
}

.profile-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid var(--accent);
}

.user-icon {
  color: var(--accent);
  font-size: 3.5rem;
}

.profile-pic-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
}

.hidden {
  display: none;
}

/* === PROFILE INFO === */
.profile-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.profile-info label {
  font-weight: 600;
  align-self: flex-start;
  color: var(--text);
}

.profile-info input {
  padding: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
}

/* === SAVE BUTTON === */
.btn.save-btn {
  margin-top: 1rem;
  background-color: var(--accent);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  font-weight: 600;
  align-self: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

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

/* === PERSONAL SECTION BUTTONS === */
.personal-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 40px auto;
  max-width: 350px;
}

.personal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 420px;
  padding: 14px 20px;
  background-color: var(--button-bg);
  border: 1.5px solid var(--button-border);
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.personal-btn i {
  color: #eed6d3;
  font-size: 1.2rem;
}

.personal-btn:hover {
  background-color: var(--button-hover);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.personal-btn:active {
  transform: scale(0.97);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.help {
  text-align: center;
  font-size: 30px;
  margin: 100px 200px;
  color: #737373;
  font-weight: 500;
}
.search-wrap {
  display: flex;
  justify-content: center;
  margin-top: 160px;
  margin-bottom: 200px;
}
.search-input {
  width: 100%;
  max-width: 600px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border-radius: 30px;
  padding: 10px 14px;
  box-shadow: 0 2px 6px rgba(20, 20, 20, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.search-input input {
  border: 0;
  outline: none;
  font-size: 13px;
  flex: 1;
  background-color: var(--bg);
  font-family: "Poppins", sans serif;
}
.search-icon {
  opacity: 0.7;
}
.mic {
  background: transparent;
  border: none;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mic svg {
  opacity: 0.9;
}
/* === CONTACT SECTION === */
.contact-section {
  font-family: "Poppins", sans-serif;
  max-width: 600px; /* limits the form width */
  margin: 120px auto 60px; /* centers with top/bottom spacing */
  padding: 30px 20px;
  background-color: var(--bg);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* === FORM LAYOUT === */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px; /* spacing between fields */
}

/* === FORM FIELDS === */
.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box; /* includes padding/border in width */
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  font-size: 1rem;
  background-color: var(--bg);
  font-family: "Poppins", sans-serif;
}

/* === FORM LABELS === */
.contact-form label {
  font-weight: 600;
  color: var(--text);
  margin-top: 10px;
}

/* === SEND BUTTON === */
.send-btn {
  background-color: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.send-btn:hover {
  transform: scale(1.03);
}
/* === COLOR SUGGESTER SECTION === */
.color-suggester {
  text-align: center;
  margin: 50px 0;
}

.cs-box {
  display: flex;
  justify-content: center;
  margin: 40px auto;
  padding: 30px;
  max-width: 750px;
  border-radius: 12px;
  font-family: "Poppins", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.color-suggester h2 {
  text-align: center;
  font-family: "Playfair Display", serif;
  margin-bottom: 10px;
  font-size: 2.2rem;
}

.color-suggester input[type="color"] {
  margin-top: 20px;
  border: none;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.color-suggester input[type="color"]:hover {
  transform: scale(1.1);
}

/* === SWATCHES === */
.swatch-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.swatch {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
}

.swatch-label {
  font-size: 0.8rem;
  color: var(--secondary-text);
  margin-top: 8px;
  text-align: center;
}

#suggestedColors h4 {
  display: none;
}

/* === SUB NAV BAR === */
.sub-nav {
  position: sticky;
  top: 80px; /* adjust for header height */
  background-color: var(--bg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 950;
  width: 100%;
  display: flex;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.sub-nav ul {
  display: flex;
  gap: 50px;
  list-style: none;
  margin: 0;
  padding: 16px 0;
}

.sub-nav a {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  color: var(--text);
  position: relative;
  transition: color 0.3s ease;
}

.sub-nav a:hover {
  color: var(--accent); /* accent hover, keeping custom */
}

.sub-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

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

/* === COLOR SECTIONS === */
.color-section {
  max-width: 1000px;
  margin: 100px auto;
  padding: 60px 20px;
  text-align: center;
}

.color-section h2 {
  font-family: "Playfair Display", serif;
  font-size: 35px;
  color: var(--text);
  margin-bottom: 15px;
}

.color-section p {
  font-family: "Poppins", sans-serif;
  color: var(--secondary-text);
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* === PALETTE BUILDER === */
.palette-builder {
  text-align: center;
  max-width: 750px;
  margin: 70px auto 40px;
  padding: 30px;
}

.pd-box {
  background-color: var(--bg);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-family: "Poppins", sans-serif;
}

.palette-builder h2 {
  text-align: center;
  font-size: 2.2rem;
  font-family: "Playfair Display", serif;
  color: var(--text);
}
/* === PALETTE BUILDER TEXT === */
.palette-builder p {
  text-align: center;
  color: var(--secondary-text);
  margin-bottom: 18px;
}

/* --- Explainer section --- */
.pb-explainer summary {
  cursor: pointer;
  font-weight: 600;
  margin: 10px 0 0 50px;
  text-align: left;
}

.pb-explainer .explain-text {
  padding: 10px 0 15px;
  color: var(--secondary-text);
  text-align: left;
  margin-left: 50px;
}

/* --- Form --- */
.pb-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 750px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pb-form label {
  font-weight: 500;
  color: var(--text);
  text-align: left;
}

.pb-form select {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  background-color: var(--bg);
  color: #adadad;
}

/* --- Buttons --- */
.pb-btn {
  margin-top: 12px;
  padding: 12px;
  background: var(--accent);
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.pb-btn:hover {
  background: var(--button-hover);
}

/* --- Results --- */
.pb-results {
  margin-top: 25px;
  text-align: center;
}

.pb-season {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
}

.pb-swatches {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.pb-swatches div {
  width: 55px;
  height: 55px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* --- Mood Translator Section --- */
.mood-translator {
  padding: 60px 20px;
  background: var(--bg);
  text-align: center;
}

.mood-translator h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: var(--text);
}

.mt-intro {
  max-width: 600px;
  margin: 0 auto 30px;
  color: var(--secondary-text);
}

.mt-box {
  background: var(--bg);
  padding: 25px;
  max-width: 750px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.mt-box label {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 8px;
}

.mt-box select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  background-color: var(--bg);
  color: #adadad;
}

#generateMoodPalette {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.2s ease;
}

#generateMoodPalette:hover {
  background: var(--button-hover);
}

.mt-results {
  margin-top: 35px;
}

.mt-results.hidden {
  display: none;
}

.mood-palette {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.mood-palette div {
  width: 55px;
  height: 55px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* === Colour Play Intro === */
.colorplay-intro {
  padding: 40px;
  background-color: var(--bg);
  display: flex;
  justify-content: center;
}

.cp-glass {
  max-width: 900px;
  background-color: var(--bg);
  backdrop-filter: blur(12px);
  padding: 60px 40px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  animation: floatUp 1s ease-out forwards;
}

.cp-title {
  font-family: "Playfair Display", serif;
  font-size: 3.2rem;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 10px;
}

.cp-tagline {
  font-size: 1.3rem;
  color: var(--accent); /* highlight accent */
  margin-bottom: 26px;
  font-weight: 500;
}

.cp-support {
  font-size: 1.05rem;
  color: var(--secondary-text);
  max-width: 630px;
  margin: 0 auto 18px;
  line-height: 1.6;
}

.cp-why {
  font-size: 0.95rem;
  color: #777;
  font-style: italic;
}
.feature-section {
  padding: 70px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.feature-intro {
  text-align: center;
  margin-bottom: 28px;
}
.feature-deco {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin: 0 auto 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.feature-intro h2 {
  font-family: "Playfair Display", serif;
  font-size: 34px;
  color: #3b3b3b;
  margin: 0 0 8px;
}
.feature-sub {
  max-width: 760px;
  margin: 0 auto;
  color: #555;
  font-size: 16px;
}

/* text description */
.feature-text {
  text-align: center;
  margin-bottom: 28px;
  color: #444;
}
.feature-text h3 {
  font-family: "Playfair Display", serif;
  margin-bottom: 8px;
  color: #3b3b3b;
}

/* card container */
.grid-card {
  background: var(--bg);
  padding: 26px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.feature-card {
  background: var(--bg);
  padding: 26px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  margin-top: 20px;
}

/* responsive: stack on small screens */
@media (max-width: 880px) {
  .grid-card {
    grid-template-columns: 1fr;
  }
}

/* form */
.fit-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.field-row {
  display: flex;
  flex-direction: column;
}
.field-row label {
  font-size: 14px;
  color: #444;
  margin-bottom: 6px;
}
.field-row input[type="number"],
.field-row select {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e6e0dc;
  background: #fffaf4;
  font-size: 14px;
}

/* checkboxes grid */
.checkbox-row .checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.checkbox-row label {
  font-size: 14px;
  color: #555;
  display: flex;
  gap: 8px;
  align-items: center;
}

/* buttons */
.actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.feature-btn {
  background: var(--accent);
  color: #fffaf4;
  border: none;
  padding: 11px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  flex: 1;
}
.ghost-btn {
  background: transparent;
  border: 1px solid #ddd;
  color: #3b3b3b;
  padding: 11px 12px;
  border-radius: 10px;
  cursor: pointer;
  flex: 1;
}
.feature-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

/* results */
.fit-result {
  background: var(--bg);
  padding: 14px;
  border-radius: 10px;
  min-height: 160px;
  color: #333;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.result-block {
  margin-bottom: 12px;
  text-align: left;
}
.result-block h4 {
  margin: 0 0 6px;
  font-family: "Playfair Display", serif;
  color: #3b3b3b;
  font-size: 16px;
}
.result-block ul {
  margin: 0;
  padding-left: 18px;
  color: #444;
}
.hint {
  color: #777;
  font-style: italic;
}

/* small visual helper (pill tags) */
.pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  margin-right: 8px;
  font-size: 13px;
  color: var(--text);
}

/* accessibility */
.fit-result:focus {
  outline: 3px solid rgba(213, 165, 160, 0.25);
}

/* Intro wrapper */
.fit-intro {
  padding: 40px 40px;
  background-color: var(--bg);
  display: flex;
  justify-content: center;
}

/* Glass card */
.fit-glass {
  max-width: 900px;
  background-color: var(--bg);
  backdrop-filter: blur(12px);
  padding: 60px 40px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  animation: floatUp 1s ease-out forwards;
}

/* Title */
.fit-title {
  font-family: "Playfair Display", serif;
  font-size: 3.2rem;
  letter-spacing: 1px;
  color: #3b3b3b;
  margin-bottom: 10px;
}

/* Highlight tagline */
.fit-tagline {
  font-size: 1.3rem;
  color: var(--accent); /* Signature highlight color */
  margin-bottom: 26px;
  font-weight: 500;
}

/* Supporting copy */
.fit-support {
  font-size: 1.05rem;
  color: #555;
  max-width: 630px;
  margin: 0 auto 18px;
  line-height: 1.6;
}

/* Why it works */
.fit-why {
  font-size: 0.95rem;
  color: #777;
  font-style: italic;
}

/* Reusing your float-up animation */
@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Section wrapper */
.bodytype-guide {
  max-width: 750px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: "Poppins", sans-serif;
}

/* Toggle button */
.bt-toggle {
  width: 100%;
  background: var(--bg);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 15px 18px;
  font-size: 1.1rem;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  color: #818181;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
  font-family: "Poppins", sans serif;
}

.bt-toggle:hover {
  background: var(--bg);
}

.bt-arrow {
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

/* Hidden content box */
.bt-content {
  max-height: 0;
  overflow: hidden;
  background: var(--bg);
  border-radius: 12px;
  margin-top: 10px;
  padding: 0 18px;
  transition: max-height 0.45s ease, padding 0.3s ease;
}

.bt-content.open {
  padding: 18px;
  max-height: 800px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* List styling */
.bt-content ul {
  padding-left: 0;
  list-style: none;
}

.bt-content li {
  margin-bottom: 14px;
  color: #555;
  line-height: 1.55;
}

.bt-content li strong {
  color: #3b3b3b;
}
/* ========== Intro Section (Mirrors Color Play Style) ========== */
.proportion-intro {
  padding: 40px 40px;
  background: var(--bg);
  display: flex;
  justify-content: center;
}

.pf-glass {
  max-width: 900px;
  background: var(--bg);
  backdrop-filter: blur(12px);
  padding: 60px 40px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  animation: floatUp 1s ease-out forwards;
}

.pf-title {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 10px;
}

.pf-tagline {
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 26px;
  font-weight: 500;
}

.pf-support {
  font-size: 1.05rem;
  color: #555;
  max-width: 630px;
  margin: 0 auto 18px;
  line-height: 1.6;
}

.pf-why {
  font-size: 0.95rem;
  color: #777;
  font-style: italic;
}

/* ========== Feature Card ========== */
.pf-feature-section {
  display: flex;
  justify-content: center;
  padding: 40px 20px 80px;
}

.pf-card {
  width: 880px;
  background: var(--bg);
  padding: 40px 30px;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.pf-feature-title {
  font-size: 2rem;
  font-family: "Playfair Display", serif;
  color: #3b3b3b;
  margin-bottom: 10px;
}

.pf-feature-desc {
  font-size: 1rem;
  color: #555;
  max-width: 550px;
  margin: 0 auto 30px;
  line-height: 1.5;
}

/* Form */
.pf-form {
  display: grid;
  gap: 20px;
  margin: 0 auto;
  max-width: 400px;
}

.form-group {
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: #3b3b3b;
  font-weight: 500;
}

.form-group select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
}

.pf-btn {
  background-color: var(--accent);
  color: white;
  border: none;
  padding: 12px 22px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  margin-top: 8px;
  transition: transform 0.2s ease;
}

.pf-btn:hover {
  transform: scale(1.03);
}

/* Float-up animation */
@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-float {
  animation: floatUp 1s ease-out forwards;
}
/* SECTION INTRO — Same architecture as Color Play */
.sf-feature-intro {
  padding: 20px 20px 80px;
  background-color: var(--bg);
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}

.sf-glass {
  max-width: 900px;
  background-color: var(--bg);
  backdrop-filter: blur(12px);
  padding: 60px 40px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  animation: floatUp 1s ease-out forwards;
}

.sf-title {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  letter-spacing: 1px;
  color: #3b3b3b;
  margin-bottom: 10px;
}

.sf-tagline {
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 26px;
  font-weight: 500;
}

.sf-support {
  font-size: 1.05rem;
  color: #555;
  max-width: 630px;
  margin: 0 auto 18px;
  line-height: 1.6;
}

.sf-why {
  font-size: 0.95rem;
  color: #777;
  font-style: italic;
}

/* CARD */
.sf-feature-card-section {
  display: flex;
  justify-content: center;
  padding: 10px 20px 80px;
  margin-top: 0;
}

.sf-card {
  max-width: 750px;
  background: var(--bg);
  padding: 40px 30px;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.sf-card-title {
  font-size: 2rem;
  font-family: "Playfair Display", serif;
  color: #3b3b3b;
  margin-bottom: 10px;
}

.sf-card-desc {
  font-size: 1rem;
  color: #555;
  max-width: 550px;
  margin: 0 auto 30px;
  line-height: 1.5;
}

/* FORM */
.sf-form {
  display: grid;
  gap: 20px;
  margin: 0 auto;
  max-width: 400px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: #3b3b3b;
  font-weight: 500;
}

.sf-form select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  background-color: var(--bg);
}

/* BUTTON */
.sf-btn {
  background-color: var(--accent);
  color: white;
  border: none;
  padding: 12px 22px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  margin-top: 8px;
  transition: transform 0.2s ease;
}

.sf-btn:hover {
  transform: scale(1.03);
}

/* OUTPUT */
.sf-output {
  margin-top: 30px;
  padding: 20px;
  padding-left: 30px;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid #e8d6d3;
  text-align: left;
  font-size: 1rem;
  display: none;
}

/* ANIMATION */
@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-float {
  animation: floatUp 1s ease-out forwards;
}
/* ---- OUTPUT SPACING ---- */
#tailorOutput {
  margin-top: 30px;
  padding: 20px;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid #e8d6d3;
  text-align: left;
  font-size: 1rem;
  display: none;
}

/* Button (shared style) */
.sf-btn {
  background-color: var(--accent);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease;
  margin-top: 10px;
}

.sf-btn:hover {
  transform: translateY(-3px);
}

/* Form fields */
.sf-form .form-group {
  margin-bottom: 18px;
  text-align: left;
}

.sf-form label {
  font-size: 0.95rem;
  color: #444;
  display: block;
  margin-bottom: 6px;
}

.sf-form select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #d8c5c2;
  background-color: white;
  font-size: 1rem;
}

/* =====================================================
   ADDED FIXES
===================================================== */

/* Smooth in-page scrolling (Digital Stylist sub-nav, anchors) */
html { scroll-behavior: smooth; }

/* Header "Log In" button — match site style (dark pill, no blue underline) */
.header-login,
a.header-login,
.custom-btn-dark,
a.custom-btn-dark {
  display: inline-block;
  background: #222;
  color: #fff !important;
  text-decoration: none !important;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  line-height: 1.2;
  transition: background .2s ease, transform .2s ease;
}
.header-login:hover,
.custom-btn-dark:hover { background: #000; transform: translateY(-1px); }

/* Digital Stylist — consistent sub-navigation across stylist pages */
.sub-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 16px;
  margin: 0 auto 8px;
}
.sub-nav a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.sub-nav a:hover,
.sub-nav a.active { border-color: #222; }

/* "Continue with Google" auth button + divider */
.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #999;
  font-size: 13px;
  margin: 16px 0;
  gap: 10px;
}
.auth-divider::before,
.auth-divider::after { content: ""; flex: 1; height: 1px; background: #e5e5e5; }
.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  color: #222;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s ease;
}
.google-btn:hover { background: #f6f6f4; }

/* Create-profile CTA on results page */
.create-profile-btn {
  display: inline-block;
  background: #222;
  color: #fff !important;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 12px;
  transition: background .2s ease, transform .2s ease;
}
.create-profile-btn:hover { background: #000; transform: translateY(-1px); }

/* =====================================================
   SEARCH — PRODUCT CARD BROWSER
===================================================== */
.pcard {
  position: relative;
  background: #f6efe8;
  border: 1px solid #ece2d8;
  border-radius: 22px;
  padding: 28px 64px 26px;
  max-width: 880px;
  margin: 0 auto;
  min-height: 460px;
  display: flex;
  flex-direction: column;
}
.pcard-icon {
  position: absolute;
  top: 18px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #3b3b3b;
  transition: transform .15s ease, color .15s ease;
}
.pcard-icon:hover { transform: scale(1.12); }
.pcard-fav { right: 56px; color: #e0a9b4; }
.pcard-fav.is-saved { color: #e66c9e; }
.pcard-close { right: 20px; }

.pcard-main {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: center;
  flex: 1;
}
.pcard-info { color: #8a8a8a; font-size: 15px; line-height: 2; padding-top: 6px; }
.pcard-info span { color: #6f6f6f; }
.pcard-image { display: flex; align-items: center; justify-content: center; }
.pcard-image img {
  max-height: 300px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
}
.pcard-name {
  text-align: center;
  font-family: "Playfair Display", serif;
  color: #3b3b3b;
  font-size: 17px;
  margin: 8px 0 14px;
}
.pcard-buy { text-align: center; }
.buy-btn {
  display: inline-block;
  background: #3b3b3b;
  color: #fff !important;
  text-decoration: none;
  letter-spacing: .08em;
  padding: 12px 54px;
  border-radius: 12px;
  font-weight: 600;
  transition: background .2s ease, transform .2s ease;
}
.buy-btn:hover { background: #222; transform: translateY(-1px); }
.pcard-count { position: absolute; bottom: 22px; left: 26px; color: #b0a89f; font-size: 14px; }

.pcard-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 26px;
  color: #e0b4ad;
  cursor: pointer;
  padding: 8px;
  transition: color .15s ease;
}
.pcard-arrow:hover:not([disabled]) { color: #d08b82; }
.pcard-arrow[disabled] { opacity: .3; cursor: default; }
.pcard-prev { left: 10px; }
.pcard-next { right: 10px; }

@media (max-width: 600px) {
  .pcard { padding: 24px 40px; }
  .pcard-main { grid-template-columns: 1fr; }
  .pcard-info { text-align: center; }
}

/* =====================================================
   SEARCH v2 — centered search that drops down, elegant card
===================================================== */
.search-stage {
  position: relative;
  min-height: calc(100vh - 90px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 120px;
}
.search-heading {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 30px;
  color: #3b3b3b;
  text-align: center;
  margin: 22vh 0 0;
  transition: opacity .45s ease, max-height .5s ease, margin .5s ease, transform .5s ease;
  max-height: 120px;
}
.search-stage.searching .search-heading {
  opacity: 0;
  max-height: 0;
  margin: 24px 0 0;
  transform: translateY(-10px);
  overflow: hidden;
  pointer-events: none;
}
#resultsArea {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-msg { text-align: center; color: #8a8a8a; }

/* floating search bar: centered, then glides to the bottom */
.search-bar-float {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: min(620px, 92%);
  bottom: 44vh;
  z-index: 30;
  transition: bottom .6s cubic-bezier(.22,.61,.36,1);
}
.search-stage.searching .search-bar-float { bottom: 30px; }

/* elegant white product card */
.pcard {
  position: relative;
  background: #ffffff;
  border: 1px solid #efe9e2;
  border-radius: 24px;
  box-shadow: 0 12px 44px rgba(70,58,50,.09);
  padding: 30px 72px 30px;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  animation: pcardIn .4s ease;
}
@keyframes pcardIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.pcard-photo { display: flex; align-items: center; justify-content: center; height: 320px; }
.pcard-photo img { max-height: 320px; max-width: 100%; object-fit: contain; }

.pcard-meta { text-align: center; margin-top: 18px; }
.pcard-brand {
  font-family: "Playfair Display", serif;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #a89c92;
  margin: 0 0 7px;
}
.pcard-title {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #3b3b3b;
  margin: 0 0 8px;
  line-height: 1.4;
}
.pcard-price {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: #3b3b3b;
  margin: 0;
}

.buy-btn {
  display: block;
  width: max-content;
  margin: 20px auto 2px;
  background: #3b3b3b;
  color: #fff !important;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 13px;
  padding: 12px 52px;
  border-radius: 30px;
  transition: background .2s ease, transform .2s ease;
}
.buy-btn:hover { background: #222; transform: translateY(-1px); }

.pcard-count { position: absolute; bottom: 18px; left: 26px; color: #d2c9bf; font-size: 13px; }

.pcard-icon { position: absolute; top: 20px; background: none; border: none; font-size: 19px; cursor: pointer; color: #3b3b3b; transition: transform .15s ease, color .15s ease; }
.pcard-icon:hover { transform: scale(1.12); }
.pcard-fav { right: 58px; color: #e0b4bd; }
.pcard-fav.is-saved { color: #e66c9e; }
.pcard-close { right: 22px; color: #9a9a9a; }

.pcard-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: none; font-size: 22px; color: #d9bdb6; cursor: pointer; padding: 10px; transition: color .15s ease; }
.pcard-arrow:hover:not([disabled]) { color: #c78f86; }
.pcard-arrow[disabled] { opacity: .3; cursor: default; }
.pcard-prev { left: 12px; }
.pcard-next { right: 12px; }

@media (max-width: 600px) {
  .pcard { padding: 26px 44px; }
  .search-heading { font-size: 24px; margin-top: 16vh; }
}

/* =====================================================
   SEARCH v3 — heading+bar at top; on search, bar drops
   to the bottom (in flow, below the product card)
===================================================== */
.search-stage {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 90px);
  padding: 0 16px 0;
}
.search-heading {
  order: 1;
  margin: 46px auto 20px;
  max-height: 160px;
}
.search-bar-float {
  order: 2;
  position: static;
  left: auto;
  transform: none;
  bottom: auto;
  width: min(620px, 92%);
  margin: 0 auto;
}
#resultsArea {
  order: 3;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.search-stage.searching .search-heading {
  opacity: 0;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}
.search-stage.searching #resultsArea { order: 2; }
.search-stage.searching .search-bar-float { order: 3; margin: 22px auto 34px; }

/* =====================================================
   DIGITAL STYLIST — shared result cards (all tools)
===================================================== */
.results, .mt-results { transition: opacity .3s ease; }
.sr-card {
  background: #fffdf9;
  border: 1px solid #efe7dc;
  border-left: 3px solid var(--accent, #c43670);
  border-radius: 14px;
  padding: 18px 22px;
  margin: 14px auto 0;
  max-width: 640px;
  text-align: left;
  animation: srIn .35s ease;
}
@keyframes srIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sr-card h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  color: #3b3b3b;
  margin: 0 0 8px;
}
.sr-card p { color: #555; line-height: 1.6; margin: 0 0 8px; font-size: .98rem; }
.sr-card p:last-child { margin-bottom: 0; }
.sr-list { margin: 6px 0 0; padding-left: 20px; color: #555; line-height: 1.7; }
.sr-list li { margin-bottom: 4px; }
.sr-note { border-left-color: #d8c9b8; color: #8a7f70; font-style: italic; text-align: center; }
.sr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.sr-chip {
  background: #f4ece1;
  color: #6f6357;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: .85rem;
}
.sr-score { margin: 6px 0; }
.sr-score-bar {
  background: #efe7dc;
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
  margin-bottom: 8px;
}
.sr-score-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #c43670, #e08aa9);
  border-radius: 999px;
}

/* =====================================================
   STYLIST FIXES — beige inputs, subnav, symbol grid
===================================================== */
/* #5 — selection boxes beige, not white */
.cp-glass select, .fit-glass select, .pb-form select, .mt-box select,
.field-row select, .field-row input[type="number"], .form-group select,
.sf-form select, .sf-form input[type="number"], .bodytype-guide select,
.color-suggester select, select.styled, .tool select {
  background: #f4ede4 !important;
  border: 1px solid #e6dccd !important;
  color: #3b3b3b;
  border-radius: 10px;
}

/* #6 — subnav: pink underline only (remove the earlier black border) */
.sub-nav a { border-bottom: none !important; }
.sub-nav a:hover, .sub-nav a.active { border-color: transparent !important; }
/* clicking a subnav item lands the tool title near the top */
section[id], [id].tool, .color-suggester, .palette-builder, .mood-translator,
.sf-form, .bodytype-guide { scroll-margin-top: 26px; }

/* Body-type explainer toggle */
.bt-content { margin-top: 10px; }
.bt-content.hidden { display: none; }

/* #2 — care symbol grid */
.care-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 12px;
  margin: 6px 0 12px;
}
.care-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: #f4ede4;
  border: 1px solid #e6dccd;
  border-radius: 12px;
  padding: 12px 6px;
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.care-tile:hover { transform: translateY(-2px); background: #fffdf9; }
.care-tile.active { border-color: var(--accent, #c43670); background: #fffdf9; }
.care-svg svg { width: 42px; height: 42px; display: block; }
.care-lbl { font-size: .72rem; color: #6f6357; text-align: center; line-height: 1.25; }
.care-detail { text-align: left; margin-top: 4px; }
.care-detail strong { color: #3b3b3b; }

/* =====================================================
   SILHOUETTE VISUALIZATION (Shape & Fit)
===================================================== */
.sil-card { text-align: center; }
.sil-stage { display: flex; justify-content: center; margin: 6px 0 4px; }
.sil-svg { width: 190px; height: auto; max-height: 380px; }
.sil-line { fill: none; stroke: #3b3b3b; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.garment { fill: rgba(196, 54, 112, .15); stroke: #c43670; stroke-width: 1.4; stroke-linejoin: round; }
.garment-line { fill: none; stroke: #c43670; stroke-width: 1.2; stroke-linecap: round; }
.garment-belt { fill: none; stroke: #c43670; stroke-width: 3.4; stroke-linecap: round; }
.sil-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 4px; }
.sil-arrow { background: none; border: none; font-size: 24px; color: #d9a7b4; cursor: pointer; line-height: 1; transition: color .15s ease; }
.sil-arrow:hover { color: #c43670; }
.sil-cap { font-family: "Playfair Display", serif; color: #3b3b3b; font-size: 1rem; min-width: 220px; }
.sil-dots { display: flex; justify-content: center; gap: 7px; margin-top: 10px; }
.sil-dot { width: 8px; height: 8px; border-radius: 50%; background: #e6dccd; transition: background .15s ease; }
.sil-dot.on { background: #c43670; }

/* =====================================================
   ACCESSORY VISUALS (Jewelry & Accessories)
===================================================== */
.jl-card { text-align: center; }
.jl-stage { display: flex; justify-content: center; margin: 8px 0 2px; }
.jl-svg { width: 175px; height: auto; }
.bag-svg { width: 190px; height: auto; }
.cap-svg { width: 100%; max-width: 330px; height: auto; }
.cap-lbl { font-size: 8.5px; fill: #8a7f70; text-anchor: middle; font-family: "Poppins", sans-serif; }

/* =====================================================
   NON-STYLIST FIXES
===================================================== */

/* #8 — profile page buttons: on-brand (cream card, pink accent) */
.personal-btn {
  background: #fffdf9 !important;
  border: 1.5px solid #e6dccd !important;
  color: #3b3b3b !important;
  box-shadow: 0 3px 10px rgba(70, 58, 50, .06) !important;
  max-width: 100%;
}
.personal-btn i { color: var(--accent, #c43670) !important; }
.personal-btn:hover {
  background: #fbeef3 !important;
  border-color: var(--accent, #c43670) !important;
}

/* #11a — create-account button beside Log In */
.header-create {
  display: inline-block;
  background: transparent;
  color: #3b3b3b !important;
  border: 1.5px solid #3b3b3b;
  text-decoration: none !important;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  margin-left: 10px;
  transition: background .2s ease, color .2s ease;
}
.header-create:hover { background: #3b3b3b; color: #fff !important; }

/* #9 — center the messy pages */
.auth-container {
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
}
.auth-card { width: 100%; max-width: 430px; margin: 0 auto; }

.choose { text-align: center; margin: 8px auto 24px; }
.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto 24px;
  padding: 0 16px;
}
.subscription-card { flex: 1 1 260px; max-width: 300px; }
.explaination { text-align: center; max-width: 700px; margin: 0 auto 56px; color: #8a8a8a; font-size: .92rem; padding: 0 16px; }

.favourites-page, .settings-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}
.favourites-intro, .settings-intro { text-align: center; margin-bottom: 20px; }
.settings-card { max-width: 640px; margin: 16px auto; }

/* #11b — style summary page */
.summary-page { max-width: 860px; margin: 0 auto; padding: 30px 16px 70px; }
.summary-intro { text-align: center; margin-bottom: 22px; }
.summary-intro h1 { font-family: "Playfair Display", serif; color: #3b3b3b; }
.summary-intro p { color: #8a8a8a; }
.summary-hero { text-align: center; }
.summary-kicker { text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; color: var(--accent, #c43670); margin-bottom: 6px; }
.summary-hero h2 { font-family: "Playfair Display", serif; font-size: 1.8rem; color: #3b3b3b; margin: 0 0 10px; }
.summary-secondary { color: #8a8a8a; }
.summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.summary-actions { text-align: center; margin-top: 22px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.summary-cta {
  background: #3b3b3b; color: #fff !important; text-decoration: none;
  padding: 12px 28px; border-radius: 999px; font-weight: 600;
}
.summary-cta:hover { background: #222; }
.summary-retake {
  background: transparent; color: #3b3b3b !important; text-decoration: none;
  border: 1.5px solid #e6dccd; padding: 12px 24px; border-radius: 999px;
}
.summary-retake:hover { border-color: var(--accent, #c43670); }
@media (max-width: 560px) { .summary-grid { grid-template-columns: 1fr; } }

/* =====================================================
   BATCH FIXES v2
===================================================== */

/* #4 — keep the STILED logo centered regardless of side widths */
.logo { position: absolute; left: 50%; transform: translateX(-50%); }

/* #1 — subscription cards + no underlines */
.subscription-card {
  background: var(--bg);
  border: 1px solid #ece2d8;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(70, 58, 50, .07);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.subscription-card h2 { font-family: "Playfair Display", serif; color: #3b3b3b; margin: 0 0 10px; }
.subscription-card p { color: #777; font-size: .92rem; margin: 0 0 14px; }
.subscription-card .price { font-size: 1.5rem; font-weight: 600; color: #3b3b3b; margin: 6px 0 18px; display: block; }
.subscription-card .pb-btn { margin-top: auto; width: 100%; }
.pb-btn { text-decoration: none !important; display: inline-block; text-align: center; }

/* #2 — auth + settings pages: match the contact-page aesthetic */
.auth-card {
  background: var(--bg);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .1);
  padding: 38px 32px;
}
.auth-title { font-family: "Playfair Display", serif; text-align: center; color: #3b3b3b; margin: 0 0 6px; }
.auth-subtitle { text-align: center; color: #8a8a8a; margin: 0 0 22px; }
.auth-form { display: flex; flex-direction: column; }
.auth-form .form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.auth-form label { font-weight: 600; color: #3b3b3b; font-size: .92rem; }
.auth-form input {
  width: 100%; box-sizing: border-box; padding: 12px;
  border: 1px solid rgba(0, 0, 0, .18); border-radius: 6px; font-size: 1rem;
  background: var(--bg); font-family: "Poppins", sans-serif;
}
.auth-btn {
  background: var(--accent); color: #fff; padding: 12px 20px; border: none;
  border-radius: 6px; cursor: pointer; font-size: 1rem; width: 100%; margin-top: 4px;
  transition: transform .2s ease;
}
.auth-btn:hover { transform: scale(1.02); }
.settings-card {
  background: var(--bg); border-radius: 12px; box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
  padding: 26px 24px; max-width: 640px; margin: 16px auto;
}

/* #8 — scrolled tool titles land just below the sticky header */
section[id], .color-suggester, .palette-builder, .mood-translator,
.sf-form, .bodytype-guide { scroll-margin-top: 96px; }

/* #9 — selection boxes #fffaf4 */
.cp-glass select, .fit-glass select, .pb-form select, .mt-box select,
.field-row select, .field-row input[type="number"], .form-group select,
.sf-form select, .sf-form input[type="number"], .bodytype-guide select,
.color-suggester select, select.styled, .tool select {
  background: #fffaf4 !important;
}

/* Profile greeting + logout button */
.profile-greeting {
  text-align: center;
  font-family: "Playfair Display", serif;
  color: #3b3b3b;
  margin: 4px 0 18px;
}
.personal-btn.logout-btn { color: var(--accent, #c43670) !important; }
.personal-btn.logout-btn i { color: var(--accent, #c43670) !important; }
.personal-btn.logout-btn:hover { background: #fbeef3 !important; border-color: var(--accent, #c43670) !important; }

/* =====================================================
   MOBILE / RESPONSIVE
===================================================== */
/* safety net: no horizontal scrolling; media never overflows */
html, body { overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }

@media (max-width: 768px) {
  /* header: compact, logo back in flow, declutter the buttons */
  .site-header { padding: 12px 14px; }
  .logo { position: static; transform: none; margin: 0 auto; font-size: 1.4rem; }
  .header-create { display: none; }               /* login page links to register */
  .header-login { padding: 6px 12px; font-size: 13px; margin-left: 6px; }
  .side-menu { width: min(300px, 84vw); }

  /* generic spacing + type scale */
  .hero { padding: 26px 16px; }
  .intro-line { font-size: 1.6rem; }
  .quiz-title, .cp-title, .fit-title { font-size: 1.55rem; }

  /* hard-width elements become fluid */
  .save-continue-btn { width: 100%; max-width: 400px; margin: 32px auto 60px; }
  .personal-btn { width: 100%; max-width: 420px; }

  /* search card */
  .pcard { max-width: 100%; padding: 20px 42px 22px; min-height: auto; border-radius: 18px; }
  .pcard-photo { height: 240px; }
  .pcard-photo img { max-height: 240px; }
  .pcard-arrow { font-size: 20px; padding: 6px; }
  .pcard-prev { left: 2px; } .pcard-next { right: 2px; }
  .pcard-icon { font-size: 17px; top: 14px; }
  .pcard-title { font-size: .95rem; }

  /* stylist: tool cards, subnav (scrollable), visuals */
  .cp-glass, .fit-glass { padding: 20px 16px; }
  .sub-nav ul { overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; -webkit-overflow-scrolling: touch; }
  .sub-nav a { white-space: nowrap; }
  .sr-card { padding: 16px; max-width: 100%; }
  .sil-svg, .jl-svg { width: 150px; }
  .bag-svg { width: 160px; }
  .care-grid { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }

  /* forms / auth / settings / contact */
  .auth-card, .contact-section, .settings-card { padding: 24px 18px; max-width: 100%; }
  .auth-container { padding: 32px 14px; }

  /* favourites / subscriptions / summary */
  .cards-container { flex-direction: column; align-items: center; }
  .subscription-card { max-width: 100%; width: 100%; }
  .favourites-page, .settings-page, .summary-page, .subscriptions-page { padding: 16px 14px 48px; }
  .summary-grid { grid-template-columns: 1fr; }

  .site-footer { padding: 24px 16px; text-align: center; }
}

@media (max-width: 480px) {
  .intro-line { font-size: 1.35rem; }
  .pcard { padding: 18px 36px 20px; }
  .pcard-photo { height: 210px; }
  .pcard-photo img { max-height: 210px; }
  .care-grid { grid-template-columns: repeat(3, 1fr); }
  .sil-svg, .jl-svg { width: 138px; }
  .buy-btn { width: 100%; }
}

/* =====================================================
   FIX BATCH — mobile polish + shared tweaks
===================================================== */

/* #8 recommendation (search) cards: lighter than bg, not white */
.pcard { background: #fffdf9; }

/* #7 buy button never leaves the card */
.buy-btn { max-width: 100%; box-sizing: border-box; }

/* #2 profile buttons all the same length */
.personal-btn { width: 100%; max-width: 420px; margin: 12px auto; box-sizing: border-box; }

/* #12 profile icon sized to match logo + menu button */
.icon-btn.profile i { font-size: 20px; }
.icon-btn { padding: 4px; }

/* #9 search heading + bar centered on screen */
.search-stage { justify-content: center; }
.search-heading { margin: 0 0 26px; }
.search-wrap { margin: 22px 0 0; }

/* #3 progress line stops before the Start Quiz button */
.progress-container { bottom: 150px; }

/* #13 style-summary cards equal length */
.summary-grid { align-items: stretch; }
.summary-grid > .sr-card { margin: 0; height: 100%; }

/* #5 justify body paragraphs (Blocksatz) */
.sr-card p, .step-desc, .cp-support, .fit-support, .explaination,
.summary-hero p, .how-box p, .cp-glass p, .fit-glass p, .about-text p {
  text-align: justify;
  hyphens: auto;
}

@media (max-width: 768px) {
  /* #1 side menu: fully hidden until opened, then covers half the screen */
  .side-menu { width: 55vw; left: -60vw; }
  .side-menu.active { left: 0; }

  /* #4 smaller type so sections fit the screen */
  .intro-line { font-size: 1.4rem; }
  .search-heading { font-size: 22px; margin: 0 0 20px; }
  .search-wrap { margin: 16px 0 0; }
  .hero, .why-stiled, .how-it-works { padding-top: 30px; padding-bottom: 34px; }
  h1 { font-size: 1.6rem; } h2 { font-size: 1.3rem; }

  /* #3 how-it-works box fits the screen */
  .how-it-works { padding-left: 12px; padding-right: 12px; }
  .how-box { padding: 26px 16px; max-width: 100%; box-sizing: border-box; }
  .progress-container { left: 16px; top: 60px; bottom: 96px; }
  .step-icon { margin-left: 26px; font-size: 16px; padding-top: 26px; }
  .step-title { font-size: 15px; gap: 10px; padding-top: 26px; }
  .step-desc { font-size: 13px; }

  /* #6 stylist subnav fits width (no scroll), smaller text */
  .sub-nav ul { overflow-x: visible; flex-wrap: nowrap; gap: 2px; padding: 0 4px; }
  .sub-nav a { font-size: 11px; padding: 6px 4px; white-space: nowrap; }

  /* #7 buy button fits inside the card on phones */
  .buy-btn { width: 100%; max-width: 300px; padding: 12px 10px; letter-spacing: .08em; }

  /* #11 favourites as a grid, not a stack */
  #favouritesGrid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 480px) {
  .search-heading { font-size: 20px; }
  .step-icon { margin-left: 18px; }
  .sub-nav a { font-size: 10px; padding: 6px 3px; }
}

/* =====================================================
   FIX BATCH 2 — mobile polish round 2
===================================================== */

/* #1 side menu: padding was adding 40px past the width (the sliver) */
.side-menu { box-sizing: border-box; }

/* #7 menu links left-aligned so wrapped "Personalized Search" lines up */
.side-menu a, .side-menu li, .submenu-link { text-align: left; }

/* #8 profile buttons: uniform + minimal gap, text centered */
.personal-btn { margin: 6px auto; justify-content: center; }

/* #12 buy button: centered text, contained */
.buy-btn { display: block; text-align: center; box-sizing: border-box; }

/* #13 heart nudged toward the corner, away from the image */
.pcard-fav { right: 46px; }
.pcard-close { right: 18px; }

/* #5 (all sizes) heading centered, bar at bottom — only before searching */
/* (old search push-apart rules removed — centering handled in FIX BATCH 5) */

/* #14 style summary: smaller + real spacing between cards */
.summary-hero h2 { font-size: 1.5rem; }
.summary-hero, .summary-grid, .summary-page > .sr-card { margin-bottom: 14px; }
.summary-grid { gap: 14px; }
.summary-actions { margin-top: 12px; }

@media (max-width: 768px) {
  /* #1 fully hidden with a safety margin */
  .side-menu { width: 62vw; left: -66vw; }
  .side-menu.active { left: 0; }

  /* #6 login smaller, logo truly centered, profile icon in line */
  .header-login { padding: 4px 10px; font-size: 12px; }
  .logo { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; }
  .icon-btn.profile i { font-size: 18px; }

  /* #2 welcome paragraph smaller + closer to the cards (fit one screen) */
  .hero { padding-top: 18px; padding-bottom: 18px; }
  .hero-intro { margin-bottom: 8px; }
  .hero-intro p { font-size: .85rem; line-height: 1.45; margin-top: 8px; }
  .feature-row { margin-top: 12px; gap: 12px; }

  /* #3 how-it-works: heading smaller, steps bigger + left-aligned + tighter */
  .how { font-size: 1.15rem; margin-bottom: 12px; }
  .how-box { padding: 18px 16px 18px 14px; }
  .step-icon { padding-top: 14px; margin-left: 0; font-size: 15px; }
  .step-title { padding-top: 14px; font-size: 15px; text-align: left; }
  .step-desc { font-size: 14px; text-align: left; }
  .progress-container { top: 46px; bottom: 66px; left: 14px; }

  /* #5 search compact so it fits one screen */
  .search-stage { min-height: calc(100vh - 64px); padding-bottom: 16px; }
  .search-heading { font-size: 20px; }
  .search-wrap { margin-bottom: 10px; }

  /* #8 profile buttons uniform width on phone */
  .personal-btn { width: 100%; max-width: 340px; margin: 5px auto; }

  /* #9 stylist hub: less space above intro, smaller category cards */
  .stylist-intro { margin-top: 6px; }
  .stylist-grid { gap: 12px; }

  /* #10 subnav: closer to header, readable + spaced, no scroll */
  .sub-nav { top: 56px; }
  .sub-nav ul { overflow-x: visible; gap: 16px; padding: 8px 0; justify-content: center; flex-wrap: nowrap; }
  .sub-nav a { font-size: 13px; padding: 4px 2px; white-space: nowrap; }

  /* #11 scroll tool title just under the sticky header, compact tools */
  section[id] { scroll-margin-top: 104px; }
  .cp-glass, .fit-glass { padding: 16px 14px; }
  .cp-title, .fit-title { font-size: 1.3rem; }

  /* #12 buy button smaller */
  .buy-btn { width: auto; max-width: 220px; padding: 9px 22px; font-size: 13px; margin: 14px auto 0; letter-spacing: .05em; }

  /* #14 summary a touch smaller */
  .summary-hero h2 { font-size: 1.35rem; }
}

@media (max-width: 480px) {
  .search-heading { font-size: 18px; }
  .buy-btn { max-width: 190px; padding: 8px 18px; }
  .sub-nav a { font-size: 12px; }
  .sub-nav ul { gap: 12px; }
}

/* =====================================================
   FIX BATCH 3 — forceful overrides (beat base specificity)
===================================================== */

/* #6 login button (base was a.header-login, higher specificity) */
a.header-login, .header-login { padding: 5px 12px !important; font-size: 12px !important; line-height: 1.2 !important; }

/* #7 menu links left-aligned */
.side-menu a, .side-menu li, .submenu-link, .submenu a { text-align: left !important; }

/* #5 search: heading + bar centered TOGETHER (not pushed apart) */
.search-stage:not(.searching) { justify-content: center !important; }
.search-stage:not(.searching) .search-heading { margin: 0 0 22px !important; }
.search-stage:not(.searching) .search-bar-float { position: static !important; margin: 0 auto !important; bottom: auto !important; }

/* #8 profile buttons: uniform column, same size, minimal gap */
.personal-wrap { display: flex !important; flex-direction: column; align-items: center; gap: 8px; max-width: 360px; margin: 0 auto; }
.personal-btn { display: flex !important; align-items: center; justify-content: center; width: 100% !important; max-width: 360px !important; height: 52px !important; margin: 0 !important; box-sizing: border-box; text-align: center; }

/* #14/#17 style summary: spacing between EVERY card */
.summary-content > * { margin-bottom: 16px !important; }
.summary-content > *:last-child { margin-bottom: 0 !important; }

/* #4 footer smaller */
.site-footer { padding: 20px 16px !important; }
.footer-container { gap: 16px !important; }
.footer-column { font-size: 12.5px !important; }
.footer-column h4 { font-size: 13.5px !important; margin-bottom: 6px !important; }

@media (max-width: 768px) {
  /* #16 subnav: closer to header, left-aligned so the last item fits */
  .sub-nav { top: 50px !important; }
  .sub-nav ul { justify-content: flex-start !important; gap: 13px !important; padding: 7px 8px !important; overflow-x: visible !important; }
  .sub-nav a { font-size: 12.5px !important; }

  /* #15 stylist tools smaller everywhere */
  .cp-glass, .fit-glass { padding: 14px 12px !important; }
  .cp-title, .fit-title { font-size: 1.2rem !important; }
  .cp-tagline, .fit-tagline, .cp-support, .fit-support { font-size: .82rem !important; }
  .sr-card { padding: 14px !important; }
  .sr-card h4 { font-size: 1.02rem !important; }
  .sr-card p, .sr-list, .care-detail { font-size: .84rem !important; }
  .sil-svg { width: 116px !important; }
  .jl-svg { width: 118px !important; }
  .bag-svg { width: 128px !important; }
  .cp-glass label, .fit-glass label, .cp-glass select, .fit-glass select { font-size: .85rem !important; }
  /* color-match swatches: small, in a grid */
  .swatch-container { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 8px !important; }
  .swatch { width: 100% !important; height: 44px !important; }
  .swatch-label { font-size: .66rem !important; }
  .pb-swatches { display: grid !important; grid-template-columns: repeat(5, 1fr) !important; gap: 6px !important; }
  .pb-swatches div { width: 100% !important; height: 32px !important; }

  /* #18 how-it-works: side spacing, bar in from left, gap to numbers, justified text */
  .how-box { padding: 20px !important; }
  .progress-container { left: 28px !important; }
  .steps-list { padding-left: 34px !important; margin: 0 !important; }
  .step-icon { margin-left: 0 !important; }
  .step-title, .step-desc { text-align: justify !important; hyphens: auto; }

  /* #11 tool title lands under the header (header ~50 + subnav ~40) */
  section[id] { scroll-margin-top: 94px !important; }

  /* #19 quiz smaller + pushed up */
  .quiz-welcome { font-size: 1.4rem !important; }
  .quiz-title { font-size: 1rem !important; }
  .max { font-size: .72rem !important; margin: 2px 0 10px !important; }
  .card { padding: 10px !important; }
  .card h3, .card h4 { font-size: .9rem !important; }
  .card p, .style-card p { font-size: .72rem !important; line-height: 1.3 !important; }
  .card-grid { gap: 10px !important; margin-top: 8px !important; }
  .color-palette-grid { grid-template-columns: repeat(5, 1fr) !important; gap: 8px !important; }
  .palette-card { padding: 8px 6px !important; }
  .palette-swatches span { width: 12px !important; height: 12px !important; }
  .palette-card .label, .palette-card p, .palette-card h4 { font-size: .66rem !important; }
  .save-continue-btn { max-width: 300px !important; padding: 12px 20px !important; }
}

@media (max-width: 480px) {
  .swatch-container { grid-template-columns: repeat(3, 1fr) !important; }
  .save-continue-btn { max-width: 260px !important; }
  .sil-svg { width: 104px !important; } .jl-svg { width: 108px !important; }
}

/* =====================================================
   FIX BATCH 4 — from phone screenshots
===================================================== */

/* #6 vertically center header items so the login button lines up */
.site-header { align-items: center !important; }

@media (max-width: 768px) {
  /* #16 subnav: smaller so the long last item ("Stain Rescue Assistant") fits */
  .sub-nav a { font-size: 11px !important; }
  .sub-nav ul { gap: 9px !important; padding: 6px 6px !important; }

  /* #19 colour palettes: 2-column grid that fits (like the "never wear" question) */
  .color-palette-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .palette-swatches span { width: 13px !important; height: 13px !important; }

  /* colour match: swatches in a tidy grid, tighter title + less empty space */
  .swatch-container { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 8px !important; justify-items: stretch !important; }
  .swatch { width: 100% !important; height: 44px !important; }
  .cp-title { font-size: 1.15rem !important; line-height: 1.2 !important; }
  .cp-glass { margin-bottom: 16px !important; }
}

/* =====================================================
   FIX BATCH 5 — decisive pass (all screens unless noted)
===================================================== */

/* #1 login vertically inline with the menu button */
.site-header { display: flex !important; align-items: center !important; }
a.header-login, .header-login { align-self: center !important; display: inline-flex !important; align-items: center !important; margin: 0 0 0 8px !important; }

/* #2 profile buttons: identical fixed size, desktop + phone */
.personal-wrap { display: flex !important; flex-direction: column !important; align-items: center !important; gap: 10px !important; width: 100%; }
.personal-btn, a.personal-btn {
  width: min(320px, 88vw) !important; min-width: min(320px, 88vw) !important; max-width: none !important;
  height: 50px !important; margin: 0 !important; padding: 0 18px !important;
  font-size: .95rem !important; box-sizing: border-box !important;
}

/* #4 menu item wrapping */
@media (min-width: 769px) { .side-menu a { white-space: nowrap; } }          /* desktop: one line */
@media (max-width: 768px) { .side-menu a { white-space: normal; display: block; line-height: 1.35; padding-left: 0 !important; text-indent: 0 !important; } }

/* #7 style summary: force space between every card */
#summaryContent > * { margin: 0 auto 18px !important; }
#summaryContent > *:last-child { margin-bottom: 0 !important; }
.summary-grid { gap: 18px !important; }
#summaryContent .sr-card { margin-top: 0 !important; }

/* #14 search: heading + bar truly centered together */
.search-stage:not(.searching) {
  display: flex !important; flex-direction: column !important;
  justify-content: center !important; align-items: center !important;
  min-height: calc(100vh - 150px) !important; padding: 0 16px !important;
}
.search-stage:not(.searching) .search-heading { margin: 0 0 20px !important; position: static !important; }
.search-stage:not(.searching) .search-wrap { position: static !important; margin: 0 !important; transform: none !important; }

/* #9 color match: picker on top, uniform 5-across swatches below */
#colorPicker { display: block !important; width: 72px !important; height: 72px !important; margin: 4px auto 14px !important; border: none; background: none; cursor: pointer; }
.swatch-container { display: grid !important; grid-template-columns: repeat(5, 1fr) !important; gap: 8px !important; }
.swatch { width: 100% !important; height: 38px !important; border-radius: 8px !important; box-sizing: border-box; }
.swatch-label { font-size: .6rem !important; }

/* #10 stylist intros: title up, support text down */
.cp-tagline, .fit-tagline { font-size: 1.08rem !important; font-weight: 600 !important; }
.cp-support, .fit-support, .cp-why, .fit-why { font-size: .78rem !important; line-height: 1.55 !important; }

/* #13 subnav click lands the title right under the header */
section[id], .color-suggester, .palette-builder, .mood-translator, .sf-form, .bodytype-guide { scroll-margin-top: 74px !important; }

@media (max-width: 768px) {
  section[id], .color-suggester, .palette-builder, .mood-translator, .sf-form, .bodytype-guide { scroll-margin-top: 56px !important; }

  /* #5 quiz: smaller questions; hint right-aligned, off the cards */
  .topic { font-size: 1.12rem !important; line-height: 1.3 !important; margin-bottom: 2px !important; }
  .max { display: block !important; text-align: right !important; font-size: .68rem !important; margin: 0 8px 10px 0 !important; }

  /* #11 silhouette guide compact; #12 label translator compact */
  .sil-svg { width: 96px !important; }
  .sil-cap { font-size: .82rem !important; min-width: 140px !important; }
  .bodytype-guide, #btToggle { font-size: .9rem !important; }
  .bt-content li { font-size: .78rem !important; }
  .care-grid { grid-template-columns: repeat(4, 1fr) !important; gap: 8px !important; }
  .care-tile { padding: 8px 4px !important; }
  .care-svg svg { width: 28px !important; height: 28px !important; }
  .care-lbl { font-size: .56rem !important; }

  /* #8 subscription cards fit the screen */
  .cards-container { width: 100% !important; padding: 0 14px !important; box-sizing: border-box !important; }
  .subscription-card { width: 100% !important; min-width: 0 !important; max-width: 100% !important; box-sizing: border-box !important; }
}

/* =====================================================
   FIX BATCH 6 — targeted from screenshots
===================================================== */
/* header children truly centered; login inline with hamburger */
.header-left { display: flex !important; align-items: center !important; gap: 8px !important; }
.site-header > * { margin-top: 0 !important; margin-bottom: 0 !important; }

/* logo font everywhere */
.logo { font-family: "Playfair Display", serif !important; }

/* desktop: login back to normal size, matching Create account */
@media (min-width: 769px) {
  a.header-login, .header-login { font-size: 14px !important; padding: 8px 18px !important; }
}

@media (max-width: 768px) {
  /* stylist intro: bigger title, smaller text */
  .cp-title, .fit-title { font-size: 1.45rem !important; }
  .cp-tagline, .fit-tagline { font-size: .95rem !important; }
  .cp-support, .fit-support, .cp-why, .fit-why { font-size: .76rem !important; }

  /* subnav click: header isn't sticky, so land the title near the very top,
     and strip the sections' huge top padding that created the dead gap */
  section[id], .color-suggester, .palette-builder, .mood-translator,
  .sf-form, .bodytype-guide { scroll-margin-top: 12px !important; padding-top: 22px !important; }
}

/* FIX BATCH 7 */
@media (max-width: 768px) {
  .cp-title, .fit-title { font-size: 1.7rem !important; }
  .cp-tagline, .fit-tagline { font-size: .92rem !important; }
  .cp-support, .fit-support, .cp-why, .fit-why { font-size: .72rem !important; }
  section[id], .color-suggester, .palette-builder, .mood-translator,
  .sf-form, .bodytype-guide { scroll-margin-top: 4px !important; padding-top: 14px !important; }
}

/* =====================================================
   FIX BATCH 7 — root causes from code reading
===================================================== */
/* #14: resultsArea has flex:1 and eats all space below the bar,
   pinning heading+bar to the top. Before a search it's empty — remove it. */
.search-stage:not(.searching) #resultsArea { display: none !important; flex: 0 0 auto !important; }
.search-stage:not(.searching) { justify-content: center !important; }
.search-stage:not(.searching) .search-heading { margin: 0 0 20px !important; }

@media (max-width: 768px) {
  /* #10: stronger proportions (body prefix out-ranks everything earlier) */
  body .cp-title, body .fit-title { font-size: 1.6rem !important; }
  body .cp-tagline, body .fit-tagline { font-size: .9rem !important; }
  body .cp-support, body .fit-support, body .cp-why, body .fit-why { font-size: .72rem !important; }

  /* #13: land the tool fully on screen */
  section[id], .color-suggester, .palette-builder, .mood-translator,
  .sf-form, .bodytype-guide { scroll-margin-top: 4px !important; padding-top: 14px !important; }
}

/* =====================================================
   FIX BATCH 8 — colour match structural layout
===================================================== */
.cs-box { display: block !important; }
.cm-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.cm-head h3 { margin: 0; }
#colorPicker { width: 64px !important; height: 64px !important; margin: 0 !important; }
@media (max-width: 480px) { .cm-head { gap: 12px; } .cm-head h3 { font-size: 1rem; } }

/* auth links: pink, no underline */
.auth-card a, .auth-form a { color: #c43670 !important; text-decoration: none !important; }

/* v18 polish */
@media (min-width: 769px) { .side-menu { width: 340px; } }
@media (max-width: 768px) { .side-menu { width: 72vw; left: -76vw; } .side-menu.active { left: 0; } }
a.pb-btn[href*="quiz"] { display: block; max-width: 252px; margin: 20px auto 0; box-sizing: border-box; text-align: center; }
.logo, .site-header .logo { font-family: "Playfair Display", serif !important; font-weight: 500 !important; }
.buy-btn { background: var(--accent, #c43670) !important; color: #fff !important; }
.buy-btn:hover { background: #a92c5e !important; }

/* ================= v19 FINAL OVERRIDES ================= */
/* #1 kill the CSS twin of the flatten hack — container is a plain block */
#suggestedColors, .swatch-container {
  display: block !important; width: 100% !important; max-width: 100% !important;
  grid-template-columns: unset !important; gap: 0 !important;
}
/* #4 side menu: fully hidden, cross top-right, no inner scroll, even spacing */
@media (min-width: 769px) { .side-menu { left: -380px; } .side-menu.active { left: 0; } }
.side-menu { overflow-y: auto; }
.side-menu .close-btn { position: absolute !important; top: 14px !important; right: 16px !important; left: auto !important; margin: 0 !important; }
.side-menu ul { margin: 46px 0 0 !important; padding: 0 !important; }
.side-menu li { margin: 0 !important; }
.side-menu li > a, .side-menu .has-submenu > a { display: block; padding: 13px 22px !important; }
.submenu { max-height: none !important; overflow: visible !important; margin: 0 !important; padding: 0 0 4px !important; }
.submenu li a { padding: 9px 22px 9px 34px !important; font-size: .95em; }
/* #5 subscription buttons: identical size, same level */
.subscription-card .pb-btn, .subscription-card a.pb-btn[href*="quiz"] {
  display: block !important; width: 100% !important; max-width: none !important;
  margin: auto 0 0 !important; box-sizing: border-box !important; text-align: center !important; padding: 12px !important;
}
/* #7 settings links pink, no underline */
.settings-card a, .settings-page a { color: #c43670 !important; text-decoration: none !important; }
/* #9 logo identical everywhere + sticky header */
.logo, .site-header .logo { font-family: "Playfair Display", serif !important; font-weight: 400 !important; }
.site-header { position: sticky !important; top: 0 !important; z-index: 60 !important; background: #fffaf4 !important; }
/* sticky header needs scroll offsets again */
section[id], .color-suggester, .palette-builder, .mood-translator, .sf-form, .bodytype-guide { scroll-margin-top: 76px !important; }
@media (max-width: 768px) {
  section[id], .color-suggester, .palette-builder, .mood-translator, .sf-form, .bodytype-guide { scroll-margin-top: 64px !important; }
}

/* ===== v19 ===== */
#suggestedColors, .swatch-container {
  display: block !important; grid-template-columns: unset !important;
  width: 100% !important; max-width: 100% !important;
}
@media (min-width: 769px) { .side-menu { width: 340px; left: -380px; } .side-menu.active { left: 0; } }
@media (max-width: 768px) { .side-menu { width: 72vw; left: -76vw; } .side-menu.active { left: 0; } }
.side-menu { overflow-y: auto; scrollbar-width: none; }
.side-menu::-webkit-scrollbar { display: none; }
.close-btn { position: absolute !important; top: 12px !important; right: 16px !important; left: auto !important; margin: 0 !important; }
.side-menu ul { margin-top: 34px; }
.side-menu li, .side-menu .has-submenu { margin: 4px 0 !important; }
.side-menu a { padding: 9px 0 !important; }
.side-menu .submenu { margin: 0 0 0 6px !important; max-height: none !important; overflow: visible !important; }
.side-menu .submenu li { margin: 2px 0 !important; }
.side-menu .submenu a { padding: 7px 0 !important; }
.subscription-card { display: flex !important; flex-direction: column !important; }
.subscription-card .pb-btn, a.pb-btn[href*="quiz"] {
  margin-top: auto !important; width: 100% !important; max-width: none !important;
  box-sizing: border-box !important; text-align: center !important; padding: 12px 0 !important;
}
.settings-page a { color: #c43670 !important; text-decoration: none !important; }
.logo { font-family: "Playfair Display", serif !important; font-weight: 400 !important; }
.site-header { position: sticky !important; top: 0 !important; z-index: 200 !important; background: #fffaf4 !important; }
section[id], .color-suggester, .palette-builder, .mood-translator, .sf-form, .bodytype-guide { scroll-margin-top: 76px !important; padding-top: 22px !important; }
@media (max-width: 768px) { section[id], .color-suggester, .palette-builder, .mood-translator, .sf-form, .bodytype-guide { scroll-margin-top: 64px !important; } }

/* ===== v20 ===== */
/* menu: one shared left edge for everything */
.menu-list { padding-left: 34px !important; margin: 34px 0 0 0 !important; }
.menu-list li { list-style: none !important; }
.side-menu .submenu-header { margin: 0 !important; padding: 0 !important; display: flex; align-items: center; justify-content: space-between; }
.side-menu .submenu-header .submenu-link { padding-left: 0 !important; }
.side-menu .submenu { padding-left: 0 !important; margin: 0 !important; }
.side-menu .submenu li { list-style: none !important; }
.side-menu .submenu a { padding-left: 0 !important; }
.side-menu ul { margin-top: 0 !important; }
.menu-list > li:first-child { margin-top: 0 !important; }

@media (max-width: 768px) {
  /* how-it-works: heading hierarchy + step alignment */
  .how { font-size: 1.5rem !important; margin-bottom: 4px !important; }
  .here { font-size: .85rem !important; color: #8a8a8a !important; margin-top: 0 !important; }
  .step-title { font-size: 16px !important; }
  .step-desc {
    font-size: 13px !important; line-height: 1.45 !important;
    text-align: left !important; hyphens: none !important;
    padding-left: 0 !important; margin: 4px 0 0 44px !important;
  }
}
