/**
 * Vegan Milker category archive — render-blocking (sync) styles.
 * Loaded only on product_cat/vegan-milker via vegan-milker-category.php.
 */

/* Scoped reset — override Woodmart product loop / carousel on this page */
.vm-vegan-milker .products {
    --wd-col-lg: unset;
    --wd-col-md: unset;
    --wd-col-sm: unset;
    --wd-gap-lg: unset;
    --wd-gap-md: unset;
    --wd-gap-sm: unset;
}

.vm-vegan-milker__grid .products::before,
.vm-vegan-milker__grid .products::after {
    display: none !important;
    content: none !important;
}

.vm-vegan-milker__bodegon-carousel .wd-carousel,
.vm-vegan-milker__bodegon-carousel .wd-carousel-wrap,
.vm-vegan-milker__bodegon-carousel .wd-carousel-inner,
.vm-vegan-milker__bodegon-track.wd-carousel {
    display: block !important;
    grid-template-columns: none !important;
    min-height: 0;
    height: auto;
}

.vm-vegan-milker__bodegon-carousel .wd-carousel-item:not(.wd-active) {
    display: none;
}

.vm-vegan-milker {
    font-family: Montserrat, sans-serif;
    font-weight: 500;
}

.vm-vegan-milker .wd-content-area {
    background-color: #fff;
}

.vm-vegan-milker__container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 31px 16px 0;
}

.vm-vegan-milker__breadcrumb {
    display: none;
    margin: 0 0 20px;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    --wd-link-color: #888;
    --wd-bcrumb-delim-color: #888;
    --wd-bcrumb-color-active: #889456;
}

.vm-vegan-milker__breadcrumb a {
    color: #888;
    text-decoration: none;
}

.vm-vegan-milker__breadcrumb a:hover {
    color: #889456;
}

.vm-vegan-milker__title {
    max-width: 912px;
    margin: 0 auto;
    padding-bottom: 10px;
    font-family: Montserrat, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    color: #889456;
    text-align: center;
}

.vm-vegan-milker__intro {
    max-width: 912px;
    margin: 0 auto;
    padding-bottom: 57px;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
    color: #666;
    text-align: center;
}

.vm-vegan-milker__intro p {
    margin: 0 0 1em;
}

.vm-vegan-milker__intro p:last-child {
    margin-bottom: 0;
}

.vm-vegan-milker__showcase {
    width: 100vw;
    max-width: 100vw;
    margin: 0 calc(50% - 50vw) 48px;
    padding: 28.5px 0;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.vm-vegan-milker__hero {
    margin: 0;
}

.vm-vegan-milker__hero-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
    background: transparent;
}

.vm-vegan-milker__hero-layout {
    display: grid !important;
    grid-template-columns: 539px 539px;
    gap: 0 63px;
    justify-content: center;
    align-items: center;
}

.vm-vegan-milker__hero-gallery {
    position: relative;
    min-width: 0;
    overflow: visible;
    transform: translateY(-36px);
    box-shadow: rgba(0, 0, 0, 0.3) 0 12px 18px -6px;
}

.vm-vegan-milker__hero-badge.br-labels-css.rotated {
    position: absolute;
    top: 18px;
    left: -36px;
    z-index: 3;
    display: block;
    width: 130.5px;
    margin: 0;
    padding: 0;
    background-color: #889456;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 36px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transform: rotate(45deg);
    transform-origin: center center;
    overflow: hidden;
}

.vm-vegan-milker__bodegon-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background: #fff;
}

.vm-vegan-milker__bodegon-carousel .wd-carousel-inner {
    margin: 0;
}

.vm-vegan-milker__bodegon-figure {
    margin: 0;
    background: #fff;
}

.vm-vegan-milker__bodegon-figure img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    max-height: none;
    object-fit: contain;
    margin: 0 auto;
}

.vm-vegan-milker__bodegon-carousel .wd-nav-arrows {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.vm-vegan-milker__bodegon-carousel .wd-btn-arrow {
    pointer-events: auto;
}

.vm-vegan-milker__bodegon-carousel .wd-nav-pagin-wrap {
    position: absolute;
    inset-inline: 15px;
    bottom: 15px;
    z-index: 2;
}

.vm-vegan-milker__bodegon-carousel .wd-nav-pagin {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vm-vegan-milker__bodegon-carousel .wd-nav-pagin-item {
    margin: 0;
    padding: 0;
    line-height: 1;
}

.vm-vegan-milker__bodegon-carousel .wd-nav-pagin-item button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.vm-vegan-milker__bodegon-carousel .wd-nav-pagin-item.wd-active button {
    background-color: #889456;
    transform: scale(1.15);
}

.vm-vegan-milker__hero-gallery .wd-gallery-thumb {
    display: none !important;
}

.vm-vegan-milker__hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
}

.vm-vegan-milker__hero-title {
    margin: 0;
    padding-bottom: 10px;
    font-family: Montserrat, sans-serif;
    font-size: 27px;
    font-weight: 700;
    line-height: 27px;
    color: #889456;
}

.vm-vegan-milker__hero-title a {
    color: inherit;
    text-decoration: none;
}

.vm-vegan-milker__hero-title a:hover {
    color: #6d7648;
}

.vm-vegan-milker__hero-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    font-family: Roboto, sans-serif;
    font-size: 14px;
}

.vm-vegan-milker__hero-rating .star-rating span::before {
    color: #e09900;
}

.vm-vegan-milker__hero-rating .woocommerce-review-link {
    color: #889456;
    text-decoration: underline;
}

.vm-vegan-milker__hero-rating .woocommerce-review-link:hover {
    color: #6d7648;
}

.vm-vegan-milker__hero-excerpt {
    margin: 0;
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    color: #666;
}

.vm-vegan-milker__hero-excerpt p {
    margin: 0 0 1em;
}

.vm-vegan-milker__hero-excerpt p:last-child {
    margin-bottom: 0;
}

.vm-vegan-milker__hero-price {
    margin: 0;
    font-family: Montserrat, sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 27.2px;
    color: #889456;
}

.vm-vegan-milker__hero-price .price {
    margin: 0;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.vm-vegan-milker__hero-price .price del {
    color: #999;
    font-weight: 400;
    font-size: 0.85em;
}

.vm-vegan-milker__hero-price .price ins {
    text-decoration: none;
    color: inherit;
}

.vm-vegan-milker__hero-price .price del,
.vm-vegan-milker__hero-price .price ins {
    display: none;
}

.vm-vegan-milker__hero-atc .cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
}

.vm-vegan-milker__hero-atc .quantity {
    margin: 0;
}

.vm-vegan-milker__hero-atc .quantity .qty {
    width: 60px;
    min-height: 58px;
    padding: 16px;
    text-align: center;
}

.vm-vegan-milker__hero-atc .stock {
    display: none !important;
}

.vm-vegan-milker__hero-stock .stock {
    margin: 0;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    color: #889456;
}

.vm-vegan-milker__hero-atc .single_add_to_cart_button,
.vm-vegan-milker__hero-atc .add_to_cart_button,
.vm-vegan-milker__hero-atc .button {
    display: inline-block;
    width: 258px;
    padding: 6px 20px;
    background-color: #889456 !important;
    border-color: #889456 !important;
    color: #fff !important;
    font-family: Montserrat, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 34px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 24px;
}

.vm-vegan-milker__hero-atc .single_add_to_cart_button:hover,
.vm-vegan-milker__hero-atc .add_to_cart_button:hover,
.vm-vegan-milker__hero-atc .button:hover {
    background-color: #6d7648 !important;
    border-color: #6d7648 !important;
    color: #fff !important;
}

.vm-vegan-milker__catalog {
    margin-bottom: 48px;
    padding-bottom: 0;
}

.vm-vegan-milker__catalog-title {
    max-width: 912px;
    margin: 0 auto;
    padding-bottom: 10px;
    border-bottom: none;
    font-family: Montserrat, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: #889456;
    text-align: center;
}

.vm-vegan-milker__grid .products {
    display: grid !important;
    grid-template-columns: repeat(4, 251px);
    gap: 0 43px;
    justify-content: center;
    width: auto;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    float: none;
}

.vm-vegan-milker__grid .product {
    float: none !important;
    width: auto !important;
    margin: 0 0 47.872px 0 !important;
    padding: 0;
    display: block;
    background: #fff;
}

.vm-vegan-milker__grid .product .button {
    display: none;
}

.vm-vegan-milker__grid .woocommerce-LoopProduct-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.vm-vegan-milker__grid .product img {
    width: 251px;
    height: 300px;
    object-fit: contain;
    margin-bottom: 9px;
    background: #fff;
    display: block;
    position: relative;
    z-index: 1;
}

.vm-vegan-milker__grid .product .onsale,
.vm-vegan-milker__grid .product .product-labels,
.vm-vegan-milker__grid .product .product-label,
.vm-vegan-milker__grid .product .product-bullet-points,
.vm-vegan-milker__grid .product .product-bullet-points-grid-veganmilker {
    display: none !important;
}

.vm-vegan-milker__grid .product h3,
.vm-vegan-milker__grid .product .woocommerce-loop-product__title,
.vm-vegan-milker__grid .product h3.woocommerce-loop-product__title {
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 8px 0;
    line-height: 16px;
}

.vm-vegan-milker__grid .price {
    display: block;
    text-align: center;
    width: 100%;
    line-height: 26px;
    font-size: 28px;
    font-weight: 700;
    color: #889456;
    font-family: Montserrat, sans-serif;
    height: auto;
    margin: 0;
}

.vm-vegan-milker__grid .product .price del,
.vm-vegan-milker__grid .product .price ins {
    display: none !important;
}

.vm-vegan-milker__grid .star-rating {
    margin: 0 auto 4px;
    font-size: 13px;
}

.vm-vegan-milker__grid-rating {
    display: flex;
    justify-content: center;
    margin: 0 0 8px;
    font-size: 13px;
}

.vm-vegan-milker__grid-rating .star-rating {
    margin: 0;
}

.vm-vegan-milker__grid .product .price .screen-reader-text {
    display: none;
}

.vm-vegan-milker__trust {
    margin-top: 0;
    padding: 45px 0 27px;
    background-color: rgba(163, 180, 97, 0.16);
    width: 100%;
}

.vm-vegan-milker__trust-badges {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0 62.6875px;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
    list-style: none;
}

.vm-vegan-milker__trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
}

.vm-vegan-milker__trust-badge img {
    display: block;
    width: 71px;
    height: auto;
    object-fit: contain;
    margin: 0 auto 6px;
}

.vm-vegan-milker__trust-badge h4 {
    margin: 0;
    padding-bottom: 10px;
    font-family: Montserrat, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #4d4d4d;
    text-align: center;
    min-height: 0;
    display: block;
    width: 100%;
}

.vm-vegan-milker__origin {
    padding: 57px 0 72px;
    background-color: #fff;
}

.vm-vegan-milker__origin .vm-vegan-milker__container {
    padding-top: 0;
    padding-bottom: 0;
}

.vm-vegan-milker__origin-title {
    max-width: 912px;
    margin: 0 auto;
    padding-bottom: 10px;
    font-family: Montserrat, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: #889456;
    text-align: center;
}

.vm-vegan-milker__origin-rows {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.vm-vegan-milker__origin-row {
    display: grid;
    grid-template-columns: 539px 539px;
    gap: 0 63px;
    justify-content: center;
    align-items: start;
}

.vm-vegan-milker__origin-col--text {
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 27.2px;
    color: #666;
}

.vm-vegan-milker__origin-col--text p {
    margin: 0 0 1em;
}

.vm-vegan-milker__origin-col--text p:last-child {
    margin-bottom: 0;
}

.vm-vegan-milker__origin-col--media {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.vm-vegan-milker__origin-figure {
    margin: 0;
}

.vm-vegan-milker__origin-figure img {
    display: block;
    width: auto;
    height: auto;
    box-shadow: 19px 18px 0 #e7e2d1;
}

.vm-vegan-milker__origin-figure--itziar {
    width: 100%;
}

.vm-vegan-milker__origin-figure--itziar img {
    width: 72%;
    margin-inline: auto;
}

.vm-vegan-milker__origin-figure--antxon {
    align-self: flex-end;
}

.vm-vegan-milker__origin-figure--antxon img {
    width: 91%;
}

.vm-vegan-milker__origin-figure--lineup img {
    width: 84%;
}

.vm-vegan-milker__origin-figure--plantation {
    margin-top: 40px;
}

.vm-vegan-milker__origin-figure--plantation img {
    width: 100%;
}

@media (max-width: 991px) {
    .vm-vegan-milker__showcase {
        margin-inline: calc(50% - 50vw);
        padding: 28px 0;
    }

    .vm-vegan-milker__hero-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .vm-vegan-milker__grid .products {
        grid-template-columns: repeat(2, minmax(0, 251px));
        gap: 0 43px;
    }

    .vm-vegan-milker__grid .product {
        margin: 0 0 47.872px 0 !important;
    }

    .vm-vegan-milker__origin-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .vm-vegan-milker__trust-badges {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 62.6875px;
    }

    .vm-vegan-milker__trust-badge img {
        width: 71px;
        height: auto;
    }
}

@media (max-width: 575px) {
    .vm-vegan-milker__hero-title {
        font-size: 24px;
        line-height: 24px;
    }

    .vm-vegan-milker__grid .products {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .vm-vegan-milker__grid .product {
        margin: 0 0 47.872px 0 !important;
    }

    .vm-vegan-milker__trust-badges {
        grid-template-columns: 1fr;
        gap: 24px 0;
    }

    .vm-vegan-milker__origin-title {
        font-size: 24px;
    }
}
