/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
 


/* Ocultar solo barra superior original del tema */
#header .header-nav {
  display: none !important;
}

/* Quitar fondo negro del megamenú */
.custom-header-menu,
.custom-header-menu *,
.custom-header-menu #iqitmegamenu-wrapper,
.custom-header-menu .iqitmegamenu-wrapper,
.custom-header-menu .cbp-horizontal,
.custom-header-menu .cbp-horizontal > ul,
.custom-header-menu .cbp-horizontal > ul > li,
.custom-header-menu .cbp-horizontal > ul > li > a,
.custom-header-menu .cbp-hrmenu,
.custom-header-menu .cbp-hrmenu > ul,
.custom-header-menu .cbp-hrmenu > ul > li,
.custom-header-menu .cbp-hrmenu > ul > li > a,
.custom-header-menu .cbp-mainlink,
.custom-header-menu .cbp-tab-title {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* Forzar color texto menú */
.custom-header-menu a,
.custom-header-menu a span,
.custom-header-menu .cbp-mainlink,
.custom-header-menu .cbp-mainlink span {
  color: #4c4946 !important;
}

/* Color texto menú */
.custom-header-menu .cbp-horizontal > ul > li > a,
.custom-header-menu .cbp-horizontal > ul > li > a span,
.custom-header-menu .cbp-mainlink span {
  color: #4c4946 !important;
}

/* Hover menú */
.custom-header-menu .cbp-horizontal > ul > li > a:hover,
.custom-header-menu .cbp-horizontal > ul > li > a:hover span,
.custom-header-menu .cbp-mainlink:hover span {
  color: #7b9fab !important;
}

/* Fondo del bloque del header */
.header-top,
.custom-header-reference,
.custom-header-reference #desktop-header-container,
.custom-header-inner,
.custom-header-logo,
.custom-header-menu,
.custom-header-icons {
  background: #f6fbfd !important;
}
.custom-topbar {
  background: #e8f6fa !important;
  color: #7b7772 !important;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  flex-wrap: no-wrap;
}
/* Topbar con texto a la izquierda y enlaces a la derecha */
.custom-topbar {
  text-align: initial !important;
  padding: 0 !important;
}

.custom-topbar-inner {
  min-height: 48px;
  padding: 0 5%;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 30px;
}

.custom-topbar-inner > span {
  display: block;
  text-align: left;
}

.custom-topbar-links {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 34px;
  white-space: nowrap;
}

.custom-topbar-links a {
  color: #7b7772 !important;
  text-decoration: none !important;
}

/* Ocultar texto wishlist, dejar solo icono */
.custom-header-icons #iqitwishlist span.link-item,
.custom-header-icons #iqitwishlist span:not(.cart-products-count),
.custom-header-icons a[href*="wishlist"] span,
.custom-header-icons a[href*="wishlist"] .title {
  font-size: 0 !important;
  line-height: 0 !important;
}

.custom-header-icons #iqitwishlist i,
.custom-header-icons a[href*="wishlist"] i {
  font-size: 18px !important;
  line-height: 1 !important;
}

/* Separar mejor los iconos */
.custom-header-icons {
  gap: 18px !important;
}
/* Fondo header desktop */
.custom-header-reference {
  background: #f6fbfd !important;
}

/* Menú desktop */
.custom-header-menu #iqitmegamenu-wrapper,
.custom-header-menu .iqitmegamenu-wrapper,
.custom-header-menu #_desktop_top_menu,
.custom-header-menu .cbp-horizontal {
  background: transparent !important;
}

/* Topbar */
.custom-header-menu a {
  color: #4c4946 !important;
  background: transparent !important;
}

.custom-header-menu a:hover {
  color: #7b9fab !important;
}

/* Hover iconos móvil */
.col-mobile-btn i:hover {
  color: #7b9fab !important;
}

.col-mobile-btn .js-m-nav-btn-menu i:hover {
  color: #4c4946 !important;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .tablet-header-4 .custom-topbar {
    background: #e8f6fa !important;
    color: #7b7772 !important;
  }

  .tablet-header-4 .header-top,
  .tablet-header-4 .custom-header-reference,
  .tablet-header-4 #desktop-header-container,
  .tablet-header-4 .container,
  .tablet-header-4 .custom-header-inner,
  .tablet-header-4 .custom-header-logo,
  .tablet-header-4 .custom-header-menu,
  .tablet-header-4 .custom-header-icons {
    background: #f6fbfd !important;
  }
}

/* Móvil y tablet */
@media (max-width: 991px) {
  #mobile-header-sticky,
  .mobile-main-bar,
  .row-mobile-header {
    background: #f6fbfd !important;
  }
}

@media (max-width: 991px) {

  /* Iconos header móvil y tablet */
  .col-mobile-btn i {
    color: #4c4946 !important;
  }

  .col-mobile-btn a[href*="wishlist"]:hover i {
    color: #7b9fab !important;
  }

  .col-mobile-btn a:hover i {
    color: #7b9fab !important;
  }
}

@media (max-width: 991px) {

  /* Burbuja carrito móvil y tablet */
  .cart-products-count,
  .cart-products-count-btn,
  #mobile-cart-products-count {
    background: #7b9fab !important;
    color: #fff !important;
  }

}

/* Burbuja carrito */
.cart-products-count,
.cart-products-count-btn,
#mobile-cart-products-count {
  background: #7b9fab !important;
  color: #fff !important;
}

/* Dejar SOLO el icono */
#mobile-header-sticky .header-btn-w .title {
  display: none !important;
}

/* Mostrar el icono correctamente */
#mobile-header-sticky .header-btn-w i,
#mobile-header-sticky .header-btn-w .material-icons {
  font-size: 24px !important;
  display: inline-block !important;
}

#mobile-header-sticky .header-btn-w i {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* HEADER */
.custom-topbar {
  width: 100%;
  text-align: center;
  padding: 14px 0;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1;
}

.custom-header-reference {
  padding: 18px 0;
  border: 0 !important;
  box-shadow: none !important;
}

.custom-header-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  flex-wrap: nowrap;
}

.custom-header-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.custom-header-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.custom-header-icons {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px;
  white-space: nowrap;
}

/* Fix columnas */
.custom-header-icons > *,
.custom-header-icons .col,
.custom-header-icons [class*="col-"] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#desktop_logo img {
  max-height: 78px;
  width: auto;
}

/* Ocultar extras */
.header-custom-html,
.custom-header-menu .iqitsearch,
.custom-header-menu form,
.custom-header-menu .search-widget {
  display: none !important;
}

/* Menú limpio */
.custom-header-menu #iqitmegamenu-wrapper,
.custom-header-menu .iqitmegamenu-wrapper,
.custom-header-menu #_desktop_top_menu,
.custom-header-menu .cbp-horizontal {
  width: 100%;
  display: flex !important;
  justify-content: center !important;
  border: 0 !important;
  box-shadow: none !important;
}

.custom-header-menu ul {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.custom-header-menu a {
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  line-height: 1.2;
}

.col-mobile-btn i:hover,
.col-mobile-btn .js-m-nav-btn-menu i:hover {
  transform: scale(1.08);
}

/* Ocultar menú tablet en móvil */
@media (max-width: 767px) {
  .col-mobile-nav-tablet,
  .tablet-header-4 {
    display: none !important;
  }

  .custom-topbar {
    font-size: 10px;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .tablet-header-4 {
    display: block !important;
  }

  #mobile-header-sticky {
    display: none !important;
  }

  .tablet-header-4 .header-top,
  .tablet-header-4 .custom-header-reference {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    min-height: 90px !important;
  }

  .tablet-header-4 .custom-header-inner {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
    gap: 16px !important;
    min-height: 64px !important;
  }

  .tablet-header-4 .custom-header-logo img,
  .tablet-header-4 #desktop_logo img {
    max-height: 44px !important;
    width: auto !important;
  }

  .tablet-header-4 .custom-header-menu {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .tablet-header-4 .custom-header-menu ul {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .tablet-header-4 .custom-header-menu li {
    flex: 0 0 auto !important;
  }

  .tablet-header-4 .custom-header-menu a span {
    font-size: 11px !important;
    letter-spacing: 1.2px !important;
    line-height: 1 !important;
  }

  .tablet-header-4 .custom-header-icons {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    white-space: nowrap !important;
  }
}

/* Móvil y tablet */
@media (max-width: 991px) {
  #mobile-header-sticky .container {
    padding: 0 !important;
  }

  .mobile-main-bar {
    margin: 0 !important;
    padding: 8px 0 !important;
  }

  .row-mobile-header {
    margin: 0 !important;
  }

  #mobile-header-sticky + * {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .col-mobile-logo img {
    max-height: 38px !important;
    width: auto !important;
  }

  .comunidad-span {
    font-size: 10px !important;
  }
}

/* Burbuja carrito */
.cart-products-count,
.cart-products-count-btn,
#mobile-cart-products-count {
  border: none !important;
}






/* FOOTER */
/* Evitar que las columnas bajen de línea */
#footer-container-main .row.footer-main-row {
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
}

/* COLUMNA LOGO */
#footer-container-main .footer-col-logo {
  flex: 0 0 28% !important;
  max-width: 28% !important;
  padding-right: 40px !important;
}

/* Logo - tamaño controlado */
#footer-container-main .footer-col-logo img,
.footer-col-logo img {
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  max-width: 160px !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
  margin-bottom: 12px !important;
}

/* Subtítulo BOUTIQUE INFANTIL · DESDE 1978 */
.footer-brand-subtitle {
  font-size: 10px !important;
  letter-spacing: 2.5px !important;
  color: #9a9188 !important;
  margin-bottom: 18px !important;
  margin-top: 4px !important;
  text-transform: uppercase !important;
  display: block !important;
}

/* Descripción */
.footer-brand-desc {
  font-size: 13px !important;
  color: #9a9188 !important;
  line-height: 1.75 !important;
  margin-bottom: 24px !important;
  max-width: 280px !important;
}

/* Iconos sociales — cuadrados, sin border-radius */
.social-links._footer {
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

.social-links._footer a,
.social-links._footer a:link,
.social-links._footer a:visited {
  border-radius: 0 !important;
  border: 1px solid rgba(168, 159, 151, 0.6) !important;
  width: 32px !important;
  height: 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  color: #9a9188 !important;
  font-size: 13px !important;
  background: transparent !important;
  background-color: transparent !important;
  transition: border-color 0.2s, color 0.2s !important;
}

.social-links._footer a:hover,
.social-links._footer a:focus,
.social-links._footer a:active {
  border-color: #ffffff !important;
  color: #ffffff !important;
  background: transparent !important;
  background-color: transparent !important;
}

.social-links._footer a i,
.social-links._footer a span,
.social-links._footer a svg {
  color: inherit !important;
  background: transparent !important;
  background-color: transparent !important;
}

/* COLUMNAS DE LINKS */
/* Quitar flechas */
.block-links ul > li a::before,
#footer-container-main li a::before {
  display: none !important;
  content: none !important;
}

/* Reset listas */
#footer-container-main .block-links ul,
#footer-container-main .block-links li,
#footer-container-main .block-links li a {
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  background: none !important;
}

#footer-container-main .block-links li {
  margin-bottom: 10px !important;
}

#footer-container-main .block-links li a {
  display: block !important;
  font-size: 13px !important;
  color: #9a9188 !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}

#footer-container-main .block-links li a:hover {
  color: #ffffff !important;
}

/* Títulos de sección */
#footer-container-main .title,
#footer-container-main .footer-block .title_block,
#footer-container-main h4,
#footer-container-main .block-title span,
#footer-container-main .block-links .title {
  font-size: 10px !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  margin-bottom: 22px !important;
  font-weight: 500 !important;
  display: block !important;
}

/* COPYRIGHT */
#footer-copyrights {
  border-top: none !important;
  box-shadow: none !important;
  padding: 18px 0 !important;
  font-size: 11px !important;
  color: #7a7268 !important;
}

#footer-container-main {
  border-bottom: none !important;
  box-shadow: none !important;
}

#footer-copyrights .copyright-txt {
  color: #7a7268 !important;
  font-size: 11px !important;
  letter-spacing: 0.5px !important;
}

#footer-copyrights .copyright-right {
  color: #7a7268 !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 3px !important;
}

#footer-copyrights .row {
  align-items: center !important;
}
