#mobile-nav-overlay{
	height: 204px;
}
#mobile-nav-overlay ul{
    display: none;
}
.shrink-nav{
    display: none;
}
.title-modal-exito{
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 100 !important;
    font-size: 13px !important;
}

.navbar-default .navbar-nav > li > a {
    color: #000;
}
.navbar-default .navbar-nav > li > a:hover {
	color: #000;
	border: none !important
}

.navbar-nav > li > a {
	font-size: 12px;
}

.navbar-nav > li {
	margin: 10px 10px !important;	
}

.search-cart-header .subtitle{
	font-size: 13px;	
}

.menu-icono-buscar {
	font-size: 18px;
}

.menu-icono-carrito {
	font-size: 16px;
}

section {
    padding: 20px 0;
}

.img-catgeneral {
    background-position: center center;
    background-repeat: no-repeat;	
	background-size: cover;		
	height: 280px; 
}

.product-listing {
    margin-left: -10px;
    margin-right: -10px;
}

.producto-bloque{
    height: auto;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    padding-left: 10px !important;
    padding-right: 10px !important;
}
/* product-listing: margin negativo compensa el padding de los cols, alineando con los filtros */

.parrafo-margen{
	margin-bottom: 5px;
}

::-webkit-input-placeholder {
  color: white;
}

.seccion-productos{	
    /*margin-top: 180px;*/
}
#tienda-prod{
    padding: 50px 0 !important;
}
.clasificacion-img-dimension {
	max-height: 150px;
}

.slider-boton-color{
	background: var(--main-bg-color);
	border-color: var(--main-bg-color);
	color: #fff;  
}

.slider-boton-color:hover{
	border-color: var(--main-bg-color);
	color: var(--main-bg-color);  
}

.producto-boton-color{
    background: #111 !important;
    border-color: #111 !important;
    color: #fff !important;
    padding: 8px 10px !important;
    font-size: 0.75rem !important;
    width: 100%;
    display: block;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.producto-boton-color:hover{
    background: #333 !important;
    border-color: #333 !important;
    color: #fff !important;
}

.footer-text{
	text-align: justify;
}

.producto-total-alineacion {
	text-align: right;
}
.alert-custom{
	color: #fff;
    background-color: var(--main-bg-color);
    border-color: var(--main-bg-color);
}
.home-slider-titulo{
	font-family: 'Time New Roman';
	font-style: italic;
	font-size: 35px !important;
	font-weight: bold !important;
	letter-spacing: 0px;
	text-transform: capitalize;

}

.home-slider-subtitulo{
	font-size: 14px !important;
	font-weight: bold !important;
	letter-spacing: 0px !important;
	text-transform: unset;
}

.banner_uno{
	 background-size: cover !important;
	 background-position: center !important;
	 background-repeat: no-repeat !important;
	 min-height:200px !important;
	 display:table !important;
	 width: 100% !important;
}
.banner_uno_contenedor { background:none !important;}
.banner_uno_contenedor:hover { cursor: pointer !important; }

.owl-item{
	padding-right: 10px !important;
    padding-left: 10px !important;
}
.accesos_imagen{
	min-height: 260px !important;
	background-size: cover !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
}
.seccion_categorias{
	background: #f6f6f6 !important;
}
.imagen_categorias{
	background-size: cover !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
}
.margen_footer{
	margin-top: 3% !important;
	margin-bottom: 2% !important;
}
#slider .owl-item{
	padding-right: 0 !important;
    padding-left: 0 !important;
}
.seccion_nosotros{
	padding: 80px 0 !important;
}
.img-responsive{
	margin: auto !important;
}
.dropdown-menu li ul {
    margin-top: 5px !important;
	margin-bottom: 15px !important;
	min-height: 150px !important;
}
.dropdown-header {
	margin-bottom: 0 !important;
}
.about-carrito-img{
	height: 300px !important;
}
.logo-light{
	display: block !important;
	text-align: center !important;
}

.product_size_custom{
	text-align: center;
    min-height: 300px;
    max-height: 300px;
    max-width: 100%;
}

.product_img {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.product-image-center-custom{
	object-fit: contain;
    min-height: 300px;
    max-height: 300px;
}

/* === Card de producto (home carousel) === */
.home-product {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: #fff;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
}
.home-product:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,0.09);
    border-color: #d0d0d0;
}

/* Nombre del producto: altura fija = 3 líneas, con ellipsis */
.home-product .product-name {
    height: 76px;      /* 3 líneas × ~13px × 1.5 line-height + margin-top */
    overflow: hidden;
}
.home-product .product-name a {
    height: auto !important;
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-top: 8px !important;
}

/* El área de info: contenido agrupa arriba, botón va al fondo */
.product_info_custom {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    max-height: none;
    padding: 10px 12px 12px !important;
    text-align: left;
}
/* En catálogo la card debe ocupar todo el alto del bloque */
.producto-bloque .home-product {
    height: 100%;
}
/* Precio: altura fija para alinear entre cards con/sin precio tachado */
.product_info_custom .price {
    min-height: 58px;
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
}
/* Precio en una línea: actual (grande) + tachado (chico) */
.price-row-card {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 8px;
    min-height: 36px;
}
.precio-actual-card {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
}
.precio-tachado-card {
    font-size: 13px;
    color: #999;
    white-space: nowrap;
}
/* Cuota sin interés en el card — todo en una línea */
.cuota-card-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 11px;
    color: #444;
    margin-top: 6px;
}
.cuota-card-row .fa-credit-card {
    color: #7B6A58;
    font-size: 12px;
    flex-shrink: 0;
}
.cuota-card-row strong {
    color: #111;
    white-space: nowrap;
}
/* Badge "sin interés" dentro del card — más compacto */
.cuota-card-row .cuota-label-si {
    font-size: 9px;
    padding: 1px 4px;
    border-radius: 4px;
    flex-shrink: 0;
    letter-spacing: 0.2px;
    white-space: nowrap;
}
/* Botón siempre pegado al fondo del card */
.product_info_custom form {
    margin-top: auto;
    padding-top: 12px;
}

/* === Fila imagen lateral + carousel: misma altura === */
.prod-home-row {
    display: flex !important;
    align-items: stretch;
    margin-left: 0 !important;
    margin-right: 0 !important;
    gap: 12px;
}
/* Quitar gutters de Bootstrap en ambas columnas para alinear bloques */
.prod-home-row > .col-md-4,
.prod-home-row > .col-md-8 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.prod-home-img-col {
    display: flex;
}
.prod-home-img-col > a {
    display: flex;
    width: 100%;
}
.prod-home-seccion .img-portada-destacado {
    width: 100%;
    height: 100%;
    max-height: none !important;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* Propagar altura de la columna → OWL v1 → item → card */
/* col-md-8 del carousel: flex column para igualar altura con imagen lateral */
.prod-home-row > .col-md-8 {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.prod-home-seccion .owl-carousel-ofertas {
    flex: 1;
    min-height: 0;
    overflow: visible;
    position: relative;
}
/* OWL Carousel v1: owl-wrapper-outer / owl-wrapper */
.prod-home-seccion .owl-carousel-ofertas .owl-wrapper-outer {
    height: 100%;
    overflow: visible;
}
/* OWL pone height via JS inline; se sobreescribe */
.prod-home-seccion .owl-carousel-ofertas .owl-wrapper {
    height: 100% !important;
}
.prod-home-seccion .owl-carousel-ofertas .owl-item {
    height: 100%;
    padding-left: 5px !important;
    padding-right: 5px !important;
}
.prod-home-seccion .owl-carousel-ofertas .owl-item .home-product {
    height: 100%;
    box-sizing: border-box;
}
/* Alineación a la izquierda (estilo Juleriaque) */
.prod-home-seccion .product_info_custom {
    text-align: left;
}
.prod-home-seccion .product_info_custom .price {
    justify-content: flex-start;
}
/* En el carousel de home usa price-row-card; resetear min-height del .price genérico */
.prod-home-seccion .product_info_custom .price-row-card {
    min-height: 36px;
}
.prod-home-seccion .product_info_custom .cuota-card-row {
    justify-content: flex-start;
}
/* Flechas de navegación en carouseles de home */
.prod-home-seccion .owl-buttons {
    display: block !important;
}
.prod-home-seccion .owl-prev,
.prod-home-seccion .owl-next {
    position: absolute;
    top: -300px;
    width: 32px;
    height: 32px;
    line-height: 32px;
    background: rgba(0,0,0,0.55) !important;
    border-radius: 50%;
    text-align: center;
    opacity: 0;
    transition: opacity 0.2s, background 0.2s;
    z-index: 20;
    margin-top: 0;
}
.prod-home-seccion .owl-carousel-ofertas:hover .owl-prev,
.prod-home-seccion .owl-carousel-ofertas:hover .owl-next {
    opacity: 1;
}
.prod-home-seccion .owl-prev { left: 4px !important; }
.prod-home-seccion .owl-next { right: 4px !important; }
.prod-home-seccion .owl-prev .fa,
.prod-home-seccion .owl-next .fa {
    color: #fff;
    font-size: 14px;
    top: 0;
    position: static;
}
.prod-home-seccion .owl-controls {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    z-index: 10;
}
.prod-home-seccion .owl-pagination {
    display: block;
    text-align: center;
}
.prod-home-seccion .owl-page span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.25);
    margin: 0 3px;
    transition: background 0.2s;
}
.prod-home-seccion .owl-page.active span {
    background: #111;
}

.img-portada-destacado{
	max-height: 450px;
}

.cant_compra{
	font-size: 12px;
    background: #da1616;
    border-radius: 50px 50px;
    display: table-caption;
    color: #fff;
    width: 20px;
    height: 20px;
    text-align: center;
}

.mt-50{
	margin-top: 50px;
}
.resumen-orden{
	padding: 40px 20px;
}
.divisor{
	background: #000;
	height: 1px;
}
.td-pad{
	padding: 10px 10px !important;
}
.boton-cart{
	width:100%;
	margin:0px;
	padding: 2px;
	text-align: center;
	font-size: 13px !important;
}
.zocalo-tarjetas{
	min-height: 200px;
	max-height: 200px;
	background-position: center !important;
	background-size: cover !important;
	background-repeat: no-repeat !important;
}
.no-mostrar-marca{
	display: none;
}

.b-top-white{
	border-top: 2px solid #fff;
}

.link-copy:hover{
	color:#fff !important;
}
.no-upper{
	text-transform: none;
}

.mb-4{
	margin-bottom: 4% !important;
}

.refresh-cart-cant{
	font-size: 17px;
	margin-top: 10px;
}

@media (min-width: 992px) {
	.navbar-nav{
		display: flex;
		justify-content: center;
		float: none !important;
	}
	.navbar-right .dropdown-menu-cat {
    left: 0 !important;
	}
}

@media (max-width: 992px) {
	#mobile-nav-overlay ul{
	    display: block;
	}
	#mobile-nav-overlay .mob-submenu{
	    display: none;
	}
	#mobile-nav-overlay{
		height: auto !important;
	}
	.navbar-default .navbar-nav > li > a {

		color: #fff !important;
	}
	.navbar .text-right {
		right: 0 !important;
		width: 230px;
	}
	.banner_uno{
		background-size: contain !important;
		background-position: center !important;
		background-repeat: no-repeat !important;
		min-height:100px !important;
		display:table !important;
		width: 100% !important;
	}
	.zocalo-tarjetas {
		min-height: 50px;
		max-height: 50px;
	}
	.seccion-productos {
		margin-top: 120px;
	}

	.select-filter-moVil{
		margin-bottom: 10px;
	}
	.logo {
		max-width: 100%;
		height: 90px;
	}
	.cuadro-pago{
		min-height: 120px;
	}
	.no-pad-movil{
		padding-left: 0;
		padding-right: 0;
	}
	.w-100-btn-movil{
		width: 100%;
	}
	.mt-80-movil{
		margin-top: 80px;
	}
	.refresh-cart-cant-movil{
		font-size: 15px;
	}

	.accesos_imagen {
	    min-height: 300px !important;
	    margin: 5px 0;
	   }

	.button_filter_mobile i{
		color: #fff;
		font-size: 15px;
	}
	.button_filter_mobile{
		font-size: 15px;
		color: #fff;
		padding: 10px;
		background: #7B6A58;
		width: 100%;
    border: 0 !important;
    box-shadow: none !important;
	}
}

#slider-home .owl-page span {
    border-radius: 4px;
    box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
    display: block;
    height: 7px;
    transition: all 0.27s cubic-bezier(0, 0, 0.58, 1) 0s;
    width: 7px;

}
#slider-home .owl-pagination { 
	bottom: 5px;
    display: block;
    left: 0;
    position: absolute;
    text-align: center;
    width: 100%;
	z-index: 100 !important;}
	
	.boton-siguiente-check:after{
		border: 2px solid #000 !important;
	}
	.boton-siguiente-check:before{
		border: 2px solid #000 !important;
	}
	.boton-siguiente-check:hover{
		border: 2px solid #000 !important;
	}

.onsale {
	background: #000 !important;
	/* bottom: 16%; */
	color: #fff;
	font-size: 11px;
	left: 0%;
	bottom: 0 !important;
	/* margin-left: -21px; */
	line-height: 20px;
	padding: 0px 5px !important;
	position: absolute;
	text-transform: uppercase;
}

.descuento-oferta-producto {
    background: #cb0606 !important;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    left: 0;
    top: 28px;
    margin-left: 12px;
    line-height: 20px;
    padding: 3px 10px !important;
    position: absolute;
    text-transform: uppercase;
    border-radius: 0 3px 3px 0;
    letter-spacing: 0.5px;
}
.descuento-oferta-producto-deet {
    background: #cb0606 !important;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    display: inline-block;
    line-height: 20px;
    padding: 4px 12px !important;
    text-transform: uppercase;
    border-radius: 3px;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    position: static;
}

.envio-gratis-producto{
    background: #6B8E23 !important;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    right: 0;
    top: 0px !important;
    line-height: 22px;
    padding: 2px 9px !important;
    position: absolute;
    text-transform: uppercase;
    border-radius: 0 0 0 4px;
    letter-spacing: 0.3px;
}

.prod_nuevo_etiqueta{
	background: #7B6A58 !important;
	color: #fff;
	font-size: 13px;
	left: 0;
	top: 0px !important;
	line-height: 20px;
	padding: 0px 5px !important;
	position: absolute;
	text-transform: uppercase;
	border-radius: 0 0 4px 0;
}

.select-tienda select{
    padding: 9px 20px !important;
    font-size: 10px !important;
    letter-spacing: 1px !important;
}
#icon-user-mob{
	margin-top: 3px !important;
}
#proddetail iframe{
	width: 100% !important;
}
#proddetail .onsale-with-video{
	background: #000 !important;
	color: #fff;
	font-size: 11px;
	left: 80px;
	top: -22.5px !important;
	line-height: 20px;
	padding: 0px 5px !important;
	position: absolute;
	text-transform: uppercase;
}
#tienda-prod .select-style2{
	border: 0 !important;
	background: #000 url(../images/select-arrow-3.png) no-repeat 90% 50% !important;
	height: 40px;
}
#tienda-prod .select-style2 select{
	border: 0 !important;
	font-size: 14px !important;
	color: #fff !important;
}
#tienda-prod .padd-25por{
	padding: 0 0px !important;
}
#tienda-prod .select-style2 select option{
	font-size: 10px !important;
	/*background: transparent !important;*/
}
#tienda-prod .select-style2 select:focus *{
	font-size: 10px !important;
	background: transparent !important;
}
/**7B6A58*/
.price-cuotas{
	font-size: 17px !important;
	margin-top: 20px !important;
	color: #7B6A58 !important;
	font-weight: 600 !important;
}

/* Cuotas sin interés — ficha de producto */
.cuotas-deet-wrap {
    margin: 14px 0 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cuota-deet-row {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 16px;
    color: #333;
}
.cuota-deet-row .cuota-icon {
    color: #7B6A58;
    font-size: 17px;
    flex-shrink: 0;
}
.cuota-deet-row strong {
    font-size: 17px;
    color: #111;
}
.cuota-label-si {
    background: #eef3e0;
    color: #6B8E23;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-left: 2px;
}

/* Envío gratis — ficha de producto (panel de info) */
.envio-gratis-deet {
    display: inline-flex;
    align-items: center;
    background: #6B8E23;
    color: #fff;
    border: none;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 4px 0 18px;
}
#tienda-prod .select-style2 select:focus {
  
	color: #fff !important;
	border-radius: 0 !important;
}

#tienda-prod .select-style2 select:focus *{  
	/*font-size: 13px !important;*/
	color: #000 !important;
	border-radius: 0 !important;
}

.select_prod_fil ul li.option {
  z-index: 1;
  display: none;
  list-style: none;
}

.select_prod_fil ul li:first-child {
  display: block;
}

.select_prod_fil ul li {
  /*cursor: default;*/
	color: #fff;
	font-size: 15px;
	padding: 10px 15px;
}
.select_prod_fil ul {
	background: #000;
	border: 1px solid;
}
.select_prod_fil ul li a{
	color: #fff;
	font-size: 15px;
}
.select_prod_fil ul li i{
	color: #fff;
	font-size: 18px;
	margin-top: 3px;
	position: absolute;
	right: 20px;
	font-weight: 400;
}
.select_prod_fil ul .option_open{
	color: #000;
	background: #fff;
	cursor: pointer;
}
.select_prod_fil ul .option_open:hover{
	background: #eee;
}
.select_prod_fil{
z-index: 99;
width: 100%;
position: absolute;
/*margin: 15px;*/
}
.select_prod_fil .mr-5{
	margin-right: 5px;
}
.select_prod_fil .ml-5{
	margin-right: 5px;
}
.select_prod_fil .mrl-5{
	margin-right: 5px;
}
@media (max-width: 992px) {
	.select_prod_fil .mr-5{
		margin-right: 0;
	}
	.select_prod_fil .ml-5{
		margin-right: 0;
	}
	.select_prod_fil .mrl-5{
		margin-right: 0;
	}
	.select_prod_fil{
		z-index: 99;
		width: 100%;
		margin: 10px 0;
		position: relative;
	}
	.page-title {
    padding-bottom: 15px;
	}
}

.alto_video_marca{
	min-height: 250px;
  	max-height: 510px !important;
}
.bannersEventos .ult_bloque_blog{
  	min-height: auto !important;
}
.bannersEventos .img-portada-destacado-cc{
    max-height: 510px !important;
}

/* === Cancelar overrides legacy de style.css para cards en hotsale/eventos === */
.bannersEventos .home-product {
    min-height: unset !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 8px !important;
}
.bannersEventos .home-product:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,0.09) !important;
    border-color: #d0d0d0 !important;
}
.bannersEventos .home-product .product-name a {
    min-height: unset !important;
}
.bannersEventos .price {
    font-size: inherit !important;
}

/* === MOBILE: grilla 2 columnas en /tienda === */
@media (max-width: 767px) {
    .product-listing {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .product-listing > .producto-bloque {
        width: 100% !important;
        float: none !important;
        height: auto !important;
        margin-bottom: 10px !important;
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
    .product_size_custom {
        min-height: 150px;
        max-height: 150px;
    }
    .product-image-center-custom {
        min-height: 150px;
        max-height: 150px;
    }
    .product_info_custom {
        min-height: auto;
        max-height: none;
        padding: 5px 0;
    }
    .product_info_custom .product-name a {
        font-size: 11px;
    }
    .product_info_custom .price {
        font-size: 12px;
    }
    .producto-boton-color {
        font-size: 10px !important;
        padding: 2px 6px !important;
    }

    /* === HOME: carouseles con producto siguiente visible === */
    /* En mobile OWL no se inicializa, los items quedan como flex */
    #ofertas-carousel,
    #ofertas-carousel-2,
    #ofertas-carousel-3,
    #ofertas-carousel-4 {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 10px;
        padding: 0 15px 10px;
    }
    #ofertas-carousel::-webkit-scrollbar,
    #ofertas-carousel-2::-webkit-scrollbar,
    #ofertas-carousel-3::-webkit-scrollbar,
    #ofertas-carousel-4::-webkit-scrollbar {
        display: none;
    }
    /* Cada item ocupa 68%: se ve 1 completo + ~32% del siguiente */
    #ofertas-carousel > .home-product,
    #ofertas-carousel-2 > .home-product,
    #ofertas-carousel-3 > .home-product,
    #ofertas-carousel-4 > .home-product {
        flex: 0 0 68% !important;
        scroll-snap-align: start;
        margin: 0 !important;
    }

    /* Reducir padding de secciones de productos en mobile */
    .prod-home-seccion {
        padding-top: 16px !important;
        padding-bottom: 16px !important;
    }

    /* En mobile la fila vuelve a ser block (columnas apiladas) */
    .prod-home-row {
        display: block !important;
    }
    /* Sección alternada (bloque 2): en mobile mostrar imagen primero, luego carousel */
    .prod-home-row-alt {
        display: flex !important;
        flex-direction: column-reverse;
    }
    /* Resetear el peek de desktop: sin padding ni overflow clip */
    .prod-home-row > .col-md-8 {
        padding-right: 0 !important;
        overflow: visible;
    }
    .prod-home-seccion .owl-carousel-ofertas {
        overflow: visible;
    }
    /* En mobile: mostrar imagen lateral arriba, carousel abajo */
    .prod-home-img-col {
        display: block !important;
        width: 100% !important;
    }
    .prod-home-img-col .img-portada-destacado {
        width: 100% !important;
        height: auto !important;
        object-fit: unset !important;
        border-radius: 4px;
        margin-bottom: 14px;
    }
    /* El col del carousel toma el ancho completo */
    .prod-home-row > .col-md-8 {
        width: 100% !important;
    }
}

/* === Hover CSS puro para simple-dropdowns (más fiable que el plugin JS) === */
.navbar .simple-dropdown:hover > .dropdown-menu {
    display: block !important;
}

/* === Dropdowns simples del menú === */
.navbar .dropdown-menu {
    background: #fff !important;
    border: 1px solid #e8e8e8 !important;
    border-top: 2px solid #111 !important;
    box-shadow: 0 8px 28px rgba(0,0,0,0.09) !important;
    border-radius: 0 0 4px 4px !important;
    padding: 6px 0 8px !important;
    min-width: 220px;
    width: max-content;
    max-width: 340px;
}
.dropdown.simple-dropdown .dropdown-menu {
    padding-top: 12px !important;
    margin-top: -12px !important;
}
.navbar .dropdown-menu li a {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    color: #444 !important;
    padding: 10px 22px !important;
    line-height: 1.4 !important;
    display: block !important;
    background: transparent !important;
    border-bottom: 1px solid #f5f5f5 !important;
    transition: background 0.12s, color 0.12s, padding-left 0.12s !important;
    white-space: nowrap !important;
}
.navbar .dropdown-menu li:last-child a { border-bottom: none !important; }
.navbar .dropdown-menu li a:hover {
    background: #f8f8f8 !important;
    color: #111 !important;
    padding-left: 28px !important;
}

/* === Mega menu — CSS Grid 3 columnas === */
.mega-menu-full {
    background: #fff !important;
    border: none !important;
    border-top: 2px solid #111 !important;
    box-shadow: 0 10px 36px rgba(0,0,0,0.10) !important;
    border-radius: 0 !important;
    gap: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
/* Solo cuando Bootstrap lo muestra (.in = collapse visible, .open = hover dropdown) */
.mega-menu-full.in,
.navbar .open > .mega-menu-full {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    row-gap: 0 !important;
    align-items: stretch !important;
    /* El ancho lo fija SetResizeHeaderMenu() (ancho del container); nunca más que la pantalla */
    min-width: 0 !important;
    max-width: calc(100vw - 40px) !important;
    box-sizing: border-box !important;
    /* Si no entra en la pantalla, scrollea dentro del menú sin mover la página
       (mover la página achica el header y el menú se cierra) */
    max-height: calc(100vh - 225px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
}
.shrink-nav .open > .mega-menu-full {
    max-height: calc(100vh - 90px) !important;
}
/* Columna individual */
.mega-menu-column {
    width: auto !important;
    float: none !important;
    padding: 12px 22px 14px !important;
    border-right: 1px solid #f0f0f0 !important;
    box-sizing: border-box !important;
}
.mega-menu-column:last-child,
.mega-menu-column:nth-child(4n) { border-right: none !important; }
/* Separador horizontal entre filas */
.mega-menu-column:nth-child(n+5) { border-top: 1px solid #f0f0f0 !important; }

/* Título de categoría — especificidad alta para ganar a .navbar .dropdown-menu li a */
.navbar .mega-menu-full .dropdown-header {
    display: block !important;
    padding: 0 0 7px !important;
    margin-bottom: 6px !important;
    border-bottom: 1px solid #e8e8e8 !important;
}
.navbar .mega-menu-full .dropdown-header a {
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #111 !important;
    padding: 0 !important;
    display: block !important;
    border: none !important;
    background: transparent !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
}
.navbar .mega-menu-full .dropdown-header a:hover {
    color: #555 !important;
    background: transparent !important;
    padding-left: 0 !important;
}

/* Sub-items */
.mega-sub-menu { padding: 0 !important; margin: 0 !important; }
.mega-sub-menu li { list-style: none !important; }
/* Especificidad alta para ganarle a .navbar .dropdown-menu li a */
.navbar .mega-menu-full .mega-sub-menu li a {
    font-size: 12px !important;
    font-weight: 400 !important;
    letter-spacing: 0.1px !important;
    text-transform: none !important;
    color: #555 !important;
    padding: 3px 0 !important;
    display: block !important;
    border: none !important;
    background: transparent !important;
    transition: color 0.12s, padding-left 0.12s !important;
    white-space: normal !important;
    line-height: 1.35 !important;
}
.navbar .mega-menu-full .mega-sub-menu li a:hover {
    color: #111 !important;
    padding-left: 6px !important;
    background: transparent !important;
}

/* Anular min-height:150px global que causa espacio en blanco en el mega-menu */
.mega-menu-full li ul {
    min-height: 0 !important;
    margin-bottom: 0 !important;
}
/* Divisor Bootstrap dentro de dropdowns */
.navbar .dropdown-menu .divider {
    height: 1px !important;
    background-color: #e8e8e8 !important;
    margin: 4px 0 !important;
    overflow: hidden !important;
    opacity: 1 !important;
}

/* VER TODOS */
.mega-menu-column > ul:last-child { margin-top: 4px !important; padding: 0 !important; }
.mega-menu-column > ul:last-child li { list-style: none !important; }
.mega-menu-column > ul:last-child li a,
.navbar .mega-menu-full .mega-menu-column > ul:last-child li a {
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #888 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    padding: 4px 0 0 !important;
    display: inline-block !important;
    background: transparent !important;
    border: none !important;
}
.mega-menu-column > ul:last-child li a:hover,
.navbar .mega-menu-full .mega-menu-column > ul:last-child li a:hover {
    color: #333 !important;
    padding-left: 0 !important;
    background: transparent !important;
}

/* === Botones flotantes — tamaño uniforme === */
.buy-theme-fb a,
.buy-theme-in a,
.buy-theme-carrito a {
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    overflow: hidden;
    gap: 0;
}
/* Al hover el carrito se expande */
.buy-theme-carrito:hover a {
    width: auto !important;
    padding: 0 14px !important;
    gap: 8px !important;
}

/* === TOPBAR — estilo Juleriaque: buscador | logo | íconos === */

/* Hamburger del topbar: oculto en desktop, visible en mobile */
.topbar-hamburger { display: none; }

/* Ocultar el logo viejo (ahora está en el topbar) */
.logo-col-wrapper { display: none !important; }

/* Ocultar restos del accesos anterior */
.cant_compra { display: none !important; }
.search-cart-header .subtitle { display: none !important; }
.nav-accesos-wrap { display: none !important; }

/* Wrapper del search-cart-header: sin padding extra */
.search-cart-header {
    padding: 0 !important;
    float: none !important;
    width: 100%;
}

/* Flex container principal: search | (logo absoluto) | icons */
.topbar-flex {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 145px;
    position: relative;
    padding: 0 4px;
}

/* --- BUSCADOR --- */
.topbar-search-form {
    display: flex !important;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px 12px;
    width: 280px;
    background: #fff;
    transition: border-color 0.2s;
    gap: 8px;
    flex-shrink: 0;
}
.topbar-search-form:focus-within {
    border-color: #aaa;
    background: #fff;
}
.topbar-search-form input[type="text"] {
    flex: 1;
    border: none !important;
    background: transparent !important;
    font-size: 12px !important;
    color: #333 !important;
    outline: none !important;
    width: 200px;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    line-height: 1;
}
.topbar-search-form input[type="text"]::placeholder { color: #bbb !important; }
.topbar-search-form button[type="submit"] {
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    color: #666;
    padding: 0 !important;
    font-size: 13px;
    line-height: 1;
    flex-shrink: 0;
}
.topbar-search-form button[type="submit"]:hover { color: #111; }

/* --- LOGO CENTRADO (absoluto, no participa en el flex) --- */
.topbar-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}
.topbar-logo a {
    display: block;
    line-height: 1;
    pointer-events: all;
    outline: none;
}
.topbar-logo img {
    height: 130px;
    width: auto;
    display: block;
}

/* --- ICONOS DERECHA --- */
.topbar-icons {
    display: flex !important;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}
.topbar-icon-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px;
    height: 40px;
    color: #111 !important;
    text-decoration: none !important;
    position: relative;
    border-radius: 50%;
    transition: background 0.15s;
}
.topbar-icon-link .fa { font-size: 18px !important; }
.topbar-icon-link:hover { background: rgba(0,0,0,0.06); color: #111 !important; }

/* nav-icon-wrap y badge para el carrito */
.nav-icon-wrap { position: relative; display: block; line-height: 1; }
.nav-cart-badge {
    position: absolute;
    top: -5px;
    right: -6px;
    background: #111;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.top-cart.nav-icon-item {
    position: relative;
    float: none !important;
}
/* Dropdown del carrito ajustado al nuevo topbar */
.topbar-flex .cart-content {
    top: 48px !important;
}

/* Cart preview dropdown — fondo blanco, limpio */
.cart-content {
    background: #fff !important;
    border: 1px solid #e0e0e0 !important;
    box-shadow: 0 8px 28px rgba(0,0,0,0.10) !important;
    width: 300px !important;
    border-radius: 0 0 3px 3px !important;
    padding: 18px 20px !important;
}
.cart-content ul.cart-list { color: #333 !important; }
.cart-content ul.cart-list li {
    border-bottom: 1px solid #f5f5f5 !important;
    padding-bottom: 10px;
    margin-bottom: 8px;
}
.cart-content ul.cart-list li:last-child { border-bottom: none !important; }
.cart-content ul.cart-list a { color: #333 !important; }
.cart-content ul.cart-list a img { border: 1px solid #ebebeb; border-radius: 2px; }
.cart-content ul.cart-list .quantity { color: #888; font-size: 12px; margin-top: 4px; }
.cart-content ul.cart-list a.remove { color: #ccc !important; font-size: 18px; }
.cart-content ul.cart-list a.remove:hover { color: #777 !important; }
.cart-content .total {
    color: #555 !important;
    border-top: 1px solid #ebebeb !important;
    border-bottom: 1px solid #ebebeb !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 10px 0 !important;
    margin-top: 4px !important;
}
.cart-content .total .amount {
    color: #111 !important;
    font-weight: 700;
    font-size: 13px;
}
.cart-content .buttons { margin-top: 12px !important; }
.cart-content .buttons a {
    background: #111 !important;
    color: #fff !important;
    border: 1px solid #111 !important;
    border-radius: 2px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    padding: 11px 0 !important;
    margin-bottom: 7px !important;
    transition: background 0.2s !important;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    text-decoration: none !important;
}
.cart-content .buttons a:last-child {
    background: #fff !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
    margin-bottom: 0 !important;
}
.cart-content .buttons a:last-child:hover {
    background: #f5f5f5 !important;
    color: #111 !important;
}
.cart-content .buttons a:first-child:hover {
    background: #333 !important;
    color: #fff !important;
}

/* Shrink-nav: navbar se achica al scrollear */
.shrink-nav .topbar-flex {
    height: 52px;
}
.shrink-nav .topbar-logo img {
    height: 40px;
}
.shrink-nav .topbar-flex .cart-content {
    top: 38px !important;
}

/* === Redes sociales flotantes === */
.buy-theme-fb,
.buy-theme-in {
    right: 0 !important;
    border-radius: 6px 0 0 6px !important;
    opacity: 1 !important;
    z-index: 9999 !important;
    transition: filter 0.2s ease, transform 0.15s ease !important;
    overflow: hidden;
    box-shadow: -2px 2px 8px rgba(0,0,0,0.18);
}
.buy-theme-fb { background: #111 !important; }
.buy-theme-in { background: #111 !important; }
.buy-theme-fb:hover,
.buy-theme-in:hover {
    right: 0 !important;
    filter: brightness(1.15);
    transform: translateX(-3px);
}
.buy-theme-fb span,
.buy-theme-in span { display: none !important; }
.buy-theme-fb a,
.buy-theme-in a {
    padding: 11px 13px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.buy-theme-fb a i,
.buy-theme-in a i { font-size: 17px !important; }

/* === Carrito flotante === */
.buy-theme-carrito {
    top: 170px !important;
    right: 0 !important;
    background: #111 !important;
    border-radius: 6px 0 0 6px !important;
    box-shadow: -2px 2px 8px rgba(0,0,0,0.18) !important;
    z-index: 9999 !important;
    transition: filter 0.2s ease, transform 0.15s ease !important;
    overflow: hidden;
}
.buy-theme-carrito:hover {
    right: 0 !important;
    filter: brightness(1.3);
    transform: translateX(-3px);
}
/* font-size:0 oculta el texto "Carrito - (x) Items" que es nodo de texto directo */
/* letter-spacing:0 evita que el letter-spacing heredado cree ancho fantasma en texto invisible */
.buy-theme-carrito a {
    font-size: 0 !important;
    letter-spacing: 0 !important;
    padding: 11px 13px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0;
    white-space: nowrap;
    overflow: hidden;
    transition: gap 0.25s ease !important;
}
.buy-theme-carrito:hover a { gap: 8px !important; }
.buy-theme-carrito a i { font-size: 17px !important; flex-shrink: 0; }
/* El span "Click para finalizar" aparece al hover */
.buy-theme-carrito span {
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    opacity: 0 !important;
    max-width: 0 !important;
    overflow: hidden;
    white-space: nowrap;
    transition: opacity 0.25s ease, max-width 0.3s ease !important;
    padding: 0 !important;
    position: static !important;
    top: auto !important;
    border-left: none !important;
}
.buy-theme-carrito:hover span {
    opacity: 1 !important;
    max-width: 220px !important;
    padding: 0 0 0 8px !important;
    border-left: 1px solid rgba(255,255,255,0.3) !important;
}

/* === BOTON WHATSAPP FLOTANTE === */
.btn-whatsapp-flotante {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 9999;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}
.btn-whatsapp-flotante i {
    color: #fff;
    font-size: 30px;
    line-height: 1;
}
.btn-whatsapp-flotante:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}
@media (max-width: 767px) {
    /* Mostrar el botón scroll-to-top en mobile */
    .scrollToTop {
        display: block !important;
    }
    .btn-whatsapp-flotante {
        bottom: 90px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .btn-whatsapp-flotante i {
        font-size: 26px;
    }
}

/* ===== HEADER MOBILE — estilo Juleriaque ===== */
@media (max-width: 767px) {

    /* 1. Wrapper del menú: ocultar del layout pero mantener en DOM */
    #mobile-menu-toggle-wrap {
        display: none !important;
    }
    #mobile-menu-toggle-wrap .navbar-header {
        display: none !important;
    }
    /* Overlay fijo de menú mobile */
    #mobile-nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(27, 22, 28, 0.97);
        z-index: 1035;
        overflow-y: auto;
        padding: 10px 0 20px;
    }
    #mobile-nav-overlay.open {
        display: block;
    }
    #mobile-nav-overlay ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    #mobile-nav-overlay > ul > li {
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    #mobile-nav-overlay > ul > li > a,
    #mobile-nav-overlay > ul > li > div > a:first-child {
        display: block;
        color: #fff !important;
        font-size: 14px !important;
        letter-spacing: 0.5px;
        padding: 14px 20px !important;
        text-transform: uppercase;
        outline: none !important;
    }
    #mobile-nav-overlay a:focus,
    #mobile-nav-overlay button:focus {
        outline: none !important;
        box-shadow: none !important;
    }
    #mobile-nav-overlay .dropdown-menu {
        position: static !important;
        float: none !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 0 8px 20px !important;
        display: none;
    }
    #mobile-nav-overlay .dropdown-menu.in,
    #mobile-nav-overlay .dropdown-menu.show {
        display: block !important;
    }
    #mobile-nav-overlay .dropdown-menu li a {
        color: rgba(255,255,255,0.75) !important;
        font-size: 12px !important;
        padding: 8px 10px !important;
    }
    #mobile-nav-overlay .mob-submenu li a {
        color: rgba(255,255,255,0.72) !important;
        font-size: 13px !important;
        padding: 8px 0 !important;
        display: block !important;
    }

    /* 2. Topbar: 2 filas — logo+iconos arriba, buscador abajo */
    .topbar-flex {
        flex-wrap: wrap !important;
        height: auto !important;
        padding: 7px 12px !important;
        gap: 6px;
    }

    /* 3. Hamburger topbar: primera fila, izquierda */
    .topbar-hamburger {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        order: 1;
        background: #111 !important;
        border: none;
        padding: 6px 7px;
        border-radius: 3px;
        cursor: pointer;
        flex-shrink: 0;
        align-self: center;
    }
    .topbar-hamburger .icon-bar {
        display: block;
        width: 16px;
        height: 2px;
        background: #fff;
        margin: 2px 0;
    }
    .topbar-hamburger .icon-bar:first-child { margin-top: 0; }

    /* 4. Logo: primera fila, centrado */
    .topbar-logo {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        order: 2;
        flex: 1;
        display: flex !important;
        justify-content: center;
        align-items: center;
        pointer-events: all;
    }
    .topbar-logo img {
        height: 62px !important;
    }

    /* 5. Iconos: primera fila, derecha */
    .topbar-icons {
        display: flex !important;
        order: 3;
        flex-shrink: 0;
        align-self: center;
    }
    .top-cart.nav-icon-item {
        display: block !important;
        float: none !important;
    }
    .top-cart .topbar-icon-link {
        display: flex !important;
    }

    /* 6. Buscador: segunda fila, ancho completo */
    .topbar-search-form {
        order: 4;
        flex-basis: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 7. Shrink-nav: no colapsar en mobile */
    .shrink-nav .topbar-flex {
        height: auto !important;
    }
    .shrink-nav .topbar-logo img {
        height: 48px !important;
    }

    /* 8. Accordion menu: top ajustado a nueva altura (~115px) */
    .navbar .accordion-menu {
        top: 115px !important;
    }
    .shrink-nav .accordion-menu {
        top: 115px !important;
    }

    /* 9. Cart dropdown: alineado a la derecha */
    .topbar-flex .cart-content {
        right: 0 !important;
        left: auto !important;
    }

    /* 10. Offset del contenido al alto del nuevo header */
    .content-top-margin {
        margin-top: 115px !important;
    }

    /* 11. Mostrar carrito flotante en mobile */
    .buy-theme-carrito.xs-display-none {
        display: block !important;
    }

    /* 12. Breadcrumb: 2 líneas limpias en mobile */
    .breadcrumb {
        overflow-x: visible !important;
        white-space: normal !important;
        padding: 4px 0 4px 15px !important;
        margin: 0 !important;
    }
    .breadcrumb ul li {
        letter-spacing: 0 !important;
        font-size: 10px !important;
    }
    /* Nombre del producto en línea propia */
    .breadcrumb ul li:last-child {
        display: block !important;
        margin-top: 2px;
    }
    .breadcrumb ul li:last-child::before {
        display: none !important;
    }
    .page-title-small { padding: 10px 0 !important; }
}