/* Menú principal compartido de HuellaSenior. */
:root { --hs-global-nav-height: 56px; }

.hs-global-nav {
  position: sticky;
  top: 0;
  z-index: 2000;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: #fffdf8;
  color: #17422d;
  border-bottom: 1px solid rgba(13, 74, 59, .14);
  box-shadow: 0 8px 24px rgba(7, 55, 43, .04);
}

.hs-global-nav__details { position: static; }

/* Las páginas interiores estilan todos los details/summary (FAQ). El menú no hereda eso. */
body.hs-inner-page .hs-global-nav__details,
body.hs-inner-page .hs-global-nav__details[open] {
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: visible !important;
  box-shadow: none !important;
}
body.hs-inner-page .hs-global-nav__toggle {
  min-height: 44px !important;
  padding: 0 16px !important;
  margin: 6px 12px 6px auto !important;
  border: 1px solid #c9d5cc !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #17422d !important;
  font: 750 1rem/1 system-ui, "Segoe UI", sans-serif !important;
  box-shadow: none !important;
}
body.hs-inner-page .hs-global-nav__details > .hs-global-nav__panel {
  margin: 0 !important;
  margin-inline: 0 !important;
}

.hs-global-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  margin: 6px 12px 6px auto;
  padding: 0 16px;
  border: 1px solid #c9d5cc;
  border-radius: 999px;
  background: #fff;
  color: #17422d;
  font: 750 1rem/1 system-ui, "Segoe UI", sans-serif;
  cursor: pointer;
  list-style: none;
}

.hs-global-nav__toggle::-webkit-details-marker { display: none; }

.hs-global-nav__icon {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.hs-global-nav__details[open] .hs-global-nav__icon {
  background: transparent;
  box-shadow: none;
  position: relative;
}

.hs-global-nav__details[open] .hs-global-nav__icon::before,
.hs-global-nav__details[open] .hs-global-nav__icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.hs-global-nav__details[open] .hs-global-nav__icon::before { transform: rotate(45deg); }
.hs-global-nav__details[open] .hs-global-nav__icon::after { transform: rotate(-45deg); }

.hs-global-nav__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 1;
  display: none;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 8px 12px 12px;
  background: #fffdf8;
  border-bottom: 1px solid rgba(13, 74, 59, .14);
  box-shadow: 0 18px 32px rgba(8, 47, 41, .12);
}

.hs-global-nav__details[open] > .hs-global-nav__panel { display: grid; }

.hs-global-nav__panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 12px;
  color: #17422d !important;
  font: 750 .98rem/1.2 system-ui, "Segoe UI", sans-serif;
  text-decoration: none !important;
  overflow-wrap: anywhere;
}

.hs-global-nav__panel a:hover,
.hs-global-nav__panel a:focus-visible,
.hs-global-nav__panel a[aria-current="page"] { background: #e7f0e4; }

.hs-global-nav__toggle:focus-visible,
.hs-global-nav__panel a:focus-visible {
  outline: 3px solid #17422d;
  outline-offset: 2px;
}

/* Los controles antiguos quedan fuera: este es el único menú principal. */
.hs-menu-toggle,
.hs-inner-menu-button,
details.cmp-menu,
aside.hs-drawer,
.hs-primary-nav:empty { display: none !important; }

body.hs-inner-page .hs-inner-header,
.shop-header,
.cmp-header,
.cluster-header { top: var(--hs-global-nav-height, 56px) !important; }

@media (min-width: 960px) {
  /* Chrome oculta el contenido de un <details> cerrado con ::details-content. */
  .hs-global-nav__details::details-content {
    content-visibility: visible !important;
    display: block !important;
    height: auto !important;
    overflow: visible !important;
  }
  .hs-global-nav__toggle { display: none !important; }
  .hs-global-nav__panel,
  .hs-global-nav__details:not([open]) > .hs-global-nav__panel {
    position: static;
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2px 4px;
    width: min(1180px, calc(100% - 24px));
    max-width: 100%;
    margin-inline: auto;
    padding: 6px 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
  .hs-global-nav__panel a {
    flex: 0 1 auto;
    justify-content: center;
    min-height: 44px;
    padding: 8px 10px;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hs-global-nav__icon,
  .hs-global-nav__icon::before,
  .hs-global-nav__icon::after { transition: none; }
}

/* Una sola cabecera: el eslogan deja de ocupar franja y el menú
   comparte fila con el logo. El selector Perros/Gatos sigue en la cabecera. */
.breed-topline p,
body.hs-inner-page .hs-inner-topbar p { display: none !important; }

@media (min-width: 960px) {
  .breed-topline .breed-shell,
  .hs-inner-topbar__in { justify-content: flex-end; }
}

@media (max-width: 959px) {
  body.breed-page > .breed-topline,
  body.hs-inner-page > .hs-inner-topbar { display: none !important; }

  body.breed-page > .hs-global-nav,
  body.hs-inner-page > .hs-global-nav {
    height: 52px;
    margin-bottom: -52px;
    background: transparent;
    border: 0;
    box-shadow: none;
    pointer-events: none;
  }
  body.breed-page .hs-global-nav__details,
  body.hs-inner-page .hs-global-nav__details { pointer-events: auto; }
  body.breed-page .hs-global-nav__toggle,
  body.hs-inner-page .hs-global-nav__toggle {
    position: absolute;
    top: 4px;
    right: 8px;
    z-index: 2;
    margin: 0 !important;
  }
  body.breed-page .hs-global-nav__panel,
  body.hs-inner-page .hs-global-nav__panel { top: 108px; }

  body.breed-page > .breed-header {
    position: sticky;
    top: 0;
    z-index: 1900;
    background: #fffdf8;
  }
  body.breed-page .breed-header-main {
    min-height: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: 52px auto;
    justify-items: stretch !important;
    gap: 2px !important;
    padding-block: 0 6px !important;
  }
  body.breed-page .breed-logo {
    min-height: 52px;
    padding-right: 118px;
  }
  body.breed-page .breed-logo strong { font-size: 1.12rem !important; }
  body.breed-page .breed-species {
    width: 100%;
    justify-content: stretch;
  }
  body.breed-page .breed-species a {
    flex: 1;
    min-height: 44px;
    padding-inline: 8px;
  }

  body.hs-inner-page > .hs-inner-header { top: 0 !important; }
  body.hs-inner-page .hs-inner-header__main {
    min-height: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: 52px auto !important;
    gap: 2px 0 !important;
    width: min(100% - 24px, 1180px) !important;
    padding-bottom: 6px;
  }
  body.hs-inner-page .hs-inner-brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-height: 52px;
    padding-right: 118px;
    font-size: 1.2rem !important;
  }
  body.hs-inner-page .hs-inner-brand img {
    width: 36px !important;
    height: 36px !important;
    padding: 6px !important;
  }
  body.hs-inner-page .hs-inner-species {
    grid-column: 1 !important;
    grid-row: 2 !important;
    justify-self: stretch !important;
  }
  body.hs-inner-page .hs-inner-species a { min-height: 44px; }
}

/* Oferta zooplus fechada: una línea legible, sin botón ni banner. Quitar con .zp-oferta. */
p.zp-oferta,
.hub-product p.zp-oferta,
.product p.zp-oferta,
body.hs-product-photos .hs-photo-links p.zp-oferta{margin:.45rem 0 0;max-width:100%;min-height:0;color:#1a2e26!important;font-size:1rem;line-height:1.45;overflow-wrap:anywhere}
p.zp-oferta a{display:inline;width:auto;min-height:0;margin:0;padding:15px 0;background:none;color:#0b4f24;font-size:1rem;font-weight:700;line-height:44px;text-decoration:underline;text-underline-offset:.12em}

/* Selector Perros/Gatos y enlaces de texto pequeños: área táctil cómoda, mismo aspecto. */
.breed-species a,
.hs-inner-species a,
.hs-species-switch a {
  box-sizing: border-box;
  min-height: 44px;
}
.breed-sources a,
.breed-care-source a,
.breed-spec-source a,
body.hs-method-page .article p a,
body.hs-method-page aside.related p a {
  display: inline;
  padding: 15px 0;
  line-height: 44px;
  overflow-wrap: anywhere;
}
.breed-sources li + li { margin-top: 6px; }
