/* ========== 1. TIPOGRAFÍA GLOBAL ========== */
body,
button,
input,
select,
textarea,
.navbar,
.page-heading,
h1,
h2,
h3,
h4,
h5,
h6,
p,
.page-title,
.product-miniature-grid .product-title,
.product-miniature-grid .product-price,
.product-miniature-grid .product-brand img {
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  color: #575656;
}

/* ========== 2. MENÚ MEGAMENU / NAV ========== */

#header .header-nav {
  color: #ffcc0c !important;
  background: #203657 !important;
  border-bottom: none 1px;
  min-height: 49px;
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
  align-items: center;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 700;
}

#header .header-nav .container,
#header .header-nav .row {
  width: 100%;
}

#header .header-nav .row {

  align-items: center;
}

#header .header-nav .left-nav,
#header .header-nav .center-nav,
#header .header-nav .right-nav {
  display: flex;
  align-items: center;
}

#header .header-nav .right-nav {
  justify-content: flex-end;
  padding-right: 0 !important;
}

#header .header-nav .right-nav>.row {
  margin-left: 0;
  margin-right: 0;
  justify-content: flex-end;
}

#header .header-nav .right-nav .header-btn-w {
  padding-right: 0;
  margin-right: 0;
}


.cbp-hrmenu>ul>li {
  float: initial;
}

.cbp-hrmenu>ul>li ul li {
  min-width: 210px;
  max-width: 210px;
  float: left;
  text-transform: uppercase;
}

.cbp-category-thumb-label {
  color: #95A9C8 !important;
  font-size: 14px !important;
  text-transform: none;
  margin-left: 10px;
  font-style: italic;
  font-weight: 400;
}

.cbp-hrmenu .cbp-links li .cbp-hrsub-level2 {
  margin-top: 0;
  left: 0;
}

.cbp-hrmenu .cbp-links li .cbp-hrsub-level2 li {
  float: none;
  min-width: none;
}

.cbp-license-megamenu {
  padding: 0.5rem 0;
}

.cbp-license-megamenu__header {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  margin-bottom: 1rem;
  margin-top: 13px;
}

#header .cbp-hrmenu .cbp-license-megamenu__title,
#header .cbp-hrmenu .cbp-license-megamenu__title:hover,
#header .cbp-hrmenu .cbp-license-megamenu__title:focus,
#header .cbp-hrmenu .cbp-license-megamenu__title:active {
  font-size: 20px !important;
  color: #203657 !important;
}

.cbp-license-megamenu__title {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 20px !important;
  line-height: 1;
  text-transform: uppercase;
  color: #203657 !important;
  text-decoration: none !important;
}

.cbp-license-megamenu__see-all,
.cbp-license-megamenu__see-all-item a {
  color: #95A9C8 !important;
  font-style: italic;
  font-size: 14px !important;
  line-height: 1;
  text-decoration: none !important;
}

.cbp-license-megamenu__group .cbp-category-title {
  color: #203657 !important;
  font-weight: 800;
  font-size: 18px !important;
  line-height: 1;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.cbp-license-megamenu__items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cbp-license-megamenu__items li {
  margin: 0px !important;
  padding: 0px !important;
}

.cbp-license-megamenu__items li a {
  color: #203657 !important;
  font-size: 14px !important;
  line-height: 1.15;
  font-weight: 500;
  text-transform: none;
}

.cbp-license-megamenu__see-all-item {
  margin-top: 0.35rem;
  color: #95A9C8 !important;
  font-style: italic;
}

/* Estado base: sin transiciones raras */
.cbp-horizontal>ul>li,
.cbp-horizontal>ul>li>a,
.cbp-horizontal>ul>li>a:hover,
.cbp-horizontal>ul>li>a:not([href]):not([tabindex]),
.cbp-horizontal>ul>li>a .cbp-tab-title {
  transition: none !important;
  transition-property: none !important;
  transition-duration: 0s !important;
  transition-delay: 0s !important;
}



/* El hover debe aplicarse al enlace completo */
.cbp-horizontal>ul>li:hover>a,
.cbp-horizontal>ul>li:hover>a:not([href]):not([tabindex]),
.cbp-horizontal>ul>li.cbp-hropen>a,
.cbp-horizontal>ul>li.cbp-hropen>a:not([href]):not([tabindex]),
.cbp-horizontal>ul>li.cbp-hropen>a:hover {
  text-decoration: none !important;
  color: #203657 !important;
  background-color: #FFCC0C !important;
  border-radius: 10px 10px 0 0 !important;
  transition: none !important;
}

/* Color del texto cuando el menú está activo/abierto */
.cbp-horizontal>ul>li:hover>a .cbp-tab-title,
.cbp-horizontal>ul>li.cbp-hropen>a .cbp-tab-title {
  text-decoration: none !important;
  text-underline-offset: 6px;
  color: #203657 !important;
}

#desktop-header .search-widget input {
  border: 1px solid #4e70a4;
  border-radius: 15px;
  padding: 8px !important;
  color: #203657 !important;  
  font-size: 16px !important;
  line-height: 30px;
  padding: 8px !important;
  padding-left: 16px !important;
  border: 1px solid #4e70a4;
  border-radius: 15px;
  font-weight: 600;;
}

.search-widget .fa-search {
  font-size: 21px;
  color: #4e70a4;
}

#header-user-btn .fa-heart-o {
  font-size: 21px;
}

.header-top .header-btn-w .header-btn>.icon {
  margin-top: 4px;
}

/* ========== 2.05 BOTON SELL HEADER ========== */
.header-sell-btn-w {
  display: flex;
  align-items: center;
  align-self: center;
  margin-right: 1rem;
}

.header-sell-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  border: 0;
  background: #FFCC0C;
  color: #203657 !important;
  font-family: "Barlow", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  white-space: nowrap;
}

.header-sell-btn:hover,
.header-sell-btn:focus {
  background: #ffd93d;
  color: #203657 !important;
  text-decoration: none !important;
}

/* ========== 2.1 SELECTOR IDIOMA DESKTOP ========== */
#header-user-btn.header-lang-switcher {
  display: flex;
  align-items: center;
}

#header-user-btn.header-lang-switcher .dropdown {
  display: inline-flex;
  align-items: center;
}

#header-user-btn.header-lang-switcher .header-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #ffffff !important;
  text-transform: none;
  font-family: "Barlow", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  padding: 0;
}

#header-user-btn.header-lang-switcher .header-user-btn img {
  flex: 0 0 auto;
}

#header-user-btn.header-lang-switcher .lang_selector {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.4);
  margin-left: 0.15rem;
  margin-right: 0.45rem;
}

#header-user-btn.header-lang-switcher .header-user-btn::after {
  content: none;
}

#header-user-btn.header-lang-switcher .lang-trigger-arrow {
  font-size: 13px;
  line-height: 1;
  margin-left: 0.25rem;
  color: #ffffff;
}

#header-user-btn.header-lang-switcher .lang-dropdown-menu {
  margin-top: 0.75rem;
  border: 0 !important;
  padding: 1.05rem 0.9rem 1.1rem;
  border-radius: 0 0 24px 24px;
  background: #203657;
  box-shadow: 0 12px 28px rgba(12, 30, 55, 0.24);
}

#header-user-btn.header-lang-switcher .lang-dropdown-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 1rem;
  margin: 0.15rem 0;
  color: #ffffff !important;
  font-family: "Barlow", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.2;
  text-transform: none !important;
  border: 0 !important;
  border-bottom: 0 !important;
  text-decoration: none !important;
  opacity: 1 !important;
}

#header-user-btn.header-lang-switcher .lang-dropdown-item .lang-dropdown-flag {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: inline-block;
}

#header-user-btn.header-lang-switcher .lang-dropdown-item:link,
#header-user-btn.header-lang-switcher .lang-dropdown-item:visited,
#header-user-btn.header-lang-switcher .lang-dropdown-item:active {
  color: #ffffff !important;
}

#header-user-btn.header-lang-switcher .lang-dropdown-item:hover,
#header-user-btn.header-lang-switcher .lang-dropdown-item:focus {
  background: transparent !important;
  color: #ffffff !important;
}

@media (min-width: 992px) {
  #header-user-btn.header-lang-switcher .dropdown {
    position: relative;
  }

  #header-user-btn.header-lang-switcher .lang-dropdown-menu {
    top: 100% !important;
    bottom: auto !important;
    right: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}


/* ========== 3. COLORES PERSONALIZADOS Y VARIABLES ========== */
:root {
  --btn-bg: #4e70a4;
  --btn-color: #ffffff;
  --btn-border: 1px solid #4e70a4;
  --btn-bg-hover: #3c6696;
  --btn-color-hover: #ffffff;
  --btn-border-hover: 1px solid #4e70a4;
}

/* ========== 4. BOTONES Y ESTADOS ========== */
.btn-primary,
.btn-primary.disabled,
.btn-primary:disabled,
.btn-product-list {
  background: var(--btn-bg);
  color: var(--btn-color);
  border: var(--btn-border);
}

.btn-primary:hover,
.btn-product-list:hover {
  background: var(--btn-bg-hover);
  color: var(--btn-color-hover);
  border: var(--btn-border-hover);
}

.btn-product-list {
  font-weight: 500;
  text-transform: uppercase;
}

.btn-secondary,
.btn-secondary.disabled,
.btn-secondary:disabled,
.bootstrap-touchspin .group-span-filestyle .btn-touchspin,
.group-span-filestyle .bootstrap-touchspin .btn-touchspin,
.group-span-filestyle .btn-default,
.btn-primary,
.btn-primary.disabled,
.btn-primary:disabled,
.btn-product-list {
  border-radius: 10px !important;
}

.bootstrap-touchspin .btn-touchspin {
  margin-right: 5px !important;
}

.btn-primary i,
.btn-secondary i {
  margin: 0px !important;
}

.btn-group-lg>.btn,
.btn-lg {
  border-radius: 0;
  padding: 0.6rem 1rem;
  font-size: inherit;
  text-transform: uppercase;
  font-weight: 500;
}

.product-quantity .add-to-cart:disabled {
  cursor: not-allowed;
  opacity: 0.75 !important;
}

/* ========== 5. PRODUCT MINIATURAS Y BLOQUES ========== */
.btn-product-list .btn-text {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Mostrar solo el icono de la bolsa en móviles: por defecto oculto en escritorio */
.btn-product-list .bag-icon {
  display: none;
}

#new-products .hide_novedades {
  display: none !important;
}

#product .product-manufacturer img {
  max-width: 150px;
}

.product-miniature-grid .product-title {
  min-height: calc(1.2em * 2);
  display: block;
  font-size: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  max-height: calc(1.2em * 2);
}

.product-miniature-right img,
.product-miniature-gridt .product-thumbnail img,
.full-width img {
  width: 100% !important;
  height: auto !important;
}

.product-miniature-grid .product-price {
  font-size: 1.733333rem;
  font-weight: bold;
}

.product-miniature-grid .product-price-and-brand {
  margin-top: 10px;
}

.product-brand img {
  max-width: 70px;
  max-height: 50px;
  width: auto;
}

.product-miniature-default .product-thumbnail img {
  width: 100%;
}

.product-miniature-grid .product-functional-buttons a {
  display: block;
  border-radius: 5px;
  margin: 5px 0;
  padding: 8px;
  box-shadow: none;
  border: 1px solid #4e70a4;
  color: #4e70a4 !important;
}

#product button.btn-iqitwishlist-add {
  background: #fff;
  border: 1px solid #4e70a4;
  color: #4e70a4 !important;
  font-size: 14px;
  border-radius: 8px;
}

.products-grid .product-miniature-layout-2 a.btn-product-list {
  width: 100%;
  border-radius: 10px;
  white-space: normal;
}

/* ========== 6. STOCK Y DISPONIBILIDAD ========== */
.product-miniature-default li.product-flag {
  margin-top: 0.3rem;
  text-align: left;
  border-radius: 10px;
  text-transform: uppercase;
  padding: 8px 17px;
  margin-left: -7px;
}

.product-miniature-default li.erk-language-flag {
  background: none;
  padding: 0;
}

.product-miniature-default li.erk-language-flag img {
  max-width: 50px;
}

.info-stock,
.product-miniature-grid .info-stock {
  font-size: 18px;
  text-align: center;
  font-weight: normal;
  margin-top: 15px;
}

.info_stock {
  float: left;
  line-height: 19px;
  font-size: 18px;
  font-weight: 700;
}

.product-miniature-grid .info-stock .semaforo {
  width: 50%;
  text-align: right;
}

#col-product-info .product-availability-date {
  margin-bottom: 15px;
}

#col-product-info .product-availability-date label {
  font-weight: bold;
}

/* ========== 7. ESTILO DE PRECIO EN PRODUCTO ========== */
.product_header_container,
.product_p_price_container {
  border: none;
}

.product_header_container {
  margin-bottom: 0;
  padding-bottom: 0;
  margin-top: 15px;
}

.product_p_price_container {
  margin-top: 0;
  padding-top: 0;
}

.product_header_container .product-price,
.product_p_price_container .product-price {
  font-size: 2.6rem;
  line-height: 2.47619;
}

.product_header_container .product-price,
.product_p_price_container .lbl_tax {
  font-size: 1.2rem;
}

/* ========== 8. INPUT DE CANTIDAD Y BOTÓN FLEXIBLE ========== */
.product-add-cart {
  width: 100%;
}

.input-group-add-cart {
  display: flex;
  width: 100%;
}

.input-group.bootstrap-touchspin {
  flex-shrink: 0;
  width: 70px;
  margin-right: -1px;
}

.btn-product-list.add-to-cart {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-align: center;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.product-miniature-grid .product-miniature-layout-2 .product-add-cart {
  padding-top: 0;
}

/* ========== 9. TOUCHSPIN PERSONALIZADO ========== */
.js-product-miniature-wrapper .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down,
.js-product-miniature-wrapper .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up,
.product-add-to-cart .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down,
.product-add-to-cart .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up {
  background-color: #fff;
  color: #4e70a3;
}

.product-miniature-grid .input-group-add-cart .input-group {
  margin-right: -1px;
}

.js-product-miniature-wrapper .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down,
.product-add-to-cart .bootstrap-touchspin-down {
  border-bottom: 1px solid #4e70a4;
}

.js-product-miniature-wrapper .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up,
.product-add-to-cart .bootstrap-touchspin-up {
  border-top: 1px solid #4e70a4;
}

.js-product-miniature-wrapper .bootstrap-touchspin .btn-touchspin:hover,
.product-add-to-cart .btn-touchspin:hover {
  color: #4e70a3;
  background: #fff;
}

.js-product-miniature-wrapper .bootstrap-touchspin .input-group-btn-vertical i,
.product-add-to-cart .input-group-btn-vertical i {
  font-size: 16px;
  left: 4px;
  top: 9%;
}

.js-product-miniature-wrapper .input-qty {
  min-width: 50px !important;
  max-width: 50px !important;
}

.js-product-miniature-wrapper .input-qty,
#quantity_wanted {

  height: 42px;
  border: 1px solid #4e70a4;
  color: #4e70a3;
  background-color: #fff;
  font-size: 18px;
  border-top-left-radius: 10px !important;
  border-bottom-left-radius: 10px !important;
}

.add-to-cart:disabled {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

button.add-to-cart {
  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
  border-top-right-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
  border: 1px solid #4e70a4;
}

#product .product-quantity .qty,
#product .product-quantity .add,
#product .product-quantity .extra {
  width: initial;
  height: 100%;
  float: left;
}

#product .product-quantity .extra .col-add-wishlist {
  float: left;
}

/* ========== 10. ELEMENTOS VARIOS ========== */
.cookie-button-right {
  bottom: 20px;
  right: 60px;
}

.section-title {
  color: #4e70a4 !important;
}

.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
  margin-left: calc(1px*-1);
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.product-unavailable,
.product-last-items {
  display: none;
}

.js-product-images-modal .modal-title {
  display: none;
}

#header .header-btn-w .header-btn .title {
  margin-top: 0px;
  font-size: 12px;
}

#header-user-btn .header-user-btn .title.user-status-dot {
  position: absolute;
  display: block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ffcc0c;
  left: 21px;
  top: 15px;
  transform: translateX(-50%);
  margin-top: 0;
  font-size: 0;
  line-height: 0;
  color: transparent !important;
  pointer-events: none;
}

#blockcart .header-cart-btn {
  position: relative;
}

#blockcart .header-cart-btn .info-wrapper {
  position: absolute;
  left: 21px;
  top: 15px;
  transform: translateX(-50%);
  pointer-events: none;
}

#blockcart .header-cart-btn .title.cart-count-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ffcc0c;
  color: #203657 !important;
  font-family: "Barlow", sans-serif;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  padding: 0;
}

.js-product-miniature-wrapper .features_pl {
  border-top: 1px solid #c7c8c5;
  border-bottom: 1px solid #c7c8c5;
  padding-top: 14px;
  padding-bottom: 8px;
  line-height: 24px;
  margin: 0;
}

.js-product-miniature-wrapper .product-reference {
  font-size: 12px;
}

.circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #ccc;
  display: inline-block;
  margin-right: 4px;
}

.circle-red {
  background-color: #f44336;
}

.circle-orange {
  background-color: #ff9800;
}

.circle-green {
  background-color: #4caf50;
}

/* ========== 11. Filtro de marcas (carrusel) ========== */
.brands-filter-container {
  display: none;
  margin: 20px 0;
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.brands-filter-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.brands-carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.brands-carousel {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  scrollbar-width: none;
  /* Firefox */
}

.brands-carousel::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari */
}

.brand-item {
  flex: 0 0 auto;
  width: 80px;
  text-align: center;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.brand-item:hover {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.brand-item.active {
  border-color: #007bff;
  background-color: #fff;
  box-shadow: 0 2px 12px rgba(0, 123, 255, 0.15);
}

.brand-image {
  width: 60px;
  height: 60px;
  margin: 0 auto 8px;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e9ecef;
}

.brand-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.brand-name {
  font-size: 11px;
  color: #666;
  line-height: 1.2;
  font-weight: 500;
}

.brand-item.active .brand-name {
  color: #007bff;
  font-weight: 600;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #007bff;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
  color: #007bff;
  font-size: 16px;
  font-weight: bold;
}

.carousel-btn:hover {
  background: #007bff;
  color: white;
  border-color: #0056b3;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
  left: 5px;
}

.carousel-next {
  right: 5px;
}

.carousel-btn i {
  display: inline-block;
  line-height: 1;
}

/* Gradientes para indicar scroll disponible */
.brands-carousel-wrapper::before,
.brands-carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30px;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.brands-carousel-wrapper.scrollable::before {
  left: 0;
  background: linear-gradient(to right, rgba(248, 249, 250, 0.8), rgba(248, 249, 250, 0));
  opacity: 1;
}

.brands-carousel-wrapper.scrollable::after {
  right: 0;
  background: linear-gradient(to left, rgba(248, 249, 250, 0.8), rgba(248, 249, 250, 0));
  opacity: 1;
}

.brands-filter-actions {
  margin-top: 15px;
  text-align: center;
}

@media (max-width: 768px) {
  .brands-filter-container {
    margin: 15px 0;
    padding: 12px;
  }

  .brand-item {
    width: 70px;
  }

  .brand-image {
    width: 50px;
    height: 50px;
  }
}

#wrapper {
  min-height: 600px;
}

#wrapper .breadcrumb {
  margin-bottom: 5px !important;
}

#content-wrapper .page-title {
  margin-bottom: 0 !important;
}

#content-wrapper .page-title span {
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  width: 100%;
  text-align: center;
}

#product .page-title span {
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  width: 100%;
  text-align: left;
}

.category-description {
  text-align: center;
}

#alertprivate {
  border: 1px solid #e4e4e4;
  border-radius: 2px;
  padding: 10px;
  width: fit-content;
  float: none !important;
  margin: 0 auto 10px auto !important;
}

.header-top img.logo {
  max-width: 170px;
  margin-top: 10px;
}

#header .desktop-header-style-1 .col-header-center .search-widget,
#header .desktop-header-style-2 .col-header-center .search-widget {
  margin: none !important;
}



#header .cbp-hrmenu .cbp-links li a {
  padding-left: 0px !important;
  font-size: 18px !important;
  color: #203657 !important;
  font-weight: 600;
}

#header .cbp-hrmenu .cbp-license-megamenu__items li a {
  font-size: 13px !important;
}

#header .cbp-hrmenu .cbp-license-megamenu__see-all,
#header .cbp-hrmenu .cbp-license-megamenu__see-all:link,
#header .cbp-hrmenu .cbp-license-megamenu__see-all:visited,
#header .cbp-hrmenu .cbp-license-megamenu__see-all:hover,
#header .cbp-hrmenu .cbp-license-megamenu__see-all:focus,
#header .cbp-hrmenu .cbp-license-megamenu__see-all:active,
#header .cbp-hrmenu .cbp-license-megamenu__see-all-item a,
#header .cbp-hrmenu .cbp-license-megamenu__see-all-item a:link,
#header .cbp-hrmenu .cbp-license-megamenu__see-all-item a:visited,
#header .cbp-hrmenu .cbp-license-megamenu__see-all-item a:hover,
#header .cbp-hrmenu .cbp-license-megamenu__see-all-item a:focus,
#header .cbp-hrmenu .cbp-license-megamenu__see-all-item a:active {
  color: #8EA9C6 !important;
}

#header .cbp-hrmenu .cbp-license-megamenu__title,
#header .cbp-hrmenu .cbp-license-megamenu__title:hover,
#header .cbp-hrmenu .cbp-license-megamenu__title:focus,
#header .cbp-hrmenu .cbp-license-megamenu__title:active {
  font-size: 20px !important;
  color: #203657 !important;
}

#header .cbp-hrmenu .cbp-links li a::before {
  content: "";

}

#header .cbp-hrmenu .cbp-column-title {
  text-transform: uppercase;
  margin-bottom: 0px !important;
  font-size: 20px !important;
  color: #203657 !important;
  font-weight: 700 !important;
  margin-bottom: 15px !important;
}

#header .cbp-hrmenu .cbp-html-submenu-title {
  display: block;
  width: 100%;
  margin-bottom: 5px;
  margin-top: 15px;
  color: #203657 !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
}

#header .cbp-hrmenu .cbp-license-megamenu__group .cbp-column-title {
  font-size: 15px !important;
  margin-bottom: 0 !important;
}

@media (min-width: 992px) {

  /* Las columnas HTML del megamenú mantienen el título de sección arriba. */
  #header .cbp-hrmenu .cbp-menu-column--html>.cbp-menu-column-inner {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  #header .cbp-hrmenu .cbp-menu-column--html>.cbp-menu-column-inner>.cbp-column-title {
    display: block !important;
    order: 0;
    align-self: flex-start;
    width: 100%;
    text-align: left;
  }

  #header .cbp-hrmenu .cbp-menu-column--html>.cbp-menu-column-inner> :has(> img),
  #header .cbp-hrmenu .cbp-menu-column--html>.cbp-menu-column-inner>a:has(img),
  #header .cbp-hrmenu .cbp-menu-column--html>.cbp-menu-column-inner>img {
    order: 1;
  }

  /* Igual que en móvil: el texto de cada imagen queda centrado debajo. */
  #header .cbp-hrmenu .cbp-menu-column--html .mobile-menu__column-title {
    order: 2;
    display: block;
    width: 100%;
    margin-top: 0.75rem;
    text-align: center;
  }

  /* Las imágenes configuradas como columnas conservan el patrón móvil. */
  #header .cbp-hrmenu .cbp-menu-column--image>.cbp-menu-column-inner {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  #header .cbp-hrmenu .cbp-menu-column--image>.cbp-menu-column-inner>.cbp-column-title {
    order: 2;
    width: 100%;
    margin-top: 0.75rem;
    text-align: center;
  }

  #header .cbp-hrmenu .cbp-menu-column--image>.cbp-menu-column-inner>a:has(img),
  #header .cbp-hrmenu .cbp-menu-column--image>.cbp-menu-column-inner>img {
    order: 1;
  }

  /* Los niveles anidados de categorías se muestran abiertos por defecto. */
  #header .cbp-hrmenu ul.cbp-hrsub-level2,
  #header .cbp-hrmenu .cbp-hrsub-haslevel3>.cbp-category-link-w>ul {
    position: static;
    display: block;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto;
    margin: 0;
    padding: 0 0 0 0.75rem;
    border: 0;
    background: transparent;
    box-shadow: none;
    white-space: normal;
  }

  #header .cbp-hrmenu ul.cbp-hrsub-level2 li,
  #header .cbp-hrmenu .cbp-hrsub-haslevel3>.cbp-category-link-w>ul li {
    display: block;
  }

  /* Jerarquía visual equivalente a los grupos de licencias. */
  #header .cbp-hrmenu .cbp-category-tree>li>.cbp-category-link-w>a {
    display: block;
    position: relative;
    padding-left: 0 !important;
    color: #203657 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
  }

  #header .cbp-hrmenu .cbp-category-tree>li.cbp-hrsub-haslevel2>.cbp-category-link-w>a::after,
  #header .cbp-hrmenu .cbp-hrsub-haslevel3>.cbp-category-link-w>a::after {
    display: none !important;
    position: absolute;
    top: 50%;
    right: 0;
    padding-left: 0;
    transform: translateY(-50%);
  }

  #header .cbp-hrmenu ul.cbp-hrsub-level2 a,
  #header .cbp-hrmenu ul.cbp-hrsub-level3 a,
  #header .cbp-hrmenu .cbp-hrsub-haslevel3>.cbp-category-link-w>ul a {
    display: block;
    padding: 0 !important;
    color: #203657 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.35;
  }

  #header .cbp-hrmenu ul.cbp-hrsub-level2,
  #header .cbp-hrmenu ul.cbp-hrsub-level3,
  #header .cbp-hrmenu .cbp-hrsub-haslevel3>.cbp-category-link-w>ul {
    padding-left: 0;
  }

  #header .cbp-hrmenu ul.cbp-hrsub-level2 a::before,
  #header .cbp-hrmenu ul.cbp-hrsub-level3 a::before,
  #header .cbp-hrmenu ul.cbp-hrsub-level2 a::after,
  #header .cbp-hrmenu ul.cbp-hrsub-level3 a::after {
    display: none;
  }

  /* Subrayado de todos los enlaces del megamenú al pasar el cursor. */
  #header .cbp-hrmenu li li a:hover,
  #header .cbp-hrmenu li li a:hover .cbp-tab-title {
    text-decoration: underline !important;
    text-underline-offset: 3px;
  }
}

#mobile-header img.logo {
  max-width: 140px;
}

@media (max-width: 991.98px) {
  #header .header-nav {
    display: none !important;
  }

  #mobile-header .mobile-main-bar {
    background: #4e70a4;
  }

  #mobile-header .row-mobile-header {
    flex-wrap: nowrap;
  }

  #mobile-header .col-mobile-logo {
    min-width: 0;
  }

  #mobile-header .mobile-header-logo--left {
    text-align: left;
  }

  #mobile-header .col-mobile-logo img.logo {
    width: auto;
    max-height: 26px;

  }

  #mobile-header .col-mobile-btn-menu,
  #mobile-header .col-mobile-btn-search,
  #mobile-header .col-mobile-btn-account,
  #mobile-header .col-mobile-btn-language {
    flex: 0 0 42px;
    width: 42px;
    max-width: 42px;
    padding: 0;
  }

  #mobile-header .col-mobile-btn-menu>.m-nav-btn>span,
  #mobile-header .col-mobile-btn-search>.m-nav-btn>span,
  #mobile-header .col-mobile-btn-account>.m-nav-btn>span {
    display: none;
  }

  #mobile-header .col-mobile-btn-language {
    position: relative;
    z-index: 2;
  }

  #mobile-header .mobile-header-lang-switcher__toggle {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    width: 42px;
    padding: 0.4rem 0.15rem;
    color: #fff !important;
    white-space: nowrap;
  }

  #mobile-header .mobile-header-lang-switcher__toggle>span {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-top: 0;
  }

  #mobile-header .mobile-header-lang-switcher__desktop-trigger {
    display: none !important;
  }

  #mobile-header .mobile-header-lang-switcher__icon {
    align-items: center;
    gap: 0.15rem;
  }

  #mobile-header .mobile-header-lang-switcher__globe {
    display: block;
    color: #fff !important;
    font-size: 1.3rem;
    line-height: 1;
    opacity: 1;
  }

  #mobile-header .mobile-header-lang-switcher__iso {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
  }

  #mobile-header .mobile-header-lang-switcher__arrow {
    font-size: 0.75rem;
  }

  #mobile-header .mobile-header-lang-switcher__menu {
    top: calc(100% + 2x) !important;
    min-width: 190px;
    margin-top: 0;
    border: 0 !important;
    border-top: 0 !important;
    border-radius: 0 0 24px 24px !important;
    outline: 0 !important;
    padding: 0.8rem 0.9rem 1rem;
    overflow: hidden;
    background: #4e70a4 !important;
    box-shadow: none !important;
  }

  #mobile-header .mobile-menu__footer .mobile-header-lang-switcher__menu {
    top: auto !important;
    right: auto !important;
    bottom: -1rem !important;
    left: -1.5rem !important;
    width: clamp(11.875rem, 46vw, 15.125rem);
    min-width: 0;
    height: auto !important;
    border-radius: 0 42px 0 0 !important;
    padding-bottom: 4rem;
    background: #203657 !important;
    z-index: 2 !important;
    transform: none !important;
  }

  #mobile-header .mobile-menu__footer .mobile-header-lang-switcher__toggle,
  #mobile-header .mobile-menu__footer .mobile-header-lang-switcher__toggle[aria-expanded="true"],
  #mobile-header .mobile-menu__footer .mobile-header-lang-switcher__globe,
  #mobile-header .mobile-menu__footer .mobile-header-lang-switcher__arrow,
  #mobile-header .mobile-menu__footer .mobile-header-lang-switcher__iso {
    color: #203657 !important;
  }

  #mobile-header .mobile-menu__footer {
    position: relative;
    z-index: 2147483646 !important;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: stretch;
    border-top: 1px solid rgba(32, 54, 87, 0.12);
    padding-bottom: 1rem !important;
    background: #fff;
    box-shadow: 0 -8px 20px rgba(32, 54, 87, 0.1);
  }

  #mobile-header .mobile-menu__footer-actions {
    width: 100%;
    min-width: 0;
  }

  #mobile-header .mobile-menu__footer .mobile-menu__sell-button {
    width: 100%;
  }

  #mobile-header .mobile-menu__footer .mobile-menu__sell-button>.header-sell-btn-w {
    display: flex;
    width: 100%;
    max-width: none;
    margin: 0 0 1rem;
    padding: 0;
  }

  #mobile-header .mobile-menu__footer .mobile-menu__sell-button .header-sell-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 1.2rem !important;
    line-height: 1 !important;
    text-align: center;
  }

  #mobile-header .mobile-menu__footer .mobile-header-lang-switcher__toggle {
    flex-direction: row;
    z-index: 3;
    width: auto;
    max-width: none;
    padding: 0;
    color: #203657 !important;
  }

  #mobile-header .mobile-menu__footer .mobile-header-lang-switcher__icon,
  #mobile-header .mobile-menu__footer .mobile-header-lang-switcher__iso {
    display: none !important;
  }

  #mobile-header .mobile-menu__footer .mobile-header-lang-switcher__desktop-trigger {
    display: flex !important;
    align-items: center;
    gap: 0.4rem;
    color: #203657 !important;
    font-family: "Barlow", sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1;
  }

  #mobile-header .mobile-menu__footer .mobile-header-lang-switcher__desktop-globe {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  #mobile-header .mobile-menu__footer .mobile-header-lang-switcher__desktop-separator {
    width: 1px;
    height: 22px;
    background: rgba(32, 54, 87, 0.4);
  }

  #mobile-header .mobile-menu__footer .mobile-header-lang-switcher__desktop-arrow {
    margin-left: 0.1rem;
    font-size: 0.7rem;
  }

  #mobile-header .mobile-menu__footer .mobile-menu__user,
  #mobile-header .mobile-menu__footer .mobile-menu__user a,
  #mobile-header .mobile-menu__footer .mobile-menu__user a * {
    color: #203657 !important;
    font-size: 0.875rem !important;
    line-height: 1.2;
  }

  #mobile-header .mobile-menu__footer .mobile-header-lang-switcher__toggle[aria-expanded="true"],
  #mobile-header .mobile-menu__footer .mobile-header-lang-switcher__toggle[aria-expanded="true"] .mobile-header-lang-switcher__desktop-trigger {
    color: #fff !important;
  }

  #mobile-header .mobile-menu__footer .mobile-header-lang-switcher__toggle[aria-expanded="true"] .mobile-header-lang-switcher__desktop-separator {
    background: rgba(255, 255, 255, 0.55);
  }

  #mobile-header .mobile-header-lang-switcher__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.15rem 0;
    border: 0 !important;
    border-bottom: 0 !important;
    padding: 0.45rem 0.65rem;
    background: transparent !important;
    color: #fff !important;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none !important;
  }

  #mobile-header .mobile-header-lang-switcher__item:hover,
  #mobile-header .mobile-header-lang-switcher__item:focus,
  #mobile-header .mobile-header-lang-switcher__item:active,
  #mobile-header .mobile-header-lang-switcher__item:visited {
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    text-decoration: none !important;
  }

  #mobile-header .mobile-header-lang-switcher__flag {
    width: 22px;
    min-width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
  }

  #mobile-header .mobile-header-lang-switcher__external-icon {
    width: 22px;
    min-width: 22px;
    text-align: center;
  }

  #mobile-header #search-widget-mobile {
    top: 100% !important;
    right: 0 !important;
    left: 0 !important;
    width: 100%;
    min-width: 100%;
    margin: 0;
    border: 0 !important;
    border-top: 0 !important;
    border-radius: 0;
    outline: 0 !important;
    padding: 0.65rem 1rem 1rem;
    overflow: visible;
    background: #4e70a4 !important;
    box-shadow: none !important;
    transform: translateY(-8px) !important;
    transform-origin: top;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
      opacity 0.16s ease,
      visibility 0s linear 0.2s;
  }

  #mobile-header #search-widget-mobile.show,
  #mobile-header #mobile-btn-search.show #search-widget-mobile {
    transform: translateY(0) !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
      transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
      opacity 0.16s ease,
      visibility 0s;
  }

  #mobile-header #search-widget-mobile .input-group {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: #fff;
    box-shadow: none;
  }

  #mobile-header #search-widget-mobile .form-search-control {
    height: 40px;
    min-height: 40px;
    border: 0 !important;
    border-radius: 999px !important;
    padding: 0.5rem 3rem 0.5rem 1rem !important;
    background: #fff !important;
    color: #203657 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.2;
    box-shadow: none !important;
  }

  #mobile-header #search-widget-mobile .form-search-control::placeholder {
    color: #95a9c8;
    opacity: 1;
    font-weight: 200;
  }

  #mobile-header #search-widget-mobile .search-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 40px;
    border: 0;
    padding: 0;
    background: transparent;
    color: #95a9c8;
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  #mobile-header #search-widget-mobile,
  #mobile-header #search-widget-mobile.show,
  #mobile-header #mobile-btn-search.show #search-widget-mobile {
    transform: none !important;
    transition: none;
  }
}

.f_right {
  float: right;
}

.lbl_social {
  font-size: 22px;
  line-height: 35px;
  margin-right: 26px;
}

#product .product-quantity .extra .col-add-wishlist {
  margin-right: 7px;
  margin-left: 7px;
}

#product .product-quantity {
  visibility: hidden;
}

.carrier-hasLogo img {
  max-width: 150px;
}

.is-invalid {
  border: 1px solid red !important;
  background-color: #ffe6e6;
}

/* ========== 12. RESPONSIVE Y MÓVIL ========== */
@media (max-width: 575.98px) {
  .info_stock {
    width: 51%;
  }

  #product .product-quantity .extra .col-add-wishlist {
    width: 100%;
  }

  .product-add-to-cart .col-add-qty {
    -ms-flex: initial;
    flex: initial;
    max-width: 100%;
  }

  #product .product-quantity .qty {
    width: 70px;
    height: 87%;
    float: left;
  }

  #product .product-quantity .add {
    width: 43%;
    height: 100%;
    float: left;
  }

  #product .product-quantity .extra {
    width: 35%;
    height: 100%;
    float: left;
  }
}

@media (max-width: 767px) {
  #product .product-quantity .extra {
    float: right;
  }

  .js-product-miniature-wrapper .input-qty,
  #quantity_wanted {
    height: 40px;

  }

  #product #back-to-top,
  #product .whatsapp-badge,
  #product .cookie-button {
    bottom: 67px;
    margin: 4px;
    padding: 5px;
    width: 38px !important;
    height: 38px !important;
  }

  #product #back-to-top {
    right: 3px;
  }

  #product .whatsapp-badge {
    left: 0px;
  }

  .product-miniature-default li.product-flag {
    margin-top: 0.3rem;
    text-align: left;
    border-radius: 5px;
    text-transform: uppercase;
    padding: 4px 8px;
    font-size: 10px;
  }

  #product .swiper-button-prev {
    left: 0px;
  }

  #product .swiper-button-next {
    right: 0px;
  }

  .swiper-container-wrapper .product-carousel {
    padding: 8px;
  }

  .btn-product-list .btn-text {
    display: none;
  }

  /* En móvil mostramos el icono de la bolsa */
  .btn-product-list .bag-icon {
    display: inline-block;
  }

  .btn-product-list {
    line-height: 1;
    font-size: x-large;
  }
}

.col-mobile-menu-dropdown #_mobile_iqitmegamenu-mobile {
  top: 100% !important;
}

.mobile-menu__link {
  color: #595050 !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

.mobile-menu__column-title {
  font-weight: bold;
}

.mobile-menu__language-selector--native {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.mobile-menu__language-selector-label {
  margin: 0;
  color: #4e70a4;
  font-size: 1.95rem;
  line-height: 1;
}

.mobile-menu__language-selector-label span {
  display: none;
}

.mobile-menu__language-select {
  min-width: 72px;
  border: 1px solid #4e70a4;
  border-radius: 8px;
  background: #fff;
  color: #4e70a4;
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.2;
  padding: 0.35rem 1.8rem 0.35rem 0.6rem;
}

@media (max-width: 767px) {
  .mobile-menu__footer .mobile-menu__language-selector--native {
    margin-right: 0 !important;
  }
}

.products-selection .view-switcher,
.view-switche,
.showing,
.products-nb-per-page {
  display: none !important;
}



/* ========== 13. Buscador ========== */

.search-widget input {
  color: #203657 !important;  
  font-size: 16px !important;
  line-height: 30px;
  padding: 8px !important;
  padding-left: 16px !important;
}



.search-widget input::placeholder {
  color: #203657c0 !important;
}

.autocomplete-suggestion:hover {
  background: #f7f7f7;
  cursor: pointer;
}

.autocomplete-suggestion .col-shop {

  display: none;
}


.autocomplete-suggestion .name {
  font-size: 14px;
  font-weight: 600;
  display: block;
  color: #333;
}

.autocomplete-suggestion .product-price {
  color: #007bff;
  font-weight: 500;
  font-size: 13px;
  display: none
}


/* ========== 14. COOKIES ========== */
#cookieModal #cookieModalHeader,
#cookieModal .btn-config {
  background-color: #4e70a4;
}

#cookieModal .dlxctab-row.active,
#cookieModal .cookie-info-page {
  color: #4e70a4;
}

input:focus,
.form-control:focus {
  outline: none;
  box-shadow: none;
}

/* ========== 15. HISTÓRICO PEDIDOS ========== */
body#module-erk_customtemplate-orderdetail .input-group-btn,
body#module-erk_customtemplate-myaccountdocuments .input-group-btn {
  display: none;
}

/* ========== OFFSET ANCLAS MARCAS ALFABÉTICAS (DESKTOP Y MÓVIL) ========== */
/* Desktop: offset para header sticky + selector alfabético sticky */
a[name^="man-letter-"] {
  display: block;
  position: relative;
  top: -165px;
  height: 0;
  visibility: hidden;
  margin: 0;
  padding: 0;
}

/* Tablet/móvil: offset para header sticky + selector alfabético sticky */
@media (max-width: 991.98px) {
  a[name^="man-letter-"] {
    top: -115px;
  }
}

.elementor-brands-carousel .swiper-wrapper {
  transition-timing-function: linear !important;
}

@media (max-width: 1400px) {
  main {
    margin: 0px auto;
  }
}

.nav-tabs {
  border: none;
}

.product-flag.discount {
  display: none !important;
}

#cbp-hrmenu-tab-15 .cbp-tab-title {
  background-color: #e4b8dc;
  border-radius: 18px;
  padding: 4px 12px 6px 12px !important;
  font-weight: bolder;
  color: #8b1428 !important
}


#cbp-hrmenu-tab-15 .cbp-tab-title:hover {
  text-decoration: none !important;
  background-color: #8b1428 !important;
  color: #e4b8dc !important
}


.mobile-menu__tab {
  border-bottom: none !important;
  min-height: 3.0666666667rem;
}

.mobile-menu__header-wrapper {
  display: none !important;
}


.mobile-menu--active .mobile-menu__header-wrapper {
  position: relative;
  background-color: #DBE3EC;
  display: flex !important;
  align-items: center;
  min-height: 50px;
  padding: 0 1.5rem !important;
}

.mobile-menu--active .mobile-menu__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;

}

.mobile-menu--active .mobile-menu__back-btn {
  position: absolute;
  top: 50%;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: 0;
  padding: 0;
  background: transparent;
  color: #203657;
  font-size: 18px;
  font-weight: 500;
  font-style: italic;
  line-height: 1;
  transform: translateY(-50%);
}

.mobile-menu--active .mobile-menu__back-symbol {
  font-style: inherit;
}

.mobile-menu--active .mobile-menu__title {
  display: block;
  max-width: 55%;
  overflow: hidden;
  color: #203657;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 991.98px) {

  #iqitmegamenu-mobile .mobile-menu__link,
  #iqitmegamenu-mobile .mobile-menu__links-list-li>a {
    color: #203657 !important;
    font-size: 18px !important;
    line-height: 1.25;
  }

  #iqitmegamenu-mobile .mobile-menu__link,
  #iqitmegamenu-mobile .mobile-menu__category-link--level-2 {
    font-weight: 700 !important;
  }

  #iqitmegamenu-mobile .mobile-menu__category-link--level-3,
  #iqitmegamenu-mobile .mobile-menu__submenu .mobile-menu__submenu .mobile-menu__links-list-li>a:not(.mobile-menu__view-all) {
    font-weight: 500 !important;
  }

}

#mobile-header #iqitmegamenu-mobile .mobile-menu__links-list-li>a.mobile-menu__view-all,
#mobile-header #iqitmegamenu-mobile .mobile-menu__links-list-li>a.mobile-menu__view-all:link,
#mobile-header #iqitmegamenu-mobile .mobile-menu__links-list-li>a.mobile-menu__view-all:visited,
#mobile-header #iqitmegamenu-mobile .mobile-menu__links-list-li>a.mobile-menu__view-all:hover,
#mobile-header #iqitmegamenu-mobile .mobile-menu__links-list-li>a.mobile-menu__view-all:focus,
#mobile-header #iqitmegamenu-mobile .mobile-menu__links-list-li>a.mobile-menu__view-all:active {
  color: #95A9C8 !important;
  font-size: 18px !important;
  font-style: italic !important;
  font-weight: 500 !important;
}

#iqitmegamenu-mobile .mobile-menu__close {
  display: none !important;
}

#mobile-header .mobile-menu-toggle__close-icon {
  display: none;
}

#mobile-header-sticky:has(#_mobile_iqitmegamenu-mobile.show) .mobile-menu-toggle__open-icon {
  display: none;
}

#mobile-header-sticky:has(#_mobile_iqitmegamenu-mobile.show) .mobile-menu-toggle__close-icon {
  display: inline-block;
}

.mobile-menu__tab--id-13 {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background-color: #ffcc0c;
  border-radius: 7px;
  font-size: 19px !important;
  color: #203657 !important;
  text-align: center;
  border: none;
  margin-top: 15px;
}

#cbp-hrmenu-tab-13 .cbp-tab-title {
  background-color: #ffcc0c;
  border-radius: 5PX;
  padding: 6px 12px 6px 12px !important;
  font-weight: bolder;
  color: #203657 !important;
  border: 1px solid #203657;
  line-height: normal;
}


#cbp-hrmenu-tab-13 .cbp-tab-title:hover {
  text-decoration: none !important;
  background-color: #203657 !important;
  color: #ffcc0c !important;
  border: 1px solid #ffcc0c;
}

.product-price-and-shipping .text-muted,
#product .has-discount .product-discount .regular-price {
  color: #f81818 !important;
  font-size: 1.2rem !important;
}

.login-alert__image {
  display: block;
  height: auto;
  max-width: 730px !important;
}

#product .login-alert__image {
  margin-top: 15px !important;

}

#product .login-alert__image {
  margin-top: 15px !important;
  max-width: 100% !important;
}

@media (max-width: 767.98px) {
  .login-alert__image {
    width: 97vw;
    max-width: 97vw;
  }

  #product .login-alert__image {
    margin-top: 15px !important;
    width: 95vw;
    max-width: 95vw;
  }

  #footer-container-main {
    padding: 15px;
  }


}

@media (min-width: 768px) {
  .login-alert__image {
    width: auto;
    max-width: none;
  }
}

#product .has-discount .discount-amount {
  display: none !important;
}

.category-login-alert {
  position: sticky;
  bottom: 0px;
  z-index: 50;
  margin-top: 1.5rem;

}

.category-login-alert a,
.product-login-alert a {
  margin: 0px !important;
  padding: 0px !important;
  width: 100%;
}

.category-login-alert a {
  margin-bottom: -6px !important;
}

#content-wrapper .page-title,
h1.elementor-heading-title {

  color: #203657;
  text-transform: uppercase;
  font-size: 28px;
  font-weight: 700;
}


.logo-footer {
  margin-bottom: 15px;
}

/* Footer 2: newsletter y enlaces */
#footer-container-first.footer-style-2 {

  padding: 20px 0 0px;
  background: #dbe3ec;
}

#footer-container-first.footer-style-2:not(:has(.erk-newsletter-inline)) {
  display: none;
}

#footer-container-first.footer-style-2 .block-newsletter {
  margin: 0;
}

#footer-container-main.footer-style-2 {
  padding: 3.5rem 0 3rem;
  background: #4e70a4;
  color: #fff;
}

#footer-container-main .contact-rich .part .icon {
  vertical-align: top;
}

.block-links ul>li a:before {
  display: none;
}

.block-links ul>li a {
  padding-left: 0px !important;
}

#footer-container-main.footer-style-2 .row:first-child {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  align-items: start;
  gap: 2rem;
}

#footer-container-main.footer-style-2 .row:first-child>.col {
  width: auto;
  max-width: none;
  padding: 0;
}

#footer-container-main.footer-style-2 .block-title {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

#footer-container-main.footer-style-2 .block-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer-container-main.footer-style-2 .block-content li {
  margin: 0 0 0.45rem;
}

#footer-container-main.footer-style-2 .block-content a,
#footer-container-main.footer-style-2 .contact-rich,
#footer-container-main.footer-style-2 .contact-rich a {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
}

#footer-container-main.footer-style-2 .contact-rich>strong,
#footer-container-main.footer-style-2 .contact-rich hr {
  display: none;
}

#footer-container-main.footer-style-2 .contact-rich .part {
  margin: 0 0 1rem;
}

#footer-container-main.footer-style-2 .contact-rich .icon {
  color: #fff;
}

#footer-container-main.footer-style-2 .block:has(.logo-footer) {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}

#footer-container-main.footer-style-2 .logo-footer {
  display: block;
  max-width: 200px;
  height: auto;
  margin: 0;
  margin-left: 4px;
  margin-bottom: 47px;
}

#footer-container-main.footer-style-2 .block-social-links {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-start;
  grid-column: 1;
  grid-row: 1;
  align-self: stretch;
  text-align: left !important;
}

#footer-container-main.footer-style-2 .block-social-links .f_right {
  display: block;
  float: none;
}

#footer-container-main.footer-style-2 .footer-retail-tab {
  display: flex;
  justify-content: flex-end;
  margin: 1.25rem 0 -3.3rem;
  padding-right: 1rem;
}

#footer-container-main.footer-style-2 .footer-retail-tab a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(17.75rem, 100%);
  min-height: 4.55rem;
  border-radius: 2.5rem 2.5rem 0 0;
  background: #ffcc0c;
  box-shadow: 0.85rem 0.15rem 0 #203657;
  color: #203657;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.footer-retail-tab a {
  text-decoration: underline;
}

#footer-container-main.footer-style-2 .footer-retail-tab a:hover,
#footer-container-main.footer-style-2 .footer-retail-tab a:focus-visible {
  color: #203657;
  text-decoration: none !important;
  transform: translateY(-2px);
}

#footer-container-main.footer-style-2 .footer-retail-tab span {
  display: block;
}

#footer-container-main.footer-style-2 .lbl_social {
  float: left;
  margin: 0px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 16px;
  margin-bottom: 10px;
  width: 100%;
  line-height: normal;
  margin-left: 4px;
}

#footer-container-main.footer-style-2 .footer-social-mobile {
  display: none;
}

#footer-copyrights._footer-copyrights-1 {
  padding: 0.9rem 0;
  background: #203657;
  color: #fff;
  text-align: center;
}

#footer-copyrights._footer-copyrights-1 .copyright-txt,
#footer-copyrights._footer-copyrights-1 .copyright-txt p,
#footer-copyrights._footer-copyrights-1 .copyright-txt span {
  margin: 0;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
}

#footer-copyrights._footer-copyrights-1 hr {
  display: none;
}

@media (max-width: 767.98px) {
  #footer-container-first.footer-style-2 {
    padding: 1.75rem 1rem;
  }

  #footer .block-toggle>.block-title {
    font-size: 16px !important;
  }

  #footer-container-main.footer-style-2 {
    padding: 2.5rem 1.5rem;
  }

  #footer-container-main.footer-style-2 .row:first-child {
    grid-template-columns: 1fr;
  }

  #footer-container-main.footer-style-2 .block:has(.logo-footer),
  #footer-container-main.footer-style-2 .block-social-links {
    grid-column: auto;
    grid-row: auto;
  }

  #footer-container-main.footer-style-2 .logo-footer {
    margin-bottom: 22px !important;
  }

  #footer-container-main.footer-style-2 .block-social-links {
    display: block;
    order: 2 !important;
  }

  #footer-container-main.footer-style-2 .footer-social-desktop {
    display: none;
  }

  #footer-container-main.footer-style-2 .footer-social-mobile {
    display: block;
    margin: 0 1px -0.85rem -1.75rem;
  }

  #footer-container-main.footer-style-2 .footer-social-mobile .lbl_social {
    display: block;
    float: none;
    width: auto;
  }

  #footer-container-main.footer-style-2 .footer-social-mobile .f_left {
    display: block;
    float: none;
  }

  #footer-container-main.footer-style-2 .logo-footer {
    max-width: 158px;
  }

  #footer-container-main.footer-style-2 .block:has(.logo-footer) {
    order: 0;
  }

  #footer-container-main.footer-style-2 .block-toggle:has(.block-title) {
    order: 1;
  }

  #footer-container-main.footer-style-2 .row:first-child {
    gap: 0;
  }

  #footer-container-main.footer-style-2 .block-toggle:not(:has(.logo-footer)) {
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0;
  }

  #footer-container-main.footer-style-2 .block-toggle:has(.block-title):not(:has(~ .block-toggle .block-title)) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  }

  #footer-container-main.footer-style-2 .block-toggle:not(:has(.logo-footer)) .block-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 3.55rem;
    margin: 0;
    padding: 1rem 2.25rem 1rem 0.15rem;
    cursor: pointer;
  }

  /* El tema añade otro caret dentro del título; dejamos solo el de la derecha. */
  #footer-container-main.footer-style-2 .block-toggle:not(:has(.logo-footer)) .block-title span::after {
    content: none !important;
    display: none !important;
  }

  #footer-container-main.footer-style-2 .block-toggle:not(:has(.logo-footer)) .block-title::after {
    content: "⌄";
    position: absolute;
    top: 50%;
    right: 0.15rem;
    margin: 0;
    font-size: 1.15rem;
    line-height: 1;
    transform: translateY(-50%);
    transition: transform 0.2s ease;
  }

  #footer-container-main.footer-style-2 .block-toggle:not(:has(.logo-footer))._toggled .block-title::after {
    transform: translateY(-50%) rotate(180deg);
  }

  #footer-container-main.footer-style-2 .block-toggle:not(:has(.logo-footer)):not(._toggled) .block-content {
    display: none;
  }

  #footer-container-main.footer-style-2 .block-toggle:not(:has(.logo-footer))._toggled .block-content {
    padding: 0 0.15rem 1.25rem;
  }

  #footer-container-main.footer-style-2 .block-social-links {
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    padding: 1.35rem 0.15rem 0;
  }

  #footer-container-main.footer-style-2 .footer-retail-tab {
    justify-content: center;
    margin: 2rem 0 -2.5rem;
    padding: 0;
  }

  #footer-container-main.footer-style-2 .footer-retail-tab a {
    flex-direction: column;
    gap: 0;
    width: min(25rem, 100%);
    min-height: 3.5rem;
    padding: 0 1rem;
    font-size: 14px;
    white-space: normal;
  }

  #footer-container-main.footer-style-2 .footer-retail-tab span {
    display: block;
    max-width: 100%;
    white-space: normal;
  }
}


.category-additional-description {
  margin-top: 30px;
}

.category-additional-description__full {
  border-top: 1px solid #4e70a4;
  text-align: left;
}

/* Trigger del acordeon SEO (h1-h6 segun contenido) */
.category-additional-description__full .category-seo-accordion-trigger,
.cms-id-19 h1 {
  color: #4B6FA1;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;

}

.category-additional-description__full .category-seo-accordion-trigger {
  border-bottom: 1px solid #4e70a4;
}

.category-additional-description__full .category-seo-accordion-trigger::after {
  content: "\2228";
  font-size: 1.5rem;
  transition: transform 0.2s ease;
}

.category-additional-description__full.active .category-seo-accordion-trigger::after {
  transform: rotate(180deg);
}

.category-additional-description__full.active .category-seo-accordion-trigger {
  border-bottom: 0;
}

.category-additional-description__full.category-seo-accordion-ready>*:not(.category-seo-accordion-trigger) {
  display: none;
}

.category-additional-description__full.category-seo-accordion-ready.active>*:not(.category-seo-accordion-trigger) {
  display: block;
}

.category-additional-description__full h2,
.cms-id-19 h2 {
  color: #4B6FA1;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  font-style: italic;
}

.category-additional-description__full h2:not(:first-of-type) {
  margin-top: 30px !important;
}

.category-additional-description__full h3,
.cms-id-19 h3 {
  color: #4B6FA1;
  font-size: 18px;
  font-style: italic;
  font-weight: 400;

}

.category-additional-description__full p {

  line-height: normal;

}

.category-additional-description__full strong {
  color: #111;
  font-weight: 700;
}

.elementor-accordion .elementor-accordion-item {
  border: none;
}

.elementor-accordion .elementor-accordion-content {
  border: none
}

/* Marcas alfabéticas: móvil 2 columnas; desktop con primera columna vacía y 3 columnas de marcas */
#manufacturer .breadcrumb {
  /*display: none;*/
}

.ms-alphabetical .ms-letter-brands-layout {
  display: grid;
  grid-template-columns: 1fr;
}

.ms-alphabetical .ms-letter-spacer {
  display: none;
}

.ms-alphabetical .ms-letter-brands-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  column-count: 2;
  column-gap: 1.25rem;
}

.ms-alphabetical .ms-letter-brands-list a {

  font-size: 18px !important;
  color: #203657 !important;
  font-weight: 500;

}

.ms-alphabetical .ms-letter-list {
  border-bottom: 1px solid #20365766;
  padding-top: 22px;
  padding-bottom: 22px;

}

.ms-alphabetical .ms-letter-brands-list li {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 0.35rem;
}

.ms-alphabetical .ms-letter-selector {
  position: sticky;
  top: 110px;
  z-index: 15;
  background: #fff;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  text-align: center;
  margin-top: 32px;
  padding-bottom: 10px;
  border-bottom: 1px solid #203657 !important;
}

.ms-alphabetical .ms-letter-selector a {
  display: inline-block;
  font-size: 20px;
  color: #20365772 !important;
  font-weight: 600;
  margin: 12px 5px 5px 5px;
  padding: 2px 10px 2px 10px !important;
  transform: translateX(0);
  transition: transform 0.28s ease, color 0.2s ease, opacity 0.2s ease;
  /* line-height: 35px; */

}

.ms-alphabetical .ms-letter-selector a:hover {

  /*background-color: #203657;
   border-radius: 5px; 
   color:#FFF !important
   */
  color: #203657 !important;
  ;
}

.ms-alphabetical .ms-letter-selector a.is-active {
  /*background-color: #203657;
  border-radius: 5px;
  color: #FFF !important;*/
  color: #203657 !important;
  opacity: 1;
}

.ms-alphabetical .ms-letter-selector a.is-past-right {
  /*transform: translateX(14px) !important;
  opacity: 0.92;*/
}

.ms-alphabetical .ms-letter-selector a.is-past-left {
  /*transform: translateX(-14px) !important;
  opacity: 0.92;*/
}

.ms-alphabetical .ms-letter-list>.ms-letter {
  font-weight: 700;
  font-size: 26px;
  line-height: 26px;
  margin-bottom: -26px;
  color: #203657;
}

@media (max-width: 991.98px) {
  .ms-alphabetical .ms-letter-selector {
    position: sticky;
    top: 65px;
    margin-top: 16px;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 10px;
    text-align: left;
    background-image:
      linear-gradient(to right, #fff 42%, rgba(255, 255, 255, 0)),
      linear-gradient(to left, #fff 42%, rgba(255, 255, 255, 0));
    background-repeat: no-repeat;
    background-position: left top, right top;
    background-size: 54px 100%, 54px 100%;
  }

  .ms-alphabetical .ms-letter-list>.ms-letter {
    margin-bottom: 25px !important;
  }
}


@media (min-width: 992px) {
  .ms-alphabetical .ms-letter-brands-layout {
    grid-template-columns: 25% 75%;
    column-gap: 0;
  }

  .ms-alphabetical .ms-letter-list>.ms-letter {
    margin-bottom: -26px;
  }

  .ms-alphabetical .ms-letter-spacer {
    display: block;
  }

  .ms-alphabetical .ms-letter-brands-list {
    column-count: 3;
    column-gap: 1.5rem;
  }
}

.elementor-element.elementor-element-niicnoc .elementor-accordion .elementor-accordion-content {
  border: none
}

#livechat-wrapper {
  right: 60px !important;
}

.erk_border_img img {
  border-radius: 30px;
}

.alert-info {
  background-color: #203657 !important;
  color: #ffcc0c !important;
  border-radius: 10px !important;
}


.mobile-menu__row--horizontal-html {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
}

.mobile-menu__row--horizontal-html>.mobile-menu__column {
  flex: 0 0 clamp(8.25rem, calc((100vw - 3.75rem) / 2), 13rem);
  width: clamp(8.25rem, calc((100vw - 3.75rem) / 2), 13rem);
  min-width: 0;
  max-width: 13rem;
}

.mobile-menu__tab--auto {
  flex-direction: column;
  align-items: stretch !important;
  width: calc(100% + 3rem);
  margin-right: -1.5rem;
  margin-left: -1.5rem;
  padding: 0 1.5rem 1rem;
  visibility: visible;
  opacity: 1;
  background: #DBE3EC;
  transition:
    opacity 0.1s ease 0.3s,
    visibility 0s linear 0.3s;
}

.mobile-menu__tab--auto>.mobile-menu__link {
  display: flex;
  flex: 0 0 auto !important;
  align-items: center;
  width: 100%;
  min-height: 3.0666666667rem;
  color: #203657 !important;
}

.mobile-menu__row--horizontal-html>.mobile-menu__column--html {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.mobile-menu__row--horizontal-html .mobile-menu__banner-image {
  order: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.mobile-menu__row--horizontal-html .mobile-menu__column-title {
  order: 2;
  width: 100%;
  margin-top: 0.75rem;
  color: #203657 !important;
  font-size: 18px !important;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
}

.mobile-menu__tab--auto>.mobile-menu__submenu--auto {
  position: static;
  display: block !important;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  overflow: visible;
  background: #DBE3EC;
  border: none;
  box-shadow: none;
  padding: 0px !important;
}

.mobile-menu__arrow {
  color: #203657 !important;
}

.mobile-menu--active .mobile-menu__scroller {
  padding-top: 8px !important;
}

.mobile-menu--active .mobile-menu__scroller>.mobile-menu__tab--auto {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: none;
}

#mobile-header .mobile-menu__footer .mobile-menu__sell-button .header-sell-btn {

  margin-bottom: 10px !important;
}

#mobile-header .mobile-menu__footer .mobile-menu__user,
#mobile-header .mobile-menu__footer .mobile-menu__user a,
#mobile-header .mobile-menu__footer .mobile-menu__user a *,
#mobile-header .mobile-menu__footer .mobile-header-lang-switcher__desktop-trigger,
#mobile-header .mobile-header-lang-switcher__item {

  font-size: 18px !important;
  font-weight: 600 !important;
}

@media (max-width: 991.98px) {
  .mobile-menu--active .mobile-menu__scroller {
    padding-top: 8px !important;
  }

  #mobile-header-sticky .col-mobile-menu-dropdown #iqitmegamenu-mobile .mobile-menu__scroller {
    padding-top: 8px !important;
  }

  #mobile-header-sticky {
    /* El script del header expone su altura con 15px de margen de seguridad. */
    --mobile-menu-header-height: calc(var(--mobile-header-height, 71px) - 15px);
  }

  #mobile-header-sticky:has(#_mobile_iqitmegamenu-mobile.show),
  #mobile-header-sticky #_mobile_iqitmegamenu-mobile.show,
  #mobile-header-sticky #_mobile_iqitmegamenu-mobile.show #iqitmegamenu-mobile {
    z-index: 2147483647 !important;
  }

  body:has(#_mobile_iqitmegamenu-mobile.show) .whatsapp-badge,
  body:has(#_mobile_iqitmegamenu-mobile.show) #livechat-wrapper,
  body:has(#_mobile_iqitmegamenu-mobile.show) #oct8ne-viewer-wrapper,
  body:has(#_mobile_iqitmegamenu-mobile.show) #oct8ne-alerts-callouts-wrapper,
  body:has(#_mobile_iqitmegamenu-mobile.show) #back-to-top {
    visibility: hidden !important;
    pointer-events: none !important;
  }

  #mobile-header-sticky .col-mobile-menu-dropdown #_mobile_iqitmegamenu-mobile,
  #mobile-header-sticky.stuck .col-mobile-menu-dropdown #_mobile_iqitmegamenu-mobile {
    height: calc(100vh - var(--mobile-menu-header-height));
    height: calc(100dvh - var(--mobile-menu-header-height)) !important;
    max-height: calc(100vh - var(--mobile-menu-header-height));
    max-height: calc(100dvh - var(--mobile-menu-header-height)) !important;
    min-height: 0;
    overflow: hidden;
  }

  #mobile-header-sticky .col-mobile-menu-dropdown #iqitmegamenu-mobile {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    overflow: hidden;
  }

  #mobile-header-sticky .col-mobile-menu-dropdown #iqitmegamenu-mobile .mobile-menu__content {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    overscroll-behavior-y: contain;
  }

  #mobile-header-sticky .col-mobile-menu-dropdown #iqitmegamenu-mobile .mobile-menu__scroller {
    position: relative;
    height: 100%;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }

  #mobile-header-sticky .col-mobile-menu-dropdown #iqitmegamenu-mobile.mobile-menu--active .mobile-menu__scroller {
    overflow: hidden;
  }

  /* Cada nivel activo cubre todo el área de contenido y no deja ver el nivel anterior. */
  #mobile-header-sticky .col-mobile-menu-dropdown #iqitmegamenu-mobile .mobile-menu__tab {
    position: static;
  }

  #mobile-header-sticky .col-mobile-menu-dropdown #iqitmegamenu-mobile .mobile-menu__submenu--panel:not(.mobile-menu__submenu--auto) {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: none;
    z-index: 1000;
    background: #fff;
  }

  #mobile-header-sticky .col-mobile-menu-dropdown #iqitmegamenu-mobile .mobile-menu__submenu--panel:not(.mobile-menu__submenu--active) {
    visibility: hidden !important;
    pointer-events: none !important;
  }

  #mobile-header-sticky .col-mobile-menu-dropdown #iqitmegamenu-mobile .mobile-menu__submenu--panel.mobile-menu__submenu--prev {
    visibility: hidden !important;
    pointer-events: none !important;
  }

  #mobile-header-sticky .col-mobile-menu-dropdown #iqitmegamenu-mobile .mobile-menu__submenu--panel.mobile-menu__submenu--active:not(.mobile-menu__submenu--prev) {
    visibility: visible !important;
    opacity: 1;
    pointer-events: auto !important;
    z-index: 1001;
  }

  /* Oculta solo el "Ver todo" del panel padre, no el del nivel abierto. */
  #mobile-header-sticky .col-mobile-menu-dropdown #iqitmegamenu-mobile .mobile-menu__submenu--panel:has(> .mobile-menu__links-list > li.mobile-menu__tab > .mobile-menu__submenu--active) > .mobile-menu__links-list > li > .mobile-menu__view-all {
    display: none !important;
  }
}

@media (max-width: 359.98px) {
  #mobile-header-sticky {
    --mobile-menu-header-height: calc(var(--mobile-header-height, 71px) - 15px);
  }
}

/* Radio común para todas las imágenes del megamenú, en desktop y mobile. */
#cbp-hrmenu img,
#iqitmegamenu-mobile img {
  border-radius: 30px !important;
}

/* Badges del header de escritorio también en la cabecera móvil. */
@media (max-width: 991.98px) {

  #mobile-header .col-mobile-btn-account>.m-nav-btn,
  #mobile-header-sticky .col-mobile-btn-account>.m-nav-btn,
  #mobile-header #mobile-cart-toogle,
  #mobile-header-sticky #mobile-cart-toogle {
    position: relative;
  }

  #mobile-header .col-mobile-btn-account .mobile-user-status-dot,
  #mobile-header-sticky .col-mobile-btn-account .mobile-user-status-dot {
    position: absolute;
    display: block !important;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #ffcc0c;
    left: 24px;
    top: 16px;
    transform: translateX(-50%);
    margin: 0;
    font-size: 0;
    line-height: 0;
    color: transparent !important;
    pointer-events: none;
  }

  #mobile-header .mobile-bag-icon,
  #mobile-header-sticky .mobile-bag-icon {
    position: relative;
    display: inline-block;
  }

  #mobile-header #mobile-cart-products-count,
  #mobile-header-sticky #mobile-cart-products-count {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 13px;
    min-width: 13px;
    height: 13px;
    padding: 0;
    border-radius: 50%;
    top: 11px;
    right: -4px;
    background: #ffcc0c !important;
    color: #203657 !important;
    font-family: "Barlow", sans-serif;
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
  }
}
