/* BLAÜ marca — vista previa. Fuentes locales, sin Google Fonts. */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/outfit-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0100-024F, U+2014;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/outfit-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0100-024F, U+2014;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/dm-sans-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0100-024F, U+2014;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url("fonts/dm-sans-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0100-024F, U+2014;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/dm-sans-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0100-024F, U+2014;
}
@font-face {
  font-family: "Dancing Script";
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("fonts/dancing-script-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0100-024F, U+2014;
}
@font-face {
  font-family: "Dancing Script";
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("fonts/dancing-script-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0100-024F, U+2014;
}

:root {
  --fondo: #FBFAF7;
  --fondo-elevado: #FFFFFF;
  --fondo-suave: #E3EEF1;
  --texto: #1C2A2F;
  --texto-suave: #5A6A70;
  --marca: #5891A2;
  --marca-texto: #476C77;
  --accion: #476C77;
  --sobre-accion: #FFFFFF;
  --linea: #DCE4E6;
  --foco: #2F5662;
  --azul-50: #F1F6F8;
  --azul-100: #E3EEF1;
  --azul-500: #5891A2;
  --azul-700: #476C77;
  --azul-800: #2F5662;
  --azul-900: #1F3A42;
  --leche: #FBFAF7;
  --blanco: #FFFFFF;
  --tinta: #1C2A2F;
  --negro-protein: #221D20;
  --sabor-intenso: #7E1F35;
  --sabor-silvestre: #B3263E;
  --sabor-sunrise: #C93A36;
  --sabor-banana: #F2C230;
  --sabor-tropical: #E98A33;
  --sabor-tropical-texto: #A0521A;
  --sabor-sunset: #E0573B;
  --sabor-sunset-texto: #B03F1E;
  --sabor-sunset-pink: #E27D98;
  --sabor-sunset-pink-texto: #B03F65;
  --sabor-berry-chia: #5E3A6E;
  --granola: #C49A5A;
  --font-display: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Dancing Script", "Brush Script MT", cursive;
  --espacio-1: 4px;
  --espacio-2: 8px;
  --espacio-3: 12px;
  --espacio-4: 16px;
  --espacio-6: 24px;
  --espacio-8: 32px;
  --espacio-12: 48px;
  --espacio-16: 64px;
  --radio-s: 6px;
  --radio-m: 12px;
  --radio-l: 24px;
  --radio-pastilla: 999px;
  --sombra-tarjeta: 0 1px 2px rgba(28, 42, 47, 0.06), 0 6px 20px rgba(28, 42, 47, 0.08);
  --titular-xl-size: 56px;
  --titular-xl-line: 60px;
  --titular-l-size: 40px;
  --titular-l-line: 44px;
  --titular-m-size: 28px;
  --titular-m-line: 34px;
  --titular-s-size: 20px;
  --titular-s-line: 26px;
  --cuerpo-l-size: 18px;
  --cuerpo-l-line: 28px;
  --cuerpo-size: 16px;
  --cuerpo-line: 24px;
  --pequeno-size: 13px;
  --pequeno-line: 18px;
  --rotulo-size: 12px;
  --rotulo-line: 16px;
  --sabor-xl-size: 52px;
  --sabor-xl-line: 56px;
  --sabor-m-size: 26px;
  --sabor-m-line: 30px;

  /* Elementor kit (no se guarda el kit: solo esta vista previa) */
  --e-global-color-primary: var(--marca);
  --e-global-color-secondary: var(--fondo-elevado);
  --e-global-color-text: var(--texto);
  --e-global-color-accent: var(--accion);
  --e-global-typography-primary-font-family: var(--font-display);
  --e-global-typography-secondary-font-family: var(--font-display);
  --e-global-typography-text-font-family: var(--font-body);
  --e-global-typography-accent-font-family: var(--font-body);

  /* Astra global palette */
  --ast-global-color-0: var(--marca);
  --ast-global-color-1: var(--marca-texto);
  --ast-global-color-2: var(--texto);
  --ast-global-color-3: var(--texto);
  --ast-global-color-4: var(--fondo);
  --ast-global-color-5: var(--fondo-elevado);
  --ast-global-color-6: var(--fondo-suave);
  --ast-global-color-7: var(--texto-suave);
  --ast-global-color-8: var(--azul-100);
}

[data-theme="protein"] {
  --fondo: #221D20;
  --fondo-elevado: #2E282B;
  --fondo-suave: #1F3A42;
  --texto: #F4F1EC;
  --texto-suave: #B8AFB3;
  --marca: #5891A2;
  --marca-texto: #7FB3C3;
  --accion: #7FB3C3;
  --sobre-accion: #10191C;
  --linea: #3E3639;
  --foco: #9CC6D3;
  --sombra-tarjeta: 0 1px 2px rgba(0, 0, 0, 0.4), 0 6px 20px rgba(0, 0, 0, 0.35);
}

body {
  background: var(--fondo) !important;
  color: var(--texto) !important;
  font-family: var(--font-body) !important;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

h1, h2, h3, h4,
.elementor-heading-title {
  font-family: var(--font-display) !important;
  color: var(--texto);
}
h1 {
  font-weight: 800;
}

:focus-visible {
  outline: 2px solid var(--foco);
  outline-offset: 2px;
}

/* El recorte de la Tarea #20 (96x40, object-fit: cover) no debe cortar el logotipo nuevo. */
#bnNavbar .bn-logo {
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
}
#bnNavbar .bn-logo img,
#bnNavbar.scrolled .bn-logo img,
#bnNavbar .bn-logo picture img {
  width: 108px !important;
  height: 40px !important;
  max-width: none !important;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: left center !important;
}
#bnDrawer .bn-drawer-head img {
  width: 108px !important;
  height: 40px !important;
  max-width: none !important;
  object-fit: contain !important;
  filter: none !important;
}

/* Encabezado de vista previa. El público no carga esta hoja. */
body:has(#bnNavbar.bn-marca) {
  padding-top: 68px !important;
}
body.admin-bar:has(#bnNavbar.bn-marca) {
  padding-top: 100px !important;
}
body:has(#bnNavbar.bn-marca) #masthead,
body:has(#bnNavbar.bn-marca) .main-header-bar {
  display: none !important;
}
#bnNavbar.bn-marca {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 68px;
  z-index: 99990;
  background: var(--leche) !important;
  border-bottom: 1px solid var(--linea);
  box-shadow: none;
  font-family: "DM Sans", sans-serif;
}
body.admin-bar #bnNavbar.bn-marca {
  top: 32px;
}
#bnNavbar.bn-marca .bn-container {
  width: 100% !important;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
#bnNavbar.bn-marca .bn-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 44px;
  line-height: 0;
}
#bnNavbar.bn-marca .bn-nav {
  width: auto;
  margin-left: auto;
  flex: 0 0 auto;
}
#bnNavbar.bn-marca .bn-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  width: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}
#bnNavbar.bn-marca .bn-catalog-btn a,
#bnNavbar.bn-marca .bn-catalog-btn a:hover,
#bnNavbar.bn-marca .bn-catalog-btn a:focus {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: var(--texto) !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  letter-spacing: 0 !important;
  padding: 0 12px !important;
  border-radius: 12px !important;
  text-transform: none !important;
  transform: none !important;
}
#bnNavbar.bn-marca .bn-catalog-btn a::before,
#bnNavbar.bn-marca .bn-catalog-btn a::after {
  content: none !important;
  display: none !important;
}
#bnNavbar.bn-marca .bn-catalog-btn a[aria-current="page"] {
  color: var(--marca-texto) !important;
}
#bnNavbar.bn-marca .bn-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  color: var(--texto);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
}
#bnNavbar.bn-marca .bn-menu a[aria-current="page"] {
  color: var(--marca-texto);
}
#bnNavbar.bn-marca .bn-cta a {
  gap: 8px;
  padding: 0 16px !important;
  background: var(--accion) !important;
  background-image: none !important;
  color: var(--sobre-accion) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}
#bnNavbar.bn-marca .bn-acciones {
  display: none;
  align-items: center;
  gap: 4px;
}
#bnNavbar.bn-marca .bn-wa,
#bnNavbar.bn-marca .bn-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--texto);
  text-decoration: none;
}
#bnNavbar.bn-marca .bn-toggle {
  flex-direction: column;
  gap: 5px;
}
#bnNavbar.bn-marca .bn-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
#bnOverlay.bn-marca {
  position: fixed;
  inset: 0;
  z-index: 1000001;
  background: rgba(28, 42, 47, 0.45);
  opacity: 0;
  pointer-events: none;
}
#bnOverlay.bn-marca.open {
  opacity: 1;
  pointer-events: auto;
}
#bnDrawer.bn-marca {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1000002;
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  margin: 0;
  padding: 0;
  background: #2F5662 !important;
  color: #FFFFFF !important;
  transform: translateX(100%);
  visibility: hidden;
  box-shadow: none;
}
#bnDrawer.bn-marca.open {
  transform: none;
  visibility: visible;
}
#bnDrawer.bn-marca .bn-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  background: transparent !important;
}
#bnDrawer.bn-marca .bn-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent !important;
  color: #FFFFFF !important;
}
#bnDrawer.bn-marca .bn-drawer-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 16px;
  overflow: auto;
}
#bnDrawer.bn-marca .bn-dl {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 12px;
  border-radius: 12px;
  color: #FFFFFF !important;
  font-family: "Outfit", sans-serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 26px;
  text-decoration: none;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}
#bnDrawer.bn-marca .bn-dl[aria-current="page"] {
  color: #7FB3C3 !important;
  background: transparent;
  box-shadow: none;
}
#bnDrawer.bn-marca .bn-sep {
  height: 1px;
  margin: 8px 0;
  background: rgba(255, 255, 255, 0.2);
}
#bnDrawer.bn-marca .bn-label {
  margin: 8px 12px 0;
  color: #F4F1EC;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
#bnDrawer.bn-marca .bn-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding: 16px 16px 24px;
}
#bnDrawer.bn-marca .bn-pie-catalogo,
#bnDrawer.bn-marca .bn-pie-wa,
#bnDrawer.bn-marca .bn-drawer-login,
#bnDrawer.bn-marca .bn-drawer-logout,
#bnDrawer.bn-marca .bn-drawer-comercio {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 12px;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-decoration: none;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}
#bnDrawer.bn-marca .bn-pie-catalogo {
  border: 2px solid #FFFFFF;
  background: transparent !important;
  color: #FFFFFF !important;
}
#bnDrawer.bn-marca .bn-pie-wa {
  background: #FFFFFF !important;
  color: #2F5662 !important;
}
#bnDrawer.bn-marca .bn-drawer-login,
#bnDrawer.bn-marca .bn-drawer-logout,
#bnDrawer.bn-marca .bn-drawer-comercio {
  background: transparent;
  color: #FFFFFF !important;
}
html.bn-locked,
body.bn-locked {
  overflow: hidden !important;
}
html.bn-locked #ht-ctc-chat,
html.bn-locked .ht_ctc_chat_greetings,
html.bn-locked #blau-fab,
body.bn-locked #ht-ctc-chat,
body.bn-locked .ht_ctc_chat_greetings,
body.bn-locked #blau-fab {
  visibility: hidden !important;
  pointer-events: none !important;
}
#blau-fab {
  background: var(--accion) !important;
  color: var(--sobre-accion) !important;
  border-radius: 999px !important;
}
#bnNavbar.bn-marca .bn-catalog-btn a::before,
#bnNavbar.bn-marca .bn-pie-catalogo::before {
  content: none !important;
}
@media (max-width: 992px) {
  #bnNavbar.bn-marca .bn-nav,
  #bnNavbar.bn-marca .bn-menu {
    display: none;
  }
  #bnNavbar.bn-marca .bn-acciones {
    display: flex;
  }
  #bnDrawer.bn-marca {
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
  }
}
@media screen and (max-width: 782px) {
  body.admin-bar:has(#bnNavbar.bn-marca) {
    padding-top: 114px !important;
  }
  body.admin-bar #bnNavbar.bn-marca {
    top: 46px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #bnNavbar.bn-marca,
  #bnOverlay.bn-marca,
  #bnDrawer.bn-marca,
  #bnDrawer.bn-marca .bn-dl,
  #bnDrawer.bn-marca .bn-pie-catalogo,
  #bnDrawer.bn-marca .bn-pie-wa {
    transition: none !important;
    animation: none !important;
  }
}

/* Home de vista previa: el encabezado nace transparente sobre el hero. */
#bnNavbar.bn-marca .bn-logo-blanco { display: none; }
#bnNavbar.bn-marca {
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
body.bh-home:has(#bnNavbar.bn-marca) {
  padding-top: 0 !important;
}
body.bh-home #bnNavbar.bn-marca:not(.scrolled) {
  background: transparent !important;
  border-bottom-color: transparent;
  box-shadow: none;
}
body.bh-home #bnNavbar.bn-marca:not(.scrolled) .bn-logo-azul { display: none; }
body.bh-home #bnNavbar.bn-marca:not(.scrolled) .bn-logo-blanco { display: inline; }
body.bh-home #bnNavbar.bn-marca:not(.scrolled) .bn-menu a,
body.bh-home #bnNavbar.bn-marca:not(.scrolled) .bn-wa,
body.bh-home #bnNavbar.bn-marca:not(.scrolled) .bn-bar {
  color: #FFFFFF;
}
body.bh-home #bnNavbar.bn-marca:not(.scrolled) .bn-catalog-btn a {
  color: #FFFFFF !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}
body.bh-home #bnNavbar.bn-marca:not(.scrolled) .bn-menu a[aria-current="page"] {
  color: #7FB3C3;
}
body.bh-home #bnNavbar.bn-marca:not(.scrolled) .bn-cta a {
  background: #FBFAF7 !important;
  background-image: none !important;
  color: #2F5662 !important;
}
body.bh-home #bnNavbar.bn-marca.scrolled {
  background: rgba(251, 250, 247, 0.92) !important;
  border-bottom-color: #DCE4E6;
}
@media (max-width: 900px) {
  body.bh-home #bnNavbar.bn-marca {
    z-index: 99990;
  }
  body.bh-home #bnNavbar.bn-marca.scrolled {
    background: #FBFAF7 !important;
    backdrop-filter: none !important;
  }
}
@media (min-width: 901px) {
  body.bh-home #bnNavbar.bn-marca.scrolled {
    backdrop-filter: blur(12px);
  }
}
@media (prefers-reduced-motion: reduce) {
  #bnNavbar.bn-marca { transition: none; }
}
