/* ===== Mamafit · header idéntico al diseño anterior (medido en la web en línea) ===== */
.ast-primary-header-bar.main-header-bar,.ast-primary-header-bar.main-header-bar.ast-header-sticked{ border-bottom:0 !important; box-shadow:0 0 10px rgba(0,0,0,.15); background:#fff; }

/* Íconos: buscador, cuenta y bolsa (los mismos trazos de antes) */
.ast-header-search .ast-search-icon .astra-search-icon svg,.ast-header-account-wrap .ahfb-svg-iconset svg{ display:none !important; }
.ast-header-search .ast-search-icon .astra-search-icon::before,.ast-header-account-wrap .ahfb-svg-iconset::before{ content:""; display:block; background:var(--mf-rosa); -webkit-mask:center/contain no-repeat; mask:center/contain no-repeat; }
.ast-header-search .ast-search-icon .astra-search-icon::before{ width:18px; height:18px; -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z'/%3E%3C/svg%3E"); }
.ast-header-account-wrap .ahfb-svg-iconset::before{ width:17.5px; height:20px; -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M313.6 304c-28.7 0-42.5 16-89.6 16-47.1 0-60.8-16-89.6-16C60.2 304 0 364.2 0 438.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-25.6c0-74.2-60.2-134.4-134.4-134.4zM400 464H48v-25.6c0-47.6 38.8-86.4 86.4-86.4 14.6 0 38.3 16 89.6 16 51.7 0 74.9-16 89.6-16 47.6 0 86.4 38.8 86.4 86.4V464zM224 288c79.5 0 144-64.5 144-144S303.5 0 224 0 80 64.5 80 144s64.5 144 144 144zm0-240c52.9 0 96 43.1 96 96s-43.1 96-96 96-96-43.1-96-96 43.1-96 96-96z'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M313.6 304c-28.7 0-42.5 16-89.6 16-47.1 0-60.8-16-89.6-16C60.2 304 0 364.2 0 438.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-25.6c0-74.2-60.2-134.4-134.4-134.4zM400 464H48v-25.6c0-47.6 38.8-86.4 86.4-86.4 14.6 0 38.3 16 89.6 16 51.7 0 74.9-16 89.6-16 47.6 0 86.4 38.8 86.4 86.4V464zM224 288c79.5 0 144-64.5 144-144S303.5 0 224 0 80 64.5 80 144s64.5 144 144 144zm0-240c52.9 0 96 43.1 96 96s-43.1 96-96 96-96-43.1-96-96 43.1-96 96-96z'/%3E%3C/svg%3E"); }

.ast-site-header-cart .ast-cart-menu-wrap .count{ position:relative; display:block; width:21px; height:21px; min-width:0; padding:0; margin:0; border:0 !important; border-radius:0; background:transparent !important; }
.ast-site-header-cart .ast-cart-menu-wrap .count::after{ display:none !important; }
.ast-site-header-cart .ast-cart-menu-wrap .count::before{ content:""; position:absolute; inset:0; background:var(--mf-rosa); -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000'%3E%3Cpath d='M323 292L323 207C329 95 391 33 501 33 610 33 673 95 677 209V292H750C796 292 833 329 833 375V875C833 921 796 958 750 958H250C204 958 167 921 167 875V375C167 329 204 292 250 292H323ZM385 292H615L615 210C611 130 577 95 501 95 425 95 390 130 385 209L385 292ZM323 354H250C238 354 229 363 229 375V875C229 887 238 896 250 896H750C762 896 771 887 771 875V375C771 363 762 354 750 354H677V454C677 471 663 485 646 485S615 471 615 454L615 354H385L385 454C385 471 371 485 354 485 337 485 323 471 323 454L323 354Z'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000'%3E%3Cpath d='M323 292L323 207C329 95 391 33 501 33 610 33 673 95 677 209V292H750C796 292 833 329 833 375V875C833 921 796 958 750 958H250C204 958 167 921 167 875V375C167 329 204 292 250 292H323ZM385 292H615L615 210C611 130 577 95 501 95 425 95 390 130 385 209L385 292ZM323 354H250C238 354 229 363 229 375V875C229 887 238 896 250 896H750C762 896 771 887 771 875V375C771 363 762 354 750 354H677V454C677 471 663 485 646 485S615 471 615 454L615 354H385L385 454C385 471 371 485 354 485 337 485 323 471 323 454L323 354Z'/%3E%3C/svg%3E") center/contain no-repeat; }
.ast-site-header-cart .ast-cart-menu-wrap .count .ast-count-text{ position:absolute; top:-7px; right:-7px; left:auto; display:block; min-width:16px; height:16px; border-radius:100%; background:var(--mf-morado); color:#fff !important; font-size:10px; font-weight:700; line-height:15px; text-align:center; transform:none; }

@media (min-width:922px){
  /* Fila: 80 px de alto y 1200 px de ancho */
  .ast-primary-header-bar .site-primary-header-wrap.ast-container{ max-width:1200px; min-height:80px !important; height:80px; padding-left:0; padding-right:0; }
  .ast-primary-header-bar.main-header-bar{ min-height:80px; padding:0; }
  .ast-primary-header-bar .ast-builder-grid-row{ min-height:80px !important; max-height:none; }
  .ast-primary-header-bar .site-header-primary-section-right .ast-builder-layout-element,.ast-primary-header-bar .site-header-primary-section-right .ast-header-account{ padding:0; margin:0; }

  /* Menú: 14 px mayúsculas, 20 px entre opciones, 3 px arriba y abajo */
  #ast-desktop-header .ast-builder-menu-1{ margin-right:58px !important; }
  #ast-desktop-header .main-header-menu{ column-gap:20px; align-items:center; }
  #ast-desktop-header .main-header-menu > .menu-item{ margin:0; padding:0; line-height:23px; height:auto; }
  #ast-desktop-header .main-header-menu > .menu-item > .menu-link{ position:relative; display:flex; align-items:center; height:29px; padding:3px 0 !important; font-family:var(--mf-fuente); font-size:14px; line-height:23px; text-transform:uppercase; color:#000; }
  #ast-desktop-header .main-header-menu > .menu-item:hover > .menu-link,#ast-desktop-header .main-header-menu > .menu-item.current-menu-item > .menu-link,#ast-desktop-header .main-header-menu > .menu-item.current-menu-ancestor > .menu-link{ color:var(--mf-rosa); }
  /* Línea animada: crece desde el centro */
  #ast-desktop-header .main-header-menu > .menu-item > .menu-link::after{ content:""; position:absolute; bottom:0; left:50%; width:0; height:3px; background:var(--mf-rosa); opacity:1; transition:left .3s cubic-bezier(.58,.3,.005,1),width .3s cubic-bezier(.58,.3,.005,1); }
  #ast-desktop-header .main-header-menu > .menu-item:hover > .menu-link::after,#ast-desktop-header .main-header-menu > .menu-item:focus-within > .menu-link::after,#ast-desktop-header .main-header-menu > .menu-item.current-menu-item > .menu-link::after,#ast-desktop-header .main-header-menu > .menu-item.current-menu-ancestor > .menu-link::after{ left:0; width:100%; }
  /* Flecha rellena */
  #ast-desktop-header .main-header-menu > .menu-item > .menu-link .dropdown-menu-toggle,#ast-desktop-header .main-header-menu > .menu-item > .menu-link .ast-header-navigation-arrow{ display:flex; align-items:center; margin:0; padding:0 0 0 10px; height:23px; width:auto; }
  #ast-desktop-header .main-header-menu > .menu-item > .menu-link .ast-icon.icon-arrow{ display:block; width:14px; height:14px; margin:0; background:currentColor; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z'/%3E%3C/svg%3E") center/contain no-repeat; transform:none !important; }
  #ast-desktop-header .main-header-menu > .menu-item > .menu-link .ast-icon.icon-arrow svg,#ast-desktop-header .main-header-menu > .menu-item > .menu-link .ast-icon.icon-arrow::after{ display:none !important; }

  /* Submenú: pegado bajo la línea, sin bordes, sombra suave */
  #ast-desktop-header .main-header-menu .sub-menu{ top:100% !important; width:max-content !important; min-width:156px; margin:0; padding:0; border:0 !important; border-radius:0; background:#fff; box-shadow:0 0 10px rgba(0,0,0,.07) !important; }
  #ast-desktop-header .main-header-menu .sub-menu .menu-item{ width:100%; margin:0; padding:0; border:0 !important; line-height:20px; }
  #ast-desktop-header .main-header-menu .sub-menu .menu-link{ display:block; padding:13px 20px !important; border:0 !important; border-left:8px solid transparent !important; font-family:var(--mf-fuente); font-size:14px; line-height:20px; text-transform:uppercase; white-space:nowrap; color:#000; background:transparent; }
  #ast-desktop-header .main-header-menu .sub-menu .menu-link::after{ display:none; }
  #ast-desktop-header .main-header-menu .sub-menu .menu-item:hover > .menu-link,#ast-desktop-header .main-header-menu .sub-menu .current-menu-item > .menu-link{ color:var(--mf-rosa); }

  /* Posición de los íconos */
  .ast-primary-header-bar .ast-header-search{ width:33px; justify-content:center; }
  .ast-primary-header-bar .ast-header-search .ast-search-icon .astra-search-icon{ display:block; }
  .ast-primary-header-bar .ast-header-account-wrap{ margin:0 0 0 2px; }
  .ast-primary-header-bar .ast-header-woo-cart{ margin:-3px 7px 0 10px !important; }
}
@media (prefers-reduced-motion:reduce){ #ast-desktop-header .main-header-menu > .menu-item > .menu-link::after{ transition:none; } }@media (min-width:922px){
  .ast-primary-header-bar .site-header-primary-section-right{ align-items:center; height:80px; }
  .ast-primary-header-bar .site-header-primary-section-right > .ast-builder-layout-element,.ast-primary-header-bar .site-header-primary-section-right > .ast-header-account{ display:flex; align-items:center; align-self:center; }
  .ast-primary-header-bar .ast-header-search .ast-search-menu-icon,.ast-primary-header-bar .ast-header-search .ast-search-icon a,.ast-primary-header-bar .ast-header-account-link,.ast-primary-header-bar .ast-site-header-cart .cart-container{ display:flex; align-items:center; margin:0; padding:0; line-height:1; }
}
@media (min-width:922px){ .ast-primary-header-bar .ast-header-search .ast-search-icon .astra-search-icon{ height:18px; line-height:18px; font-size:18px; } }
.ast-site-header-cart .ast-cart-menu-wrap .count{ height:21px !important; line-height:21px; }

/* Botón del slider como antes: centrado, pequeño y semitransparente (escritorio y tablet) */
@media (min-width:768px){ .ve-hero a.ve-hero__btn,.ve-hero a.ve-hero__btn:visited{ top:50%; bottom:auto; transform:translate(-50%,-50%); padding:11px 22px; font-size:12px; background:rgba(235,24,77,.82); } }

/* Portátiles angostos: el menú se mantiene en una sola línea */
@media (min-width:922px) and (max-width:1239px){
  .ast-primary-header-bar .site-primary-header-wrap.ast-container{ padding-left:16px; padding-right:16px; }
  .ast-primary-header-bar .site-logo-img img{ width:150px !important; max-width:150px !important; height:auto; }
  #ast-desktop-header .main-header-menu{ flex-wrap:nowrap; column-gap:14px; }
  #ast-desktop-header .main-header-menu > .menu-item > .menu-link{ font-size:12.5px; white-space:nowrap; }
  #ast-desktop-header .main-header-menu > .menu-item > .menu-link .dropdown-menu-toggle{ padding-left:5px; }
  #ast-desktop-header .ast-builder-menu-1{ margin-right:16px !important; }
}
@media (min-width:922px) and (max-width:1079px){
  .ast-primary-header-bar .site-logo-img img{ width:124px !important; max-width:124px !important; }
  #ast-desktop-header .main-header-menu{ column-gap:9px; }
  #ast-desktop-header .main-header-menu > .menu-item > .menu-link{ font-size:11.5px; }
  #ast-desktop-header .main-header-menu > .menu-item > .menu-link .dropdown-menu-toggle{ padding-left:2px; }
  #ast-desktop-header .ast-builder-menu-1{ margin-right:6px !important; }
}

/* Bolsa: caja exacta de 21 px para que el globo quede donde estaba (7 px sobre y a la derecha del ícono) */
#masthead .ast-site-header-cart .ast-cart-menu-wrap .count{ box-sizing:border-box; height:21px !important; min-height:0 !important; max-height:21px; line-height:21px !important; }
@media (min-width:922px){ #masthead .ast-primary-header-bar .ast-header-woo-cart{ margin:0 7px 0 10px !important; } #masthead .ast-site-header-cart .ast-cart-menu-wrap{ display:flex; align-items:center; height:21px; } }

/* Lupa de trazo fino, del mismo peso que los íconos de cuenta y bolsa */
.ast-header-search .ast-search-icon .astra-search-icon::before{ width:19px; height:19px; -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='8.4' cy='8.4' r='6.6'/%3E%3Cpath d='M13.3 13.3L18.6 18.6'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='8.4' cy='8.4' r='6.6'/%3E%3Cpath d='M13.3 13.3L18.6 18.6'/%3E%3C/svg%3E"); }
@media (min-width:922px){ #masthead .ast-primary-header-bar .ast-header-search .ast-search-icon .astra-search-icon{ width:19px; height:19px; line-height:19px; } }
@media (min-width:922px){ #masthead .ast-primary-header-bar .ast-header-woo-cart{ margin:-3px 7px 0 10px !important; } }

/* ===== Íconos del header: misma familia, 20 px y el mismo grosor de línea (1.5 px) ===== */
#masthead .ast-header-search .ast-search-icon .astra-search-icon::before,#ast-mobile-header .ast-header-search .ast-search-icon .astra-search-icon::before{ width:20px; height:20px; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8.5' cy='8.5' r='6.5'/%3E%3Cpath d='M13.3 13.3L18.2 18.2'/%3E%3C/svg%3E") center/20px 20px no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8.5' cy='8.5' r='6.5'/%3E%3Cpath d='M13.3 13.3L18.2 18.2'/%3E%3C/svg%3E") center/20px 20px no-repeat; }
#masthead .ast-header-account-wrap .ahfb-svg-iconset::before{ width:20px; height:20px; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='5.6' r='3.9'/%3E%3Cpath d='M2.9 18.2v-1.4c0-2.6 2.1-4.6 4.7-4.6h4.8c2.6 0 4.7 2 4.7 4.6v1.4z'/%3E%3C/svg%3E") center/20px 20px no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='5.6' r='3.9'/%3E%3Cpath d='M2.9 18.2v-1.4c0-2.6 2.1-4.6 4.7-4.6h4.8c2.6 0 4.7 2 4.7 4.6v1.4z'/%3E%3C/svg%3E") center/20px 20px no-repeat; }
#masthead .ast-site-header-cart .ast-cart-menu-wrap .count::before{ -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6.3h12v10.4c0 .8-.7 1.5-1.5 1.5h-9c-.8 0-1.5-.7-1.5-1.5z'/%3E%3Cpath d='M7 9V5c0-1.7 1.3-3.2 3-3.2s3 1.5 3 3.2v4'/%3E%3C/svg%3E") center/20px 20px no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6.3h12v10.4c0 .8-.7 1.5-1.5 1.5h-9c-.8 0-1.5-.7-1.5-1.5z'/%3E%3Cpath d='M7 9V5c0-1.7 1.3-3.2 3-3.2s3 1.5 3 3.2v4'/%3E%3C/svg%3E") center/20px 20px no-repeat; }
@media (min-width:922px){ #masthead .ast-primary-header-bar .ast-header-search .ast-search-icon .astra-search-icon{ width:20px; height:20px; line-height:20px; } #masthead .ast-primary-header-bar .ast-header-account-wrap{ margin-left:0; } }

/* Botón del slider: traslúcido y ligero, como el original (120 × 36 px) */
.ve-hero a.ve-hero__btn,.ve-hero a.ve-hero__btn:visited{ padding:12px 24px; border-radius:5px; font-size:12px; font-weight:400; line-height:12px; color:#fff; }

/* Móvil y tablet: la bolsa alineada con lupa y cuenta */
@media (max-width:921px){
  #ast-mobile-header .ast-header-woo-cart,#ast-mobile-header .ast-header-woo-cart .ast-site-header-cart,#ast-mobile-header .ast-header-woo-cart .ast-site-header-cart-li,#ast-mobile-header .ast-header-woo-cart .cart-container,#ast-mobile-header .ast-header-woo-cart .ast-cart-menu-wrap{ display:flex; align-items:center; align-self:center; height:24px; margin-top:0; margin-bottom:0; padding-top:0; padding-bottom:0; line-height:1; }
}

/* Con sesión iniciada, el icono de cuenta cambia a «usuario con check», como en el diseño anterior */
body.logged-in #masthead .ast-header-account-wrap .ahfb-svg-iconset::before{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Ccircle cx='9' cy='6' r='5.2'/%3E%3Cpath d='M0 20.500c0-4.600 3.500-7.700 7.200-7.700h3.600c3.700 0 7.200 3.100 7.200 7.700 0 .8-.6 1.500-1.5 1.5H1.500C.6 22 0 21.300 0 20.500z'/%3E%3Cpath d='M15.200 10.600l2.700 2.700 5-5.200' fill='none' stroke='%23000' stroke-width='2.400' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Ccircle cx='9' cy='6' r='5.2'/%3E%3Cpath d='M0 20.500c0-4.600 3.500-7.700 7.200-7.700h3.600c3.700 0 7.200 3.100 7.200 7.700 0 .8-.6 1.500-1.5 1.5H1.500C.6 22 0 21.300 0 20.500z'/%3E%3Cpath d='M15.200 10.600l2.700 2.700 5-5.200' fill='none' stroke='%23000' stroke-width='2.400' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
