/* BODEGAS Linaje del Pago
    Estilos aplicados a la marca y página de producto */

/* General */
/* Un solo import para Poppins + Bodoni Moda (siempre al inicio del CSS) */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,wght@0,400;0,700;1,400&family=Poppins:wght@300;400;500;600;700&display=swap');

/* Variables normalizadas */
:root {
  --akrlinaje-font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --akrlinaje-title-font: 'Bodoni Moda', Georgia, 'Times New Roman', serif;
}

/* Uso sugerido */
body { font-family: var(--akrlinaje-font); }
h1, h2, .title, .page-title { font-family: var(--akrlinaje-title-font); }


.btncustom a {
    background: #C6B198;
    border-radius: 5px;
    font-family: var(--akrlinaje-font) !important;
}
.btncustom a span {
    color: #fff;
    font-weight: bold;
}
.btncustom a:hover {
    background: #333;
}
.btncustom a:hover span {
    color: #fff;
}

/* Miniatura */
.products .elementor-container.elementor-column-gap-default {
    padding: 0;
}
.miniProduct {
    background: #FFF;
    border: 1px solid #E3E3E3;
    border-radius: 5px;
    font-family: var(--akrlinaje-font) !important;
}
.nameMiniProduct {
    color: #000;
    text-transform: uppercase;
    font-family: var(--akrlinaje-font) !important;
}
h3.ce-product-name.elementor-heading-title > * {
    font-family: var(--akrlinaje-font) !important;
    font-size: 16px;
}
.priceMiniProduct > * {
    color: #C6B198;
    font-weight: bold;
}
.btncustomList a {
    background: #333;
    border-radius: 5px;
    width: 100% !important;
    border-radius: 5px;
}
.btncustomList a span {
    color: #fff;
    font-weight: bold;
    font-family: var(--akrlinaje-font) !important;
    font-size: 16px;
}
.btncustomList a:hover {
    background: #C6B198;
}
.btncustomList a:hover span {
    color: #fff;
}
.products .ce-product-image.elementor-image a {

}
@media (max-width: 1024x) {
}

@media (max-width: 450px) {
    .elementor.elementor-3170101.col-xs-6.col-sm-6.col-xl-3 {
        padding: 0 !important;
    }
}    


#product h1.h1 {
    font-family: var(--akrlinaje-title-font);
    font-size: 50px;
    font-weight: bold;
    margin-top: 3rem;
}
#product span.current-price-value {
    color: #C6B198;
    font-size: 30px;
    font-weight: bold;
}
.product-prices div {
    margin-bottom: 0.2rem;
}
span.input-group-btn-vertical {
    display: none !important;
}
.product-quantity #quantity_wanted {
    width: 5rem;
    height: auto;
    padding: 0.6rem 1rem;
    color: #232323;
    background-color: #d9d9d9d6;
    text-align: center;
    border-radius: 10px;
    border: 0px;
    font-weight: bold;
    font-size: 16px;
}
.product-actions .add-to-cart {
    padding: 0.4rem 1rem;
    line-height: inherit;
    border-radius: 5px;
    margin-left: 1rem;
    font-size: 16px;
    font-weight: bold;
    width: 240px;
    background-color: #333;
    color: #fff;
    height: auto;
}

.product-actions .add-to-cart:hover {
    background-color: #C6B198;
}
#descripcionTab {
    margin-top: 4rem;
    font-family: var(--akrlinaje-font);
    font-size: 16px;
}
#descripcionTab .elementor-container.elementor-column-gap-default {
    padding: 0;
}
.product-cover {
    margin-top: 2rem;
}
.elementor-accordion .elementor-accordion-item {
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}
.elementor-accordion-item {
    border-left: 0px !important;
    border-right: 0px !important;
}
#breadcrumbBodega a {
    color: #C6B198;
}
.youlikefooter h3 {
    font-family: var(--akrlinaje-title-font);
    font-size: 26px;
    text-align: center;
    width: 100%;
    text-transform: uppercase;
}
.denominacion {
    color: #C6B198;
    font-weight: bold;
    font-size: 14px;
}
/* === Ajuste del tamaño de la imagen de portada === */
.product-cover {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    overflow: hidden; /* evita que sobresalga */
  }
  
  .product-cover img {
    max-width: 100%;   /* se adapta al ancho del contenedor */
    height: auto;      /* mantiene proporción */
    object-fit: contain; /* asegura que no se recorte */
  }
  
@media (max-width: 991px) {
    #product h1.h1 {
        font-size: 30px;
    }
    h3.ce-product-name.elementor-heading-title > * {
        font-size: 14px !important;
    }
    .product-cover {
        margin-top: 0;
    }
    #product h1.h1 {
        font-family: var(--akrlinaje-title-font);
        font-size: 50px;
        font-weight: bold;
        margin-top: 1rem;
    }
    section#descripcionTab {
        margin-bottom: 2rem;
    }
}