/*
Theme Name: Beauxus Versión 2
Theme URI: https://beauxus.com
Author: Beauxus
Description: Tema oficial Beauxus — K-beauty auténtico · Panamá
Version: 1.0.0
Text Domain: beauxus
*/

/* ============================================================
   FONTS — Self-hosted (Lato + Playfair Display)
   ============================================================ */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/lato-400-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/lato-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/lato-700-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/lato-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/playfair-700-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/playfair-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/playfair-700-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/playfair-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   CSS VARIABLES — Paleta Fresco
   ============================================================ */
:root {
  --bg: #F5EFE9;
  --ink: #4A3525;
  --accent: #4A3525;
  --accent-soft: #FFDED7;
  --card: #FFFFFF;
  --hero-bg: #FFDED7;
  --hero-ink: #4A3525;
  --nav-bg: rgba(245,239,233,.92);
  --line: #E5D9D1;
  --muted: #8C7B74;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Lato', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

::selection { background: var(--accent); color: #fff; }

img { max-width: 100%; display: block; }
button { font-family: 'Lato', system-ui, sans-serif; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { transform: translateY(18px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
@keyframes slideLeft {
  from { transform: translateX(-36px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
@keyframes slideRight {
  from { transform: translateX(36px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%       { transform: translateY(-12px) rotate(1.5deg); }
}
@keyframes popIn {
  0%   { transform: scale(.5); opacity: 0; }
  60%  { transform: scale(1.12); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes toastIn {
  0%   { transform: translateY(20px) translateX(-50%); opacity: 0; }
  15%  { transform: translateY(0) translateX(-50%); opacity: 1; }
  85%  { transform: translateY(0) translateX(-50%); opacity: 1; }
  100% { transform: translateY(-8px) translateX(-50%); opacity: 0; }
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.bx-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.bx-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.bx-header__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.bx-header__logo {
  cursor: pointer;
  margin-right: 8px;
  flex-shrink: 0;
}
.bx-header__logo img { height: 42px; }

.bx-nav { display: flex; gap: 22px; align-items: center; }
.bx-nav__btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  padding: 6px 0;
  transition: color .2s;
  text-decoration: none;
}
.bx-nav__btn:hover,
.bx-nav__btn.active { color: var(--ink); }
.bx-nav__badge {
  font-size: 11px;
  font-weight: 700;
  background: var(--ink);
  color: var(--accent-soft);
  padding: 2px 7px;
  border-radius: 999px;
}

.bx-header__actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }

.bx-cart-btn {
  position: relative;
  background: var(--ink);
  border: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s;
}
.bx-cart-btn:hover { transform: translateY(-2px); }
.bx-cart-btn svg { stroke: var(--bg); }
.bx-cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  animation: popIn .35s ease;
  border: 2px solid var(--bg);
}
.bx-cart-count.visible { display: flex; }

/* ============================================================
   BUSCADOR (header) — barra completa estilo predictive search
   ============================================================ */
.bx-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, opacity .2s;
}
.bx-search-btn:hover { transform: translateY(-2px); opacity: .7; }
.bx-search-btn svg { stroke: var(--ink); }

.bx-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 206;
  background: rgba(74,53,37,.4);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.bx-search-overlay.open { opacity: 1; pointer-events: auto; }

.bx-search-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 215;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--bg);
  box-shadow: 0 24px 60px -20px rgba(74,53,37,.4);
  transform: translateY(-100%);
  transition: transform .32s cubic-bezier(.4,0,.1,1);
}
.bx-search-bar.open { transform: translateY(0); }

.bx-search-bar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}
.bx-search-bar__icon { flex-shrink: 0; color: var(--muted); }
.bx-search-bar__input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  font-family: inherit;
  font-size: 19px;
  color: var(--ink);
}
.bx-search-bar__input::placeholder { color: var(--muted); }
.bx-search-bar__close {
  flex-shrink: 0;
  background: var(--card);
  border: 1px solid var(--line);
  cursor: pointer;
  width: 38px; height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bx-search-bar__close:hover { background: var(--accent-soft); }

.bx-search-results { padding: 22px 28px 30px; }
.bx-search-heading {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.bx-search-loading, .bx-search-empty {
  padding: 20px 6px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}
.bx-search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 20px;
}
.bx-search-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  border-radius: 13px;
  padding: 8px;
  transition: background .15s;
}
.bx-search-item:hover { background: var(--card); }
.bx-search-thumb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 11px;
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.bx-search-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 10px; mix-blend-mode: multiply; }
.bx-search-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bx-search-price { font-size: 12.5px; color: var(--muted); }

@media (max-width: 767px) {
  .bx-search-bar__inner { padding: 18px 16px; gap: 12px; }
  .bx-search-bar__input { font-size: 16px; }
  .bx-search-results { padding: 18px 16px 24px; }
  .bx-search-grid { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 14px; }
}

/* ============================================================
   MAIN SCREENS
   ============================================================ */
.bx-screen { animation: fadeUp .5s ease both; }
.bx-screen[hidden] { display: none !important; }

/* ============================================================
   HERO
   ============================================================ */
.bx-hero {
  position: relative;
  background: var(--hero-bg);
  color: var(--hero-ink);
  border-radius: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  overflow: hidden;
  min-height: 560px;
  margin-top: 24px;
}
.bx-hero__text {
  padding: 64px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: slideLeft .75s cubic-bezier(.22,.68,0,1.1) both;
}
.bx-hero__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .65;
  margin-bottom: 18px;
}
.bx-hero__h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 58px;
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.bx-hero__h1 em {
  font-style: normal;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--hero-ink);
  text-underline-offset: 6px;
  opacity: .55;
}
.bx-hero__p {
  font-size: 17px;
  line-height: 1.6;
  max-width: 400px;
  opacity: .8;
  margin: 0 0 32px;
}
.bx-hero__img {
  position: relative;
  overflow: hidden;
  animation: slideRight .75s cubic-bezier(.22,.68,0,1.1) both;
  animation-delay: .1s;
}
.bx-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.bx-hero__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--hero-bg) 0%, transparent 18%);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.bx-btn-primary {
  cursor: pointer;
  background: var(--hero-ink);
  color: var(--hero-bg);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 30px;
  border-radius: 15px;
  border: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 14px 28px -12px rgba(74,53,37,.3);
  display: inline-block;
  text-decoration: none;
}
.bx-btn-primary:hover { transform: translateY(-3px); }

.bx-btn-dark {
  cursor: pointer;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 30px;
  border-radius: 15px;
  border: none;
  transition: transform .2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.bx-btn-dark:hover { transform: translateY(-3px); }

.bx-btn-outline {
  cursor: pointer;
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 26px;
  border-radius: 15px;
  transition: all .2s;
}
.bx-btn-outline:hover { background: var(--ink); color: var(--bg); }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.bx-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.bx-trust__card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.bx-trust__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.bx-trust__title { font-weight: 700; font-size: 15px; color: var(--ink); }
.bx-trust__sub   { font-size: 13px; color: var(--muted); }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.bx-section { margin-top: 64px; }
.bx-section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}
.bx-section-h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -.02em;
  margin: 6px 0 0;
  color: var(--ink);
}

/* ============================================================
   REDES — grid con toggle TikTok / Instagram
   ============================================================ */
.bx-social-toggle {
  display: flex;
  gap: 4px;
  width: fit-content;
  margin: 0 auto 26px;
  padding: 4px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 999px;
}
.bx-social-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  background: none;
  border: none;
  border-radius: 999px;
  padding: 9px 20px;
  transition: background .2s, color .2s;
}
.bx-social-tab:hover { color: var(--ink); }
.bx-social-tab.active { background: var(--ink); color: #fff; }
.bx-social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.bx-social-card {
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid var(--line);
  background: var(--card);
}
.bx-social-embed {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.bx-social-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
/* TikTok = vertical. Instagram trae cabecera + barra de acciones dentro del
   iframe y no se puede medir desde fuera (cross-origin): caja fija más alta. */
.bx-social-card--tiktok    .bx-social-embed { padding-bottom: 177%; height: 0; }
.bx-social-card--instagram .bx-social-embed { height: 560px; }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.bx-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
/* Tienda: 4 por fila en desktop (2 en mobile, ver media query abajo) */
#bx-catalog-grid { grid-template-columns: repeat(4, 1fr); }
/* ---- Favoritos carrusel (desktop: 2 slides de 2 = 4 en fila) ---- */
.bx-carousel { position: relative; }
.bx-carousel__track { display: flex; gap: 18px; }
.bx-carousel__slide {
  flex: 0 0 calc(50% - 9px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.bx-carousel__dots { display: none; }
@media (max-width: 767px) {
  .bx-carousel__track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    gap: 0;
    scrollbar-width: none;
  }
  .bx-carousel__track::-webkit-scrollbar { display: none; }
  .bx-carousel__slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .bx-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
  }
  .bx-carousel__dot {
    width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%;
    background: var(--line); cursor: pointer;
    transition: width .2s, background .2s, border-radius .2s;
  }
  .bx-carousel__dot.is-active { width: 22px; border-radius: 4px; background: var(--ink); }
}
.bx-product-card {
  cursor: pointer;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.bx-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px -20px rgba(74,53,37,.45);
}
.bx-product-thumb {
  position: relative;
  height: 196px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 16%;
}
.bx-product-type {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255,255,255,.72);
  padding: 4px 9px;
  border-radius: 999px;
}
.bx-product-thumb .bx-prod-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}
.bx-detail-thumb .bx-detail-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 28px;
}
.bx-product-bottle {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.bx-product-cap {
  position: absolute;
  filter: brightness(.9);
}
.bx-product-body {
  box-shadow: inset 0 6px 14px rgba(255,255,255,.28), inset 0 -10px 18px rgba(0,0,0,.08);
}
.bx-product-info {
  padding: 15px 16px 17px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.bx-product-brand { font-size: 12px; color: var(--muted); font-weight: 600; }
.bx-product-name  { font-size: 14px; line-height: 1.32; font-weight: 600; color: var(--ink); margin: 0; min-height: 37px; }
.bx-product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
}
.bx-product-price {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.bx-add-btn {
  border: none;
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 21px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter .2s;
}
.bx-add-btn:hover { filter: brightness(1.1); }

/* ============================================================
   SKIN TEST PROMO
   ============================================================ */
.bx-skintest-promo {
  margin-top: 64px;
  background: var(--accent-soft);
  border-radius: 34px;
  padding: 52px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.bx-skintest-promo h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 8px 0 16px;
  text-wrap: balance;
}
.bx-skintest-promo p { font-size: 17px; line-height: 1.55; opacity: .82; margin: 0 0 26px; max-width: 420px; }
.bx-test-steps { display: flex; flex-direction: column; gap: 12px; }
.bx-test-step {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border-radius: 16px;
  padding: 16px 18px;
}
.bx-test-step__n {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--accent);
  width: 30px;
}
.bx-test-step__t { font-weight: 600; font-size: 16px; color: var(--ink); }

/* ============================================================
   BRANDS
   ============================================================ */
.bx-brands { margin-top: 56px; text-align: center; padding: 8px 0 16px; }
.bx-brands__label { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .06em; margin-bottom: 22px; }
.bx-brands__row { display: flex; flex-wrap: wrap; gap: 36px; justify-content: center; align-items: center; }
.bx-brands__name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
  opacity: .45;
  letter-spacing: -.01em;
}

/* ============================================================
   CATALOG PAGE
   ============================================================ */
.bx-catalog-header { margin-bottom: 8px; }
.bx-catalog-title {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 42px;
  letter-spacing: -.025em;
  margin: 0 0 6px;
}
.bx-catalog-sub { color: var(--muted); font-size: 16px; margin: 0 0 28px; }
.bx-filter-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.bx-chip {
  cursor: pointer;
  border: 1.5px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 999px;
  transition: all .2s;
}
.bx-chip.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

/* ============================================================
   CATÁLOGOS — fila de categorías sobre la grilla de la tienda.
   Filtra en el sitio: NO esconde los productos detrás de un menú.
   En móvil la fila se desliza; el padre necesita min-width:0 si algún
   día se mete dentro de un grid (misma trampa que la galería).
   ============================================================ */
.bx-cats {
  display: flex;
  gap: 12px;
  margin: 0 0 30px;
  padding: 2px 2px 6px;
  overflow-x: auto;
  min-width: 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.bx-cats::-webkit-scrollbar { display: none; }

.bx-cat {
  flex: 0 0 auto;
  width: 112px;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 12px 8px 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.bx-cat:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(74, 53, 37, .09);
}
.bx-cat.active {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.bx-cat__img {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bx-cat__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 7px;
}
.bx-cat__img--all {
  background: var(--accent-soft);
  color: var(--ink);
}

.bx-cat__label {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.25;
}
.bx-cat__count {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.2;
}

@media (max-width: 767px) {
  .bx-cats { gap: 10px; margin-bottom: 24px; }
  .bx-cat  { width: 96px; padding: 10px 6px 9px; }
  .bx-cat__img { width: 54px; height: 54px; }
  .bx-cat__label { font-size: 12.5px; }
}

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.bx-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
/* Sin esto, la tira de miniaturas (overflow-x) estira la columna más allá del viewport */
.bx-detail-grid > * { min-width: 0; }
.bx-detail-thumb {
  position: relative;
  height: 520px;
  border-radius: 30px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 14%;
  overflow: hidden;
}
.bx-detail-bottle { animation: floatY 6s ease-in-out infinite; }
.bx-detail-brand  { font-size: 15px; font-weight: 700; color: var(--accent); }
.bx-detail-title  {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 8px 0 14px;
}
.bx-detail-meta   { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.bx-detail-rating { color: var(--accent); font-weight: 700; }
.bx-detail-size   { color: var(--muted); font-size: 14px; }
.bx-detail-desc   { font-size: 17px; line-height: 1.6; opacity: .85; margin: 0 0 26px; }
.bx-detail-tags   { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.bx-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: var(--accent-soft);
  padding: 7px 14px;
  border-radius: 999px;
}
.bx-detail-price-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}
.bx-detail-price {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 800;
}
.bx-qty {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 13px;
  padding: 4px;
}
.bx-qty__btn {
  width: 36px; height: 36px;
  border: none; background: none;
  cursor: pointer; font-size: 20px;
  color: var(--ink); border-radius: 9px;
}
.bx-qty__val { width: 34px; text-align: center; font-weight: 700; font-size: 17px; }
.bx-add-main {
  width: 100%;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  padding: 18px;
  border-radius: 16px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 14px 28px -12px var(--accent);
}
.bx-add-main:hover { transform: translateY(-2px); }
.bx-detail-badges {
  display: flex;
  gap: 20px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

/* Intro corta sobre el pliegue */
.bx-detail-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  opacity: .9;
  margin: 0 0 22px;
}

/* Buy box: agrupa precio + CTA + PayPal + garantías, arriba */
.bx-buybox {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  margin: 0 0 30px;
}
.bx-buybox .bx-detail-price-row { margin-bottom: 16px; }
.bx-buybox .bx-detail-badges {
  margin-top: 16px;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Aviso de stock bajo + estado agotado */
.bx-stock-note {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: #c0392b;
}
.bx-add-main--out {
  opacity: .55;
  cursor: not-allowed;
  filter: grayscale(1);
}
.bx-qty__btn:disabled { opacity: .4; cursor: not-allowed; }

/* Botón PayPal REAL (Smart Button del plugin WooCommerce PayPal Payments) */
/* isolation:isolate atrapa el z-index alto del iframe PayPal dentro de este
   contexto, para que NO se pinte por encima del header sticky (z-index:60) */
.bx-ppcp-form { margin: 12px 0 0; position: relative; z-index: 0; isolation: isolate; }
#ppc-button-ppcp-gateway { min-height: 48px; }
/* El iframe de PayPal (zoid) se pinta por encima del drawer; se oculta con el carrito abierto */
body.bx-cart-open .bx-ppcp-form { visibility: hidden; pointer-events: none; }

/* Medios de pago aceptados (Tilopay: tarjetas + Yappy) — visual bajo PayPal */
.bx-pay-methods {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.bx-pay-methods__label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .02em;
}
.bx-pay-methods__icons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.bx-pay-badge {
  display: inline-flex;
  line-height: 0;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.bx-pay-badge svg { display: block; border-radius: 5px; }
.bx-pay-badge--yappy img { display: block; width: 28px; height: 28px; border-radius: 5px; object-fit: cover; }

/* Beneficios: checklist con jerarquía */
.bx-benefits { margin: 0 0 30px; }
.bx-benefits__title {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 21px;
  margin: 0 0 14px;
}
.bx-benefits ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.bx-benefits li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  color: var(--ink);
}
.bx-benefits li svg { color: var(--accent); flex-shrink: 0; }
.bx-accordion {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.bx-accordion__item {
  border-bottom: 1px solid var(--line);
}
.bx-accordion__trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 16px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.bx-accordion__icon {
  color: var(--accent);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.bx-accordion__label { flex: 1; }
.bx-accordion__plus {
  font-size: 22px;
  color: var(--muted);
  line-height: 1;
  transition: transform .25s ease;
}
.bx-accordion__item.open .bx-accordion__plus { transform: rotate(45deg); }
.bx-accordion__body {
  display: none;
  padding-bottom: 16px;
}
.bx-accordion__item.open .bx-accordion__body { display: block; }
.bx-accordion__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ============================================================
   SKIN TEST
   ============================================================ */
.bx-test-container { max-width: 720px; margin: 0 auto; padding: 40px 24px; }
.bx-test-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.bx-test-back {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-weight: 600; font-size: 14px;
}
.bx-test-back:hover { color: var(--ink); }
.bx-test-step-label { font-size: 14px; font-weight: 600; color: var(--muted); }
.bx-progress-bar {
  height: 8px;
  background: var(--accent-soft);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 44px;
}
.bx-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  transition: width .4s ease;
}
.bx-test-q {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: -.025em;
  margin: 0 0 8px;
  text-wrap: balance;
}
.bx-test-hint { color: var(--muted); font-size: 16px; margin: 0 0 32px; }
.bx-options { display: grid; gap: 14px; }
.bx-options--2col { grid-template-columns: 1fr 1fr; }
.bx-options--3col { grid-template-columns: 1fr 1fr 1fr; }
.bx-option {
  text-align: left;
  cursor: pointer;
  border: 2px solid var(--line);
  background: var(--card);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all .2s;
}
.bx-option:hover  { transform: translateY(-3px); }
.bx-option.active { border-color: var(--accent); background: var(--accent-soft); }
.bx-option__label {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}
.bx-option__desc { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* ============================================================
   RESULT PAGE
   ============================================================ */
.bx-result-container { max-width: 820px; margin: 0 auto; padding: 48px 24px; }
.bx-result-header { text-align: center; margin-bottom: 40px; }
.bx-result-title {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: 10px 0 18px;
  text-wrap: balance;
}
.bx-profile-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.bx-profile-chip {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--accent-soft);
  padding: 9px 18px;
  border-radius: 999px;
}
.bx-routine {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 14px;
}
.bx-routine-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border-radius: 18px;
  transition: background .2s;
}
.bx-routine-item:hover { background: var(--bg); }
.bx-step-badge {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  background: var(--accent);
  min-width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bx-routine-thumb {
  width: 56px;
  height: 64px;
  border-radius: 13px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
}
.bx-routine-thumb:has(.bx-routine-img) { padding-bottom: 0; align-items: center; }
.bx-routine-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 13px;
  padding: 6px;
}
.bx-routine-info { flex: 1; min-width: 0; }
.bx-routine-meta { font-size: 12px; color: var(--muted); font-weight: 600; }
.bx-routine-name { font-weight: 600; font-size: 16px; color: var(--ink); line-height: 1.3; }
/* Activos clave + advertencia honesta bajo cada paso del resultado del test */
.bx-routine-actives { margin-top: 3px; font-size: 12px; color: var(--muted); line-height: 1.4; }
.bx-routine-note {
  margin: -4px 0 10px;
  padding: 9px 14px 9px 16px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  border-left: 2px solid var(--accent-soft);
}
.bx-routine-note--warn {
  color: #A85A3C;
  background: #FBF1EC;
  border-left-color: #E9CBBD;
  border-radius: 0 10px 10px 0;
}
.bx-routine-price {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
}
.bx-routine-add {
  border: none;
  cursor: pointer;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--bg);
  font-size: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bx-routine-add:hover { filter: brightness(1.15); }
.bx-result-actions {
  display: flex;
  gap: 14px;
  margin-top: 26px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   CONFIRM PAGE
   ============================================================ */
.bx-confirm { max-width: 560px; margin: 0 auto; padding: 90px 24px; text-align: center; }
.bx-confirm__icon {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  animation: popIn .5s ease both;
}
.bx-confirm__h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -.025em;
  margin: 0 0 12px;
}

/* ============================================================
   CART DRAWER
   ============================================================ */
.bx-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(74,53,37,.4);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.bx-overlay.open { opacity: 1; pointer-events: auto; }

.bx-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 100;
  width: 420px;
  max-width: 92vw;
  background: var(--bg);
  box-shadow: -20px 0 50px -20px rgba(74,53,37,.4);
  transform: translateX(105%);
  transition: transform .38s cubic-bezier(.4,0,.1,1);
  display: flex;
  flex-direction: column;
}
.bx-drawer.open { transform: translateX(0); }

.bx-drawer__header {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.bx-drawer__title {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -.02em;
}
.bx-drawer__close {
  background: var(--card);
  border: 1px solid var(--line);
  cursor: pointer;
  width: 38px; height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bx-drawer__close:hover { background: var(--accent-soft); }

.bx-drawer__items { flex: 1; overflow-y: auto; padding: 12px 18px; }
.bx-cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
}
.bx-cart-thumb {
  width: 62px; height: 74px;
  border-radius: 13px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 9px;
}
.bx-cart-img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 6px;
  mix-blend-mode: multiply;
}
.bx-cart-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.bx-cart-brand { font-size: 11px; color: var(--muted); font-weight: 600; }
.bx-cart-name  { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.bx-cart-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bx-cart-qty {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.bx-cart-qty__btn {
  width: 30px; height: 30px;
  border: none; background: none;
  cursor: pointer; font-size: 17px; color: var(--ink);
}
.bx-cart-qty__val { width: 24px; text-align: center; font-weight: 700; font-size: 14px; }
.bx-cart-line {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 16px;
}

.bx-drawer__footer { padding: 20px 24px 24px; border-top: 1px solid var(--line); }
.bx-subtotal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.bx-subtotal-label { color: var(--muted); font-size: 15px; }
.bx-subtotal-total {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 24px;
}
.bx-shipping-note { font-size: 13px; color: var(--muted); margin: 0 0 16px; }
.bx-checkout-btn {
  width: 100%;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  padding: 17px;
  border-radius: 15px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 14px 28px -12px var(--accent);
}
.bx-checkout-btn:hover { transform: translateY(-2px); }

.bx-drawer-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  gap: 8px;
}
.bx-drawer-empty__icon { opacity: .35; }
.bx-drawer-empty h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 22px;
  margin: 8px 0 2px;
}
.bx-drawer-empty p { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.bx-drawer-empty-btn {
  border: none; cursor: pointer;
  background: var(--ink); color: var(--bg);
  font-weight: 700; font-size: 15px;
  padding: 13px 24px; border-radius: 13px;
}

/* ============================================================
   TOAST
   ============================================================ */
.bx-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 120;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 14px;
  box-shadow: 0 16px 34px -14px rgba(74,53,37,.6);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: none;
}
.bx-toast.show { animation: toastIn 1.8s ease forwards; }
.bx-toast__check { color: var(--accent-soft); font-size: 18px; }

/* ============================================================
   BACK BUTTON
   ============================================================ */
.bx-back-btn {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-weight: 600; font-size: 14px;
  display: flex; align-items: center; gap: 7px;
  margin-bottom: 22px;
}
.bx-back-btn:hover { color: var(--ink); }

/* ============================================================
   FOOTER
   ============================================================ */
.bx-footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.bx-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Columna de marca */
.bx-footer__logo img { height: 32px; display: block; }
.bx-footer__tagline {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 34ch;
}

/* Columnas de enlaces */
.bx-footer__heading {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}
.bx-footer__heading--social { margin-top: 28px; }

.bx-footer__list { list-style: none; margin: 0; padding: 0; }
.bx-footer__list li + li { margin-top: 10px; }
.bx-footer__list a,
.bx-footer__note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
}
.bx-footer__list a { transition: color .18s ease; }
.bx-footer__list a:hover { color: var(--ink); text-decoration: underline; }

/* Redes */
.bx-footer__social { display: flex; gap: 12px; }
.bx-footer__social-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: color .18s ease, border-color .18s ease, transform .18s ease;
}
.bx-footer__social-link svg { width: 18px; height: 18px; fill: currentColor; }
.bx-footer__social-link:hover {
  color: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
}
.bx-footer__social-link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* Barra inferior */
.bx-footer__bar { border-top: 1px solid var(--line); }
.bx-footer__bar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

/* ============================================================
   PÁGINAS LEGALES (Términos, Privacidad, Envíos)
   ============================================================ */
.bx-legal__title { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 40px; margin-bottom: 8px; }
.bx-legal__updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.bx-legal h2 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 22px; margin: 32px 0 10px; }
.bx-legal p { font-size: 16px; line-height: 1.7; color: var(--ink); margin-bottom: 14px; }
.bx-legal ul { margin: 0 0 14px 22px; }
.bx-legal li { font-size: 16px; line-height: 1.7; color: var(--ink); margin-bottom: 6px; }

/* ============================================================
   HERO — picture container fix
   ============================================================ */
.bx-hero__img picture { display: block; width: 100%; height: 100%; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.bx-reveal { opacity: 0; }

@keyframes bxSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
@keyframes bxScaleIn {
  from { opacity: 0; transform: scale(.95); }
  to   { opacity: 1; transform: none; }
}
@keyframes bxFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes bxSlideUpChild {
  from { transform: translateY(16px); }
  to   { transform: none; }
}

.bx-anim-up    { animation: bxSlideUp      .6s cubic-bezier(.22,1,.36,1) forwards; }
.bx-anim-scale { animation: bxScaleIn      .6s cubic-bezier(.22,1,.36,1) forwards; }
.bx-anim-fade  { animation: bxFadeIn       .5s ease forwards; }
.bx-anim-child { animation: bxSlideUpChild .5s cubic-bezier(.22,1,.36,1) forwards; }

/* ============================================================
   HAMBURGER + MOBILE NAV DRAWER
   ============================================================ */
.bx-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  flex-shrink: 0;
  margin-right: 4px;
}
.bx-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.bx-mnav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(74,53,37,.45);
  z-index: 200;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.bx-mnav-overlay.open { display: block; }

.bx-mnav {
  position: fixed;
  top: 0; left: 0;
  width: 50%;
  min-width: 220px;
  height: 100%;
  background: var(--card);
  z-index: 210;
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.22,.68,0,1.1);
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 32px rgba(74,53,37,.12);
}
.bx-mnav.open { transform: translateX(0); }

.bx-mnav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 16px 20px;
  border-bottom: 1px solid var(--line);
}
.bx-mnav__top .bx-mnav__logo { height: 32px; width: auto; max-width: none; }

.bx-mnav__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 4px;
  display: flex;
  align-items: center;
}

.bx-mnav__links {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
}
.bx-mnav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  padding: 14px 20px;
  text-align: left;
  text-decoration: none;
  font-family: 'Lato', system-ui, sans-serif;
  transition: background .15s;
  width: 100%;
}
.bx-mnav__link:hover { background: var(--bg); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet: 768px – 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
  .bx-hero { grid-template-columns: 1fr; min-height: auto; }
  .bx-hero__img { min-height: 360px; }
  .bx-hero__img::after { display: none; } /* sin columna de texto al lado, el degradado izq. queda como franja lavada */
  .bx-hero__text { padding: 52px 44px 44px; }
  .bx-hero__h1 { font-size: 44px; }

  .bx-trust { grid-template-columns: repeat(3, 1fr); }
  .bx-social-grid { grid-template-columns: repeat(2, 1fr); }
  .bx-products-grid { grid-template-columns: repeat(2, 1fr); }
  .bx-skintest-promo { grid-template-columns: 1fr; padding: 44px 40px; }
  .bx-detail-grid { grid-template-columns: 1fr; }
}

/* Mobile: < 768px */
@media (max-width: 767px) {
  .bx-container { padding: 0 16px; }

  .bx-header__inner { padding: 10px 16px; gap: 10px; position: relative; }
  .bx-header__logo { position: absolute; left: 50%; transform: translateX(-50%); margin-right: 0; }
  .bx-header__logo img { height: 34px; }
  .bx-nav { display: none; }
  .bx-hamburger { display: flex; }

  .bx-hero { grid-template-columns: 1fr; min-height: auto; margin-top: 16px; border-radius: 22px; }
  .bx-hero__text { padding: 36px 28px 28px; }
  .bx-hero__h1 { font-size: 34px; }
  .bx-hero__p { font-size: 15px; }
  .bx-hero__img { min-height: 240px; }
  .bx-hero__img::after { display: none; } /* apaga la franja crema del borde izq. en mobile */

  .bx-trust { grid-template-columns: 1fr; gap: 10px; }
  .bx-section { margin-top: 44px; }
  .bx-section-h2 { font-size: 26px; }

  .bx-social-grid { grid-template-columns: 1fr; gap: 14px; }
  .bx-social-tab { font-size: 13.5px; padding: 8px 16px; }
  .bx-social-card--instagram .bx-social-embed { height: 520px; }
  .bx-products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  /* Tienda: 2 por fila en mobile (el #id gana al <480px de abajo) */
  #bx-catalog-grid { grid-template-columns: repeat(2, 1fr); }

  .bx-skintest-promo { grid-template-columns: 1fr; padding: 36px 28px; border-radius: 22px; }
  .bx-skintest-promo h2 { font-size: 30px; }
  .bx-skintest-promo p { font-size: 15px; }

  .bx-brands__name { font-size: 18px; }
  .bx-brands__row { gap: 22px; }

  .bx-detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .bx-detail-title { font-size: 28px; }
  .bx-detail-thumb { height: 300px; }

  .bx-catalog-title { font-size: 32px; }
  .bx-test-q { font-size: 28px; }
  .bx-result-title { font-size: 34px; }

  .bx-options--3col { grid-template-columns: 1fr 1fr; }

  /* Footer: 2 columnas, marca a lo ancho */
  .bx-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
    padding: 40px 16px 32px;
  }
  .bx-footer__brand { grid-column: 1 / -1; }
  .bx-footer__tagline { max-width: none; }
  .bx-footer__bar-inner { padding: 18px 16px; }
}

/* Small mobile: < 480px */
@media (max-width: 479px) {
  .bx-hero__h1 { font-size: 28px; }
  .bx-products-grid { grid-template-columns: 1fr; }
  .bx-options--2col { grid-template-columns: 1fr; }
  .bx-options--3col { grid-template-columns: 1fr; }
.bx-btn-primary, .bx-btn-dark, .bx-btn-outline { font-size: 14px; padding: 13px 22px; }

  /* Footer: una sola columna */
  .bx-footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .bx-footer__bar-inner { justify-content: center; text-align: center; }
}

/* ============================================================
   GUÍA POR TIPO DE PIEL
   ============================================================ */
.bx-guide-section { margin-top: 72px; }
.bx-guide-section__head { max-width: 640px; margin: 0 0 26px; }
.bx-guide-section__title {
  font-family: 'Playfair Display', serif;
  font-weight: 800; font-size: 30px; letter-spacing: -.02em;
  color: var(--ink); margin: 8px 0 10px;
}
.bx-guide-section__sub { color: var(--muted); font-size: 16px; line-height: 1.55; }
.bx-guide-section__sub a { color: var(--ink); font-weight: 700; text-decoration: underline; }

/* Acordeón de la guía (reutiliza .bx-accordion, ensancha el cuerpo) */
.bx-guide-accordion .bx-accordion__label {
  font-weight: 700; font-size: 17px; color: var(--ink);
}
.bx-guide-accordion .bx-accordion__body { padding: 0; }
.bx-guide-accordion .bx-accordion__item.open .bx-accordion__body { padding: 4px 0 22px; }

/* Contenido interno */
.bx-guide-inner { padding: 0 4px; }
.bx-guide-rasgos { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 24px; }

/* ============================================================
   CHATBOT FLOTANTE — Asistente Beauxus
   ============================================================ */
.bx-chat { position: fixed; right: 20px; bottom: 20px; z-index: 9998; }

/* Globito de bienvenida — sale a la izquierda de la burbuja */
.bx-chat__nudge {
  position: absolute; right: 70px; bottom: 11px;
  background: #fff; color: var(--ink);
  padding: 10px 16px; border-radius: 22px; border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; white-space: nowrap; cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .16);
  opacity: 0; transform: translateX(8px) scale(.96); transform-origin: right center;
  transition: opacity .28s ease, transform .28s ease;
  pointer-events: none;
}
.bx-chat__nudge--show { opacity: 1; transform: none; pointer-events: auto; }
.bx-chat.open .bx-chat__nudge {
  opacity: 0 !important; pointer-events: none !important;
  transform: translateX(8px) scale(.96) !important;
}
.bx-chat__nudge::after {
  content: ""; position: absolute; right: -6px; top: 50%;
  width: 12px; height: 12px; background: #fff;
  border-top: 1px solid var(--line); border-right: 1px solid var(--line);
  transform: translateY(-50%) rotate(45deg); border-radius: 2px;
}

/* Burbuja */
.bx-chat__bubble {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--ink); color: var(--bg);
  border: 0; cursor: pointer;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.bx-chat__bubble:hover { transform: scale(1.07); box-shadow: 0 10px 28px rgba(0, 0, 0, .32); }
.bx-chat__bubble:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 3px; }
.bx-chat__ico { position: absolute; width: 27px; height: 27px; transition: opacity .18s ease, transform .18s ease; }
.bx-chat__ico--close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.bx-chat.open .bx-chat__ico--open { opacity: 0; transform: rotate(90deg) scale(.6); }
.bx-chat.open .bx-chat__ico--close { opacity: 1; transform: none; }

/* Panel */
.bx-chat__panel {
  position: absolute; right: 0; bottom: 74px;
  width: 350px; max-width: calc(100vw - 32px);
  height: 540px; max-height: calc(100vh - 120px);
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
  opacity: 0; transform: translateY(14px) scale(.98);
  pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.bx-chat.open .bx-chat__panel { opacity: 1; transform: none; pointer-events: auto; }

/* Header */
.bx-chat__header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 14px 16px;
  background: var(--accent-soft); border-bottom: 1px solid var(--line);
}
.bx-chat__id { display: flex; align-items: center; gap: 10px; }
.bx-chat__avatar {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--ink); color: var(--bg);
  font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 18px;
}
.bx-chat__name { display: block; font-size: 15px; color: var(--ink); line-height: 1.2; }
.bx-chat__status { display: block; font-size: 12px; color: var(--muted); }
.bx-chat__status::before {
  content: ''; display: inline-block; width: 7px; height: 7px;
  margin-right: 5px; border-radius: 50%; background: #35c46a; vertical-align: middle;
}
.bx-chat__min {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border: 0; border-radius: 50%;
  background: transparent; color: var(--ink); cursor: pointer;
}
.bx-chat__min:hover { background: rgba(0, 0, 0, .06); }

/* Cuerpo de mensajes */
.bx-chat__body {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.bx-chat__msg {
  max-width: 85%; font-size: 14px; line-height: 1.5;
  padding: 10px 13px; border-radius: 14px;
}
.bx-chat__msg strong { font-weight: 700; }
.bx-chat__msg--bot { align-self: flex-start; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bx-chat__msg--user { align-self: flex-end; background: var(--ink); color: var(--bg); border-bottom-right-radius: 4px; }
.bx-chat__msg--chips { max-width: 100%; padding: 0; background: none; }

/* Tarjetas de producto dentro del chat */
.bx-chat__card {
  display: block; margin-top: 8px; padding: 10px 12px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  text-decoration: none; transition: border-color .15s ease, transform .15s ease;
}
.bx-chat__card:hover { border-color: var(--ink); transform: translateY(-1px); }
.bx-chat__card-name { display: block; font-weight: 700; font-size: 13.5px; color: var(--ink); }
.bx-chat__card-meta { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.bx-chat__tag--oos { color: #b23b3b; font-weight: 700; margin-left: 6px; }

/* Educación en el chat: por qué, señales, brotes */
.bx-chat__note { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.bx-chat__note a { color: var(--ink); font-weight: 700; }
.bx-chat__signs { margin-top: 8px; }
.bx-chat__signs-t { display: block; font-weight: 700; font-size: 13px; color: var(--ink); margin-bottom: 4px; }
.bx-chat__signs ul { margin: 0; padding-left: 18px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.bx-chat__warn {
  margin-top: 8px; padding: 9px 11px;
  background: #FBF1EC; border: 1px solid #E9CBBD; border-radius: 10px;
}
.bx-chat__warn-t { display: block; font-weight: 700; font-size: 12.5px; color: #A85A3C; margin-bottom: 5px; }
.bx-chat__warn ul { margin: 0; padding-left: 17px; font-size: 12.5px; color: var(--ink); line-height: 1.45; }
.bx-chat__warn li { margin-top: 3px; }

/* Chips de sugerencias */
.bx-chat__chips { display: flex; flex-wrap: wrap; gap: 7px; }
.bx-chat__chip {
  background: var(--accent-soft); color: var(--ink);
  border: 0; border-radius: 999px; cursor: pointer;
  font-size: 12.5px; font-weight: 600; padding: 7px 13px;
  transition: filter .15s ease;
}
.bx-chat__chip:hover { filter: brightness(.96); }

/* Puntos "escribiendo" */
.bx-chat__dots { display: inline-flex; gap: 4px; padding: 2px 0; }
.bx-chat__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: bxChatDot 1s infinite ease-in-out; }
.bx-chat__dots i:nth-child(2) { animation-delay: .15s; }
.bx-chat__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes bxChatDot { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* Botón WhatsApp (dentro de mensajes) */
.bx-chat__wa-btn {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 10px;
  background: #25d366; color: #fff; text-decoration: none;
  font-size: 13.5px; font-weight: 700; padding: 9px 15px; border-radius: 999px;
  transition: filter .15s ease;
}
.bx-chat__wa-btn:hover { filter: brightness(.95); }
.bx-chat__wa-btn svg { width: 17px; height: 17px; }

/* Barra WhatsApp persistente */
.bx-chat__wa {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 8px 16px; font-size: 12.5px; color: var(--muted);
  background: var(--card); border-top: 1px solid var(--line);
}
.bx-chat__wa .bx-chat__wa-btn { margin-top: 0; padding: 6px 12px; font-size: 12.5px; }

/* Input */
.bx-chat__form {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px; border-top: 1px solid var(--line); background: var(--bg);
}
.bx-chat__input {
  flex: 1; border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 16px; font-size: 14px; color: var(--ink);
  background: var(--card); outline: none;
}
.bx-chat__input:focus { border-color: var(--ink); }
.bx-chat__send {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; flex-shrink: 0;
  border: 0; border-radius: 50%; cursor: pointer;
  background: var(--ink); color: var(--bg);
  transition: transform .15s ease;
}
.bx-chat__send:hover { transform: scale(1.06); }

/* Oculto si el drawer del carrito está abierto */
body.bx-cart-open .bx-chat { display: none; }

@media (max-width: 600px) {
  .bx-chat { right: 16px; bottom: 16px; }
  .bx-chat__bubble { width: 54px; height: 54px; }

  /* Panel a pantalla completa: dvh respeta teclado + barra del navegador */
  .bx-chat__panel {
    position: fixed;
    inset: 0;
    right: 0; left: 0; top: 0; bottom: 0;
    width: 100%; max-width: none;
    height: 100vh; height: 100dvh; max-height: none;
    border-radius: 0;
    transform: translateY(100%); opacity: 1;
    /* Oculto de la pintura cerrado: evita que el borde asome al scrollear rápido */
    visibility: hidden;
    transition: transform .2s ease, visibility 0s linear .2s;
  }
  .bx-chat.open .bx-chat__panel { transform: none; visibility: visible; transition: transform .2s ease, visibility 0s; }
  /* Burbuja se oculta con panel abierto; se cierra desde el header */
  .bx-chat.open .bx-chat__bubble { opacity: 0; pointer-events: none; }

  /* El body no debe hacer scroll detrás del panel */
  body.bx-chat-open { overflow: hidden; }

  /* Input despejado de la barra inferior del teléfono */
  .bx-chat__form { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
}
.bx-guide-chip {
  background: var(--accent-soft); color: var(--ink);
  font-size: 12.5px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
}
.bx-guide-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.bx-guide-h {
  font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink); margin: 0 0 14px;
}
.bx-guide-steps { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.bx-guide-step {
  position: relative; padding-left: 16px;
  border-left: 2px solid var(--line);
}
.bx-guide-step__t { display: block; font-weight: 700; font-size: 14.5px; color: var(--ink); }
.bx-guide-step__d { display: block; font-size: 13.5px; line-height: 1.5; color: var(--muted); margin-top: 3px; }
.bx-guide-step__p {
  display: inline-block; margin-top: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 8px;
}
.bx-guide-evita {
  margin-top: 24px; padding: 16px 18px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
}
.bx-guide-evita__label {
  display: block; font-weight: 700; font-size: 13px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink); margin-bottom: 10px;
}
.bx-guide-evita__list { display: flex; flex-wrap: wrap; gap: 8px; }
.bx-guide-evita__item {
  font-size: 13px; color: var(--muted);
  padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--card);
}
.bx-guide-products { margin-top: 28px; }

/* Por qué esta rutina (explica la elección) */
.bx-guide-porque {
  margin: 18px 0 26px; padding: 16px 18px;
  background: var(--card); border: 1px solid var(--line);
  border-left: 3px solid var(--ink); border-radius: 12px;
}
.bx-guide-porque__label {
  display: block; font-weight: 700; font-size: 12px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink); margin-bottom: 7px;
}
.bx-guide-porque__text { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }

/* Ingredientes que pueden causar brotes / irritación */
.bx-guide-brotes {
  margin-top: 24px; padding: 16px 18px;
  background: #FBF1EC; border: 1px solid #E9CBBD; border-radius: 14px;
}
.bx-guide-brotes__label {
  display: block; font-weight: 700; font-size: 13px; letter-spacing: .02em;
  color: #A85A3C; margin-bottom: 12px;
}
.bx-guide-brotes__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bx-guide-brotes__item { display: flex; flex-direction: column; gap: 2px; }
.bx-guide-brotes__ing { font-weight: 700; font-size: 14px; color: var(--ink); }
.bx-guide-brotes__why { font-size: 13.5px; line-height: 1.5; color: var(--muted); }

.bx-guide-note {
  margin: 22px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--muted); font-style: italic;
}

/* Helper "¿No sabes tu tipo?" en el test */
.bx-skinhelp { margin-top: 26px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.bx-skinhelp__toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 18px; background: var(--card); border: 0; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 15px; color: var(--ink); text-align: left;
}
.bx-skinhelp__plus { font-size: 20px; font-weight: 400; color: var(--muted); transition: transform .2s ease; }
.bx-skinhelp.open .bx-skinhelp__plus { transform: rotate(45deg); }
.bx-skinhelp__body { padding: 4px 18px 20px; }
.bx-skinhelp__intro { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 12px 0 16px; }
.bx-skinhelp__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.bx-skinhelp__card { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.bx-skinhelp__name { font-weight: 700; font-size: 14.5px; color: var(--ink); margin-bottom: 8px; }
.bx-skinhelp__checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bx-skinhelp__checks li {
  position: relative; padding-left: 16px; font-size: 13px; line-height: 1.5; color: var(--muted);
}
.bx-skinhelp__checks li::before {
  content: ''; position: absolute; left: 3px; top: 8px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--ink);
}
@media (max-width: 560px) {
  .bx-skinhelp__grid { grid-template-columns: 1fr; }
}

/* Guía en el resultado del skin test */
.bx-guide-result { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.bx-guide-result-head { text-align: center; margin-bottom: 28px; }
.bx-guide-result-title {
  font-family: 'Playfair Display', serif;
  font-weight: 800; font-size: 30px; letter-spacing: -.02em;
  color: var(--ink); margin: 8px 0 0;
}

@media (max-width: 767px) {
  .bx-guide-cols { grid-template-columns: 1fr; gap: 30px; }
  .bx-guide-section__title, .bx-guide-result-title { font-size: 26px; }
}

/* ============================================================
   FAQ — preguntas frecuentes
   ============================================================ */
.bx-faq-section { margin-top: 72px; }
.bx-faq-section__head { max-width: 680px; margin: 0 0 20px; }
.bx-faq-section__title {
  font-family: 'Playfair Display', serif;
  font-weight: 800; font-size: 30px; letter-spacing: -.02em;
  color: var(--ink); margin: 8px 0 10px;
}
.bx-faq-section__sub { color: var(--muted); font-size: 16px; line-height: 1.55; }
.bx-faq-section__sub a { color: var(--ink); font-weight: 700; text-decoration: underline; }

/* Acordeón FAQ (reutiliza .bx-accordion) */
.bx-faq-accordion .bx-accordion__label {
  font-weight: 700; font-size: 16px; color: var(--ink);
}
.bx-faq-accordion .bx-accordion__trigger { padding: 18px 0; }
.bx-faq-answer {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 680px;
}
.bx-faq-answer a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.bx-faq-answer a:hover { color: var(--accent); }

@media (max-width: 767px) {
  .bx-faq-section { margin-top: 56px; }
  .bx-faq-section__title { font-size: 26px; }
}

/* ============================================================
   RESEÑAS — WooCommerce nativo (ficha de producto)
   Estilos scopeados a .bx-reviews para vestir el markup de WC.
   Las estrellas usan la fuente 'star' de WooCommerce (su CSS carga).
   Solo reseñas reales alimentan bx_aggregate_rating_schema (SERP).
   ============================================================ */
.bx-reviews {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.bx-reviews__title {
  font-family: 'Playfair Display', serif;
  font-weight: 800; font-size: 28px; letter-spacing: -.02em;
  color: var(--ink); margin: 0 0 24px;
}
/* Título propio de WC duplicado: lo ocultamos (ya ponemos el nuestro) */
.bx-reviews .woocommerce-Reviews-title { display: none; }

/* Lista de reseñas */
.bx-reviews #comments { margin-bottom: 40px; }
.bx-reviews .commentlist { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.bx-reviews .commentlist li.review { list-style: none; }
.bx-reviews .comment_container {
  display: flex; gap: 14px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 20px;
}
.bx-reviews .comment_container img.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  position: static; margin: 0; float: none;
}
.bx-reviews .comment-text { flex: 1; margin: 0; }
.bx-reviews .comment-text p.meta {
  font-size: 13.5px; color: var(--muted); margin: 8px 0 6px;
}
.bx-reviews .comment-text .woocommerce-review__author { color: var(--ink); font-weight: 700; }
.bx-reviews .description { font-size: 15px; line-height: 1.65; color: var(--ink); }
.bx-reviews .description p { margin: 0; }
.bx-reviews .woocommerce-noreviews {
  color: var(--muted); font-size: 15px; background: var(--bg);
  border: 1px solid var(--line); border-radius: 14px; padding: 18px;
}

/* Estrellas: tono cálido acorde a la paleta beige */
.bx-reviews .star-rating span::before,
.bx-reviews p.stars a::before,
.bx-reviews p.stars a:hover::before,
.bx-reviews p.stars.selected a.active::before,
.bx-reviews p.stars a.active::before {
  color: #D8A94B;
}
.bx-reviews .star-rating { margin: 0 0 4px; font-size: 15px; }

/* Formulario de reseña */
.bx-reviews #respond { background: transparent; padding: 0; border: 0; }
.bx-reviews .comment-reply-title {
  display: block;
  font-family: 'Playfair Display', serif;
  font-weight: 800; font-size: 22px; color: var(--ink); margin: 0 0 6px;
}
.bx-reviews .comment-notes,
.bx-reviews .comment-form-cookies-consent { font-size: 13.5px; color: var(--muted); }
.bx-reviews .comment-form { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.bx-reviews .comment-form label {
  display: block; font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 6px;
}
.bx-reviews .comment-form input[type=text],
.bx-reviews .comment-form input[type=email],
.bx-reviews .comment-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; font-size: 15px; font-family: inherit; color: var(--ink);
  background: var(--card); outline: none;
}
.bx-reviews .comment-form input:focus,
.bx-reviews .comment-form textarea:focus { border-color: var(--ink); }
.bx-reviews .comment-form textarea { min-height: 120px; resize: vertical; }
.bx-reviews p.stars { margin: 0; }
.bx-reviews .form-submit .submit {
  display: inline-block; background: var(--ink); color: var(--bg);
  border: 0; border-radius: 999px; cursor: pointer;
  font-weight: 700; font-size: 15px; padding: 14px 32px;
  transition: filter .15s ease, transform .15s ease;
}
.bx-reviews .form-submit .submit:hover { filter: brightness(1.1); transform: translateY(-1px); }

@media (max-width: 767px) {
  .bx-reviews { margin-top: 40px; }
  .bx-reviews__title { font-size: 24px; }
  .bx-reviews .comment_container { padding: 16px; }
}
