/* Generales */
.container {
	width: 100%;
}
textarea {
    margin: 0 10px;
}

/* Sustitución de glyphicons por Font Awesome (J5 ya incluye FA) */
.fa, .fas, .far, .fal, .fab {
    vertical-align: middle;
}
.btn-primary {
    background-color: #0077B3;
    border-color: #0077B3;
}
.btn-primary:hover {
    background-color: #005f8a;
    border-color: #005f8a;
}

.header_superior {
	padding: 3px 0;
	background-color: rgba(249, 249, 249, 0.8);
}
.separador {
	height: 10px;
}
.breadcrumb {
	background-color: rgba(249, 249, 249, 0.8);
}

button[disabled],
input[disabled] {
	opacity: 0.3;
}

/* Botones */
.controls button {
    margin: 10px 0;
}

/* Módulo Mi cuenta */
.Pop-up {
	display: none;
    position: absolute;
    z-index: 1000;
    border: 1px solid #ccc;
    padding: 15px;
    margin-top: 10px;
    border-radius: 10px;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
    background-color: #f7f6f4;
	text-align: left;
}
.Pop-up h3 {
	font-family: Daydreamer, sans-serif;
	font-size: 32px;
	text-align: center;
	margin-top: 10px;
}
.Pop-up ul {
	list-style: none;
	padding: 0;
}

#mod_virtuemart_search {
	 margin-left: 10px;
}

/* Logo */
.Modulo_Logo {
    margin: 10px auto;
    text-align: center;
}
.Logo {
    font-family: CaviarDreams, sans-serif;
    font-size: 4em;
    cursor: pointer;
}
.Logo img {
    margin-right: 20px;
}

.envio_gratis img {
    padding-left: 150px;
}

#vmCartModule {
    text-align: right;
}

/* Menú Offcanvas (DJ-Megamenu adaptado) */
.dj-megamenu-offcanvas {
    vertical-align: middle;
}

.dj-megamenu-offcanvas a.dj-mobile-open-btn {
    color: #009a57;
    display: block;
    font-weight: bold;
    padding: .25em .5em;
    text-align: right;
}

.dj-megamenu-offcanvas a.dj-mobile-open-btn::before {
    content: "Menú";
    font-size: .7em;
    margin-right: .5em;
}

/* Sustitución de iconos de menú por Font Awesome */
.dj-megamenu-offcanvas a.dj-mobile-open-btn .fa-bars::before {
    content: "\f0c9"; /* icono bars FA */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
}

.dj-offcanvas-content ul.dj-mobile-light li.dj-mobileitem.parent > a span.toggler::before {
    content: "\f067"; /* plus */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}
.dj-offcanvas-content ul.dj-mobile-light li.dj-mobileitem.parent.active > a span.toggler::before {
    content: "\f068"; /* minus */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

ul.dj-megamenu {
    background-color: #009a57;
    display: flex;
    justify-content: center;
}

ul.dj-megamenu li.dj-up a.dj-up_a {
    border: none;
    font-size: 1.1em;
    height: auto;
}

ul.dj-megamenu li.dj-up .dj-subwrap {
    background-color: gray;
}

ul.dj-megamenu li.dj-up .dj-submenu a {
    background-color: #4499cb;
    color: #ffffff;
}

/* Slider */
.vt_nivo_slider {
	margin-bottom: 50px;
}

/* Componente de usuarios */
.login, .profile-edit, .reset-confirm, .reset-complete {
    display: table;
    margin: 0 auto;
}

label.hasPopover a.modal {
    display: inline;
    position: static;
    overflow: visible;
}

/* Radio inputs en Bootstrap 5 */
.form-check-input[type="radio"] {
    margin-left: 0;
}

/* Virtuemart categorías */
.CategoriaVirtuemart {
	text-align: center;
}
.CategoriaVirtuemartImg img {
	max-width: 150px;
}
.category_description {
	text-align: center;
}
.CategoriasEtiqueta {
	text-align: center;
	padding: 0 0 15px;
	border-bottom: solid 1px aliceblue;
}
.CategoriasEtiqueta h2 {
	font-size: 1em;
	display: inline-block;
	padding: 0 10px;
	text-transform: uppercase;
}
.CategoriasEtiqueta h2 a {
	color: white;
    padding: 8px 15px;
    background: #009a57;
    border-radius: 15px;
}
.CategoriaAnterior {
	text-align: center;
}
.CategoriaAnterior h2 {
	font-size: 1em;
	display: inline;
}
.featured-view, .discontinued-view, .latest-view, .topten-view, .recent-view, .related-products-view {
	text-align: center;

}


.featured-view h3, .discontinued-view h3, .latest-view h3, .topten-view h3, .recent-view h3, .related-products-view h3 {
	font-size: 2.5em;
	margin-bottom: 20px;
	background: gray;
	padding: 5px;
	color: white;

}

.featured-view > h4, .discontinued-view > h4, .latest-view > h4, .topten-view > h4, .recent-view > h4, .related-products-view > h4 {
	font-size: 2.5em;
	margin-bottom: 20px;
	background: gray;
	padding: 5px;
	color: white;

}

/* Lagout de producto */
.row-prod{
	padding:30px 0px;
	border-bottom: solid 1px #F3F1F1;
}

.vm-product-media-container{
	min-height : 150px;
}

.main-image img {
    max-height : 700px;

}

.product-price {
    text-align: center;
    float: none;
  }

/* Span compartir */
span.icono-compartir{
    padding: 0px 15px;
}


span.addtocart-button span.addtocart-button, span.addtocart-button input.addtocart-button, span.addtocart-button input.notify-button {
	display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;

}

.vm-button-correct {
   	background-color:#0077b3;

}
span.addtocart-button span.addtocart-button:hover, span.addtocart-button input.addtocart-button:hover, span.addtocart-button input.notify-button:hover {
    background-color: #286090;
    border-color: #204d74;
}
.vm-pagination {
    float: none;
}
.vm-page-counter {
    float: none;
}

/* Registro de usuarios */
.userfields_info {
    text-align: center;
    font-weight: 100;
    font-size: 2.0em;
}
.control-buttons{
	margin-bottom:30px;
}

/* Producto detalle */
.additional-images{
    padding: 10px 0;
    border-top: 1px solid;
    border-bottom: 1px solid;

}

.Mini-Imagen-Producto >a >img {
    width: 100%;

}
.Precio {
    font-size: 2.5em;
    padding: 20px;
}
.Precio >span{
    font-size: 0.6em;
}
.notify {
    background: gray;
    padding: 10px 15px;
    border-radius: 10px;
    color: white;
}

.cart-view h2 {

    font-size: 15px;
    margin: 10px 0;
    padding: 10px 0;
}

div .output-shipto label {
    margin:10px 20px;
}

div .output-shipto .radio input[type="radio"] {
    margin-left:-20px;
}

.checkout-button-top {
    margin-bottom: 15px;
}

.RegistroForm{
    margin-bottom:20px;
}

.nuevo_usuario {
    display:table;
}

span.vmshipment_cost.fee{
    font-size:0.8em;
    font-weight: normal;
}
.alert.alert-success.col-md-12 span.vmshipment_description{
    font-size:0.9em;
}

.ask-a-question-view {
    padding:0px;
}
.ask-a-question-view .product-summary {
    border-bottom: none;
    margin:0px;
}
.ask-button {
    background-color: #17338c;
    color: white;
    padding: 8px 10px;
    border-radius: 10px;
}


.PieDespues {
    margin-top: 25px;
}

/* Carro de la compra */
.vm-fieldset-pricelist .cart-images {
    display: inline-block;
    min-width: 45px;
    text-align: center;
}

.vm-fieldset-pricelist .coupon {
    font-size: 14px;
}
/* Blog */
.leading-0 {
    width: 80%;
    margin: auto;
}
.item-image {
    text-align: center;
}
.item-image img{
    width:80%;
}
.Articulo {
    width: 75%;
    margin: 0 auto;
}
.Articulo img, .columna img{
    max-width:90%;
}
.contenedor-video{
    margin: 0px auto;
    margin-top: 0px;
    width: 95%;
    text-align: center
}
.video-responsive{
        overflow: hidden;
        padding-bottom: 350px;
        position: relative;
        height: 0;
        max-width: 560px;
        margin: 0pc auto;
}

.moduletable a:hover {
    text-decoration: none;
} 

@media screen and (max-width:1200px){
    ul.dj-megamenu li.dj-up a.dj-up_a{
        padding: 0 10px;
    }
    button.dj-mobile-open-btn.dj-fa-no {
        display:block;
        padding:5px;
    }
    .Articulo {
        width: 100%;
    }
}
@media screen and (max-width: 986px) {
    .moduletable.login{
        margin-bottom: 15px;
        
    }
    
}
/* Media Pantalla pequeñas movil...  */
@media screen and (max-width: 480px) { /* xs */

    h1 {
        font-size:24px;
    }
    .carro_productos {
        font-size:0.8em;
        }
    .Logo {
        font-size: 3em;
    }
    .Modulo_Logo img{
        max-height: 75px;
    }
    .envio_gratis img {
        display:none;
    }

    .registration {
        width: 100%;
    }
    .SearchVirtuemart{
        margin: 15px 0;
    }

    #vmCartModule{
        text-align: center;
        margin: 15px 0;
    }
    .contenido-product{
        margin-top:50px;
        padding-top:15px;
        border-top:1px solid #F3F1F1;
    }
    .row-prod {
        padding: 0px 0px;
        border-bottom: none;
    }

    .disponibilidad-listadoProductos{
        display:none;
    }

    #com-form-login-username, #com-form-login-password{
        margin: 15px 0;
    }
    

}

/* Sobrescribir estilos de Virtuemart */
.spacer.product-container {
  border: transparent;
  margin: 2px;
}

/* Forzar que todas las imágenes dentro del contenido se adapten al ancho */
.com-content-category-blog__item img,
.article-content img,
.blog-item img,
.item-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* opcional: centra las imágenes */
}
