/* Sistema visual compartido. Se carga después de los estilos de cada página.
   Tipografía de BeautyExpo: misma pila local, pesos y espaciado de títulos. */
:root {
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 18px rgb(24 26 32 / 5%);
  --shadow-md: 0 12px 36px rgb(24 26 32 / 9%);
  --container: 1280px;
}

body {
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font-family: var(--font-sans); }
:where(h1, h2, h3, h4) { text-wrap: balance; }
:where(section[id]) { scroll-margin-top: 100px; }
:where(a, button, summary):focus-visible {
  outline: 2px solid var(--theme-focus);
  outline-offset: 4px;
}
.display-title {
  font-size: clamp(35px, 4vw, 58px);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -.052em;
}
.display-title em { font-style: normal; font-weight: inherit; }
.btn { border-radius: 10px; font-size: 14px; font-weight: 850; box-shadow: none; }
.btn-primary { background: var(--ivette-rosa); }
.btn-primary:hover { background: var(--ivette-rosa-oscuro); }
.site-header .desktop-nav a:not(.btn),
.site-header .products-menu__trigger { font-size: 13px; font-weight: 750; letter-spacing: 0; }
.site-header .desktop-nav .btn { padding-inline: 18px; }
.mobile-menu a { font-family: var(--font-sans); font-weight: 600; }
.evolution-bar { background: var(--theme-surface-soft); color: var(--theme-muted); }
.evolution-inner { min-height: 34px; font-size: 12px; }
.evolution-inner strong { font-weight: 500; }
.status-dot { box-shadow: none; width: 6px; height: 6px; }

/* Una medida de lectura y un ritmo de espacios para toda la portada. */
.ivette-home .container,
.ivette-home .home-merch .container,
.ivette-home .home-kits .container,
.ivette-home .home-global-search--top .container {
  width: min(calc(100% - 48px), var(--container));
  max-width: var(--container);
}
.ivette-home :is(.categories-section, .home-merch, .home-kits, .rewards-section,
  .discover-section, .surprise-section, .experience-section, .storefront, .contact-section,
  .about-section--boutique) { padding-block: clamp(52px, 6vw, 88px); }
.ivette-home :is(.categories-section, .home-merch--commercial, .rewards-section,
  .surprise-section, .about-section--boutique, .contact-section) {
  background: var(--theme-surface);
}
.ivette-home :is(.home-merch--featured, .home-kits, .discover-section,
  .experience-section, .storefront) { background: var(--theme-surface-soft); }
.ivette-home .section-head { margin-bottom: 30px; }
.ivette-home .section-head.center { text-align: left; }
.ivette-home .section-head.center .section-copy { margin-inline: 0; }
.ivette-home .home-merch h2.display-title,
.ivette-home .home-kits__heading h2,
.ivette-home .rewards-section .rewards-copy h2,
.ivette-home .surprise-copy h2,
.ivette-home .experience-section h2,
.ivette-home .storefront__header h2,
.ivette-home .contact-section .contact-card h2,
.ivette-home .about-section .about-copy h2,
.ivette-home .about-section .about-copy h1,
.ivette-home .footer-beauty h2 {
  font-family: var(--font-sans);
  font-size: clamp(35px, 4vw, 58px);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -.052em;
  text-transform: none;
  color: var(--theme-text);
}
.ivette-home :is(.rewards-copy, .surprise-copy, .about-copy, .contact-card) h2 em,
.ivette-home .about-copy h1 em { font-style: normal; font-weight: inherit; color: var(--theme-accent); }
.ivette-home .about-copy h1 { margin: 0 0 22px; }
.ivette-home :is(.rewards-section .rewards-copy, .surprise-copy, .about-section .about-copy,
  .contact-card__intro) p {
  color: var(--theme-muted);
  font-size: 16px;
  line-height: 1.72;
}
.ivette-home :is(.home-merch__description, .home-kits__heading > p:last-child,
  .storefront__header p, .section-copy) { font-size: 15px; color: var(--theme-muted); }
.ivette-home :is(.eyebrow, .home-merch__eyebrow, .home-kits__eyebrow, .rewards-eyebrow,
  .surprise-eyebrow, .experience-eyebrow, .storefront__eyebrow, .contact-card__eyebrow,
  .about-copy__eyebrow) { font-size: 11px; font-weight: 900; letter-spacing: .2em; color: var(--theme-accent); }

.ivette-home .home-global-search--top { background: var(--theme-surface); padding-block: 20px; }
.ivette-home .home-global-search__form {
  border-color: var(--theme-border);
  border-radius: 12px;
  box-shadow: none;
  width: 100%;
  min-height: 58px;
}
.ivette-home .home-global-search__form button { border-radius: 8px; font-weight: 600; }
.ivette-home .brand-strip { background: var(--theme-surface); border-color: var(--theme-border); }
.ivette-home .brand-name { padding-block: 20px; font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.ivette-home .category-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.ivette-home .category-card {
  min-height: 150px;
  padding: 22px;
  border-radius: 12px;
  background: var(--theme-surface);
  border-color: var(--theme-border);
}
.ivette-home .category-card:hover { background: var(--theme-accent-soft); border-color: var(--theme-accent-border); transform: translateY(-3px); }
.ivette-home .category-card h3 { padding-right: 20px; font-size: 17px; font-weight: 600; line-height: 1.35; }
.ivette-home .category-number { margin-bottom: 24px; font-size: 12px; }
.ivette-home .category-arrow { box-shadow: none; }
.ivette-home .categories-section .section-copy { margin-top: 12px; }
.ivette-home .home-merch--commercial { border-color: var(--theme-border); }
.ivette-home .home-merch-card { border-color: var(--theme-border); border-radius: 14px; }
.ivette-home .home-merch-card__body { padding: 18px; text-align: left; align-items: stretch; }
.ivette-home .home-merch-card__body h3 { font-size: 15px; font-weight: 500; min-height: 46px; line-height: 1.5; }
.ivette-home .home-merch-card__category { font-size: 11px; color: var(--theme-muted); }
.ivette-home .home-merch-card__prices { justify-content: flex-start; }
.ivette-home .home-merch-card__prices strong { font-size: 18px; font-weight: 650; }
.ivette-home .home-merch-card__prices del { font-size: 13px; }
.ivette-home .home-merch-card__availability { justify-content: flex-start; font-size: 12px; }
.ivette-home .home-merch-card__badge { font-size: 11px; }
.ivette-home .home-merch__all { font-size: 14px; font-weight: 600; }
.ivette-home .home-merch__tab { font-size: 13px; font-weight: 500; border-radius: 9px; min-height: 44px; }
.ivette-home .home-merch__tab.is-active { background: var(--theme-accent-soft); color: var(--theme-accent); border-color: var(--theme-accent-border); }
.ivette-home .home-merch__footnote { font-size: 12px; }
.ivette-home .home-kits {
  --kit-primary: var(--ivette-rosa);
  --kit-primary-hover: var(--ivette-rosa-oscuro);
  --kit-text: var(--theme-text);
  --kit-muted: var(--theme-muted);
  --kit-border: var(--theme-border);
  --kit-soft: var(--theme-surface-soft);
}
.ivette-home .storefront {
  --sf-text: var(--theme-text);
  --sf-muted: var(--theme-muted);
  --sf-border: var(--theme-border);
  --sf-card: var(--theme-surface);
  --sf-soft: var(--theme-surface-soft);
}
.ivette-home .rewards-section .rewards-card,
.ivette-home .rewards-section .rewards-visual,
.ivette-home .surprise-video,
.ivette-home .contact-section .contact-card,
.ivette-home .about-section .about-feature,
.ivette-home .institution-card {
  background: var(--theme-surface);
  border-color: var(--theme-border);
  box-shadow: none;
  color: var(--theme-text);
}
.ivette-home :is(.rewards-highlights span, .surprise-tags span, .about-years) {
  background: var(--theme-surface-soft);
  border-color: var(--theme-border);
  color: var(--theme-muted);
}
.ivette-home .about-years__number { color: var(--theme-accent); font-weight: 650; }
.ivette-home .institution-details { margin-top: 28px; border-color: var(--theme-border); }
.ivette-home .institution-card p { color: var(--theme-muted); }
.ivette-home .institution-card h2 { margin: 0 0 14px; font-size: 24px; font-weight: 600; letter-spacing: -.025em; color: var(--theme-text); }
.ivette-home .institution-details .institution-grid { margin-top: 16px; }
.ivette-home .footer-boutique { background: var(--theme-surface-soft); border-top: 1px solid var(--theme-border); }
.ivette-home .footer-beauty { background: var(--theme-surface); box-shadow: none; border-color: var(--theme-border); }

/* Presentación breve en inicio; el contenido institucional vive en /nosotros. */
.home-about-brief { padding-block: 48px; background: var(--theme-surface); border-block: 1px solid var(--theme-border); }
.home-about-brief__inner { display: flex; align-items: center; gap: 32px; }
.home-about-brief__years { flex: 0 0 auto; font-size: 46px; font-weight: 650; letter-spacing: -.055em; color: var(--theme-accent); line-height: 1; }
.home-about-brief__copy { flex: 1; }
.home-about-brief h2 { margin: 0 0 6px; font-size: clamp(21px, 2.5vw, 28px); letter-spacing: -.052em; font-weight: 900; }
.home-about-brief p { margin: 0; color: var(--theme-muted); font-size: 15px; }
.home-about-brief a { flex: 0 0 auto; }
.about-page .about-page-back { display: inline-flex; margin-bottom: 24px; font-size: 14px; color: var(--theme-muted); }
.about-page .about-years::before { content: none; }
.ivette-home { overflow-x: clip; }
.about-page .reveal { opacity: 1; transform: none; transition: none; }
.ivette-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Las páginas de compra comparten la misma escala y superficies. */
.ivette-catalog .catalog-hero, .category-hero { background: var(--theme-surface-soft); }
.ivette-catalog .catalog-hero h1,
.category-hero h1,
.product-detail-page .product-title {
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  letter-spacing: -.052em;
  line-height: 1.07;
}
.ivette-catalog .catalog-sidebar,
.ivette-catalog .catalog-product-card { border-color: var(--theme-border); box-shadow: none; }

@media (max-width: 760px) {
  .ivette-home .container,
  .ivette-home .home-merch .container,
  .ivette-home .home-kits .container,
  .ivette-home .home-global-search--top .container { width: calc(100% - 32px); }
  .ivette-home .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ivette-home .category-card { min-height: 138px; padding: 18px; }
  .ivette-home .category-card h3 { font-size: 15px; padding-right: 12px; }
  .ivette-home .home-merch__heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .ivette-home .home-merch-card__body { padding: 12px; }
  .ivette-home .home-merch-card__body h3 { font-size: 14px; min-height: 42px; }
  .ivette-home .home-global-search__form { padding-left: 14px; gap: 8px; }
  .ivette-home .home-global-search__form input { font-size: 16px; }
  .ivette-home .home-global-search__form button { padding-inline: 14px; font-size: 13px; }
  .home-about-brief__inner { flex-wrap: wrap; gap: 20px; align-items: flex-start; }
  .home-about-brief__copy { flex-basis: calc(100% - 115px); }
  .home-about-brief a { margin-left: 0; }
  .ivette-home .contact-section .contact-card { padding: 24px; border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; transition: none; }
  .brand-marquee { animation: none; }
}
