/* Theme asset URLs — override legacy veganmilker.bg / prod-review paths from extracted CSS */
:root {
    --basket-url: url("../svg/basket.svg");
}

/* Mobile menu: escape stacking contexts and ensure panel is visible */
@media (max-width: 1024px) {
    .wd-close-side.wd-close-side-opened {
        top: 0 !important;
        z-index: 10040 !important;
    }

    .mobile-nav.wd-side-hidden:not(.wd-opened) {
        pointer-events: none;
    }

    .mobile-nav.wd-side-hidden.wd-opened {
        transform: none !important;
        z-index: 10050 !important;
        pointer-events: auto;
    }
}

/* Custom color overrides for product pages only */
/* Apply only to product content, not header/footer */

/* === Contacto: sidebar "Enlaces útiles" card === */
.elementor-236 .elementor-element-88b8d1c > .elementor-widget-wrap {
    align-items: flex-start;
}

.elementor-236 .elementor-element-88b8d1c .vm-useful-links-card {
    width: fit-content;
    max-width: 100%;
}

.vm-useful-links-card {
    background-color: #e1ddd4;
    padding: 22px 26px;
    border-radius: 10px;
    border: 1px solid rgba(122, 132, 80, 0.28);
    box-shadow: 0 4px 16px rgba(122, 132, 80, 0.14);
}

.vm-useful-links-card .widget-title {
    margin-bottom: 14px;
}

@media (max-width: 767px) {
    .elementor-236 .elementor-element-88b8d1c .vm-useful-links-card {
        width: 100%;
    }
}

/* === Ebook CTA section — olive green + request form === */
.elementor-element.elementor-element-04e60ce:not(.elementor-motion-effects-element-type-background),
.elementor-element.elementor-element-04e60ce > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-color: #7a8450 !important;
}

/* Ebook CTA — scoped to section 04e60ce (beats Woodmart / CF7 defaults) */
.elementor-element.elementor-element-04e60ce .vm-ebook-form {
    width: 100%;
    max-width: 100%;
    margin-top: 24px;
}

.elementor-element.elementor-element-04e60ce .vm-ebook-form__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 14px;
    width: 100%;
}

.elementor-element.elementor-element-04e60ce .vm-ebook-form__input,
.elementor-element.elementor-element-04e60ce .vm-ebook-form .wpcf7-form input.wpcf7-text,
.elementor-element.elementor-element-04e60ce .vm-ebook-form .wpcf7-form input.wpcf7-email {
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    min-height: 50px !important;
    height: 50px !important;
    padding: 14px 18px !important;
    font-family: "Roboto", sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    color: #fff !important;
    background: transparent !important;
    border: 1px solid #fff !important;
    border-radius: 10px !important;
    outline: none;
    box-sizing: border-box !important;
    box-shadow: none !important;
}

.elementor-element.elementor-element-04e60ce .vm-ebook-form__input::placeholder,
.elementor-element.elementor-element-04e60ce .vm-ebook-form .wpcf7-form input.wpcf7-text::placeholder,
.elementor-element.elementor-element-04e60ce .vm-ebook-form .wpcf7-form input.wpcf7-email::placeholder {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    opacity: 1;
}

.elementor-element.elementor-element-04e60ce .vm-ebook-form__input:focus,
.elementor-element.elementor-element-04e60ce .vm-ebook-form .wpcf7-form input.wpcf7-text:focus,
.elementor-element.elementor-element-04e60ce .vm-ebook-form .wpcf7-form input.wpcf7-email:focus {
    border-color: #fff !important;
    box-shadow: 0 0 0 1px #fff !important;
}

.elementor-element.elementor-element-04e60ce .vm-ebook-form__submit,
.elementor-element.elementor-element-04e60ce .vm-ebook-form button.wpcf7-submit.vm-ebook-form__submit {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 50px !important;
    height: 50px !important;
    max-height: none !important;
    padding: 14px 28px !important;
    font-family: "Roboto", sans-serif !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.5px;
    text-transform: none !important;
    color: #443f73 !important;
    background: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.elementor-element.elementor-element-04e60ce .vm-ebook-form__submit:hover,
.elementor-element.elementor-element-04e60ce .vm-ebook-form__submit:focus,
.elementor-element.elementor-element-04e60ce .vm-ebook-form button.wpcf7-submit.vm-ebook-form__submit:hover,
.elementor-element.elementor-element-04e60ce .vm-ebook-form button.wpcf7-submit.vm-ebook-form__submit:focus {
    background: #f5f1e8 !important;
    color: #443f73 !important;
}

.elementor-element.elementor-element-04e60ce .vm-ebook-form__arrow {
    font-size: 18px;
    line-height: 1;
}

/* CF7: one <p> per field — no nested 2-col grid on <p> */
.elementor-element.elementor-element-04e60ce .vm-ebook-form .wpcf7-form {
    margin: 0;
}

.elementor-element.elementor-element-04e60ce .vm-ebook-form .vm-ebook-form__fields > p {
    display: block;
    margin: 0;
    width: 100%;
    min-width: 0;
}

.elementor-element.elementor-element-04e60ce .vm-ebook-form .wpcf7-form > p {
    margin: 0;
}

.elementor-element.elementor-element-04e60ce .vm-ebook-form .wpcf7-form br {
    display: none;
}

.elementor-element.elementor-element-04e60ce .vm-ebook-form .wpcf7-form label {
    display: block;
    margin: 0;
}

.elementor-element.elementor-element-04e60ce .vm-ebook-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    min-width: 0;
}

.elementor-element.elementor-element-04e60ce .elementor-element-vm-ebook-form .elementor-widget-container,
.elementor-element.elementor-element-04e60ce .elementor-element-vm-ebook-form .vm-ebook-form,
.elementor-element.elementor-element-04e60ce .elementor-element-vm-ebook-form .wpcf7 {
    width: 100%;
    max-width: 100%;
}

.elementor-element.elementor-element-04e60ce .vm-ebook-form .wpcf7-not-valid-tip {
    display: block;
    margin-top: 6px;
    padding: 5px 10px;
    font-size: 14px !important;
    font-weight: 500;
    line-height: 1.35;
    color: #6b1f1f !important;
    background: #fff !important;
    border-radius: 6px;
}

.elementor-element.elementor-element-04e60ce .vm-ebook-form .wpcf7-response-output {
    margin: 12px 0 0;
    padding: 14px 18px 14px 48px !important;
    font-size: 15px !important;
    font-weight: 500;
    line-height: 1.45;
    color: #443f73 !important;
    background: #fff !important;
    border: none !important;
    border-radius: 8px !important;
}

.elementor-element.elementor-element-04e60ce .vm-ebook-form form.invalid .wpcf7-response-output,
.elementor-element.elementor-element-04e60ce .vm-ebook-form form.unaccepted .wpcf7-response-output,
.elementor-element.elementor-element-04e60ce .vm-ebook-form form.payment-required .wpcf7-response-output {
    color: #5c2430 !important;
    background: #fff5f0 !important;
    border: 1px solid #e0a8a8 !important;
}

.elementor-element.elementor-element-04e60ce .vm-ebook-form form.invalid .wpcf7-response-output::before,
.elementor-element.elementor-element-04e60ce .vm-ebook-form form.unaccepted .wpcf7-response-output::before,
.elementor-element.elementor-element-04e60ce .vm-ebook-form form.payment-required .wpcf7-response-output::before {
    color: #9b2c2c;
}

.elementor-element.elementor-element-04e60ce .vm-ebook-form form.sent .wpcf7-response-output {
    color: #2d4a2d !important;
    background: #f0f7eb !important;
    border: 1px solid #a8c99a !important;
}

.elementor-element.elementor-element-04e60ce .vm-ebook-form form.sent .wpcf7-response-output::before {
    color: #4a7a3d;
}

@media (max-width: 680px) {
    .elementor-element.elementor-element-04e60ce .vm-ebook-form__fields {
        grid-template-columns: 1fr;
    }
}

/* === FAQ section — white background, readable text === */
.elementor-element.elementor-element-a4a2f44:not(.elementor-motion-effects-element-type-background),
.elementor-element.elementor-element-a4a2f44 > .elementor-motion-effects-container > .elementor-motion-effects-layer,
.elementor-9135 .elementor-element.elementor-element-5d4eaf9:not(.elementor-motion-effects-element-type-background),
.elementor-9135 .elementor-element.elementor-element-5d4eaf9 > .elementor-motion-effects-container > .elementor-motion-effects-layer,
.elementor-element.elementor-element-5d4eaf9:not(.elementor-motion-effects-element-type-background),
.elementor-element.elementor-element-5d4eaf9 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-color: #ffffff !important;
    background-image: none !important;
}

.elementor-element-a4a2f44 .elementor-heading-title,
.elementor-element-5d4eaf9 .elementor-heading-title,
.elementor-element-5378584 .elementor-heading-title,
.elementor-element-055e875 .elementor-heading-title {
    color: var(--headings-font-color, #0a0449) !important;
}

.accordion__veganmilker .wd-accordion-title-text,
.elementor-element-49ecd52 .wd-accordion-title-text,
.elementor-element-39afaa5 .wd-accordion-title-text {
    color: var(--headings-font-color, #0a0449) !important;
}

.accordion__veganmilker .wd-accordion-title:hover .wd-accordion-title-text,
.accordion__veganmilker .wd-accordion-title.wd-active .wd-accordion-title-text,
.elementor-element-49ecd52 .wd-accordion-title:hover .wd-accordion-title-text,
.elementor-element-49ecd52 .wd-accordion-title.wd-active .wd-accordion-title-text,
.elementor-element-39afaa5 .wd-accordion-title:hover .wd-accordion-title-text,
.elementor-element-39afaa5 .wd-accordion-title.wd-active .wd-accordion-title-text {
    color: var(--green-900, #7a8450) !important;
}

.accordion__veganmilker .wd-accordion-content,
.accordion__veganmilker .wd-accordion-content p,
.accordion__veganmilker .wd-accordion-content li,
.elementor-element-49ecd52 .wd-accordion-content,
.elementor-element-49ecd52 .wd-accordion-content p,
.elementor-element-49ecd52 .wd-accordion-content li,
.elementor-element-39afaa5 .wd-accordion-content,
.elementor-element-39afaa5 .wd-accordion-content p,
.elementor-element-39afaa5 .wd-accordion-content li {
    color: #4b542b !important;
}

.accordion__veganmilker .wd-accordion-content a {
    color: var(--green-900, #7a8450) !important;
}

.accordion__veganmilker .wd-accordion-opener {
    color: var(--headings-font-color, #0a0449) !important;
}

.accordion__veganmilker .wd-accordion-title.wd-active .wd-accordion-opener {
    color: var(--green-900, #7a8450) !important;
}

/* === Footer copyright bar — match main footer olive green === */
.wd-copyrights.copyrights-wrapper {
    background-color: #7a8450;
    color: #ffffff;
    border-top: none;
}

.wd-copyrights.copyrights-wrapper a {
    color: #ffffff;
}

.wd-copyrights.copyrights-wrapper a:hover {
    color: #f5f1e8;
    text-decoration: underline;
}

/* Buttons - match landing CTA olive green */
.single-product .button, 
.single-product .btn:not(.minus):not(.plus), 
.single-product .add_to_cart_button,
.single-product .single_add_to_cart_button,
.single-product .woocommerce-button,
.single-product .wd-add-btn a {
    background-color: #7a8450 !important;
    border-color: #7a8450 !important;
    color: #e1ddd4 !important;
}

.single-product .button:hover, 
.single-product .btn:not(.minus):not(.plus):hover,
.single-product .add_to_cart_button:hover,
.single-product .single_add_to_cart_button:hover {
    background-color: #6d7648 !important;
    border-color: #6d7648 !important;
    color: #e1ddd4 !important;
}

/* Product badges — styled in product-page-fix.css */

/* Star ratings — yellow stars on product page */
.single-product .woocommerce-product-rating .star-rating,
.single-product .ratings-box__single-product .star-rating {
    --wd-star-color: #ffbf00;
    color: #ffbf00;
}

.single-product .woocommerce-product-rating .star-rating span,
.single-product .ratings-box__single-product .star-rating span {
    color: transparent !important;
}

.single-product .woocommerce-product-rating .woocommerce-review-link {
    color: #5c5c5c;
}

.single-product .entry-content a {
    color: #7a8450;
}

.single-product .entry-content a:hover {
    color: #667050;
}

.single-product .price del .amount,
.single-product .regular-price__product-box-price-grid-veganmilker {
    color: #999 !important;
}

.single-product .price ins .amount,
.single-product .sale-price__product-box-price-grid-veganmilker {
    color: #7a8450 !important;
}

/* Product labels — styled in product-page-fix.css */

.single-product .wd-shape-round {
    border-radius: 50px !important;
}

/* === Home hero CTA — fix hover (var(--e-global-color-text) undefined without elementor-kit) === */
.elementor-2 .elementor-element.elementor-element-eb180a5 .elementor-button:hover,
.elementor-2 .elementor-element.elementor-element-eb180a5 .elementor-button:focus,
.elementor-2 .elementor-element.elementor-element-2091da7 .elementor-button:hover,
.elementor-2 .elementor-element.elementor-element-2091da7 .elementor-button:focus {
    background-color: #6a7244 !important;
    color: #e1ddd4 !important;
}

.elementor-2 .elementor-element.elementor-element-eb180a5 .elementor-button:hover svg,
.elementor-2 .elementor-element.elementor-element-eb180a5 .elementor-button:focus svg,
.elementor-2 .elementor-element.elementor-element-2091da7 .elementor-button:hover svg,
.elementor-2 .elementor-element.elementor-element-2091da7 .elementor-button:focus svg {
    fill: #e1ddd4 !important;
}

/* === Home hero video — exact Divi (et_pb_video) player replica === */
@font-face {
    font-family: ETmodules;
    font-display: swap;
    src: url(../fonts/etmodules.woff) format("woff"),
         url(../fonts/etmodules.ttf) format("truetype");
    font-weight: 400;
    font-style: normal;
}

.et_pb_video {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.et_pb_video_box {
    display: block;
    position: relative;
    z-index: 1;
    line-height: 0;
}

/* Reserve the 16:9 box up front so playback never resizes the layout */
.et_pb_video_box video {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    background: transparent;
}

/* Hide native controls until user clicks play */
.et_pb_video_0:not(.et_pb_video_playing) .et_pb_video_box video {
    pointer-events: none;
}

.et_pb_video_overlay {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50%;
    cursor: pointer;
}

.et_pb_video_overlay_hover {
    background: transparent;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 100;
    transition: all 0.5s ease-in-out;
}

.et_pb_video .et_pb_video_overlay_hover:hover {
    background: rgba(0, 0, 0, 0.6);
}

.et_pb_video_play {
    display: block;
    position: absolute;
    z-index: 100;
    color: #fff;
    left: 50%;
    top: 50%;
    font-size: 6rem;
    line-height: 6rem;
    margin-left: -3rem;
    margin-top: -3rem;
    text-decoration: none;
}

.et_pb_video_overlay .et_pb_video_play {
    color: #fff;
}

.et_pb_video_play:before {
    font-family: ETmodules;
    content: "I";
}

/* et_pb_video_0 — white 5px border + 20px rounded corners */
.et_pb_video_0 {
    border-style: solid;
    border-width: 5px;
    border-color: #fff;
    border-radius: 20px;
    overflow: hidden;
}

/* Enlarge the hero video slot (was the 165px cashew image slot) to a medium size */
.elementor-2 .elementor-element.elementor-element-e987c44 {
    --container-widget-width: 340px;
    width: var(--container-widget-width, 340px);
    max-width: 340px;
}

/* Tiny left nudge only — must not overlap left-column content */
body:not(.rtl) .elementor-2 .elementor-element.elementor-element-e987c44 {
    left: 0 !important;
    transform: translateX(-128px);
}

body.rtl .elementor-2 .elementor-element.elementor-element-e987c44 {
    right: 0 !important;
    transform: translateX(128px);
}

@media (max-width: 1024px) {
    .elementor-2 .elementor-element.elementor-element-e987c44 {
        --container-widget-width: 260px;
        width: var(--container-widget-width, 260px);
        max-width: 260px;
    }

    body:not(.rtl) .elementor-2 .elementor-element.elementor-element-e987c44 {
        transform: translateX(-20px);
    }

    body.rtl .elementor-2 .elementor-element.elementor-element-e987c44 {
        transform: translateX(20px);
    }
}

@media (max-width: 767px) {
    .elementor-2 .elementor-element.elementor-element-e987c44 {
        --container-widget-width: 200px;
        width: var(--container-widget-width, 200px);
        max-width: 200px;
    }
}

/* === Recetas: búsqueda y paginación === */
#blog-recipes-wrapper {
    --vm-accent: #7a8450;
    --vm-accent-hover: #667050;
    --vm-text: #4b542b;
    --vm-border: #e1ddd4;
}

#blog-recipes-wrapper .recipes-grid__veganmilker {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

#blog-recipes-wrapper a.single-recipe-card {
    display: flex;
    flex-flow: column nowrap;
    text-decoration: none;
}

#blog-recipes-wrapper .read-more__single-recipe-card {
    margin-top: auto;
}

@media (max-width: 880px) {
    #blog-recipes-wrapper .recipes-grid__veganmilker {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 520px) {
    #blog-recipes-wrapper .recipes-grid__veganmilker {
        grid-template-columns: 1fr;
    }
}

.recipes-search-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    max-width: 560px;
    margin: 24px auto 20px;
}

.recipes-search-input {
    flex: 1 1 220px;
    min-height: 46px;
    padding: 10px 16px;
    border: 2px solid var(--vm-border);
    border-radius: 8px;
    font-family: var(--secondary-font-family, Roboto, sans-serif);
    font-size: 16px;
    color: var(--vm-text);
    background: #fff;
}

.recipes-search-input:focus {
    outline: none;
    border-color: var(--vm-accent);
}

.recipes-search-submit {
    min-height: 46px;
    padding: 10px 22px;
    border: none;
    border-radius: 8px;
    background: var(--vm-accent);
    color: #fff;
    font-family: var(--primary-font-family, Adys, sans-serif);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
}

.recipes-search-submit:hover {
    background: var(--vm-accent-hover);
}

.recipes-search-clear {
    font-family: var(--primary-font-family, Adys, sans-serif);
    font-size: 15px;
    color: var(--vm-text);
    text-decoration: underline;
}

.recipes-results-meta {
    margin: 10px 0 0;
    text-align: center;
    font-family: var(--secondary-font-family, Roboto, sans-serif);
    font-size: 14px;
    color: var(--vm-text);
}

.recipes-no-results {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 18px;
    color: var(--vm-text);
    padding: 40px 20px;
}

.recipes-pagination {
    margin-top: 40px;
    text-align: center;
}

.recipes-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    margin: 0 2px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    color: var(--vm-text);
    text-decoration: none;
}

.recipes-pagination .page-numbers.current {
    background: var(--vm-accent);
    color: #fff;
}

.recipes-pagination a.page-numbers:hover {
    background: var(--vm-border);
}

.recipes-pagination ul {
    list-style: none;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}

a.category-filter-option__filter-recipes,
.category-filter-option__filter-recipes[data-category-id] {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

#blog-recipes-wrapper .category-filter-option__filter-recipes {
    border-color: var(--vm-border);
}

#blog-recipes-wrapper .category-filter-option__filter-recipes:hover,
#blog-recipes-wrapper .category-filter-option__filter-recipes.active {
    border-color: var(--vm-accent);
}

#blog-recipes-wrapper .name__category-filter-option {
    color: var(--vm-accent);
}

#blog-recipes-wrapper .title__single-recipe-card {
    color: var(--vm-accent);
}

#blog-recipes-wrapper .excerpt__single-recipe-card {
    color: var(--vm-text);
}

#blog-recipes-wrapper .read-more__single-recipe-card {
    color: var(--vm-accent);
}

#blog-recipes-wrapper span.span-text__read-more:before {
    background: var(--vm-accent);
}

/* Recipe category icons — olive green like labels */
.category-filter-option__filter-recipes .img__category-filter-option svg path {
    stroke: var(--vm-accent, #7a8450);
}

.category-filter-option__filter-recipes .img__category-filter-option svg path[fill="#443f73"],
.category-filter-option__filter-recipes .img__category-filter-option svg path[fill="#7a8450"] {
    fill: var(--vm-accent, #7a8450);
}

.category-filter-option__filter-recipes:hover .img__category-filter-option svg path,
.category-filter-option__filter-recipes.active .img__category-filter-option svg path {
    stroke: var(--vm-accent-hover, #667050);
}

.category-filter-option__filter-recipes:hover .img__category-filter-option svg path[fill="#443f73"],
.category-filter-option__filter-recipes:hover .img__category-filter-option svg path[fill="#7a8450"],
.category-filter-option__filter-recipes.active .img__category-filter-option svg path[fill="#443f73"],
.category-filter-option__filter-recipes.active .img__category-filter-option svg path[fill="#7a8450"] {
    fill: var(--vm-accent-hover, #667050);
}

#blog-recipes-wrapper .category-filter-option__filter-recipes:hover svg,
#blog-recipes-wrapper .category-filter-option__filter-recipes.active svg {
    filter: none !important;
}

#blog-recipes-wrapper .swiper-pagination.swiper-pagination--veganmilker .swiper-pagination-bullet-active {
    background: var(--vm-accent) !important;
}

#blog-recipes-wrapper .swiper-pagination.swiper-pagination--veganmilker .swiper-pagination-bullet {
    background: var(--vm-border);
    opacity: 1;
}

#blog-recipes-wrapper .category-filter-option__filter-recipes,
#blog-recipes-wrapper a.category-filter-option__filter-recipes {
    width: 100% !important;
    min-height: 96px;
    box-sizing: border-box;
}

#blog-recipes-wrapper a.category-filter-option__filter-recipes.swiper-slide {
    display: flex !important;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#blog-recipes-wrapper .name__category-filter-option {
    white-space: normal !important;
    width: 100%;
}

@media (max-width: 767px) {
    #blog-recipes-wrapper .swiperFilterRecipes,
    .swiperFilterRecipes.vm-recipe-filter-grid,
    .swiperFilterRecipes {
        overflow: visible;
    }

    #blog-recipes-wrapper .swiperFilterRecipes .swiper-wrapper,
    .swiperFilterRecipes.vm-recipe-filter-grid .swiper-wrapper,
    .swiperFilterRecipes .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px !important;
        width: 100% !important;
        transform: none !important;
    }

    #blog-recipes-wrapper .swiperFilterRecipes .swiper-slide,
    .swiperFilterRecipes.vm-recipe-filter-grid .swiper-slide,
    .swiperFilterRecipes .swiper-slide {
        flex: none !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        margin: 0 !important;
    }

    #blog-recipes-wrapper .category-filter-option__filter-recipes,
    #blog-recipes-wrapper a.category-filter-option__filter-recipes,
    .swiperFilterRecipes .category-filter-option__filter-recipes,
    .swiperFilterRecipes a.category-filter-option__filter-recipes {
        min-height: 72px;
        padding: 10px 8px;
    }

    #blog-recipes-wrapper .name__category-filter-option,
    .swiperFilterRecipes .name__category-filter-option {
        font-size: 14px !important;
        line-height: 1.2;
    }

    #blog-recipes-wrapper .img__category-filter-option svg,
    .swiperFilterRecipes .img__category-filter-option svg {
        width: 24px;
        height: 24px;
    }

    #blog-recipes-wrapper .swiperFilterRecipes .swiper-pagination,
    .swiperFilterRecipes .swiper-pagination {
        display: none !important;
    }
}

@media (min-width: 768px) {
    #blog-recipes-wrapper .swiperFilterRecipes .swiper-wrapper {
        display: flex !important;
        justify-content: flex-start !important;
        gap: 20px !important;
        width: 100% !important;
    }

    #blog-recipes-wrapper .swiperFilterRecipes .swiper-slide {
        flex: 1 1 0 !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        flex-shrink: 1 !important;
    }

    #blog-recipes-wrapper .swiperFilterRecipes .swiper-pagination {
        display: none;
    }
}

/* === Trucos / Curiosidades blog archive (prod parity) === */
.elementor-element-6697b50 {
    padding: 40px 10px !important;
}

.elementor-element-6697b50 .elementor-container {
    max-width: 1300px !important;
}

.elementor-element-6697b50 .elementor-element-1cdbfbb h1.elementor-heading-title {
    text-align: center !important;
    font-size: 38px !important;
    font-weight: 700 !important;
    font-family: Adys, sans-serif !important;
    line-height: 41.8px !important;
    color: #7a8450 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.blog-archive-intro {
    max-width: 900px;
    margin: 0 auto;
}

.blog-archive-intro__paragraph {
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    font-family: Adys, sans-serif;
    line-height: 1.5;
    color: #4b542b;
    margin: 0 0 12px;
}

.blog-archive-category-tiles {
    margin: 28px 0 36px;
}

.contenedor-cat {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.contenedor-cat .miniatura-cat a {
    display: block;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 1s;
}

.contenedor-cat .miniatura-cat:hover a,
.contenedor-cat .miniatura-cat.is-active a {
    transform: scale(1.05);
}

.contenedor-cat .contenedor-cat-img {
    height: 300px;
    margin-bottom: 20px;
    overflow: hidden;
}

.contenedor-cat .contenedor-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contenedor-cat .miniatura-cat h2 {
    font-family: Adys, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: #4b542b;
    margin: 0;
    padding: 0 8px;
}

.blog-archive-latest-heading {
    text-align: center;
    font-family: Adys, sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #7a8450;
    margin: 0 0 28px;
}

.blog-archive-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
}

.blog-archive-card {
    overflow: hidden;
    max-height: 375px;
    background-color: #f7f5ec;
    display: flex;
    flex-direction: column;
}

.blog-archive-card__image {
    display: block;
    overflow: hidden;
    height: 250px;
}

.blog-archive-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-archive-card__title {
    text-align: center;
    font-family: Adys, sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
    margin: 14px 12px 8px;
}

.blog-archive-card__title a {
    color: #4b542b;
    text-decoration: none;
}

.blog-archive-card__title a:hover {
    color: #7a8450;
}

.blog-archive-card__excerpt {
    text-align: center;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.45;
    color: #4b542b;
    margin: 0 12px 16px;
    overflow: hidden;
}

.blog-pagination-older {
    margin-top: 36px;
}

.blog-pagination-older__inner {
    text-align: left;
}

.blog-pagination-older__link {
    font-family: Adys, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #7a8450;
    text-decoration: none;
}

.blog-pagination-older__link:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .blog-archive-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .contenedor-cat {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .blog-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .contenedor-cat {
        grid-template-columns: 1fr;
    }

    .contenedor-cat .contenedor-cat-img {
        height: 220px;
    }
}

/* === Navbar cart: solo ícono + contador, nunca el subtotal de FunnelKit === */
/* Defiende contra fragments cacheados en sessionStorage del visitante */
.cart-toggle .fkcart-shortcode-price,
.fkcart-mini-toggler .fkcart-shortcode-price {
    display: none !important;
}

/* === ¿Por qué Vegan Milker? — warning icon + footnote === */
li.line__why-vegan-milker.icon-before.warning:before {
    background: url(../svg/warning.svg);
    flex: 0 0 18px;
    height: 16px;
}

/* === ¿Por qué Vegan Milker? — column cards only (home + product) === */
/* Non-accent cards: white background; accent card matches hero CTA (#7a8450) */
.col__why-vegan-milker:not(.accent) {
    background-color: #ffffff !important;
    border-radius: 45px !important;
}

.col__why-vegan-milker:not(.accent) .heading__why-vegan-milker,
.col__why-vegan-milker:not(.accent) li.line__why-vegan-milker {
    color: #4b542b !important;
}

.col__why-vegan-milker.accent {
    background: #7a8450 !important;
    border-radius: 45px !important;
    box-shadow: 0 4px 4px 0 #00000040;
}

.col__why-vegan-milker.accent .heading__why-vegan-milker {
    color: var(--white-color, #ffffff) !important;
}

.col__why-vegan-milker.accent li.line__why-vegan-milker {
    color: var(--white-color, #ffffff) !important;
    font-weight: 700 !important;
}

.col__why-vegan-milker.accent li.line__why-vegan-milker:not(:last-child) {
    border-bottom-color: rgba(255, 255, 255, 0.35) !important;
}

img.img__why-vegan-milker {
    width: 350px !important;
    height: 280px !important;
    object-fit: contain;
    object-position: center bottom;
}

@media only screen and (max-width: 1200px) {
    img.img__why-vegan-milker {
        width: 335px !important;
        height: 268px !important;
    }
}

.why-vegan-milker-footnote {
    margin: 24px auto 0;
    max-width: 900px;
    padding: 16px 24px;
    background-color: #f5f1e8;
    border-radius: 16px;
    font-family: var(--secondary-font-family, 'Roboto', sans-serif);
    font-size: clamp(18px, 1.8vw, 22px);
    line-height: 1.55;
    text-align: center;
    color: var(--headings-font-color, #0a0449);
}

/* === ¿Cuánto estás ahorrando exactamente? — fondo blanco + badges rojos === */
.elementor-2 .elementor-element.elementor-element-0c82784:not(.elementor-motion-effects-element-type-background),
.elementor-2 .elementor-element.elementor-element-0c82784 > .elementor-motion-effects-container > .elementor-motion-effects-layer,
.elementor-9135 .elementor-element.elementor-element-f8f20cd:not(.elementor-motion-effects-element-type-background),
.elementor-9135 .elementor-element.elementor-element-f8f20cd > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-color: #ffffff !important;
}

.elementor-9135 .elementor-element.elementor-element-fe1fe0e:not(.elementor-motion-effects-element-type-background),
.elementor-9135 .elementor-element.elementor-element-fe1fe0e > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-color: #ffffff !important;
}

.discount-label__savings {
    background-color: #e53935 !important;
    color: #ffffff !important;
}

/* === Home: Elige tu Vegan Milker — fondo blanco === */
.elementor-2 .elementor-element.elementor-element-237d0fc:not(.elementor-motion-effects-element-type-background),
.elementor-2 .elementor-element.elementor-element-237d0fc > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-color: #ffffff !important;
}

.elementor-2 .elementor-element.elementor-element-237d0fc {
    padding-bottom: 0 !important;
}

/* === Wave divider: transición blanco → verde sin línea === */
.elementor-2 .elementor-element.elementor-element-20b3aa7,
.elementor-9135 .elementor-element.elementor-element-97e8931 {
    display: none !important;
}

.elementor-2 .elementor-element.elementor-element-513f11b:not(.elementor-motion-effects-element-type-background),
.elementor-2 .elementor-element.elementor-element-513f11b > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-color: #D1E9E2 !important;
    background-image: url('/wp-content/themes/veganmilker/assets/svg/Vector.svg') !important;
    background-repeat: no-repeat !important;
    background-position: center -2px !important;
    background-size: 100% auto !important;
    padding-top: 108px !important;
    margin-top: -62px !important;
}

.elementor-9135 .elementor-element.elementor-element-a5056e4:not(.elementor-motion-effects-element-type-background),
.elementor-9135 .elementor-element.elementor-element-a5056e4 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-color: #D1E9E2 !important;
    background-image: url('/wp-content/themes/veganmilker/assets/svg/Vector-product.svg') !important;
    background-repeat: no-repeat !important;
    background-position: center -2px !important;
    background-size: 100% auto !important;
    padding-top: 108px !important;
    margin-top: -62px !important;
}

/* PhotoSwipe lightbox shell — keep off-page when closed */
.pswp,
.cr-pswp.pswp {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1500;
}

.pswp.pswp--open,
.cr-pswp.pswp.pswp--open {
    display: block;
}

.pswp__bg,
.pswp__scroll-wrap {
    position: absolute;
    inset: 0;
}

/* Footer — veganmilker.com layout, olive palette */
.wd-footer.footer-container,
.wd-footer .main-footer {
    background-color: #7a8450 !important;
    background-image: none !important;
}

.wd-footer .elementor-64 .footer-help-banner,
.wd-footer .elementor-64 .footer-nav-row {
    background-color: #7a8450 !important;
}

.wd-footer .elementor-64 .footer-awards-row,
.wd-footer .elementor-64 .footer-certs-row {
    background-color: #f5f1e8 !important;
}

.wd-footer .elementor-64 .footer-help-banner .elementor-column-wrap,
.wd-footer .elementor-64 .footer-nav-row .elementor-column-wrap,
.wd-footer .elementor-64 .footer-awards-row .elementor-column-wrap,
.wd-footer .elementor-64 .footer-certs-row .elementor-column-wrap,
.wd-footer .elementor-64 .footer-help-banner .elementor-widget-wrap,
.wd-footer .elementor-64 .footer-nav-row .elementor-widget-wrap,
.wd-footer .elementor-64 .footer-awards-row .elementor-widget-wrap,
.wd-footer .elementor-64 .footer-certs-row .elementor-widget-wrap {
    background-color: transparent !important;
}

.wd-footer {
    color: #ffffff;
    font-family: var(--secondary-font-family, 'Roboto', sans-serif);
    font-size: 15px;
    line-height: 1.5;
}

.wd-footer .footer-help-banner .wd-text-block p,
.wd-footer .footer-help-block p {
    font-family: var(--secondary-font-family, 'Roboto', sans-serif);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    text-align: left;
}

.wd-footer .footer-help-block a {
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}

.wd-footer .footer-help-block a:hover {
    text-decoration: underline;
}

.wd-footer .footer-help-block .footer-phone-icon {
    display: inline-block;
    vertical-align: middle;
    margin: 4px 4px 0 0;
    filter: brightness(0) invert(1);
}

.wd-footer .footer-nav-row .elementor-heading-title,
.wd-footer .footer-certs-row .elementor-heading-title,
.wd-footer h4.elementor-heading-title {
    font-family: var(--primary-font-family, 'Adys', sans-serif);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff !important;
    margin: 0 0 14px;
}

.wd-footer .footer-certs-row .elementor-heading-title {
    color: #4b542b !important;
}

.wd-footer .footer-nav-row .elementor-icon-list-item > a,
.wd-footer .footer-nav-row .elementor-icon-list-text {
    font-family: var(--secondary-font-family, 'Roboto', sans-serif);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s ease;
}

.wd-footer .footer-nav-row a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.wd-footer .footer-nav-row a:hover,
.wd-footer .footer-nav-row a:focus,
.wd-footer .footer-nav-row .elementor-icon-list-item:hover .elementor-icon-list-text {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.wd-footer .footer-help-banner a:hover,
.wd-footer .footer-help-banner a:focus {
    color: #ffffff;
    text-decoration: underline;
}

/* Help banner — left aligned like original */
.wd-footer .footer-help-banner {
    padding: 28px 0 20px;
}

.wd-footer .footer-help-banner .elementor-container,
.wd-footer .footer-help-banner .elementor-widget-wrap {
    display: block;
    text-align: left;
}

.wd-footer .main-footer > .elementor-64 {
    max-width: 1300px;
    margin: 0 auto;
}

/* Nav columns — 6-col grid like original */
.wd-footer .footer-nav-row {
    padding: 0 0 32px;
}

.wd-footer .footer-nav-row .elementor-container {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 0;
    align-items: start;
}

.wd-footer .footer-nav-row .elementor-col-16,
.wd-footer .footer-nav-row .elementor-column[data-col="16"],
.wd-footer .footer-nav-row .elementor-column {
    width: 100% !important;
    max-width: none;
    padding: 0;
    flex: none;
}

.wd-footer .footer-nav-row .elementor-widget-wrap {
    text-align: left;
}

.wd-footer .footer-nav-row .elementor-heading-title {
    text-align: left;
}

.wd-footer .footer-nav-row .elementor-icon-list-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wd-footer .footer-nav-row .elementor-icon-list-item {
    display: block;
    margin: 0;
    padding: 0;
}

.wd-footer .footer-nav-row .elementor-icon-list-item a {
    display: inline-block;
    padding: 3px 0;
}

.wd-footer .footer-nav-row .max-width-ul .elementor-icon-list-item {
    max-width: none;
}

.wd-footer .payment-methods.icons-row {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
}

.wd-footer .payment-methods.icons-row img {
    max-height: 22px;
    width: auto;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

/* Awards — light band for dark logos */
.wd-footer .footer-awards-row {
    padding: 28px 0;
    border-top: 1px solid rgba(75, 84, 43, 0.12);
}

.wd-footer .footer-awards-row .elementor-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 0;
}

.wd-footer .footer-awards-row .elementor-col-25,
.wd-footer .footer-awards-row .elementor-column[data-col="25"] {
    width: 25%;
    padding: 0 16px;
    box-sizing: border-box;
}

.wd-footer .footer-awards-row .elementor-widget-image {
    text-align: center;
}

.wd-footer .footer-awards-row .elementor-widget-image img {
    width: 100%;
    max-width: 210px;
    max-height: 68px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

/* Certs + social */
.wd-footer .footer-certs-row {
    padding: 24px 0 32px;
    border-top: 1px solid rgba(75, 84, 43, 0.1);
}

.wd-footer .footer-certs-row .elementor-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.wd-footer .footer-certs-row .elementor-col-20,
.wd-footer .footer-certs-row .elementor-column[data-col="20"] {
    width: 20%;
    padding: 0 10px;
    box-sizing: border-box;
}

.wd-footer .footer-certs-row .elementor-widget-image {
    text-align: center;
}

.wd-footer .footer-certs-row .elementor-widget-image img {
    width: 100%;
    max-width: 150px;
    max-height: 60px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

.wd-footer .footer-certs-row .elementor-col-20:last-child .elementor-widget-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.wd-footer .footer-certs-row .elementor-col-20:last-child .elementor-widget-heading,
.wd-footer .footer-certs-row .elementor-col-20:last-child .elementor-widget-social-icons {
    margin: 0;
    width: auto;
}

.wd-footer .footer-certs-row .elementor-col-20:last-child .elementor-heading-title {
    margin: 0;
}

.wd-footer .footer-certs-row .elementor-social-icons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0;
    justify-content: flex-start;
    --justify-content: flex-start;
    width: auto;
}

.wd-footer .footer-certs-row .elementor-social-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #7a8450;
    border-radius: 50%;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.wd-footer .footer-certs-row .elementor-social-icon svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

.wd-footer .footer-certs-row .elementor-social-icon:hover,
.wd-footer .footer-certs-row .elementor-social-icon:focus {
    background-color: #6d7648;
    transform: translateY(-1px);
}

.wd-footer .footer-certs-row .elementor-social-icon:hover svg,
.wd-footer .footer-certs-row .elementor-social-icon:focus svg {
    fill: #ffffff;
}

.wd-copyrights.copyrights-wrapper {
    font-family: var(--secondary-font-family, 'Roboto', sans-serif);
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .wd-footer .footer-nav-row .elementor-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 28px;
    }

    .wd-footer .footer-certs-row .elementor-col-20,
    .wd-footer .footer-certs-row .elementor-column[data-col="20"] {
        width: 33.333%;
        margin-bottom: 20px;
    }

    .wd-footer .footer-awards-row .elementor-col-25,
    .wd-footer .footer-awards-row .elementor-column[data-col="25"] {
        width: 50%;
        margin-bottom: 16px;
    }
}

@media (max-width: 768px) {
    .wd-footer .footer-nav-row .elementor-container {
        grid-template-columns: 1fr;
        row-gap: 24px;
    }

    .wd-footer .footer-nav-row .elementor-col-16,
    .wd-footer .footer-nav-row .elementor-column[data-col="16"],
    .wd-footer .footer-certs-row .elementor-col-20,
    .wd-footer .footer-certs-row .elementor-column[data-col="20"],
    .wd-footer .footer-awards-row .elementor-col-25,
    .wd-footer .footer-awards-row .elementor-column[data-col="25"],
    .wd-footer .elementor-column {
        width: 100% !important;
        max-width: 100%;
        padding: 0;
    }

    .wd-footer .footer-help-banner {
        padding: 24px 0 16px;
    }

    .wd-footer .footer-nav-row {
        padding: 0 0 24px;
    }

    .wd-footer .footer-awards-row,
    .wd-footer .footer-certs-row {
        display: none !important;
    }

    .wd-footer .payment-methods.icons-row {
        justify-content: flex-start;
    }

    .wd-copyrights.copyrights-wrapper {
        display: block !important;
    }
}

/* Páginas con compare table al final: prefooter vacío deja franja crema de 40px */
.page-template-page-templatespage-shop-php .wd-prefooter,
.page-template-page-templatespage-blog-php .wd-prefooter {
    padding-bottom: 0;
    background-color: transparent;
}

/* Header top-bar marquee: full bleed + enough copies for wide screens */
.whb-top-bar {
    overflow: hidden;
}

.whb-top-bar-marquee-wrap,
.whb-top-bar .header-marquee,
.whb-top-bar .marquee-text {
    width: 100%;
    max-width: none;
    overflow: hidden;
}

.whb-top-bar-marquee-wrap {
    display: flex;
    align-items: center;
    min-height: var(--wd-top-bar-h, 50px);
}

.whb-top-bar .header-marquee .marquee-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start !important;
    gap: 20px;
    width: max-content;
    animation: vm-header-marquee-scroll 120s linear infinite !important;
    will-change: transform;
}

.whb-top-bar .header-marquee .marquee-item {
    flex: 0 0 auto;
    white-space: nowrap;
}

@keyframes vm-header-marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .whb-top-bar .header-marquee .marquee-track {
        animation: none !important;
    }
}

/* === Shared static page shell — padding, typography, responsive images === */
.vm-static-page {
    color: #333;
}

.vm-static-page__container {
    padding-block: 40px 60px;
}

.vm-static-page__header {
    margin-bottom: 28px;
}

.vm-static-page__title {
    margin: 0;
    font-family: var(--primary-font-family, 'Roboto Slab', serif);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.25;
    color: #4b542b;
}

.vm-static-page__content {
    font-size: 16px;
    line-height: 1.65;
    color: #333;
}

.vm-static-page__content h2,
.vm-static-page__content h3 {
    margin: 1.75em 0 0.75em;
    font-family: var(--primary-font-family, 'Roboto Slab', serif);
    color: #4b542b;
}

.vm-static-page__content h2 {
    font-size: clamp(22px, 2.5vw, 28px);
}

.vm-static-page__content p,
.vm-static-page__content li {
    margin: 0 0 1em;
}

.vm-static-page__content ul,
.vm-static-page__content ol {
    margin: 0 0 1.25em 1.25em;
    padding: 0;
}

.vm-static-page__content img {
    display: block;
    max-width: 100%;
    height: auto;
}

.vm-static-page__content a {
    color: #7a8450;
    text-decoration: underline;
}

.vm-static-page__content a:hover,
.vm-static-page__content a:focus {
    color: #4b542b;
}

.vm-static-page__content table {
    width: 100%;
    max-width: 100%;
    margin: 0 0 2em;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.5;
    background: #fff;
    border: 1px solid #c8c3b8;
}

.vm-static-page__content table td,
.vm-static-page__content table th {
    padding: 12px 14px;
    border: 1px solid #c8c3b8;
    vertical-align: top;
    color: #333;
    background-color: #fff;
}

.vm-static-page__content table td p,
.vm-static-page__content table th p {
    color: #333;
    margin: 0 0 0.35em;
}

.vm-static-page__content table td p:last-child,
.vm-static-page__content table th p:last-child {
    margin-bottom: 0;
}

.vm-static-page__content table td:first-child {
    font-weight: 500;
    color: #4b542b;
}

.vm-static-page__content table tr:nth-child(even) td {
    background-color: #f9f8f5;
}

/* Formas de pago (vm:520) — payment logos row */
.vm-formas-pago__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0 0 1.5em;
}

.vm-formas-pago__logos .vm-import-image {
    margin: 0;
}

.vm-formas-pago__logos .vm-import-image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
}

.vm-formas-pago__logos .vm-import-image:last-child img {
    max-width: 250px;
}

.vm-static-page__content ol {
    line-height: 2.4;
}

.vm-devoluciones__note {
    padding-left: 40px;
}

.vm-static-page__content .wp-block-image.alignright {
    float: right;
    max-width: min(200px, 40%);
    margin: 0 0 1em 1.5em;
}

.vm-subvenciones__logos {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
    align-items: center;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #e8e4da;
}

.vm-subvenciones__logo {
    margin: 0;
    text-align: center;
}

.vm-subvenciones__logo img {
    display: block;
    width: 100%;
    max-width: 140px;
    height: auto;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .vm-subvenciones__logos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .vm-static-page__container {
        padding-block: 28px 48px;
    }

    .vm-static-page__content .wp-block-image.alignright {
        float: none;
        max-width: 180px;
        margin: 0 auto 1.25em;
    }

    .vm-subvenciones__logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

/* === Quiénes somos — intro + 4-column team grid === */
.vm-quienes-somos {
    padding: 0;
}

.vm-quienes-somos__title {
    margin: 0 0 24px;
    font-family: var(--primary-font-family, 'Roboto Slab', serif);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    color: #4b542b;
}

.vm-quienes-somos__intro {
    max-width: 920px;
    margin-bottom: 36px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
    color: #666;
}

.vm-team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vm-team-grid__item {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.vm-team-grid__photo {
    margin: 0 0 14px;
    overflow: hidden;
    border-radius: 4px;
    background-color: #e8e4db;
}

.vm-team-grid__photo img {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center top;
}

.vm-team-grid__meta {
    text-align: center;
}

.vm-team-grid__name,
.vm-team-grid__role {
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
}

.vm-team-grid__name {
    font-size: 16px;
    color: #333;
}

.vm-team-grid__role {
    margin-top: 4px;
    font-size: 15px;
    color: #5a5a5a;
}

@media (max-width: 1024px) {
    .vm-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 20px;
    }

    .vm-team-grid__photo img {
        height: 420px;
    }
}

@media (max-width: 600px) {
    .vm-quienes-somos {
        padding: 28px 0 48px;
    }

    .vm-team-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .vm-team-grid__photo img {
        height: 380px;
    }
}

/* === Beneficios — alternating illustration rows === */
.vm-beneficios {
    padding: 40px 0 64px;
}

.vm-beneficios__title {
    margin: 0 0 32px;
    text-align: center;
    font-family: var(--primary-font-family, 'Roboto Slab', serif);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    color: #4b542b;
}

.vm-beneficios-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 32px 40px;
    align-items: center;
    margin-bottom: 40px;
}

.vm-beneficios-row--image-left .vm-beneficios-row__media {
    order: -1;
}

.vm-beneficios-row__media {
    margin: 0;
}

.vm-beneficios-row__media img {
    display: block;
    width: 100%;
    max-width: 402px;
    height: auto;
    margin: 0 auto;
}

.vm-beneficios-row__media--hero img {
    max-width: 100%;
}

.vm-beneficios-row__body h2 {
    margin: 0 0 16px;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 700;
    color: #4b542b;
}

.vm-beneficios-row__body p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: #333;
}

.vm-beneficios-zero {
    max-width: 920px;
    margin: 12px auto 36px;
    font-size: 16px;
    line-height: 1.65;
    color: #333;
}

.vm-beneficios-zero h2 {
    margin: 0 0 20px;
    text-align: center;
    font-size: clamp(22px, 2.4vw, 28px);
    color: #4b542b;
}

.vm-beneficios-video {
    max-width: 720px;
    margin: 0 auto;
}

.vm-beneficios-video__embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
}

.vm-beneficios-video__embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .vm-beneficios {
        padding: 28px 0 48px;
    }

    .vm-beneficios-row {
        grid-template-columns: 1fr;
    }

    .vm-beneficios-row__media {
        order: -1;
    }

    .vm-beneficios-row__body {
        text-align: left;
    }
}

/* === Ficha técnica — cert row, Made in Spain video, sustainability === */
.vm-ficha-tecnica {
    padding: 40px 0 64px;
}

.vm-ficha-tecnica__title {
    margin: 0 0 24px;
    text-align: center;
    font-family: var(--primary-font-family, 'Roboto Slab', serif);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    color: #4b542b;
}

.vm-ficha-tecnica__intro {
    max-width: 920px;
    margin: 0 auto 36px;
    font-size: 16px;
    line-height: 1.65;
    color: #333;
    text-align: center;
}

.vm-ficha-tecnica__cert-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px 40px;
    align-items: center;
    max-width: 960px;
    margin: 0 auto 48px;
}

.vm-ficha-tecnica__cert-cta {
    text-align: center;
}

.vm-ficha-tecnica__btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: #fff;
    background-color: #7a8450;
    border-radius: 3px;
    transition: background-color 0.2s ease;
}

.vm-ficha-tecnica__btn:hover,
.vm-ficha-tecnica__btn:focus {
    color: #fff;
    background-color: #4b542b;
}

.vm-ficha-tecnica__cert-logos {
    margin: 0;
    text-align: center;
}

.vm-ficha-tecnica__cert-logos img {
    display: block;
    width: 100%;
    max-width: 473px;
    height: auto;
    margin: 0 auto;
}

.vm-ficha-tecnica__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px 40px;
    align-items: center;
    max-width: 1040px;
    margin: 0 auto 48px;
}

.vm-ficha-tecnica__row--sustainability .vm-ficha-tecnica__sosten-img {
    order: -1;
}

.vm-ficha-tecnica__body h2 {
    margin: 0 0 16px;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 700;
    color: #4b542b;
}

.vm-ficha-tecnica__body p,
.vm-ficha-tecnica__body li {
    font-size: 16px;
    line-height: 1.65;
    color: #333;
}

.vm-ficha-tecnica__body ul {
    margin: 16px 0;
    padding-left: 1.25em;
}

.vm-ficha-tecnica__sosten-img {
    margin: 0;
    text-align: center;
}

.vm-ficha-tecnica__sosten-img img {
    display: block;
    width: 72%;
    max-width: 420px;
    height: auto;
    margin: 0 auto;
    box-shadow: 19px 18px 0 #e7e2d1;
}

.vm-ficha-tecnica__video .vm-video-embed {
    width: 100%;
    max-width: none;
    margin: 0;
}

.vm-ficha-tecnica__manual-banner {
    margin-top: 24px;
    text-align: center;
}

.vm-ficha-tecnica__manual-banner img {
    display: block;
    width: 58%;
    max-width: 320px;
    height: auto;
    margin: 0 auto;
    border: 2px solid #808856;
}

@media (max-width: 768px) {
    .vm-ficha-tecnica {
        padding: 28px 0 48px;
    }

    .vm-ficha-tecnica__intro {
        text-align: left;
    }

    .vm-ficha-tecnica__cert-row,
    .vm-ficha-tecnica__row {
        grid-template-columns: 1fr;
    }

    .vm-ficha-tecnica__row--sustainability .vm-ficha-tecnica__sosten-img {
        order: -1;
    }

    .vm-ficha-tecnica__sosten-img img {
        width: 80%;
    }

    .vm-ficha-tecnica__manual-banner img {
        width: 90%;
    }
}

/* === En los medios — vm:497 prod parity === */
.vm-en-los-medios .vm-static-page__container {
    max-width: 1200px;
}

.vm-en-los-medios__content h1 {
    margin: 0 0 24px;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #889456;
}

.vm-en-los-medios__content h2 {
    margin: 40px 0 20px;
    text-align: center;
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 700;
    color: #889456;
}

.vm-en-los-medios__content h2:first-of-type {
    margin-top: 0;
}

.vm-en-los-medios__content > p {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.65;
    color: #666;
    font-weight: 500;
}

.vm-press-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    max-width: 100%;
    margin: 40px auto 32px;
    padding-bottom: 20px;
    align-items: start;
}

.vm-press-articles-grid figure.vm-import-image {
    margin: 0;
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
}

.vm-press-articles-grid figure.vm-import-image img {
    display: block;
    width: 100%;
    height: auto;
    box-shadow: 19px 18px 0 #e7e2d1;
}

.vm-press-articles-grid .vm-import-link-image,
.vm-press-articles-grid .vm-import-link-image a {
    display: block;
    width: 100%;
    text-decoration: none;
}

.vm-press-articles-grid .vm-import-link-image a {
    cursor: zoom-in;
}

.vm-en-los-medios__content .vm-en-los-medios__press-list {
    max-width: 720px;
    margin: 16px auto 48px;
    padding: 0 0 0 1.25em;
    line-height: 1.85;
    text-align: left;
    list-style: none;
}

.vm-en-los-medios__content .vm-en-los-medios__press-list li {
    position: relative;
    margin: 0 0 0.35em;
    padding: 0 0 0 1.1em;
}

.vm-en-los-medios__content .vm-en-los-medios__press-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #a4ae70;
}

.vm-en-los-medios__content .vm-en-los-medios__press-list a {
    font-weight: 700;
    color: #a4ae70;
    text-decoration: none;
}

.vm-en-los-medios__content .vm-en-los-medios__press-list a:hover,
.vm-en-los-medios__content .vm-en-los-medios__press-list a:focus {
    color: #889456;
}

.vm-en-los-medios__radio {
    width: 100%;
    max-width: 100%;
    margin: 10px auto 21px;
}

.vm-en-los-medios__radio-featured {
    margin: 0 0 0;
}

.vm-en-los-medios__radio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 0;
    margin-top: 27px;
}

.vm-en-los-medios__radio-col {
    display: flex;
    flex-direction: column;
    gap: 27px;
}

.vm-soundcloud-embed {
    width: 100%;
}

.vm-soundcloud-embed iframe {
    display: block;
    width: 100%;
    height: 166px;
    min-height: 166px;
    border: 0;
}

.vm-soundcloud-embed__credit {
    margin: 4px 0 0;
    font-size: 10px;
    line-height: 1.4;
    color: #ccc;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vm-soundcloud-embed__credit a {
    color: #ccc;
    text-decoration: none;
}

.vm-en-los-medios__tv-logos {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 28px auto;
}

.vm-en-los-medios__tv-logos img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
}

/* Televisión — 1 vídeo grande + 4 miniaturas (vm:497 et_pb_video_slider) */
.vm-en-los-medios__tv-section {
    width: 100%;
    margin: 24px auto 0;
    padding: 0;
}

.vm-en-los-medios__tv-slider {
    display: block;
    width: 100%;
}

.vm-en-los-medios__tv-slider .et_pb_video_wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}

.vm-en-los-medios__tv-slider .et_pb_video_box,
.vm-en-los-medios__tv-slider .et_pb_video_overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.vm-en-los-medios__tv-slider .et_pb_video_box iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.vm-en-los-medios__tv-slider .et_pb_slide {
    display: none;
}

.vm-en-los-medios__tv-slider .et_pb_slide.et-pb-active-slide {
    display: block;
}

.vm-en-los-medios__tv-slider .et_pb_carousel {
    position: relative;
    margin-top: 2%;
}

.vm-en-los-medios__tv-slider .et_pb_carousel_items {
    overflow: hidden;
}

.vm-en-los-medios__tv-slider .et-carousel-group {
    display: none;
    overflow: hidden;
}

.vm-en-los-medios__tv-slider .et-carousel-group.active {
    display: block;
}

.vm-en-los-medios__tv-slider .et_pb_carousel_items.columns-4 .et_pb_carousel_item {
    float: left;
    width: 23.5%;
    margin-right: 2%;
    position: relative;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.vm-en-los-medios__tv-slider .et_pb_carousel_items.columns-4 .et_pb_carousel_item:last-child {
    margin-right: 0;
}

.vm-en-los-medios__tv-slider .et_pb_carousel_items.columns-4 .et_pb_carousel_item::after {
    content: '';
    display: block;
    padding-top: 75%;
}

.vm-en-los-medios__tv-slider .et_pb_carousel_item .et_pb_video_overlay_hover {
    position: absolute;
    inset: 0;
    transition: background 0.2s ease;
}

.vm-en-los-medios__tv-slider .et_pb_carousel_item:hover .et_pb_video_overlay_hover,
.vm-en-los-medios__tv-slider .et_pb_carousel_item.et-pb-active-control .et_pb_video_overlay_hover {
    background: rgba(0, 0, 0, 0.35);
}

.vm-en-los-medios__tv-slider .et_pb_video_play {
    font-size: 4rem;
    line-height: 4rem;
    margin-left: -2rem;
    margin-top: -2rem;
}

.vm-en-los-medios__tv-slider .vm-tv-carousel-prev,
.vm-en-los-medios__tv-slider .vm-tv-carousel-next {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 32px;
    height: 48px;
    margin-top: -24px;
    border: 0;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.vm-en-los-medios__tv-slider .et_pb_carousel:hover .vm-tv-carousel-prev,
.vm-en-los-medios__tv-slider .et_pb_carousel:hover .vm-tv-carousel-next {
    opacity: 1;
}

.vm-en-los-medios__tv-slider .vm-tv-carousel-prev {
    left: 0;
}

.vm-en-los-medios__tv-slider .vm-tv-carousel-next {
    right: 0;
}

.vm-en-los-medios__tv-slider .vm-tv-carousel-prev::before,
.vm-en-los-medios__tv-slider .vm-tv-carousel-next::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    margin: 18px auto;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.vm-en-los-medios__tv-slider .vm-tv-carousel-prev::before {
    transform: rotate(-135deg);
    margin-left: 14px;
}

.vm-en-los-medios__tv-slider .vm-tv-carousel-next::before {
    transform: rotate(45deg);
    margin-right: 14px;
}

.vm-press-lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 1600;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.88);
}

.vm-press-lightbox-overlay.is-open {
    display: flex;
}

.vm-press-lightbox-overlay img {
    max-width: min(96vw, 1100px);
    max-height: 92vh;
    width: auto;
    height: auto;
}

.vm-press-lightbox-overlay__close {
    position: absolute;
    top: 16px;
    right: 20px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 980px) {
    .vm-press-articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .vm-press-articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vm-en-los-medios__radio-grid {
        grid-template-columns: 1fr;
    }
}

/* === Ebook landing — 2-column cover + CF7 (vm:33640) === */
.vm-ebook-landing {
    padding: 40px 0 64px;
}

.vm-ebook-landing__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 40px;
    align-items: start;
}

.vm-ebook-landing__media img {
    display: block;
    width: 100%;
    height: auto;
}

.vm-ebook-landing__panel {
    width: 80%;
    max-width: 100%;
    margin-inline: auto;
    text-align: center;
}

.vm-ebook-landing__title {
    margin: 0 0 16px;
    font-family: var(--primary-font-family, 'Roboto Slab', serif);
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 700;
    color: #4b542b;
    line-height: 1.25;
}

.vm-ebook-landing__intro {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.vm-ebook-landing__form .wpcf7-form label {
    display: block;
    text-align: left;
}

.vm-ebook-landing__form .wpcf7-form input.wpcf7-text,
.vm-ebook-landing__form .wpcf7-form input.wpcf7-email {
    width: 100%;
    padding: 16px;
    border: 2px solid #828e56;
    border-radius: 0;
    background-color: #eee;
    color: #666;
    font-size: 17px;
    letter-spacing: 1px;
    box-sizing: border-box;
}

.vm-ebook-landing__form .wpcf7-form input.wpcf7-text::placeholder,
.vm-ebook-landing__form .wpcf7-form input.wpcf7-email::placeholder {
    color: #999;
}

.vm-ebook-landing__form .wpcf7-form .wpcf7-acceptance {
    text-align: left;
    font-size: 15px;
    line-height: 1.5;
    color: #666;
}

.vm-ebook-landing__form .wpcf7-form .wpcf7-submit {
    display: inline-block;
    margin-top: 8px;
    padding: 12px 24px;
    border: 0;
    background-color: #828e56;
    color: #fff;
    font-size: 16px;
    letter-spacing: 3px;
    cursor: pointer;
}

.vm-ebook-landing__form .wpcf7-form .wpcf7-submit:hover,
.vm-ebook-landing__form .wpcf7-form .wpcf7-submit:focus {
    background-color: #6f7a49;
}

.vm-ebook-landing__form .wpcf7-not-valid-tip {
    display: block;
    margin-top: 6px;
    padding: 5px 10px;
    font-size: 14px !important;
    font-weight: 500;
    line-height: 1.35;
    color: #6b1f1f !important;
    background: #fff !important;
    border-radius: 6px;
}

.vm-ebook-landing__form .wpcf7-response-output {
    margin: 16px 0 0;
    padding: 14px 18px 14px 48px !important;
    text-align: left;
    font-size: 15px !important;
    font-weight: 500;
    line-height: 1.45;
    color: #443f73 !important;
    background: #fff !important;
    border: none !important;
    border-radius: 8px !important;
}

.vm-ebook-landing__form form.invalid .wpcf7-response-output,
.vm-ebook-landing__form form.unaccepted .wpcf7-response-output,
.vm-ebook-landing__form form.payment-required .wpcf7-response-output {
    color: #5c2430 !important;
    background: #fff5f0 !important;
    border: 1px solid #e0a8a8 !important;
}

.vm-ebook-landing__form form.sent .wpcf7-response-output {
    color: #2d4a2d !important;
    background: #f0f7eb !important;
    border: 1px solid #a8c99a !important;
}

@media (max-width: 980px) {
    .vm-ebook-landing__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .vm-ebook-landing__panel {
        width: 100%;
        text-align: left;
    }
}

/* === Curso formación — centered h2 underline + accordion === */
.vm-curso-formacion__content h2 {
    margin: 2.5em auto 1.5em;
    font-weight: 300;
    text-align: center;
}

.vm-curso-formacion__content h2 span {
    display: inline-block;
    padding-bottom: 0.2em;
    border-bottom: 2px solid #aaaf7d;
}

.vm-curso-accordion {
    margin: 24px 0 40px;
}

.vm-curso-accordion__item {
    margin: 0 0 -2px;
    border: 2px solid #aaaf7d;
}

.vm-curso-accordion__title {
    padding: 16px 48px 16px 20px;
    font-family: var(--primary-font-family, 'Roboto Slab', serif);
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 400;
    line-height: 1.35;
    color: #aaaf7d;
    cursor: pointer;
    list-style: none;
}

.vm-curso-accordion__title::-webkit-details-marker {
    display: none;
}

.vm-curso-accordion__title::after {
    content: "+";
    position: absolute;
    right: 20px;
    font-size: 1.4em;
    font-weight: 300;
    line-height: 1;
    color: #aaaf7d;
}

.vm-curso-accordion__item {
    position: relative;
}

.vm-curso-accordion__item[open] > .vm-curso-accordion__title {
    color: #aaaf7d;
}

.vm-curso-accordion__item[open] > .vm-curso-accordion__title::after {
    content: "−";
}

.vm-curso-accordion__body {
    padding: 8px 20px 20px;
    color: #333;
}

.vm-curso-accordion__body p {
    margin: 0 0 0.75em;
    line-height: 1.6;
}

.vm-curso-accordion__body a {
    color: #333;
    text-decoration: none;
}

.vm-curso-accordion__body a:hover,
.vm-curso-accordion__body a:focus {
    color: #7a8450;
}

.vm-curso-accordion__body img {
    display: inline;
    vertical-align: middle;
    margin-right: 4px;
}

/* === Contacto — vm:491 3-col info + CF7 + map === */
.vm-contacto__container {
    max-width: 1200px;
}

.vm-contacto__hero {
    margin-bottom: 32px;
    text-align: center;
}

.vm-contacto__title {
    margin: 0 0 12px;
    font-family: var(--primary-font-family, 'Roboto Slab', serif);
    font-size: clamp(28px, 3vw, 32px);
    font-weight: 700;
    line-height: 1.25;
    color: #4b542b;
}

.vm-contacto__intro {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: #333;
}

.vm-contacto__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr);
    gap: 32px 40px;
    align-items: start;
    margin-bottom: 40px;
}

.vm-contacto__logo {
    display: block;
    width: 70%;
    max-width: 220px;
    height: auto;
    margin-bottom: 20px;
}

.vm-contacto__label {
    margin: 0 0 8px;
    font-family: var(--primary-font-family, 'Roboto Slab', serif);
    font-size: 18px;
    font-weight: 700;
    color: #4b542b;
}

.vm-contacto__col--contact .vm-contacto__label:not(:first-child) {
    margin-top: 28px;
}

.vm-contacto__address,
.vm-contacto__col p {
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 1.65;
    color: #333;
}

.vm-contacto__col a {
    color: #7a8450;
    text-decoration: underline;
}

.vm-contacto__col a:hover,
.vm-contacto__col a:focus {
    color: #4b542b;
}

.vm-contacto__social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.vm-contacto__social a {
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.vm-contacto__form .wpcf7-form label {
    display: block;
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.4;
    color: #333;
}

.vm-contacto__form .wpcf7-form input.wpcf7-text,
.vm-contacto__form .wpcf7-form input.wpcf7-email,
.vm-contacto__form .wpcf7-form textarea.wpcf7-textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 2px;
    font-size: 15px;
    line-height: 1.4;
    color: #333;
    background: #fff;
}

.vm-contacto__form .wpcf7-form textarea.wpcf7-textarea {
    min-height: 140px;
    resize: vertical;
}

.vm-contacto__form .wpcf7-form .wpcf7-acceptance {
    display: block;
    margin: 8px 0 16px;
    font-size: 14px;
    line-height: 1.5;
}

.vm-contacto__form .wpcf7-form .wpcf7-submit {
    display: inline-block;
    padding: 12px 28px;
    border: 0;
    border-radius: 2px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background-color: #828e56;
    cursor: pointer;
}

.vm-contacto__form .wpcf7-form .wpcf7-submit:hover,
.vm-contacto__form .wpcf7-form .wpcf7-submit:focus {
    background-color: #6f7a49;
}

.vm-contacto__form .wpcf7-response-output {
    margin: 16px 0 0;
    color: #828e56;
}

.vm-contacto__map {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.vm-contacto__map iframe {
    display: block;
    width: 100%;
    height: 420px;
}

@media (max-width: 980px) {
    .vm-contacto__hero {
        text-align: left;
    }

    .vm-contacto__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .vm-contacto__logo {
        width: 55%;
        max-width: 180px;
    }

    .vm-contacto__col--contact .vm-contacto__label:not(:first-child) {
        margin-top: 20px;
    }
}

/* === FAQ (preguntas-frecuentes) — centered accordion layout === */
.vm-faq .vm-static-page__container {
    width: 60%;
    max-width: 100%;
    margin-inline: auto;
}

.vm-faq .vm-static-page__header {
    text-align: center;
}

.vm-faq__hero {
    margin: 0 0 32px;
}

.vm-faq__hero img {
    display: block;
    width: 100%;
    height: auto;
}

.vm-faq .accordion__veganmilker {
    margin-bottom: 48px;
    background: #fff;
    border: 1px solid #e4e0d6;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.vm-faq .accordion__veganmilker .wd-accordion {
    --wd-accordion-spacing: 0;
}

.vm-faq .accordion__veganmilker .wd-accordion-item {
    border-bottom: 1px solid #ebe8e0 !important;
}

.vm-faq .accordion__veganmilker .wd-accordion-item:last-child {
    border-bottom: none !important;
}

.vm-faq .accordion__veganmilker .wd-accordion-item > .wd-accordion-title {
    padding: 20px 24px;
    background-color: #f7f7f5;
    outline: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.vm-faq .accordion__veganmilker .wd-accordion-item > .wd-accordion-title:hover {
    background-color: #f2f1ec;
}

.vm-faq .accordion__veganmilker .wd-accordion-item > .wd-accordion-title.wd-active {
    background-color: #fff;
    padding-bottom: 14px;
}

.vm-faq .accordion__veganmilker .wd-accordion-title:focus {
    outline: none;
}

.vm-faq .accordion__veganmilker .wd-accordion-title:focus-visible {
    box-shadow: inset 0 0 0 2px rgba(122, 132, 80, 0.45);
}

.vm-faq .accordion__veganmilker .wd-accordion-title-text,
.vm-faq .accordion__veganmilker .wd-accordion-title-text h2 {
    margin: 0;
    padding-right: 12px;
    font-family: var(--primary-font-family, 'Roboto Slab', serif);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
    color: #4b542b !important;
}

.vm-faq .accordion__veganmilker .wd-accordion-title:hover .wd-accordion-title-text,
.vm-faq .accordion__veganmilker .wd-accordion-title:hover .wd-accordion-title-text h2,
.vm-faq .accordion__veganmilker .wd-accordion-title.wd-active .wd-accordion-title-text,
.vm-faq .accordion__veganmilker .wd-accordion-title.wd-active .wd-accordion-title-text h2 {
    color: #3d4524 !important;
}

.vm-faq .accordion__veganmilker .wd-accordion-content {
    padding: 0 24px 24px;
    background-color: #fff;
    transition: opacity 0.25s ease;
}

.vm-faq .accordion__veganmilker .wd-accordion-content,
.vm-faq .accordion__veganmilker .wd-accordion-content p,
.vm-faq .accordion__veganmilker .wd-accordion-content li {
    color: #333 !important;
    font-size: 16px;
    line-height: 1.7;
}

.vm-faq .accordion__veganmilker .wd-accordion-content p {
    margin: 0 0 0.85em;
}

.vm-faq .accordion__veganmilker .wd-accordion-content p:last-child {
    margin-bottom: 0;
}

.vm-faq .accordion__veganmilker .wd-accordion-content a {
    color: #7a8450 !important;
    font-weight: 600;
    text-decoration: underline;
}

.vm-faq .accordion__veganmilker .wd-accordion-content a:hover,
.vm-faq .accordion__veganmilker .wd-accordion-content a:focus {
    color: #4b542b !important;
}

.vm-faq .accordion__veganmilker .wd-accordion-opener {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    font-size: 11px;
    line-height: 28px;
    color: #4b542b !important;
    transition: transform 0.25s ease, color 0.2s ease;
}

.vm-faq .accordion__veganmilker .wd-accordion-title.wd-active .wd-accordion-opener,
.vm-faq .accordion__veganmilker .wd-accordion-title:hover .wd-accordion-opener {
    color: #7a8450 !important;
}

@media (max-width: 1024px) {
    .vm-faq .vm-static-page__container {
        width: 80%;
    }
}

@media (max-width: 767px) {
    .vm-faq .vm-static-page__container {
        width: 100%;
    }
}

/* === Programa afiliación — Google Form iframe === */
.vm-programa-afiliacion__intro {
    max-width: 820px;
    margin-bottom: 32px;
}

.vm-programa-afiliacion__form-wrap {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.vm-programa-afiliacion__iframe {
    display: block;
    width: 100%;
    min-height: 1400px;
    border: 0;
}

/* === Diseña tu Vegan Milker — configurator grid (prod ~80% centered) === */
.vm-disena .vm-static-page__container {
    max-width: 1040px;
}

.vm-disena .vm-static-page__header {
    text-align: center;
}

.vm-disena__intro {
    max-width: 820px;
    margin: 0 auto 24px;
    font-size: 16px;
    line-height: 1.65;
    color: #333;
    text-align: center;
}

.vm-disena__hero {
    margin: 0 auto 36px;
    max-width: 920px;
}

.vm-disena__hero img {
    display: block;
    width: 100%;
    height: auto;
}

.vm-disena__step {
    margin-bottom: 48px;
}

.vm-disena__step-title {
    margin: 0 0 24px;
    font-family: var(--primary-font-family, 'Roboto Slab', serif);
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 600;
    color: #4b542b;
    text-align: center;
}

.vm-disena__shop {
    max-width: 900px;
    margin: 0 auto;
}

.vm-disena__products.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100%;
}

.vm-disena__products.products .product {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    clear: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 12px 20px;
    background: #fff;
    border: 1px solid #e4e0d6;
    border-radius: 4px;
}

.vm-disena__products--count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 640px;
    margin-inline: auto !important;
}

.vm-disena__products--count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.vm-disena__product-link {
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

.vm-disena__product-link:hover .vm-disena__product-title,
.vm-disena__product-link:focus .vm-disena__product-title {
    color: #7a8450;
}

.vm-disena__product-image-wrap {
    display: block;
    margin: 0 auto 14px;
    max-width: 220px;
}

.vm-disena__product-image {
    display: block;
    width: 100%;
    max-width: 220px;
    height: auto;
    margin: 0 auto;
}

.vm-disena__product-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: #333;
}

.vm-disena__product-price {
    display: block;
    margin-bottom: 14px;
    font-size: 22px;
    font-weight: 700;
    color: #889456;
}

.vm-disena__product-price .woocommerce-Price-amount {
    color: inherit;
}

.vm-disena__add-to-cart {
    display: inline-block;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff !important;
    background-color: #828e56;
    border-radius: 2px;
    text-decoration: none;
}

.vm-disena__add-to-cart:hover,
.vm-disena__add-to-cart:focus {
    background-color: #6f7a49;
    color: #fff !important;
}

.vm-disena__cart-link {
    text-align: center;
}

.vm-disena__cart-btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    color: #fff !important;
    background-color: #828e56;
    border-radius: 2px;
    text-decoration: none;
}

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

.vm-disena__trust-badge {
    text-align: center;
}

.vm-disena__trust-badge img {
    display: block;
    width: 100%;
    max-width: 110px;
    height: auto;
    margin: 0 auto 10px;
}

.vm-disena__trust-badge span {
    display: block;
    font-size: 13px;
    line-height: 1.4;
    color: #333;
}

@media (max-width: 991px) {
    .vm-disena__products.products,
    .vm-disena__products--count-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .vm-disena__products--count-2 {
        max-width: 100%;
    }

    .vm-disena__trust-badges {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .vm-disena__products.products,
    .vm-disena__products--count-2,
    .vm-disena__products--count-4 {
        grid-template-columns: 1fr !important;
    }

    .vm-disena__trust-badges {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vm-programa-afiliacion__iframe {
        min-height: 1100px;
    }
}

/* === Reacondicionado category archive (prod parity) === */
.vm-reacondicionado .wd-content-area {
    background-color: #f7f5ec;
}

.vm-reacondicionado__container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 24px 16px 56px;
}

.vm-reacondicionado__breadcrumb {
    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: #4b542b;
}

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

.vm-reacondicionado__breadcrumb a:hover {
    color: #4b542b;
}

.vm-reacondicionado__title {
    margin: 0 0 28px;
    font-family: Adys, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: #7a8450;
    text-align: left;
}

.vm-reacondicionado__grid .products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: stretch;
}

.vm-reacondicionado__grid .products::before,
.vm-reacondicionado__grid .products::after {
    display: none;
}

.vm-reacondicionado__grid .product {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.vm-reacondicionado__grid .product .button {
    display: none;
}

.vm-reacondicionado__grid .product .woocommerce-LoopProduct-link {
    display: grid;
    grid-template-areas:
        "thumb"
        "title"
        "price";
    grid-template-rows: auto auto auto;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.vm-reacondicionado__grid .product .woocommerce-LoopProduct-link > img {
    grid-area: thumb;
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    background: #fff;
    display: block;
    position: relative;
    z-index: 1;
}

.vm-reacondicionado__grid .product .onsale {
    grid-area: thumb;
    place-self: start start;
    z-index: 3;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    margin: 12px 0 0 12px;
    padding: 8px 14px;
    min-width: 0;
    min-height: 0;
    width: auto;
    height: auto;
    background-color: #7a8450;
    color: #fff;
    font-family: Roboto, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
    border-radius: 0;
}

.vm-reacondicionado__grid .product .woocommerce-loop-product__title {
    grid-area: title;
    font-family: Adys, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #4b542b;
    text-align: center;
    margin: 14px 0 8px;
    min-height: 2.6em;
    line-height: 1.3;
}

.vm-reacondicionado__grid .product .price {
    grid-area: price;
    display: flex;
    justify-content: center;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    text-align: center;
    color: #4b542b;
    font-weight: 600;
    margin: 0;
}

.vm-reacondicionado__grid .product .price del {
    color: #999;
    font-weight: 400;
    opacity: 1;
}

.vm-reacondicionado__grid .product .price ins {
    text-decoration: none;
    color: #4b542b;
    font-weight: 700;
}

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

.vm-reacondicionado__disclaimer {
    margin: 28px 0 0;
    text-align: right;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    color: #666;
}

.vm-reacondicionado__trust {
    margin-top: 0;
    padding: 48px 24px;
    background-color: #fff;
    width: 100%;
}

.vm-reacondicionado__trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 28px 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.vm-reacondicionado__trust-badge {
    flex: 1 1 160px;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.vm-reacondicionado__trust-badge img {
    display: block;
    width: auto;
    height: 88px;
    max-width: 120px;
    object-fit: contain;
    margin: 0 auto 14px;
}

.vm-reacondicionado__trust-badge h4 {
    margin: 0;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    color: #333;
    min-height: 2.8em;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991px) {
    .vm-reacondicionado__grid .products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vm-reacondicionado__trust-badge {
        flex: 1 1 140px;
        max-width: 180px;
    }
}

@media (max-width: 575px) {
    .vm-reacondicionado__grid .products {
        grid-template-columns: 1fr;
    }

    .vm-reacondicionado__trust-badge {
        flex: 1 1 45%;
        max-width: none;
    }

    .vm-reacondicionado__disclaimer {
        text-align: left;
    }
}
