/* ============================================================
   style.css — Mrs Makeup Ireland
   Aesthetic: Editorial / Magazine — clean, structured, typographic
   Font: Rubik variable — self-hosted
   Palette: Rose / dusty pink accent on clean white editorial base
   ============================================================ */

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --accent:        #c8496a;       /* dusty rose — Mrs Makeup brand */
  --accent-light:  #fdf0f3;       /* tint for backgrounds */
  --accent-dark:   #a3334f;       /* darker shade for hover states */

  --dark:          #111111;
  --dark-mid:      #1e1e1e;
  --mid:           #4a4a4a;
  --muted:         #767676;
  --border:        #e0e0e0;
  --bg-light:      #faf9f8;
  --white:         #ffffff;

  --font-display:  Georgia, 'Times New Roman', serif;
  --font-body:     'Rubik', system-ui, -apple-system, sans-serif;

  --radius:        6px;
  --radius-lg:     12px;
  --shadow-sm:     0 1px 4px rgba(0,0,0,0.08);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:     0 8px 32px rgba(0,0,0,0.12);

  --container:     1200px;
  --section-gap:   5rem;
}

/* ============================================================
   FONT — Rubik variable, self-hosted
   ============================================================ */
@font-face {
  font-family: 'Rubik';
  src: url('../fonts/Rubik-VariableFont.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--mid);
  background: var(--white);
  overflow-x: hidden;
  max-width: 100vw;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  content-visibility: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-dark);
}

ul { list-style: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--dark);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(1.9rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.35rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

.accent { color: var(--accent); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: var(--section-gap) 0; }

.section-intro {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-intro h2 { margin-bottom: 1rem; }

.section-intro p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  text-decoration: none;
  line-height: 1;
}

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

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

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

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

.btn-hero-primary {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
  border-radius: 4px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s, transform 0.15s;
}

.btn-hero-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-hero-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 4px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.15s;
}

.btn-hero-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.12);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   TOP BAR — black strip above header
   ============================================================ */
.top-bar {
  background: #000;
  padding: 0.45rem 0;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.top-bar-left {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.02em;
}

.top-bar-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.top-bar-cta:hover {
  color: #fff;
}

@media (max-width: 600px) {
  .top-bar-left { display: none; }
}

/* ============================================================
   NAV BOT CTA — accent pill button in nav
   ============================================================ */
.nav-bot-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}

.nav-bot-cta:hover {
  background: var(--accent-dark);
  color: var(--white);
}

@media (max-width: 767px) {
  .nav-bot-cta { display: none; }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
}

.site-nav {
  position: relative;
  width: 100%;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  height: 112px;
  padding: 0 1.5rem;
}

.nav-logo {
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-right: 2rem;
}

.nav-logo img {
  width: auto;
  height: 80px;
  object-fit: contain;
  content-visibility: visible;
  margin: 0;
}

.nav-menu {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0;
  flex: 1;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu li {
  display: flex;
  align-items: stretch;
  position: relative;
}

.nav-menu li a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--mid);
  padding: 0 1rem;
  display: flex;
  align-items: center;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s;
  text-decoration: none;
  gap: 0.3rem;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.75rem;
  right: 0.75rem;
  height: 3px;
  background: var(--accent);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

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

.nav-menu li a:hover::after,
.nav-menu li a[aria-current="page"]::after { transform: scaleX(1); }

.nav-menu li a[aria-current="page"] { color: var(--accent); }

/* Dropdown */
.nav-chevron {
  transition: transform 0.2s;
  flex-shrink: 0;
}

.nav-has-dropdown.is-open .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
  z-index: 200;
  list-style: none;
}

.nav-has-dropdown.is-open .nav-dropdown { display: block; }

.nav-dropdown li { display: block; }

.nav-dropdown li a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  color: var(--mid);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.nav-dropdown li a::after { display: none; }

.nav-dropdown li a:hover {
  color: var(--accent);
  background: var(--accent-light);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
}

.hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 767px) {
  .nav-hamburger { display: flex; }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 1rem;
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 0.25rem;
    z-index: 200;
    justify-content: flex-start;
  }

  .nav-menu.is-open { display: flex; }

  .nav-menu li { display: block; }

  .nav-menu li a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--mid);
    height: auto;
    display: block;
  }

  .nav-menu li a::after { display: none; }

  .nav-dropdown {
    display: none;
    position: static;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--accent);
    border-radius: 0;
    padding: 0.25rem 0 0.25rem 1rem;
    margin-left: 1rem;
    background: var(--accent-light);
  }

  .nav-has-dropdown.is-open .nav-dropdown { display: block; }

  .nav-dropdown li a {
    padding: 0.4rem 0.75rem;
    font-size: 0.9rem;
  }

  .nav-chevron { margin-left: auto; }
}

/* ============================================================
   PAGE BANNER — inner pages
   ============================================================ */
.page-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 4rem 0 3rem;
  min-height: 220px;
  display: flex;
  align-items: center;
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,0.55);
}

.page-banner .container {
  position: relative;
  z-index: 1;
}

.page-banner-title {
  color: var(--white);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  margin: 0;
}

/* ============================================================
   HERO — Split layout: left text, right bot
   ============================================================ */
.hero {
  background-image: url('../images/hero.webp');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
  padding: 7rem 0 7.5rem;
}

/* Dark overlay so text reads cleanly over the image */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,0.55);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-bg-shape {
  display: none;
}

.hero-inner--split {
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 3rem;
}

.hero-text {
  max-width: 560px;
}

.hero-eyebrow {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 1rem;
}

.hero-heading {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 0;
  line-height: 1.1;
}

.hero-heading-wrap {
  padding-left: 1.2rem;
  border-left: 4px solid var(--accent);
  margin-bottom: 1.25rem;
}

.hero-heading em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 460px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-trust-item {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-trust-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ---- Hero bot column — live tcd-* widget mount point ---- */
/*
 * The hero bot column now uses the shared tcd-* chat system.
 * The old hero-bot-card / hero-bot-chip / hero-bot-bubble static
 * widget CSS has been removed — replaced by the tcd-* system below.
 */
.hero-bot-col {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Constrain the hero chat height in the split hero layout */
.hero-bot-col .tcd-hero-chat {
  min-height: 480px;
  max-height: 560px;
}

@media (max-width: 1024px) {
  .hero-inner--split {
    grid-template-columns: 1fr 360px;
    gap: 2rem;
  }
}

@media (max-width: 860px) {
  .hero-inner--split {
    grid-template-columns: 1fr;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-bot-col {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  /* Restore unconstrained height on mobile — chat panel scrolls internally */
  .hero-bot-col .tcd-hero-chat {
    min-height: 460px;
    max-height: none;
  }

  .hero-ctas { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   PILLARS — 4-col card grid
   ============================================================ */
.pillars-grid--four {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.pillar-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.pillar-card-img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg-light);
}

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

.pillar-card:hover .pillar-card-img img {
  transform: scale(1.04);
}

.pillar-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pillar-card-body h3 {
  margin: 0.25rem 0 0.75rem;
  font-size: 1.1rem;
}

.pillar-card-body p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.6;
  flex: 1;
}

.pillar-links {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pillar-links li {
  font-size: 0.82rem;
}

.pillar-links li a {
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.pillar-links li a::before {
  content: '→';
  color: var(--accent);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.pillar-links li a:hover {
  color: var(--accent);
}

@media (max-width: 1023px) {
  /* pillars already 2-col on desktop */
}

@media (max-width: 580px) {
  .pillars-grid--four {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   POPULAR POSTS — featured articles section
   ============================================================ */
.popular-posts-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.popular-posts-header-left { max-width: 500px; }
.popular-posts-header-left h2 { margin-top: 0.25rem; }

.popular-posts-header-right {
  max-width: 320px;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* 3-col default */
.post-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* 3-col variant for blog section */
.post-cards-row--two {
  grid-template-columns: repeat(3, 1fr);
}

.post-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.post-card-img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-light);
}

.post-card--wide .post-card-img-wrap {
  aspect-ratio: 16 / 8;
}

.post-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  margin: 0;
}

.post-card:hover .post-card-img-wrap img {
  transform: scale(1.04);
}

.post-card-body {
  padding: 1.25rem 1.25rem 0;
  flex: 1;
}

.post-card-cat {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: inline-block;
}

.post-card-title {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.post-card-title a {
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s;
}

.post-card-title a:hover { color: var(--accent); }

.post-card-excerpt {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.post-card-footer {
  padding: 0.75rem 1.25rem 1.25rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.post-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 0.2s;
}

.post-card-link:hover {
  gap: 0.5rem;
  color: var(--accent-dark);
}

@media (max-width: 1023px) {
  .popular-posts-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .popular-posts-header-right { max-width: 100%; }
}

@media (max-width: 900px) {
  .post-cards-row { grid-template-columns: repeat(2, 1fr); }
  .post-cards-row--two { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .post-cards-row,
  .post-cards-row--two { grid-template-columns: 1fr; }
}

/* ============================================================
   EDITORIAL SPLIT — about section 2-col
   ============================================================ */
.ppe-overview-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ppe-overview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  margin: 0;
  aspect-ratio: 7 / 6;
}

.ppe-overview-content h2 {
  margin-bottom: 1.25rem;
}

.ppe-overview-content h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.ppe-overview-content p {
  color: var(--mid);
  margin-bottom: 1.1rem;
  line-height: 1.75;
}

@media (max-width: 860px) {
  .ppe-overview-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============================================================
   FAQ — accordion
   ============================================================ */
.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.1rem 0;
  font-family: var(--font-body);
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--accent); }

.faq-icon {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s;
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;
}

.faq-answer p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* ============================================================
   NEWSLETTER STRIP
   ============================================================ */
.newsletter-strip {
  background: var(--dark-mid);
  padding: 4rem 0;
}

.newsletter-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.newsletter-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.newsletter-intro p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.newsletter-form {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.newsletter-field {
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.newsletter-field label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.newsletter-field input {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.newsletter-field input::placeholder { color: rgba(255,255,255,0.4); }

.newsletter-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,73,106,0.25);
  background: rgba(255,255,255,0.12);
}

.newsletter-btn {
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-end;
}

@media (max-width: 600px) {
  .newsletter-form { flex-direction: column; }
  .newsletter-field, .newsletter-btn { width: 100%; }
}

/* ── Newsletter in-place thank you ─────────────────────────── */
.newsletter-thanks {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.newsletter-thanks svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: #a8e6b0;
}
.newsletter-thanks p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Inline variant — sits on light background */
.newsletter-inline .newsletter-thanks {
  background: var(--light, #f7f4f1);
  color: var(--dark, #1a1a1a);
  border: 1px solid var(--border, #e0d9d3);
}
.newsletter-inline .newsletter-thanks svg {
  color: #3a8a48;
}

/* Sidebar variant — sits on accent background, same as band */
.sidebar-widget .newsletter-thanks {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.sidebar-widget .newsletter-thanks svg {
  color: #a8e6b0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark-mid);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav li a:hover { color: var(--white); }

.footer-subscribe-label {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.4rem;
}

.footer-subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-subscribe-form input {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.07);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  transition: border-color 0.2s, background 0.2s;
  margin: 0;
}

.footer-subscribe-form input::placeholder { color: rgba(255,255,255,0.35); }

.footer-subscribe-form input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.1);
}

.footer-subscribe-btn { width: 100%; }

.footer-subscribe-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.6rem;
  line-height: 1.5;
}

.footer-bottom { padding: 1.5rem 0; }

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 400;
}

.footer-logo-text strong {
  color: var(--accent);
  font-weight: 700;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

.footer-copy a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-copy a:hover { color: var(--white); }

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-social a {
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  transition: color 0.2s;
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

.footer-social a:hover { color: var(--white); }

@media (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================================
   BLOG INDEX — compact hero + masonry grid + filter
   ============================================================ */
.blog-index-hero {
  background: linear-gradient(135deg, #fff8f9 0%, #fef5f7 100%);
  padding: 4rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}

.blog-index-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--dark);
  margin: 0.5rem 0 0.75rem;
  line-height: 1.15;
}

.blog-index-sub {
  color: var(--mid);
  font-size: 1rem;
  max-width: 520px;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.breadcrumb ol li + li::before {
  content: '/';
  margin-right: 0.5rem;
  color: var(--border);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.blog-filter-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.4rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--mid);
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.blog-filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.blog-filter-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.blog-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.blog-masonry-card {
  break-inside: avoid;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.2s, transform 0.2s;
  display: block;
}

.blog-masonry-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.blog-masonry-card.is-hidden { display: none; }

.bmc-img-link {
  display: block;
  text-decoration: none;
}

.bmc-img-wrap {
  overflow: hidden;
  background: var(--bg-light);
}

.bmc-img-wrap img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  margin: 0;
}

.bmc-img-wrap--tall img { aspect-ratio: 4 / 3; }

.blog-masonry-card:hover .bmc-img-wrap img {
  transform: scale(1.04);
}

.bmc-body { padding: 1.25rem; }

.bmc-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.bmc-cat:hover { color: var(--accent-dark); }

.bmc-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.bmc-title a {
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s;
}

.bmc-title a:hover { color: var(--accent); }

.bmc-excerpt {
  font-size: 0.875rem;
  color: var(--mid);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.bmc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.bmc-date {
  font-size: 0.75rem;
  color: var(--muted);
}

.bmc-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

.bmc-link:hover { color: var(--accent-dark); }

.blog-no-results {
  text-align: center;
  padding: 3rem 0;
  color: var(--muted);
  font-size: 1rem;
}

@media (max-width: 900px) {
  .blog-masonry { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .blog-masonry { grid-template-columns: 1fr; }
}

/* ============================================================
   POST LAYOUT — article pages
   ============================================================ */
.post-hero {
  background: var(--dark-mid);
  padding: 3.5rem 0 3rem;
}

.post-eyebrow {
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}

.post-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.post-meta {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.post-layout { background: var(--white); }

.post-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

.post-content { min-width: 0; }

.post-lead {
  font-size: 1.1rem;
  color: var(--mid);
  border-left: 4px solid var(--accent);
  padding-left: 1.25rem;
  margin-bottom: 2rem;
}

.post-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.post-content h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.post-content figure { margin: 2rem 0; }

.post-content figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.5rem;
}

.post-content img {
  border-radius: var(--radius);
  margin: 0;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2.5rem 0;
}

.tag {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  background: var(--accent-light);
  color: var(--accent-dark);
  border-radius: 100px;
}

.bio-block {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2.5rem 0;
  border: 1px solid var(--border);
}

.bio-logo-placeholder {
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bio-site-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.bio-desc {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
}

.related-posts { margin-top: 2.5rem; }

.related-posts h3 {
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.post-sidebar {
  position: sticky;
  top: 140px;
}

.sidebar-posts {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidebar-posts li a {
  color: var(--mid);
  font-size: 0.875rem;
  padding: 0.4rem 0 0.4rem 1.25rem;
  display: block;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
  position: relative;
}

.sidebar-posts li:last-child a { border-bottom: none; }

.sidebar-posts li a::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
}

.sidebar-posts li a:hover { color: var(--accent); }

@media (max-width: 1023px) {
  .post-grid {
    grid-template-columns: 1fr;
  }

  .post-sidebar { position: static; }
}

@media (max-width: 600px) {
  .related-posts-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SIDEBAR WIDGET
   ============================================================ */
.sidebar-widget {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-widget-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dark);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
}

/* ============================================================
   UTILITY
   ============================================================ */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ============================================================
   POST PAGE — breadcrumb bar + article header
   ============================================================ */
.post-breadcrumb-bar {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.post-breadcrumb-bar .breadcrumb ol {
  margin: 0;
}

.post-article-header {
  padding: 3.5rem 0 3rem;
  background: var(--dark-mid);
  border-bottom: none;
}

.post-article-header .eyebrow {
  color: var(--accent) !important;
  margin-bottom: 0.6rem;
}

.post-article-title {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.post-article-meta {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

/* ============================================================
   PROSE CONTENT — privacy, terms, about body text
   ============================================================ */
.post-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.post-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
}

.post-content p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

.post-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-content a:hover {
  color: var(--accent-dark);
}

.post-content blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: var(--muted);
  font-style: italic;
}

.post-content blockquote footer {
  font-size: 0.85rem;
  font-style: normal;
  color: var(--muted);
  margin-top: 0.5rem;
}

.post-content img {
  border-radius: var(--radius);
  margin: 1.5rem 0;
  max-width: 100%;
  height: auto;
}

/* Contact page responsive grid */
@media (max-width: 767px) {
  .post-article-header {
    padding: 2.5rem 0 2rem;
  }
}

/* ============================================================
   BEAUTY ASSISTANT BOT  v2.0
   Hero bot + floating bot
   tcd-* class system — shared pattern
   Accent: var(--accent) = #c8496a
   ============================================================ */

/* ── Accent deep for typing dots ───────────────────────────── */
:root { --accent-deep: #a03858; }

/* ── Shared chat container ─────────────────────────────────── */
.tcd-hero-chat {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.11);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  max-height: 620px;
  position: relative;
  z-index: 10;
}

/* ── Shared dark header ────────────────────────────────────── */
.tcd-bot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  height: 56px;
  flex-shrink: 0;
  background: #1a1a1a;
  color: #fff;
}
.tcd-bot-header-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}
.tcd-bot-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.tcd-bot-header-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.tcd-bot-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tcd-bot-tagline {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tcd-bot-reset {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,255,255,0.1);
  border: none;
  color: rgba(255,255,255,0.85);
  border-radius: 6px;
  padding: 0.3rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
  font-family: var(--font-body);
}
.tcd-bot-reset:hover { background: rgba(255,255,255,0.2); }
.tcd-bot-reset svg { flex-shrink: 0; }

/* ── Message panel ─────────────────────────────────────────── */
.tcd-hero-chat-panel {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;
  scroll-behavior: smooth;
}

.tcd-hero-messages {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* ── Message bubbles ───────────────────────────────────────── */
.tcd-msg {
  max-width: 88%;
  padding: 0.7rem 0.95rem;
  border-radius: 12px;
  font-size: 0.875rem;
  line-height: 1.6;
}
.tcd-bot {
  background: #fdf8ee;
  color: var(--dark);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}
.tcd-user {
  background: var(--accent);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
  max-width: 80%;
}

/* ── Typing indicator ──────────────────────────────────────── */
.tcd-typing {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 0.7rem 0.95rem;
}
.tcd-typing span {
  width: 9px;
  height: 9px;
  background: var(--accent-deep);
  border-radius: 50%;
  animation: tcd-bounce 1.2s infinite ease-in-out;
}
.tcd-typing span:nth-child(1) { animation-delay: 0s; }
.tcd-typing span:nth-child(2) { animation-delay: 0.2s; }
.tcd-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes tcd-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.6; }
  40%           { transform: translateY(-6px); opacity: 1; }
}

/* ── Input row ─────────────────────────────────────────────── */
.tcd-bot-inputrow {
  padding: 0.65rem 0.75rem;
  background: #fff;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.tcd-bot-inputwrap {
  display: flex;
  align-items: center;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 0.3rem 0.3rem 0.3rem 1rem;
  gap: 0.4rem;
}
.tcd-bot-inputwrap textarea,
.tcd-bot-inputwrap input[type="text"] {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.875rem;
  font-family: var(--font-body);
  color: var(--dark);
  resize: none;
  outline: none;
  min-height: 36px;
  max-height: 100px;
  line-height: 1.4;
  padding: 0.2rem 0;
}
.tcd-bot-inputwrap textarea::placeholder,
.tcd-bot-inputwrap input[type="text"]::placeholder { color: var(--muted); }
.tcd-bot-send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.15s;
  color: #fff;
}
.tcd-bot-send:hover { opacity: 0.88; }
.tcd-bot-send svg { display: block; }

/* ── Quick buttons — 2x2 grid ──────────────────────────────── */
.tcd-quick-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  padding: 0.6rem 0.75rem 0.75rem;
  background: #fff;
}
.tcd-quick-btn {
  font-size: 0.78rem;
  padding: 0.5rem 0.6rem;
  background: #f3f4f6;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  color: var(--dark);
  text-align: center;
  font-family: var(--font-body);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  line-height: 1.3;
}
.tcd-quick-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ── Floating bot ──────────────────────────────────────────── */
#mm-assistant {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9000;
}

/* ── Floating bubble ───────────────────────────────────────── */
.tcd-bubble {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 3px solid var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
  transition: transform 0.15s ease;
}
.tcd-bubble:hover { transform: scale(1.08); }
.tcd-bubble-label { display: none; }
.tcd-bubble::before {
  content: '';
  position: absolute;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: mm-ring-pulse 2s ease-out infinite;
}
.tcd-bubble::after {
  content: '';
  position: absolute;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  opacity: 0;
  animation: mm-ring-pulse 2s ease-out infinite;
  animation-delay: 0.4s;
}
@keyframes mm-ring-pulse {
  0%   { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}
.tcd-bubble svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent);
  position: relative;
  z-index: 1;
}

/* ── Floating panel ────────────────────────────────────────── */
.tcd-panel {
  position: absolute;
  bottom: calc(100% + 0.75rem);
  right: 0;
  width: 370px;
  min-height: 520px;
  max-height: 680px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 36px rgba(0,0,0,0.14);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.tcd-panel.is-open { display: flex; }

.tcd-panel .tcd-bot-header { border-radius: 0; }
.tcd-panel-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.tcd-panel-actions button {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255,255,255,0.1);
  border: none;
  color: rgba(255,255,255,0.85);
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  font-family: var(--font-body);
}
.tcd-panel-actions button:hover { background: rgba(255,255,255,0.2); }
.tcd-close { font-size: 1rem !important; padding: 0.3rem 0.5rem !important; }

.tcd-chat-log {
  flex: 1;
  overflow-y: auto;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  scroll-behavior: smooth;
}

#mm-float-quick {
  padding-top: 0;
  border-top: 1px solid var(--border);
  background: #fff;
}

/* ── Bot disclaimer bars ───────────────────────────────────── */
.bot-disclaimer-bar {
  font-size: 0.72rem;
  color: #555;
  text-align: center;
  padding: 0.4rem 0.75rem;
  border-top: 1px solid var(--border);
  background: #fafafa;
  line-height: 1.4;
  margin: 0;
}
.bot-disclaimer-bar a { color: var(--accent); text-decoration: underline; }
.bot-disclaimer-bar--float {
  font-size: 0.68rem;
  color: #555;
  text-align: center;
  padding: 0.3rem 0.75rem;
  background: #f8f8f8;
  border-top: 1px solid var(--border);
  line-height: 1.4;
  margin: 0;
  flex-shrink: 0;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner, .hero-inner--split { display: flex; flex-direction: column; }
  .hero-bot-wrap, .hero-bot-col { width: 100%; min-height: 600px; display: flex; flex-direction: column; }
  #mm-bot-hero { display: flex; flex-direction: column; flex: 1; width: 100%; }
  .tcd-hero-chat { display: flex; flex-direction: column; flex: 1; min-height: 0; max-height: none; }
  .tcd-hero-chat-panel { flex: 1 1 auto; min-height: 0; }
}
@media (max-width: 480px) {
  .tcd-panel {
    width: calc(100vw - 2rem);
    max-height: calc(100vh - 6rem);
    right: 0;
  }
  #mm-assistant { right: 1rem; bottom: 1rem; }
  .tcd-bubble-label { display: none; }
}

/* ============================================================
   BEAUTY ASSISTANT PAGE
   /beauty-assistant/
   ============================================================ */

/* ── Demo prompt section ───────────────────────────────────── */
.mm-demo-section { padding-top: 3rem; }
.mm-demo-box {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.mm-demo-box-header {
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.mm-demo-box-icon {
  width: 44px;
  height: 44px;
  background: rgba(200,73,106,0.15);
  border: 1px solid rgba(200,73,106,0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.mm-demo-box-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.mm-demo-box-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-top: 3px;
  line-height: 1.5;
}
.mm-demo-box-body {
  background: #fff;
  padding: 24px 28px 28px;
}
.mm-demo-questions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.mm-demo-q {
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--mid);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  line-height: 1.4;
}
.mm-demo-q:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--dark);
}

/* ── Embedded bot section ──────────────────────────────────── */
.mm-bot-section { background: #fafafa; }
.mm-bot-section .tcd-hero-chat {
  max-width: 780px;
  margin: 0 auto;
  max-height: 520px;
}
.mm-bot-section .bot-disclaimer-bar {
  max-width: 780px;
  margin: 0 auto 12px;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 640px) {
  .mm-demo-questions { grid-template-columns: 1fr; }
  .mm-demo-box-header { padding: 16px 20px; }
  .mm-demo-box-body { padding: 18px 20px 22px; }
}

/* ── Newsletter Inline (mid-article, mobile-first) ─────────── */
.newsletter-inline {
  background: var(--dark-mid);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2.5rem 0;
}

.newsletter-inline-inner {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.newsletter-inline-text {
  flex: 1;
  min-width: 200px;
}

.newsletter-inline-text .eyebrow {
  color: rgba(255,255,255,0.55);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.35rem;
}

.newsletter-inline-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.newsletter-inline-text p {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  line-height: 1.65;
  margin: 0;
}

.newsletter-inline-form {
  flex: 1.5;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.newsletter-inline-form input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.newsletter-inline-form input::placeholder { color: rgba(255,255,255,0.38); }

.newsletter-inline-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,73,106,0.25);
  background: rgba(255,255,255,0.12);
}

.newsletter-inline-form .btn {
  width: 100%;
  margin-top: 0.15rem;
}

/* ── Hero bot note ─────────────────────────────────────────── */
.hero-bot-note {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  text-align: center;
  letter-spacing: 0.01em;
  line-height: 1.5;
}

/* ============================================================
   GIFT FINDER BOT
   mm-gift-widget.js — hero + floating gift bot
   /makeup-gift-finder/ only
   ============================================================ */

/* ── Gift floating bot wrapper ─────────────────────────────── */
#mm-gift-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9000;
}

/* Nudge gift float left of main float if both ever appear */
#mm-assistant ~ #mm-gift-float,
body.has-gift-float #mm-gift-float {
  right: 5.5rem;
}

/* ── Gift chip buttons (guided flow + follow-up chips) ─────── */
.tcd-gift-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.6rem 0.75rem 0.75rem;
  background: #fff;
}

.tcd-gift-chip {
  font-size: 0.78rem;
  padding: 0.5rem 0.75rem;
  background: #f3f4f6;
  border: 1px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  color: var(--dark);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.3;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.tcd-gift-chip:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ── Floating panel — reuses .tcd-panel / .tcd-panel.is-open ─ */
/* Gift float sits in #mm-gift-float which mirrors #mm-assistant */
#mm-gift-float .tcd-bubble {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 3px solid var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
  transition: transform 0.15s ease;
}
#mm-gift-float .tcd-bubble:hover { transform: scale(1.08); }

#mm-gift-float .tcd-bubble-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

#mm-gift-float .tcd-panel {
  position: absolute;
  bottom: calc(100% + 0.75rem);
  right: 0;
  width: 370px;
  min-height: 520px;
  max-height: 680px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 36px rgba(0,0,0,0.14);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
#mm-gift-float .tcd-panel.is-open { display: flex; }

#mm-gift-float .tcd-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1a1a1a;
  padding: 0.75rem 1rem;
  border-radius: 14px 14px 0 0;
  flex-shrink: 0;
}

#mm-gift-float .tcd-bot-logo {
  height: 28px;
  width: auto;
  border-radius: 50%;
}

#mm-gift-float .tcd-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

#mm-gift-float .tcd-reset,
#mm-gift-float .tcd-close {
  background: rgba(255,255,255,0.1);
  border: none;
  color: rgba(255,255,255,0.85);
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s;
  font-family: var(--font-body);
  line-height: 1;
}
#mm-gift-float .tcd-reset:hover,
#mm-gift-float .tcd-close:hover { background: rgba(255,255,255,0.2); }

#mm-gift-float .tcd-chat-log {
  flex: 1;
  overflow-y: auto;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  scroll-behavior: smooth;
}

#mm-gift-float .tcd-gift-chips {
  border-top: 1px solid var(--border);
  padding: 0.5rem 0.75rem 0.6rem;
}

#mm-gift-float .tcd-inputbar {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border-top: 1px solid var(--border);
  background: #fff;
  flex-shrink: 0;
}

#mm-gift-float .tcd-inputbar textarea {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  font-family: var(--font-body);
  resize: none;
  line-height: 1.4;
  max-height: 100px;
  overflow-y: auto;
}
#mm-gift-float .tcd-inputbar textarea:focus {
  outline: none;
  border-color: var(--accent);
}

#mm-gift-float .tcd-send {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
  flex-shrink: 0;
}
#mm-gift-float .tcd-send:hover { opacity: 0.88; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 480px) {
  #mm-gift-float {
    right: 1rem;
    bottom: 1rem;
  }
  #mm-gift-float .tcd-panel {
    width: calc(100vw - 2rem);
    max-height: calc(100vh - 6rem);
    right: 0;
  }
}
