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

 Child
 */

/* Globales */

body {
  font-family: 'Lexend', poppins !important;
}

body p {
  font-weight: 300;
}

/* Titulos */ 
h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem; 
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.75rem;
}

h5 {
  font-size: 1.5rem;
}

h6 {
  font-size: 1.25rem;
}

/* Mismo estilo de negrita */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
}


/* Enlace color rojo en los p de elementor  */
.elementor-text-editor.rte-content a {
  color: #dc281d !important;
}


.order-first {
  order: -1 !important;
}


.rte-content ol,
.rte-content ul {
  line-height: initial;
  font-size: initial;
  font-weight: 300;
}


/* Más espacio con el header */
.fichaProducto {
  margin-top: 50px;
}

.your-coffee-img img {
  max-width: 90px;
}

.homeslider-container {
  display: none !important;
}

.your-primary-button,
.your-secondary-button {
  border: unset;
  position: relative;
  background-color: unset;
}

.your-primary-button a,
.your-secondary-button a {
  font-size: 16px;
  text-transform: uppercase;
  color: #fff !important;
  padding: 10px 20px;
  transition: 0.3s;
}

.your-primary-button a:hover,
.your-secondary-button a:hover {
  opacity: 0.8;
}

.your-primary-button a {
  background-color: #dc281d;
}

.your-secondary-button a {
  background-color: #424242;
}

/* ***************** Header ***************** */

/* Header del tema */

.breadcrumb {
  /*display:none;*/
  margin: 0px !important;
}

#wrapper {
  padding: 0;
}

.caja-header-principal {
  align-items: flex-end !important;
}

.header-bloque-derecha {
  margin-bottom: 15px;
}

/* Logo */
.logo {
  max-width: 300px;
}

/* Menú Horizontal */

#iqitmegamenu-horizontal .cbp-tab-title {
  font-weight: 400;
  font-size: 17px;
}

@media(min-width:1390px) and (max-width: 1440px) {

  #iqitmegamenu-horizontal .cbp-tab-title,
  #iqitmegamenu-horizontal .cbp-vertical-title {
    font-weight: 400;
    font-size: 16px;
  }
}

/* Alinear menu al medio */
.col.col-header-center.col-header-menu {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

/**** SUBMENU ****/
.cbp-hrmenu.cbp-vertical .cbp-hrsub-wrapper {
  width: 450px !important;
  margin-right: 0px !important;
}

.cbp-vertical-on-top>.cbp-vertical>ul {
  min-width: 400px;
}

/* Color titulo hover*/
#cbp-hrmenu1>ul>li.cbp-hropen>a,
#cbp-hrmenu1>ul>li.cbp-hropen>a:hover {
  color: #fff;
}

/* Color submenu */
.cbp-hrmenu .cbp-hrsub-inner,
.cbp-hrmenu ul.cbp-hrsub-level2 {
  background: #fffffff5;
  border: solid 1px #e3e3e3;
}

/* CATEGORIAS */
.cbp-hrmenu.cbp-vertical>ul>li>a>span {
  text-transform: uppercase;
}

/* SUBCATEGORIAS */
.cbp-category-link-w>a {
  text-transform: uppercase;
  font-size: 0.9rem;
}

#cbp-hrmenu1>ul>li>a,
#cbp-hrmenu1>ul>li>span.cbp-main-link {
  padding: 8px 20px;
  font-size: 0.9rem;
}

/* MENU DESPLEGABLE ESPACIO PARA QUE NO SE CORTE EN PANTALLAS CON POCA ALTURA */
@media (max-height: 700px) {

  #cbp-hrmenu1>ul>li>a,
  #cbp-hrmenu1>ul>li>span.cbp-main-link {
    padding: 4px 20px;
  }
}

/* Alinear flechas del menu desplegado al centro */
#cbp-hrmenu1>ul>li>a,
#cbp-hrmenu1>ul>li>span.cbp-main-link {
  display: flex;
  align-items: center;
}

.cbp-hrmenu.cbp-vertical .cbp-submenu-aindicator {
  font-size: 1.5rem;
  font-weight: 600;
}

a.cbp-column-title.nav-link.cbp-category-title {
  border-bottom: solid 3px #dc281d !important;
}

/* Top Bar */
.header-nav {
  border-bottom: unset !important;
}

.top-bar {
  flex-direction: row-reverse;
}

.top-bar-menu {
  display: flex;
  flex-direction: row-reverse;
  justify-content: end;
}

.top-bar-menu .d-inline-block {
  /*     display: none!important;
    visibility: hidden!important; */
}

.top-bar-menu #currency_selector {}

#header .header-btn-w {
  padding: unset;
}

.cambio-divisa {
  padding: 5px 15px;
}

.top-bar-menu #language_selector {
  padding-left: 20px;
}

.top-bar-menu #language_selector .language-selector {
  gap: 10px;
}

.top-bar-menu #currency_selector .expand-more,
.top-bar-menu #currency_selector .expand-more:hover {
  background-color: #dc281d;
  color: white;
  padding: 5px 15px;
}

.stuck-header .header-top {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Espacio entre las banderas */
.top-bar-menu.contenedor-banderas {
  margin-bottom: 5px;
  padding: unset;
}


/* JD: HEADER-TOP */
.top-preheader {
  width: 100%;
  background-color: #000;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

#header .header-icons-group .fa-shopping-bag:before,
#header .header-icons-group .fa-user:before {
  font-size: 22px !important;
}


/* ESPACIADO MENÚ */
@media(min-width:1450px) {
  .cbp-hrmenu-tab {
    padding: 0 1%;
  }


}

#wrapper .breadcrumb {
  padding: 8px 10%;
}


/* Sobreescribir estilos megamenu */

.cbp-hrmenu .cbp-links li a:before {
  left: -8px;
}

.cbp-hrmenu .cbp-links li a:hover:before {
  left: -3px;
}

/* ***************** HOME ***************** */

/* Botón Your Spanish */

.your-btn a {
  position: relative;
  border: 0;
  transition: 0.3s;
}

.your-btn a {
  position: relative;
  border: 0;
}

.your-btn a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 40%;
  width: 50px;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(20deg);
  transform-origin: center;
  pointer-events: none;
}

/* Titles */

.red-title {
  color: #dc281d;
}

/* ***************** Grid Productos ***************** */

.your-product-grid .product-flags {
  position: relative;
}

.your-product-grid .product-flags .product-flag.new {
  background-color: #424242;
  color: white;
  text-transform: uppercase;
}

.product-miniature .product-description .extra-small-gutters {
  height: 60px;
  max-height: 80px;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .product-miniature .product-description .extra-small-gutters {
    height: 60px;
    max-height: 140px;
  }
}

.products-grid .product-miniature-layout-2 .product-description {
  padding-top: 0.45rem;
}

/* Añadir al carrito */

.ns-box {
  background: #f3f3f3;
}

.ns-box .ns-box-inner .ns-title {
  color: #333;
}

/* Producto Individual */

.product-miniature-grid .product-price {
  font-size: 1.2rem;
}

.product-price {
  color: #424242;
}

.product-miniature .product-title {
  font-size: 14px;
  font-weight: 500;
  margin-top: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-add-cart {
  display: flex;
  flex-direction: row;
  gap: 0;
  justify-content: space-between;
}

.product-add-cart form,
.product-add-cart input,
.product-add-cart button {
  width: 100%;
}

.product-add-cart button,
.product-add-cart a {
  font-size: 16px;
  font-weight: 500;
}

.product-add-cart .view-product {
  background-color: #343434;
  color: white;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 500;
  display: none;
}

.product-add-cart .add-to-cart {
  text-transform: uppercase;
}

.product-add-cart .view-product:hover {
  border: 1px solid #343434;
}

.product-add-cart .view-product i {
  color: white;
}

.extra-info-product {
  display: flex;
  justify-content: space-between;
}

.extra-info-product .product-weight {
  font-size: 15px;
  font-weight: 300;
}

.your-product-grid .product-flags {
  position: absolute;
  top: 10px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.your-product-grid .product-flags .product-flag.discount {
  display: none;
}

.your-product-grid .product-flags .product-flag.new {
  bottom: 0;
  position: absolute;
}

.regular-price.text-muted {
  color: #dc281d !important;
}

/* ***************** Grid Productos 2 (Otro tipo de grid) ***************** */
.products-grid.products .product-flag.discount {
  display: none;
}

.products-grid.products .product-flags {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.products-grid.products .product-flag.new {
  background-color: #424242;
  color: white;
  text-transform: uppercase;
  text-align: center;
  top: 0px;
}

/* ***************** PAGINAS BLOG, OFERTAS, LO MÁS VENDIDO (TITULO) ***************** */
.separacion-ventas {
  margin-bottom: 100px;
}

.separacion-blog {
  margin-bottom: 100px;
}

.separacion-manufacturer {
  margin-bottom: 100px;
}

/* ***************** CATEGORIA PRODUCTO ***************** */
/* Contenedor Destacada Categoria */
.category-header-fullwidth {
  margin-bottom: 100px;
}

/* Titulo Categoria */
.titleCategory {
  margin: 50px 0px 30px 0;
  text-align: center;
  font-weight: 500;
}

/* Descripcion corta categoria */
.category-description-box {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}

.category-additional-description {
  width: 80%;
}

/* Imagen Destacada Categoria */
.category-image-fullwidth img {
  height: 290px;
  width: 100%;
  object-fit: cover;
}

/* PRODUCTO AGOTADO */
.product-unavailable {
  background: #a17738;
  color: #fff7f7;
  font-size: 16px;
}

.product-description-section {
  margin-bottom: 6rem;
}

/* OCULTAR PAGINACION CATEGORIA */
.pagination.hidden-for-infinite .pagination {
  display: none;
}

/* ***************** BLOG ***************** */
/* ******** ListingPost - BLOG ******** */

.simpleblog__listing__post__wrapper.cardblog.post-item img {
  height: 350px;
  width: 100%;
  /* height: 100%; */
  object-fit: cover;
  object-position: center;
}

/* ******** SinglePost - BLOG ******** */
.simpleblog__post-header {
  background: #f5f5f5;
  padding: 50px;
  margin-bottom: 100px;
}

.simpleblog__post-header img.img-fluid.blog-featured-image {
  border-radius: 20px;
}

.simpleblog__post__content a {
  color: #dc281d !important;
}

.simpleblog__post__content.card-block.pb-1 ul li::marker {
  color: #dc281d;
}

.simpleblog__post__content h2 {
  font-weight: 400 !important;
  letter-spacing: -1px;
  text-transform: uppercase;
  font-size: 2rem;
  margin-top: 50px;
}

.block-links ul>li a:before {
  font-size: 18px;
}


/* ***************** Footer ***************** */

#footer-container-main {
  padding: 60px 30px !important;
}

.footer-menus {
  display: flex;
  flex-direction: row;
  gap: 30px;
  justify-content: space-around;
}

.footer-menus h4 {
  font-size: 24px;
}

.footer-menus .menu-column li {
  padding-bottom: 8px;
}

.footer-menus .menu-column li i {
  padding-right: 8px;
}

@media (max-width: 1024px) {
  .footer-menus {
    flex-wrap: wrap;
    justify-content: left;
    padding-left: 30px;
  }
}

@media (max-width: 1024px) {
  .footer-menus {
    flex-wrap: wrap;
  }
}

/* Pre-footer */

.pre-footer {
  display: flex;
  justify-content: space-between;
  background-color: #fff;

  padding: 50px;
  align-items: flex-end;
}

@media (max-width: 1024px) {
  .pre-footer {
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px;
  }
}

@media (min-width: 1025px) {
  .pre-footer {
    padding: 20px 30px;
  }
}

.pre-footer .left-column img {
  max-width: 80%;
}

.pre-footer .right-column {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 576px) {
  .pre-footer {
    padding-bottom: 50px;
  }

  .pre-footer .right-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .pre-footer .right-column .cta-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
  }

  .pre-footer .social-icons {
    display: flex;
    justify-content: center;
  }
}

.pre-footer .social-icons i:not(:hover) {
  color: #333;
}

/* ***************** Medias ***************** */

/* Móvil */

@media (max-width: 576px) {
  body p {
    font-size: 16px;
    line-height: 1.4em;
    font-weight: 300;
  }

  /* Pag Categorias */
  .category-header-fullwidth {
    margin-bottom: 10px;
  }

  #wrapper .block-title {
    font-size: 1.5rem;
  }

  ul.category-sub-menu li a {
    font-size: 16px;
    line-height: 1.5;
  }

  .product-add-cart {
    justify-content: space-evenly;
  }
}

/* Tablet */

/* Tablet y móvil */

@media (max-width: 1023px) {
  .order-responsive-1 {
    order: 1;
  }

  .order-responsive-2 {
    order: 2;
  }
}

@media (max-width: 1365px) {
  .hidden-bg-responsive {
    background: unset !important;
  }
}

@media (min-width: 1366px) {
  .hidden-img-responsive {
    display: none;
  }

  .padding-left {
    padding-left: 100px;
  }
}

/* De 1390px a 1200px */

/* HEADER MENU PRINCIPAL */
@media (max-width: 1390px) and (min-width: 1200px) {
  .logo {
    max-width: 200px;
  }

  #cbp-hrmenu1 .cbp-vertical-title {
    font-size: 14px;
  }

  #cbp-hrmenu1>ul>li>a,
  #cbp-hrmenu1>ul>li>span.cbp-main-link {
    font-size: 14px;
  }

  .cbp-hrmenu .cbp-hrsub {
    font-size: 14px;
  }

  #iqitmegamenu-horizontal .cbp-tab-title {
    font-size: 14px;
  }

  .your-primary-button a,
  .your-secondary-button a {
    font-size: 14px;
  }
}

/* FORZAR MENU MOVIL */
@media (max-width: 1200px) {
  .sticky-desktop-wrapper {
    display: none;
  }

  #desktop-header {
    display: none;
  }

  #mobile-header {
    display: block;
  }
}



/* PAGINA FICHA PRODUCTO */
.show-more,
.show-less {
  display: block;
  text-align: left;
  font-weight: bold;
  color: #d40000 !important;
  text-decoration: none;
  margin-top: 10px;
  /* Separación del texto */
}

.show-more:hover,
.show-less:hover {
  text-decoration: underline;
}

.titulo-product-relacionado-categoria {
  text-align: center;
  font-size: 2rem !important;
}


.product_p_price_container {
  border-top: 0px solid;
}

/* PÁGINA DE CARRITO */

.cart-item .product-price {
  color: #dc281d;
}

#cart #wrapper {
  padding: 100px 0;
}

.cart-summary-line.cart-total {
  display: flex;
  flex-direction: column;
}

.cart-summary-line .value {
  float: unset;
  margin-top: 20px;
  text-align: right;
}

/* PESO TRANSPORTE */
.cart-summary-line.peso-total-transporte {
  margin-top: 25px;
}

.cart-summary-line.peso-total-transporte span.label {
  font-size: 18px;
  font-weight: 700;
}



/* Para quitar txt 'Transporte Gratis */
/* #cart-subtotal-shipping {
  display: none;
}
*/

/* FORMULARIO */
a.privacy-link {
  color: #dc281d !important;
}

/* Carrito Sidebar */

.blockcart-content .cart-products .input-group.bootstrap-touchspin {
  flex-wrap: nowrap;
}

.blockcart-content .cart-products .block-cart-product-quantity {
  width: 50px;
}


/* PAGINAS MARCAS */
.letra-marca {
  font-size: 22px;
  width: 100%;
  font-weight: 700;
  color: #3d88a7;
  border-bottom: solid 2px #3d88a7;
  margin-bottom: 20px;
}

.marcas-alfabeticas li {
  border-bottom: solid 1px #f3f3f3;
  padding-bottom: 5px;
  padding-top: 5px;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
}

.brand-column {
  flex: 1 1 calc(33.33% - 20px);
  min-width: 250px;
  margin: 10px;
}


/*opiniones de google*/
.lggooglereviews_list .owl-carousel.owl-drag .owl-item .slide-container {
  display: flex;
  flex-direction: column-reverse;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: space-evenly;
}

.owl-theme .owl-nav {
  margin-top: 10px;
  text-align: right;
  -webkit-tap-highlight-color: transparent;
}

.owl-theme .owl-nav [class*='owl-'] {
  color: red;
  font-size: 30px;
  background: white;
  display: inline-flex;
  justify-content: center;
  cursor: pointer;
  border-radius: 0;
  height: 40px;
  width: 40px;
}


.owl-theme .owl-nav [class*='owl-']:hover {
  background: red;
  color: #FFF;
  text-decoration: none;
}

.owl-theme .owl-nav [class*='owl-']:hover {
  background: red;
  color: #FFF;
  text-decoration: none;
}


.products-grid .product-add-cart {
  margin: unset;
}

.lggooglereviews_place .lg-google-text {
  font-size: 1rem !important;
  line-height: 1.25em !important;
  color: #010101 !important;
  font-weight: 300;
}

.slide-container {
  font-family: 'Lexend', poppins !important;
}


/* IMG BAJAR TAMAÑO */

/* PRIMERA IMG CATEGORIA */
.elementor-element.elementor-element-g5usw7j .elementor-image img {
  max-width: 80% !important;
}

/* SEGUNDA IMG CATEGORIA */
.elementor-element.elementor-element-vwkz6na .elementor-image img {
  max-width: 80% !important;
}

/* TERCER IMG CATEGORIA */
.elementor-element.elementor-element-4o080lx .elementor-image img {
  max-width: 80% !important;
}

/* CUARTA IMG CATEGORIA */
.elementor-element.elementor-element-85epvld .elementor-image img {
  max-width: 80% !important;
}

body#category .elementor .elementor-row {
  align-items: center;
}

.custom-checkbox input[type=checkbox]+span:not(.color),
.custom-radio {
  background: #ffffff;
  color: red;
  border-color: #333 !important;
}



/* Icono carrito móvil */
@media(max-width:1200px) {
  .cart-products-count-btn {
    background-color: #111 !important;
    right: -8px !important;
    font-size: 0.9rem !important;
  }
}


#mobile-header .col-mobile-menu-dropdown.show {
  background-color: unset !important;
}


#mobile-header .col-mobile-menu-dropdown.show .m-nav-btn {
  background-color: #db4239 !important;
  color: white !important;

}

/* Carrito móvil pantalla completa */

@media(max-width:576px) {
  .blockcart-content {
    width: 100% !important;
  }

  /* Prevenir scroll cuando el carrito está abierto - aplicado con JS */
  body.cart-open {
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }

  /* Bloquear interacción con el fondo */
  body.cart-open .show #blockcart-content::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;

    z-index: -1;
  }
}


/* Bloque mensaje carrito peso */
.shipping-info-box {
  position: relative;
  padding: .75rem 1.25rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
  border-radius: 0;
  background-color: #e9f8ee;
  border: 1px solid #b6e2c4;
}

.shipping-info-box strong {
  color: #1f7a3f;
}

.shipping-info-box a {
  color: #1f7a3f;
  text-decoration: underline;
  font-size: 13px;
}


/********* NUEVO HEADER STYLE: 2 *********/
/* Tamaño caja header */
.desktop-header-style-2 #desktop-header-container {
  width: 80%;
}

/* Estilos para el buscador */
.desktop-header-style-2 .input-group>.form-control:not(:last-child) {}

.desktop-header-style-2 input.form-control.form-search-control {
  border: 2px solid;
  border-color: #000;

}

.desktop-header-style-2 button.search-btn {
  background: #DC281D !important;
  border-right: 2px solid !important;
  border-top: 2px solid !important;
  border-bottom: 2px solid !important;

  border-color: #000;
}

/* Menu horizontal */
.desktop-header-style-2 .container.iqit-megamenu-container {
  background: #DC281D;

  width: 100%;
  padding: 7px 10%;

}

.desktop-header-style-2 #cbp-hrmenu1 .cbp-vertical-title {
  color: #ffffff;
  background: #DC281D;
}

/* BTN Tel Menu Horizontal */
.btn-tel-header-syle-2 .your-btn.btn-tel {
  border: none;
  background-color: #fff;

}

.btn-tel-header-syle-2 .your-btn.btn-tel a {
  color: #000 !important;
}

.contenedor-menu-horizontal-style-2 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.contenedor-menu-horizontal-style-2 #iqitmegamenu-wrapper {
  width: 80%;
}



/*Arreglo temporar icon footer*/
.fa {
  /* font-family: var(--fa-style-family, "Font Awesome 6 Free"); */
  /* font-weight: var(--fa-style, 900); */
  font-family: FontAwesome !important;
}

/* Cambio JD: 10/03/2026 */
.desktop-header-style-2 .header-icons-group.d-flex.align-items-center.justify-content-end {
  z-index: 9999;
  width: 20%;
}

/* Cambio 
color lupa */
.desktop-header-style-2 .fa-magnifying-glass:before,
.fa-search:before {
  color: #fff;
}

.desktop-header-style-2 #header-user-btn a {
  color: #fff;
  display: flex !important;
  flex-direction: row;
  align-items: baseline;
  gap: 10px;
}

.desktop-header-style-2 .header-icons-group div#ps-shoppingcart #cart-toogle {
  color: #fff;
  display: flex !important;
  flex-direction: row;
  align-items: baseline;
  gap: 10px;
}

#header .header-btn-w .header-btn .title {
  margin-top: 0;
}

@media(max-width: 1390px) and (min-width: 1200px) {

  .desktop-header-style-2 #header-user-btn .title,
  .desktop-header-style-2 div#ps-shoppingcart .title {
    font-size: 14px;
  }
}

/* BARRA INFERIOR FOOTER MOVIL */
/* Ocultar el bloque por defecto en escritorio */
.barra-inferior-footer-movil {
  display: none;
}

/* Estilos específicos para móviles */
@media (max-width: 767px) {
  /* Espacio inferior footer-copyrights*/
  #footer-copyrights {
    padding-bottom: 4.625rem;
  }

  /* Contenedor principal */
  .barra-inferior-footer-movil {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 60px !important;
    z-index: 999999 !important;
    background-color: #1a1a1a;
    /* Fondo oscuro para el contenedor */
    box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.3);
    margin: 0 !important;
    padding: 5px !important;
    /* Añadimos un poco de padding para el efecto de botones separados */
    gap: 5px;
    /* Espacio entre botones */
  }

  /* Elementos de enlace (WhatsApp y Email) */
  .barra-inferior-footer-movil .item-contacto-movil {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    transition: all 0.2s ease;
    border-radius: 4px;
    /* Bordes ligeramente redondeados para estilo moderno */
  }

  /* Iconos dentro de la barra */
  .barra-inferior-footer-movil .item-contacto-movil i {
    font-size: 18px;
    margin-right: 8px;
  }

  /* Variantes de color: Negro Elegante */
  .barra-inferior-footer-movil .whatsapp-movil,
  .barra-inferior-footer-movil .email-movil {
    background-color: #1a1a1a !important;
    /* Negro neutro */
    border: 3px solid rgba(255, 255, 255, 0.2) !important;
    /* Borde fino blanco traslúcido */
  }

  /* Efecto Hover/Active */
  .barra-inferior-footer-movil .item-contacto-movil:active {
    background-color: #333333 !important;
    transform: scale(0.98);
  }
}

/* Botón carrito - rojo como el nav */
.cart-buttons .btn-secondary {
    background-color: #dc281d !important;
    border-color: #dc281d !important;
    color: #fff !important;
}
.cart-buttons .btn-secondary:hover,
.cart-buttons .btn-secondary:focus {
    background-color: #b81f16 !important;
    border-color: #b81f16 !important;
    color: #fff !important;
}

/* Cambio 01/04/2026: Diseño checkout -> Direcciones */
/********* CHECKOUT - DIRECCIONES *********/
#checkout-addresses-step .address-selector .address-item {
    cursor: pointer;
    border: 2px solid #f1f1f1 !important;
    transition: all 0.3s ease;
    background: #fff;
    position: relative;
    padding: 15px;
    margin-bottom: 15px;
}

#checkout-addresses-step .address-item .radio-block {
    cursor: pointer;
    margin: 0;
    padding: 0;
}

#checkout-addresses-step .address-item .radio-block::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#checkout-addresses-step .address-footer {
    position: relative;
    z-index: 10 !important;
    pointer-events: auto;
}

#checkout-addresses-step .address-footer a {
    position: relative;
    z-index: 11;
}

#checkout-addresses-step .address-selector .address-item:hover {
    border-color: #ddd !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

#checkout-addresses-step .address-selector .address-item.selected {
    border-color: #e5231a !important;
    background-color: #fff8f8 !important;
    box-shadow: 0 4px 12px rgba(229, 35, 26, 0.15);
}

#checkout-addresses-step .address-selector .address-item.selected .address-alias {
    font-weight: bold;
    color: #e5231a;
}

#checkout-addresses-step .custom-radio {
  display: none;
}


/* Cambio 01/04/2026: Diseño checkout -> Metodo de envio */
/********* CHECKOUT - Metodo de envio *********/
#checkout-delivery-step .delivery-option {
    background: #fff;
    border: 2px solid #f1f1f1 !important;
    margin-bottom: 12px !important;
    padding: 15px 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
}

#checkout-delivery-step .custom-radio {
    display: none !important;
}

#checkout-delivery-step .delivery-option:has(input[type="radio"]:checked) {
    border-color: #e5231a !important; /* Rojo corporativo */
    background-color: #fff8f8 !important;
    box-shadow: 0 4px 12px rgba(229, 35, 26, 0.1);
}

#checkout-delivery-step .delivery-option label {
    cursor: pointer;
    margin-bottom: 0;
    width: 100%;
}

#checkout-delivery-step .delivery-option img {
    max-width: 60px;
    height: auto;
}

#checkout-delivery-step .delivery-option:has(input[type="radio"]:checked) .carrier-name,
#checkout-delivery-step .delivery-option:has(input[type="radio"]:checked) .carrier-price {
    color: #e5231a;
    font-weight: bold;
}

/* Colocar radio input paypal pago arriba alineado al texto */
.payment-options .payment-option label {
    vertical-align: text-top !important;
}


/* POPUP AVISO IMPORTE IVA EN CHECKOUT  */
/* Fondo oscuro translúcido */
.custom-tax-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 99999;
    display: none; /* Oculto por defecto */
    align-items: center;
    justify-content: center;
}

/* Caja blanca del aviso */
.custom-tax-modal {
    background: #fff;
    padding: 25px 30px;
    max-width: 450px;
    width: 90%;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Título */
.custom-tax-modal h4 {
    margin-top: 0;
    font-size: 18px;
    color: #333;
    font-weight: 500;
    margin-bottom: 15px;
}

/* Texto del mensaje */
.custom-tax-modal p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* Botón OK verde */
.custom-tax-modal-btn {
    background: #28a745; /* Verde tipo PrestaShop/Warehouse */
    color: #fff;
    border: none;
    padding: 8px 25px;
    cursor: pointer;
    float: right;
    border-radius: 3px;
    font-size: 14px;
    font-weight: bold;
    transition: background 0.3s;
}

.custom-tax-modal-btn:hover {
    background: #218838;
}

/* Evitar que el botón flotante rompa la caja */
.custom-tax-modal.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* Quitar bloque de puntos dentro de la ficha de producto, va asociado al hood de product-out-of-stock */
.product-out-of-stock .loyalty-block.loyalty-block-product {
    display: none;
}

/* Quitar redes sociales dentro de la ficha de producto, va asociado al hood de product-out-of-stock */
.product-out-of-stock .social-sharing {
    display: none;
}

/* Mensaje Total (transporte e impuestos incluid) en checkout */
.cart-summary-line.cart-total.block-transporte .label {
    font-size: 1.2rem;
}
.shipping-info-box .envio-gratis-text, .shipping-info-box p  {
    font-weight: 600;
}

/* === Cabecera home: imagen visible en TABLET (vertical y horizontal) ===
   YoSEO 2026-06-24. La cabecera hero de la home tenia dos variantes y AMBAS
   quedaban ocultas en el rango tablet (768-1023px): la de escritorio con
   .elementor-hidden-tablet (paella) y la de movil tambien con .elementor-hidden-tablet
   (empanadas). Resultado: en tablet no se veia ninguna imagen de cabecera, solo
   el bloque rojo. Forzamos que se muestre la variante de escritorio (paella) en
   todo el rango tablet, que se adapta bien tanto en vertical como en horizontal. */
@media (min-width: 768px) and (max-width: 1023px) {
    body:not(.elementor-editor-active) .elementor-element.elementor-element-hfth4tv.elementor-hidden-tablet {
        display: block !important;
    }
}
