/**
Theme Name: Astra Child Barist Coffee
Author: Pepe Márquez
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child-barist-coffee
Template: astra
*/

/* Tipografía */
h1 {
    text-transform: none !important;
}

/* Header */
.ast-logo-title-inline .site-logo-img {
    padding-right: 0;
}

@media (min-width: 923px) and (max-width: 951px) {
    header .custom-logo-link img,
    header .custom-mobile-logo-link img,
    header .astra-logo-svg {
        width: clamp(126px, calc(78.57vw - 599.3px), 148px);
        max-width: clamp(126px, calc(78.57vw - 599.3px), 148px);
    }
}

@media (max-width: 922px) {
    .ast-header-break-point .site-branding img,
    .ast-header-break-point .custom-logo-link img,
    .ast-header-break-point .site-logo-img .custom-mobile-logo-link img,
    .ast-header-break-point .astra-logo-svg {
        width: clamp(80px, calc(12.2vw + 13.6px), 126px);
        max-width: clamp(80px, calc(12.2vw + 13.6px), 126px);
    }
}

@media (max-width: 544px) {
    .ast-header-break-point .site-branding img,
    .ast-header-break-point .custom-logo-link img,
    .ast-header-break-point .site-logo-img .custom-mobile-logo-link img,
    .ast-header-break-point .astra-logo-svg {
        width: clamp(72px, calc(4.35vw + 56.35px), 80px);
        max-width: clamp(72px, calc(4.35vw + 56.35px), 80px);
    }
}

i.astra-icon.ast-icon-shopping-cart {
    display: flex;
}

.ast-builder-layout-element.site-header-focus-item.ast-header-woo-cart {
    padding-left: 0;
}

.ast-site-header-cart,
.woocommerce .ast-site-header-cart {
    margin-bottom: -6px;
    margin-right: 4px;
}

.astra-cart-drawer {
    height: 100dvh;
}

body.admin-bar #astra-mobile-cart-drawer {
    padding-top: 120px;
}

#astra-mobile-cart-drawer {
    padding-top: 66px;
}

.woocommerce .widget_shopping_cart .cart_list li,
.woocommerce.widget_shopping_cart .cart_list li {
    padding: 1.2em 21px 1.2em 5em;
}

.astra-cart-drawer .astra-cart-drawer-close {
    right: 5px;
}

/* Fin Header */

.home.page-id-296 .entry-content>.home-alt-section.home-alt-white::before {
    background: transparent !important;
}

#nav_next_def_free #default_next {
    display: none;
}


/* Grid: permite varias filas si no cabe en una */
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    /* ↓ antes 240px */
    column-gap: 20px;
    /* ↓ antes 32px */
    row-gap: 20px;
    /* igual separación vertical */
    align-items: center;
    background: transparent;
}

.benefit {
    display: flex;
    align-items: center;
    /* icono y texto centrados verticalmente */
    justify-content: flex-start;
    gap: 10px;
    /* ↓ antes 14px */
    text-align: left;
}

.benefit img {
    width: 52px;
    /* ligeramente menor si quieres meter más por fila */
    height: 52px;
    object-fit: contain;
    flex: 0 0 auto;
}

.benefit h4 {
    margin: 0;
    line-height: 1.35;
    font-weight: 700;
    font-size: clamp(15px, 1.4vw, 20px);
}

/* En móviles muy estrechos, permite tarjetas más compactas */
@media (max-width: 480px) {
    .benefits {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    }

    .benefit img {
        width: 48px;
        height: 48px;
    }
}


/* Página de categoría de producto */
.tax-product_cat.ast-separate-container #primary {
    margin: 2rem 0;
}

@media (max-width: 480px) {
    .tax-product_cat.ast-separate-container #primary {
        margin: 1rem 0;
    }
}

.barist-cafes-archive-intro {
    max-width: 1180px;
    margin: 2rem auto 0rem;
    padding: 0 2rem;
}

.barist-cafes-recommender-card {
    display: flex;
    align-items: center;
    gap: 28px;
    width: min(100%, 680px);
    min-height: 224px;
    margin: 0 auto;
    padding: 22px 40px 22px 22px;
    border-radius: 38px;
    background: #fbeaed;
    color: #2b1720;
}

.barist-cafes-recommender-card,
.barist-cafes-recommender-card * {
    box-sizing: border-box;
}

.barist-cafes-recommender-card__mascot {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 126px;
    height: 180px;
    padding: 12px 16px;
    border-radius: 24px;
    background: #fff;
    overflow: hidden;
}

.barist-cafes-recommender-card__mascot-image {
    display: block;
    width: auto;
    max-width: none;
    height: 156px;
    object-fit: contain;
    object-position: center;
}

.barist-cafes-recommender-card__mascot span {
    color: #e0184d;
    font-family: 'Cooper', serif;
    font-size: 1rem;
    font-weight: 900;
    line-height: 0.92;
    text-align: center;
}

.barist-cafes-recommender-card__content h2 {
    margin: 0 0 0.5rem;
    color: #d60b41;
    font-family: 'Cooper', serif;
    font-size: clamp(1.75rem, 3.1vw, 2.25rem);
    font-weight: 900;
    line-height: 1;
    text-transform: none;
}

.barist-cafes-recommender-card__content p {
    max-width: 440px;
    margin: 0 0 0.9rem;
    color: #505050;
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.35;
}

.barist-cafes-recommender-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 350px);
    min-height: 68px;
    padding: 0.75rem 1.55rem;
    border: 0;
    border-radius: 18px;
    background: #b42041;
    color: #fff !important;
    cursor: pointer;
    font-family: 'Cooper', serif;
    font-size: clamp(1.28rem, 2.25vw, 1.65rem);
    font-weight: 900;
    line-height: 1;
    text-decoration: none !important;
    transition: background 180ms ease, transform 180ms ease;
}

.barist-cafes-recommender-card__cta:hover,
.barist-cafes-recommender-card__cta:focus,
.barist-cafes-recommender-card__cta:focus-visible {
    background: #8f1934;
    color: #fff !important;
    outline: none;
    transform: translateY(-1px);
}

.barist-cafes-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 3rem;
    margin-bottom: 0rem;
}

.barist-cafes-tabs__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    min-height: 42px;
    padding: 0.65rem 1.3rem;
    border: 1.5px solid #2b1720;
    border-radius: 999px;
    background: #fff;
    color: #2b1720;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.barist-cafes-tabs__link:hover,
.barist-cafes-tabs__link:focus,
.barist-cafes-tabs__link:focus-visible,
.barist-cafes-tabs__link.is-active {
    border-color: #b42041;
    background: #b42041;
    color: #fff !important;
    outline: none;
    transform: translateY(-1px);
}

.ast-separate-container .ast-woocommerce-container {
    padding: 0 2rem 2rem 2rem;
}

@media (max-width: 768px) {
    .ast-separate-container .ast-woocommerce-container {
        padding: 0 1rem 1rem 1rem;
    }
}

.woocommerce-pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.woocommerce ul.products li.product .astra-shop-summary-wrap {
    text-align: center;
}

.woocommerce ul.products li.product .astra-shop-thumbnail-wrap {
    position: relative;
}

.woocommerce ul.products li.product .barist-product-card-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 26px;
    margin-bottom: 10px;
}

.woocommerce ul.products li.product .barist-product-card-tag {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 5px 11px;
    border-radius: 999px;
    background: #342417;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* Card de producto */
.woocommerce-js ul.products li.product,
.woocommerce-page ul.products li.product {
    margin-bottom: 1rem !important;
}

.woocommerce ul.products li.barist-cafes-products-section-title,
.woocommerce-page ul.products li.barist-cafes-products-section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    clear: both;
    grid-column: 1 / -1;
    width: 100% !important;
    max-width: 100% !important;
    margin: 2.3rem 0 1.1rem !important;
    padding: 0 !important;
    list-style: none;
}

.woocommerce ul.products li.barist-cafes-products-section-title:first-child,
.woocommerce-page ul.products li.barist-cafes-products-section-title:first-child {
    margin-top: 0.6rem !important;
}

.woocommerce ul.products li.barist-cafes-products-section-title::after,
.woocommerce-page ul.products li.barist-cafes-products-section-title::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: rgba(43, 23, 32, 0.42);
}

.woocommerce ul.products li.barist-cafes-products-section-title h2,
.woocommerce-page ul.products li.barist-cafes-products-section-title h2 {
    flex: 0 0 auto;
    margin: 0;
    color: #e0184d;
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
    font-weight: 800;
    line-height: 1.1;
    text-transform: none;
}

@media (max-width: 768px) {
    .barist-cafes-archive-intro {
        margin-top: 1.25rem;
        margin-bottom: 1rem;
        padding: 0 1rem;
    }

    .barist-cafes-recommender-card {
        gap: 0.9rem;
        min-height: auto;
        padding: 0.9rem;
        border-radius: 24px;
    }

    .barist-cafes-recommender-card__mascot {
        flex-basis: 86px;
        height: 126px;
        padding: 8px 12px;
        border-radius: 18px;
    }

    .barist-cafes-recommender-card__mascot-image {
        height: 110px;
    }

    .barist-cafes-recommender-card__mascot span {
        font-size: 0.8rem;
    }

    .barist-cafes-recommender-card__content h2 {
        font-size: clamp(1.35rem, 4.6vw, 1.75rem);
    }

    .barist-cafes-recommender-card__content p {
        margin-bottom: 0.75rem;
        font-size: 0.9rem;
        line-height: 1.35;
    }

    .barist-cafes-recommender-card__cta {
        width: auto;
        min-height: 42px;
        padding: 0.65rem 1rem;
        border-radius: 999px;
        font-size: 0.9rem;
    }

    .barist-cafes-tabs {
        gap: 0.55rem;
        margin-top: 1.2rem;
        margin-bottom: inherit;
    }

    .barist-cafes-tabs__link {
        min-width: 65px;
        min-height: 38px;
        padding: 0.55rem 0.5rem;
        font-size: 0.86rem;
    }
}

@media (max-width: 520px) {
    .barist-cafes-recommender-card {
        gap: 0.7rem;
        margin-bottom: 2rem;
    }

    .barist-cafes-recommender-card__mascot {
        flex-basis: 68px;
        height: 100px;
        padding: 7px 8px;
        border-radius: 16px;
    }

    .barist-cafes-recommender-card__mascot-image {
        height: 86px;
    }

    .barist-cafes-recommender-card__content h2 {
        margin-bottom: 0.35rem;
        font-size: 1.15rem;
    }

    .barist-cafes-recommender-card__content p {
        margin-bottom: 0.6rem;
        font-size: 0.8rem;
    }
}

/* Aviso de cookies */
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-button-holder {
    justify-content: center;
}

/* Formulario suscripción newsletter */
.site-footer-above-section-1.site-footer-section.site-footer-section-1 {
    padding: 5rem 10rem 4rem;
}

.site-footer-above-section-1.site-footer-section.site-footer-section-1 h4 {
    margin-bottom: 1rem;
}

.footer-widget-area.widget-area.site-footer-focus-item.ast-footer-html-1 {
    margin-top: 2rem;
}

.form-newsletter-footer {
    max-width: 400px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .site-footer-above-section-1.site-footer-section.site-footer-section-1 {
        padding: 4rem 2rem 3rem;
    }
}

/* Popup newsletter Brevo */
#popmake-3628 {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    max-width: 900px !important;
    margin: 0;
    padding: 0;
}

#popmake-3628 .uagb-container-inner-blocks-wrap {
    display: flex;
}

#popmake-3628 .popup-newsletter-brevo__imagen {
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('https://baristcoffee.es/wp-content/uploads/2026/05/Alvaro_Antonio.webp');
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 2rem;
    border-radius: 18px 0 0 18px;
    position: relative;
    overflow: hidden;
}

#popmake-3628 .popup-newsletter-brevo__imagen::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
}

#popmake-3628 .popup-newsletter-brevo__imagen>* {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

#popmake-3628 .uagb-heading-text {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    color: white;
    font-family: 'Roboto Slab', serif;
    font-size: 32px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

#popmake-3628 .popup-newsletter-brevo__form {
    display: flex;
    flex-direction: column;
    padding: 2.8rem 2rem 2rem;
    border-radius: 18px;
}

#popmake-3628 .popup-newsletter-brevo__form h4 {
    margin-bottom: 1rem;
    font-size: 21px;
}

#popmake-3628 .popup-newsletter-brevo__form p {
    margin-bottom: 15px;
}

#popmake-3628 .popup-newsletter-brevo__form .form-newsletter-footer {
    margin: 0;
}

#popmake-3628 .popup-newsletter-brevo__form .form-newsletter-footer input.sib-default-btn {
    font-size: 14px;
}

@media (max-width: 768px) {
    #popmake-3628 .uagb-container-inner-blocks-wrap {
        flex-direction: column;
    }

    #popmake-3628 .popup-newsletter-brevo__imagen {
        width: 100%;
        height: 250px;
        border-radius: 18px 18px 0 0;
    }

    .pum-theme-3015 .pum-content+.pum-close,
    .pum-theme-lightbox .pum-content+.pum-close {
        right: -5px;

    }
}

/* Página Bases Legales Sorte */
article#post-3720 {
    margin-top: 2rem;
}
