/* ==========================================================
   VisitaMadriz · WooCommerce y Bookings 1.2.1
   Compatible con WooCommerce clásico, WooCommerce Bookings
   y YITH Booking sin reemplazar plantillas.
   ========================================================== */

body.vmdhf-woo-enhanced {
    --vmdhf-woo-radius-xl: 30px;
    --vmdhf-woo-radius-lg: 22px;
    --vmdhf-woo-radius-md: 15px;
    --vmdhf-woo-border: rgba(17, 19, 26, .11);
    --vmdhf-woo-shadow: 0 24px 70px rgba(17, 19, 26, .10);
    --vmdhf-woo-shadow-hover: 0 28px 72px rgba(17, 19, 26, .18);
    background: #fbf7ef;
    overflow-x: clip;
}

body.vmdhf-woo-enhanced .site-content,
body.vmdhf-woo-enhanced .content-area,
body.vmdhf-woo-enhanced main,
body.vmdhf-woo-enhanced .site-main,
body.vmdhf-woo-enhanced .ast-container,
body.vmdhf-woo-enhanced .woocommerce {
    min-width: 0;
}

body.vmdhf-woo-enhanced .woocommerce-message,
body.vmdhf-woo-enhanced .woocommerce-info,
body.vmdhf-woo-enhanced .woocommerce-error {
    max-width: 1240px;
    margin: 20px auto;
    padding: 18px 22px 18px 58px;
    border: 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(17, 19, 26, .08);
}

body.vmdhf-woo-enhanced .woocommerce-message::before,
body.vmdhf-woo-enhanced .woocommerce-info::before,
body.vmdhf-woo-enhanced .woocommerce-error::before {
    top: 18px;
    left: 22px;
    color: var(--vmdhf-primary);
}

body.vmdhf-woo-enhanced .woocommerce-breadcrumb {
    width: min(1240px, calc(100% - 40px));
    margin: 26px auto 18px !important;
    color: #6b6d74;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .015em;
}

body.vmdhf-woo-enhanced .woocommerce-breadcrumb a {
    color: #30323a;
    text-decoration: none;
}

body.vmdhf-woo-enhanced .woocommerce-breadcrumb a:hover {
    color: var(--vmdhf-primary);
}

/* ----------------------------------------------------------
   Ficha individual
   ---------------------------------------------------------- */
body.vmdhf-woo-single .woocommerce div.product {
    display: block;
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto 80px;
}

/*
 * La galería sticky queda limitada a esta envolvente. De esta forma se detiene
 * al terminar la ficha principal y nunca invade productos combinados, upsells,
 * relacionados, pestañas ni otros bloques que aparezcan después.
 */
body.vmdhf-woo-single .vmdhf-product-main {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    gap: clamp(28px, 4.6vw, 68px);
    align-items: start;
    width: 100%;
    margin: 0 0 34px;
}

body.vmdhf-woo-single .vmdhf-product-main > .woocommerce-product-gallery,
body.vmdhf-woo-single .vmdhf-product-main > .summary {
    float: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
}

body.vmdhf-woo-single .vmdhf-product-main > .woocommerce-product-gallery {
    z-index: 1;
}

body.vmdhf-woo-single .vmdhf-product-main > .summary {
    z-index: 2;
}

body.vmdhf-woo-single .woocommerce div.product > .woocommerce-tabs,
body.vmdhf-woo-single .woocommerce div.product > .related,
body.vmdhf-woo-single .woocommerce div.product > .upsells,
body.vmdhf-woo-single .woocommerce div.product > section,
body.vmdhf-woo-single .woocommerce div.product > .product_meta + * {
    position: relative;
    z-index: 3;
    clear: both;
}

body.vmdhf-woo-single .woocommerce-product-gallery {
    position: sticky !important;
    top: 150px;
    padding: 11px;
    border: 1px solid rgba(255,255,255,.85);
    border-radius: var(--vmdhf-woo-radius-xl);
    background: rgba(255,255,255,.66);
    box-shadow: var(--vmdhf-woo-shadow);
    backdrop-filter: blur(10px);
}

body.vmdhf-woo-single .woocommerce-product-gallery__wrapper,
body.vmdhf-woo-single .woocommerce-product-gallery__image,
body.vmdhf-woo-single .woocommerce-product-gallery__image a {
    border-radius: 22px;
    overflow: hidden;
}

body.vmdhf-woo-single .woocommerce-product-gallery img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 !important;
    border-radius: 22px;
}

body.vmdhf-woo-single .flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
    margin: 11px 0 0 !important;
    padding: 0 !important;
}

body.vmdhf-woo-single .flex-control-thumbs li {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

body.vmdhf-woo-single .flex-control-thumbs img {
    aspect-ratio: 1;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 12px;
    opacity: .72;
    transition: border-color .2s ease, opacity .2s ease, transform .2s ease;
}

body.vmdhf-woo-single .flex-control-thumbs img.flex-active,
body.vmdhf-woo-single .flex-control-thumbs img:hover {
    border-color: var(--vmdhf-primary);
    opacity: 1;
    transform: translateY(-2px);
}

body.vmdhf-woo-single .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    top: 24px;
    right: 24px;
    width: 46px;
    height: 46px;
    border: 0;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0,0,0,.15);
}

body.vmdhf-woo-single .summary.entry-summary {
    position: relative;
    padding: clamp(25px, 3.3vw, 44px);
    border: 1px solid rgba(255,255,255,.9);
    border-radius: var(--vmdhf-woo-radius-xl);
    background:
        radial-gradient(circle at 100% 0, rgba(227,19,45,.08), transparent 34%),
        #fff;
    box-shadow: var(--vmdhf-woo-shadow);
}

body.vmdhf-woo-single .vmdhf-product-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 15px;
    color: var(--vmdhf-primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

body.vmdhf-woo-single .vmdhf-product-kicker span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: var(--vmdhf-dark);
    background: var(--vmdhf-accent);
}

body.vmdhf-woo-single .product_title {
    margin: 0 0 18px !important;
    color: #182033;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.45rem, 4.35vw, 4.5rem) !important;
    font-weight: 700 !important;
    line-height: .96 !important;
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

body.vmdhf-woo-single .summary .price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin: 0 0 22px !important;
    color: var(--vmdhf-primary) !important;
    font-size: clamp(1.7rem, 2.9vw, 2.4rem) !important;
    font-weight: 900 !important;
    line-height: 1;
}

body.vmdhf-woo-single .summary .price del {
    color: #8a8d94;
    font-size: .64em;
    opacity: .7;
}

body.vmdhf-woo-single .summary .price ins {
    text-decoration: none;
}

body.vmdhf-woo-single .woocommerce-product-details__short-description {
    margin: 0 0 24px;
    color: #4e525c;
    font-size: 17px;
    line-height: 1.68;
}

body.vmdhf-woo-single .woocommerce-product-details__short-description > :last-child {
    margin-bottom: 0;
}

body.vmdhf-woo-single .summary form.cart {
    position: relative;
    clear: both;
    display: block !important;
    width: 100%;
    margin: 28px 0 22px !important;
    padding: clamp(20px, 3vw, 30px) !important;
    border: 1px solid rgba(255,255,255,.09) !important;
    border-radius: 24px;
    color: #fff;
    background:
        radial-gradient(circle at 100% 0, rgba(227,19,45,.48), transparent 37%),
        radial-gradient(circle at 0 100%, rgba(244,198,68,.12), transparent 35%),
        #13151b;
    box-shadow: 0 24px 52px rgba(17,19,26,.22);
    overflow: visible;
}

body.vmdhf-woo-single .vmdhf-booking-panel-heading {
    margin: 0 0 22px;
    padding: 0 0 19px;
    border-bottom: 1px solid rgba(255,255,255,.13);
}

body.vmdhf-woo-single .vmdhf-booking-panel-heading > span {
    display: block;
    margin-bottom: 7px;
    color: var(--vmdhf-accent);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

body.vmdhf-woo-single .vmdhf-booking-panel-heading h2 {
    margin: 0 0 7px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    line-height: 1;
    letter-spacing: -.025em;
}

body.vmdhf-woo-single .vmdhf-booking-panel-heading p {
    margin: 0;
    color: rgba(255,255,255,.68);
    font-size: 14px;
    line-height: 1.45;
}

body.vmdhf-woo-single form.cart label,
body.vmdhf-woo-single form.cart legend,
body.vmdhf-woo-single form.cart .label,
body.vmdhf-woo-single .wc-bookings-booking-form label,
body.vmdhf-woo-single .yith-wcbk-booking-form label {
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
}

body.vmdhf-woo-single form.cart p,
body.vmdhf-woo-single form.cart small,
body.vmdhf-woo-single .wc-bookings-booking-form,
body.vmdhf-woo-single .yith-wcbk-booking-form {
    color: rgba(255,255,255,.78);
}

body.vmdhf-woo-single form.cart input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
body.vmdhf-woo-single form.cart select,
body.vmdhf-woo-single form.cart textarea,
body.vmdhf-woo-single .wc-bookings-booking-form input:not([type="checkbox"]):not([type="radio"]),
body.vmdhf-woo-single .wc-bookings-booking-form select,
body.vmdhf-woo-single .yith-wcbk-booking-form input:not([type="checkbox"]):not([type="radio"]),
body.vmdhf-woo-single .yith-wcbk-booking-form select {
    min-height: 50px;
    width: 100%;
    max-width: 100%;
    padding: 11px 14px;
    border: 1px solid rgba(255,255,255,.16) !important;
    border-radius: 12px !important;
    color: #181a20 !important;
    background: #fff !important;
    box-shadow: none !important;
    font-size: 15px;
}

body.vmdhf-woo-single form.cart input:focus,
body.vmdhf-woo-single form.cart select:focus,
body.vmdhf-woo-single form.cart textarea:focus {
    border-color: var(--vmdhf-accent) !important;
    outline: 3px solid rgba(244,198,68,.2) !important;
}

body.vmdhf-woo-single form.cart .quantity {
    float: none !important;
    display: inline-flex;
    margin: 0 9px 10px 0 !important;
    vertical-align: top;
}

body.vmdhf-woo-single form.cart .quantity .qty {
    width: 86px !important;
    text-align: center;
}

body.vmdhf-woo-single form.cart .single_add_to_cart_button,
body.vmdhf-woo-single form.cart button[type="submit"],
body.vmdhf-woo-single .wc-bookings-booking-form-button,
body.vmdhf-woo-single .yith-wcbk-add-to-cart-button,
body.vmdhf-woo-single .yith-wcbk-booking-form button {
    float: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    max-width: 100%;
    margin: 0 !important;
    padding: 14px 22px !important;
    border: 0 !important;
    border-radius: 13px !important;
    color: #fff !important;
    background: var(--vmdhf-primary) !important;
    box-shadow: 0 13px 28px rgba(227,19,45,.28) !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    letter-spacing: .01em;
    text-transform: none !important;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

body.vmdhf-woo-single form.cart .single_add_to_cart_button:hover,
body.vmdhf-woo-single form.cart button[type="submit"]:hover,
body.vmdhf-woo-single .wc-bookings-booking-form-button:hover,
body.vmdhf-woo-single .yith-wcbk-booking-form button:hover {
    background: #f01835 !important;
    box-shadow: 0 17px 34px rgba(227,19,45,.38) !important;
    transform: translateY(-2px);
}

body.vmdhf-woo-single form.cart .single_add_to_cart_button.disabled,
body.vmdhf-woo-single form.cart button:disabled {
    opacity: .5;
    transform: none;
}

body.vmdhf-woo-single .variations {
    width: 100%;
    margin: 0 0 18px !important;
}

body.vmdhf-woo-single .variations th,
body.vmdhf-woo-single .variations td {
    display: block;
    width: 100%;
    padding: 0 0 8px !important;
    border: 0 !important;
}

body.vmdhf-woo-single .reset_variations {
    display: inline-block;
    margin-top: 8px;
    color: var(--vmdhf-accent) !important;
    font-weight: 800;
}

/* WooCommerce Bookings */
body.vmdhf-woo-single .wc-bookings-booking-form,
body.vmdhf-woo-single .yith-wcbk-booking-form {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body.vmdhf-woo-single .wc-bookings-booking-form fieldset,
body.vmdhf-woo-single .yith-wcbk-form-section,
body.vmdhf-woo-single .yith-wcbk-booking-form__field {
    margin: 0 0 17px !important;
    padding: 0 !important;
    border: 0 !important;
}

body.vmdhf-woo-single .wc-bookings-booking-form .form-field,
body.vmdhf-woo-single .yith-wcbk-booking-form .form-field {
    margin: 0 0 15px !important;
}

body.vmdhf-woo-single .wc-bookings-booking-cost,
body.vmdhf-woo-single .yith-wcbk-booking-form-totals,
body.vmdhf-woo-single .yith-wcbk-booking-form-total,
body.vmdhf-woo-single .yith-wcbk-booking-form__total {
    margin: 18px 0 !important;
    padding: 16px 18px !important;
    border: 1px solid rgba(244,198,68,.35) !important;
    border-radius: 13px !important;
    color: #1b1d23 !important;
    background: var(--vmdhf-accent) !important;
    font-size: 17px;
    font-weight: 900;
}

body.vmdhf-woo-single .wc-bookings-date-picker,
body.vmdhf-woo-single .yith-wcbk-date-picker-wrapper,
body.vmdhf-woo-single .ui-datepicker {
    max-width: 100% !important;
}

body.vmdhf-woo-single .wc-bookings-date-picker .ui-datepicker,
body.vmdhf-woo-single .yith-wcbk-date-picker-wrapper .ui-datepicker,
body.vmdhf-woo-single .ui-datepicker {
    width: 100% !important;
    padding: 8px !important;
    border: 0 !important;
    border-radius: 16px !important;
    color: #24262d !important;
    background: #fff !important;
    box-shadow: none !important;
}

body.vmdhf-woo-single .ui-datepicker-header {
    border: 0 !important;
    border-radius: 11px !important;
    color: #fff !important;
    background: var(--vmdhf-primary) !important;
}

body.vmdhf-woo-single .ui-datepicker-title,
body.vmdhf-woo-single .ui-datepicker-prev,
body.vmdhf-woo-single .ui-datepicker-next {
    color: #fff !important;
}

body.vmdhf-woo-single .ui-datepicker th {
    color: #656871 !important;
    font-size: 11px;
    text-transform: uppercase;
}

body.vmdhf-woo-single .ui-datepicker td a,
body.vmdhf-woo-single .ui-datepicker td span {
    border: 0 !important;
    border-radius: 8px !important;
    text-align: center !important;
}

body.vmdhf-woo-single .ui-datepicker td.bookable a,
body.vmdhf-woo-single .ui-datepicker td.ui-datepicker-current-day a,
body.vmdhf-woo-single .ui-datepicker td a.ui-state-active {
    color: #fff !important;
    background: var(--vmdhf-primary) !important;
}

body.vmdhf-woo-single .wc-bookings-available-times-container,
body.vmdhf-woo-single .wc-bookings-booking-form .block-picker,
body.vmdhf-woo-single .yith-wcbk-booking-form .block-picker {
    width: 100%;
}

body.vmdhf-woo-single .wc-bookings-booking-form .block-picker,
body.vmdhf-woo-single .yith-wcbk-booking-form .block-picker {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 0 !important;
}

body.vmdhf-woo-single .wc-bookings-booking-form .block-picker li,
body.vmdhf-woo-single .yith-wcbk-booking-form .block-picker li {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

body.vmdhf-woo-single .wc-bookings-booking-form .block-picker li a,
body.vmdhf-woo-single .yith-wcbk-booking-form .block-picker li a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 7px !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 10px !important;
    color: #fff !important;
    background: rgba(255,255,255,.07) !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

body.vmdhf-woo-single .wc-bookings-booking-form .block-picker li a.selected,
body.vmdhf-woo-single .wc-bookings-booking-form .block-picker li a:hover,
body.vmdhf-woo-single .yith-wcbk-booking-form .block-picker li a.selected,
body.vmdhf-woo-single .yith-wcbk-booking-form .block-picker li a:hover {
    border-color: var(--vmdhf-accent) !important;
    color: #17191f !important;
    background: var(--vmdhf-accent) !important;
}

body.vmdhf-woo-single .product_meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 19px;
    padding-top: 18px;
    border-top: 1px solid var(--vmdhf-woo-border);
    color: #777a82;
    font-size: 12px;
}

body.vmdhf-woo-single .product_meta a {
    color: var(--vmdhf-primary);
    font-weight: 800;
}

body.vmdhf-woo-single .vmdhf-product-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 20px 0 0;
}

body.vmdhf-woo-single .vmdhf-product-trust > div {
    display: grid;
    grid-template-columns: 33px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 9px;
    align-items: center;
    min-width: 0;
    padding: 12px 10px;
    border: 1px solid var(--vmdhf-woo-border);
    border-radius: 13px;
    background: #faf8f4;
}

body.vmdhf-woo-single .vmdhf-product-trust span {
    grid-row: 1 / 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--vmdhf-primary);
    background: rgba(227,19,45,.09);
    font-weight: 900;
}

body.vmdhf-woo-single .vmdhf-product-trust strong {
    color: #252832;
    font-size: 11px;
    line-height: 1.1;
}

body.vmdhf-woo-single .vmdhf-product-trust small {
    color: #777a82;
    font-size: 9px;
    line-height: 1.2;
}

body.vmdhf-woo-single .woocommerce-tabs {
    margin-top: 24px;
    padding: clamp(24px, 4vw, 50px);
    border: 1px solid rgba(255,255,255,.85);
    border-radius: var(--vmdhf-woo-radius-xl);
    background: #fff;
    box-shadow: var(--vmdhf-woo-shadow);
}

body.vmdhf-woo-single .woocommerce-tabs ul.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 0 30px !important;
    padding: 0 !important;
    overflow: visible !important;
}

body.vmdhf-woo-single .woocommerce-tabs ul.tabs::before,
body.vmdhf-woo-single .woocommerce-tabs ul.tabs li::before,
body.vmdhf-woo-single .woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

body.vmdhf-woo-single .woocommerce-tabs ul.tabs li {
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--vmdhf-woo-border) !important;
    border-radius: 999px !important;
    background: #f6f3ed !important;
}

body.vmdhf-woo-single .woocommerce-tabs ul.tabs li a {
    padding: 11px 17px !important;
    color: #555861 !important;
    font-size: 13px;
    font-weight: 850 !important;
}

body.vmdhf-woo-single .woocommerce-tabs ul.tabs li.active {
    border-color: var(--vmdhf-primary) !important;
    background: var(--vmdhf-primary) !important;
}

body.vmdhf-woo-single .woocommerce-tabs ul.tabs li.active a {
    color: #fff !important;
}

body.vmdhf-woo-single .woocommerce-tabs .panel {
    margin: 0 !important;
    color: #444851;
    font-size: 16px;
    line-height: 1.75;
}

body.vmdhf-woo-single .woocommerce-tabs .panel h2,
body.vmdhf-woo-single .woocommerce-tabs .panel h3 {
    color: #192033;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.05;
    letter-spacing: -.02em;
}

body.vmdhf-woo-single .woocommerce-tabs .panel h2 {
    font-size: clamp(2rem, 3.2vw, 3.2rem);
}

body.vmdhf-woo-single .woocommerce-tabs .panel img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
}

body.vmdhf-woo-single .related,
body.vmdhf-woo-single .upsells {
    margin-top: 8px;
    padding-top: 28px;
}

body.vmdhf-woo-single .related > h2,
body.vmdhf-woo-single .upsells > h2 {
    margin: 0 0 25px;
    color: #192033;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: .98;
    letter-spacing: -.04em;
}

/* ----------------------------------------------------------
   Tienda y categorías
   ---------------------------------------------------------- */
body.vmdhf-woo-archive .woocommerce-products-header {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(1240px, calc(100% - 40px));
    min-height: 310px;
    margin: 24px auto 35px;
    padding: clamp(36px, 6vw, 76px);
    border-radius: 34px;
    color: #fff;
    background:
        radial-gradient(circle at 12% 17%, rgba(244,198,68,.18), transparent 25%),
        radial-gradient(circle at 88% 92%, rgba(227,19,45,.34), transparent 35%),
        #111319;
    box-shadow: 0 30px 78px rgba(17,19,26,.2);
    overflow: hidden;
}

body.vmdhf-woo-archive .woocommerce-products-header::before {
    content: "★  ★  ★  ★  ★  ★  ★";
    position: absolute;
    z-index: -1;
    right: -35px;
    bottom: -19px;
    color: rgba(255,255,255,.055);
    font-size: clamp(3rem, 8vw, 7.5rem);
    font-weight: 900;
    letter-spacing: .03em;
    white-space: nowrap;
    transform: rotate(-7deg);
}

body.vmdhf-woo-archive.vmdhf-woo-has-category-image .woocommerce-products-header::after {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(17,19,25,.98) 0%, rgba(17,19,25,.92) 42%, rgba(17,19,25,.45) 76%, rgba(17,19,25,.62) 100%),
        var(--vmdhf-archive-image) center / cover no-repeat;
}

body.vmdhf-woo-archive .woocommerce-products-header .page-title,
body.vmdhf-woo-archive .woocommerce-products-header h1 {
    order: 2;
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0 !important;
    color: #fff !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 6.8vw, 6.6rem) !important;
    font-weight: 700 !important;
    line-height: .9 !important;
    letter-spacing: -.055em;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

body.vmdhf-woo-archive .vmdhf-archive-eyebrow {
    order: 1;
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    margin: 0 0 18px;
    color: var(--vmdhf-accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

body.vmdhf-woo-archive .vmdhf-archive-eyebrow span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    color: #14161c;
    background: var(--vmdhf-accent);
}

body.vmdhf-woo-archive .woocommerce-products-header .term-description,
body.vmdhf-woo-archive .woocommerce-products-header .page-description {
    order: 3;
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 22px 0 0;
    color: rgba(255,255,255,.77);
    font-size: 17px;
    line-height: 1.65;
}

body.vmdhf-woo-archive .woocommerce-products-header .term-description p,
body.vmdhf-woo-archive .woocommerce-products-header .page-description p {
    margin: 0;
    color: inherit;
}

body.vmdhf-woo-archive .woocommerce-products-header .term-description img,
body.vmdhf-woo-archive .woocommerce-products-header .page-description img {
    display: none;
}

body.vmdhf-woo-archive .woocommerce-notices-wrapper,
body.vmdhf-woo-archive .vmdhf-archive-benefits,
body.vmdhf-woo-archive .woocommerce-result-count,
body.vmdhf-woo-archive .woocommerce-ordering,
body.vmdhf-woo-archive ul.products,
body.vmdhf-woo-archive .woocommerce-pagination {
    width: min(1240px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

body.vmdhf-woo-archive .vmdhf-archive-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0;
    margin-bottom: 23px;
}

body.vmdhf-woo-archive .vmdhf-archive-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(17,19,26,.1);
    border-radius: 999px;
    color: #464952;
    background: rgba(255,255,255,.78);
    box-shadow: 0 7px 20px rgba(17,19,26,.05);
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

body.vmdhf-woo-archive .vmdhf-archive-benefits b {
    color: var(--vmdhf-primary);
}

body.vmdhf-woo-archive .woocommerce-result-count {
    float: left !important;
    width: auto;
    margin-top: 10px !important;
    margin-bottom: 25px !important;
    color: #666972;
    font-size: 13px;
    font-weight: 750;
}

body.vmdhf-woo-archive .woocommerce-ordering {
    float: right !important;
    width: auto;
    margin: 0 0 25px !important;
}

body.vmdhf-woo-archive .woocommerce-ordering select {
    min-width: 245px;
    min-height: 47px;
    padding: 10px 42px 10px 15px;
    border: 1px solid rgba(17,19,26,.12);
    border-radius: 13px;
    color: #30333b;
    background-color: #fff;
    box-shadow: 0 9px 24px rgba(17,19,26,.07);
    font-size: 13px;
    font-weight: 800;
}

body.vmdhf-woo-archive ul.products,
body.vmdhf-woo-single .related ul.products,
body.vmdhf-woo-single .upsells ul.products {
    clear: both;
    display: grid !important;
    grid-template-columns: repeat(var(--vmdhf-shop-columns, 3), minmax(0, 1fr));
    gap: clamp(18px, 2.3vw, 30px);
    padding: 0 !important;
    list-style: none !important;
}

body.vmdhf-woo-single .related ul.products,
body.vmdhf-woo-single .upsells ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    margin: 0;
}

body.vmdhf-woo-archive ul.products::before,
body.vmdhf-woo-archive ul.products::after,
body.vmdhf-woo-single .related ul.products::before,
body.vmdhf-woo-single .related ul.products::after,
body.vmdhf-woo-single .upsells ul.products::before,
body.vmdhf-woo-single .upsells ul.products::after {
    display: none !important;
}

body.vmdhf-woo-archive ul.products li.product,
body.vmdhf-woo-single .related ul.products li.product,
body.vmdhf-woo-single .upsells ul.products li.product {
    position: relative;
    float: none !important;
    display: flex;
    flex-direction: column;
    width: auto !important;
    min-width: 0;
    height: 100%;
    margin: 0 !important;
    padding: 0 0 19px !important;
    border: 1px solid rgba(255,255,255,.88);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 17px 48px rgba(17,19,26,.09);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

body.vmdhf-woo-archive ul.products li.product:hover,
body.vmdhf-woo-single .related ul.products li.product:hover,
body.vmdhf-woo-single .upsells ul.products li.product:hover {
    border-color: rgba(227,19,45,.18);
    box-shadow: var(--vmdhf-woo-shadow-hover);
    transform: translateY(-7px);
}

body.vmdhf-woo-archive ul.products li.product > a.woocommerce-LoopProduct-link,
body.vmdhf-woo-single .related ul.products li.product > a.woocommerce-LoopProduct-link,
body.vmdhf-woo-single .upsells ul.products li.product > a.woocommerce-LoopProduct-link {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

body.vmdhf-woo-archive ul.products li.product img,
body.vmdhf-woo-single .related ul.products li.product img,
body.vmdhf-woo-single .upsells ul.products li.product img {
    display: block;
    width: 100% !important;
    height: auto;
    aspect-ratio: 4 / 3;
    margin: 0 0 18px !important;
    object-fit: cover;
    background: #eee9df;
    transition: transform .4s ease, filter .4s ease;
}

body.vmdhf-woo-archive ul.products li.product:hover img,
body.vmdhf-woo-single .related ul.products li.product:hover img,
body.vmdhf-woo-single .upsells ul.products li.product:hover img {
    filter: saturate(1.05) contrast(1.02);
    transform: scale(1.035);
}

body.vmdhf-woo-archive ul.products li.product .onsale,
body.vmdhf-woo-single .related ul.products li.product .onsale,
body.vmdhf-woo-single .upsells ul.products li.product .onsale {
    z-index: 3;
    top: 14px !important;
    right: 14px !important;
    left: auto !important;
    min-width: 0;
    min-height: 0;
    margin: 0 !important;
    padding: 8px 11px !important;
    border-radius: 999px;
    color: #17191f;
    background: var(--vmdhf-accent);
    box-shadow: 0 8px 22px rgba(0,0,0,.18);
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

body.vmdhf-woo-archive ul.products li.product.featured::after,
body.vmdhf-woo-single .related ul.products li.product.featured::after,
body.vmdhf-woo-single .upsells ul.products li.product.featured::after {
    content: "★ Destacada";
    position: absolute;
    z-index: 3;
    top: 14px;
    left: 14px;
    padding: 8px 11px;
    border-radius: 999px;
    color: #fff;
    background: var(--vmdhf-primary);
    box-shadow: 0 8px 22px rgba(0,0,0,.18);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

body.vmdhf-woo-archive .vmdhf-loop-eyebrow,
body.vmdhf-woo-single .related .vmdhf-loop-eyebrow,
body.vmdhf-woo-single .upsells .vmdhf-loop-eyebrow {
    display: block;
    margin: 0 21px 8px;
    color: var(--vmdhf-primary);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

body.vmdhf-woo-archive ul.products li.product .woocommerce-loop-product__title,
body.vmdhf-woo-single .related ul.products li.product .woocommerce-loop-product__title,
body.vmdhf-woo-single .upsells ul.products li.product .woocommerce-loop-product__title {
    margin: 0 21px 11px !important;
    padding: 0 !important;
    color: #1b2232;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.45rem, 2vw, 2rem) !important;
    font-weight: 700 !important;
    line-height: 1.04 !important;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

body.vmdhf-woo-archive .vmdhf-loop-excerpt {
    margin: 0 21px 16px;
    color: #666a73;
    font-size: 13px;
    line-height: 1.52;
}

body.vmdhf-woo-archive ul.products li.product .star-rating,
body.vmdhf-woo-single .related ul.products li.product .star-rating,
body.vmdhf-woo-single .upsells ul.products li.product .star-rating {
    margin: 0 21px 11px;
    color: var(--vmdhf-accent);
}

body.vmdhf-woo-archive ul.products li.product .price,
body.vmdhf-woo-single .related ul.products li.product .price,
body.vmdhf-woo-single .upsells ul.products li.product .price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    margin: auto 21px 17px !important;
    color: var(--vmdhf-primary) !important;
    font-size: 19px !important;
    font-weight: 900 !important;
    line-height: 1.15;
}

body.vmdhf-woo-archive ul.products li.product .price del,
body.vmdhf-woo-single .related ul.products li.product .price del,
body.vmdhf-woo-single .upsells ul.products li.product .price del {
    color: #92949a;
    font-size: .7em;
    opacity: .7;
}

body.vmdhf-woo-archive ul.products li.product .price ins,
body.vmdhf-woo-single .related ul.products li.product .price ins,
body.vmdhf-woo-single .upsells ul.products li.product .price ins {
    text-decoration: none;
}

body.vmdhf-woo-archive ul.products li.product > .button,
body.vmdhf-woo-archive ul.products li.product > a.button,
body.vmdhf-woo-single .related ul.products li.product > .button,
body.vmdhf-woo-single .upsells ul.products li.product > .button {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 49px;
    margin: 0 19px !important;
    padding: 13px 16px !important;
    border: 0 !important;
    border-radius: 13px !important;
    color: #fff !important;
    background: #17191f !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.1;
    text-decoration: none !important;
    transition: background .2s ease, transform .2s ease;
}

body.vmdhf-woo-archive ul.products li.product > .button::after,
body.vmdhf-woo-archive ul.products li.product > a.button::after,
body.vmdhf-woo-single .related ul.products li.product > .button::after,
body.vmdhf-woo-single .upsells ul.products li.product > .button::after {
    content: "→";
    color: var(--vmdhf-accent);
    font-size: 18px;
    line-height: 1;
}

body.vmdhf-woo-archive ul.products li.product > .button:hover,
body.vmdhf-woo-archive ul.products li.product > a.button:hover,
body.vmdhf-woo-single .related ul.products li.product > .button:hover,
body.vmdhf-woo-single .upsells ul.products li.product > .button:hover {
    background: var(--vmdhf-primary) !important;
    transform: translateY(-2px);
}

body.vmdhf-woo-archive ul.products li.product .added_to_cart {
    margin: 10px 21px 0;
    color: var(--vmdhf-primary);
    font-size: 12px;
    font-weight: 900;
}

body.vmdhf-woo-archive .woocommerce-pagination {
    margin-top: 48px;
    margin-bottom: 74px;
}

body.vmdhf-woo-archive .woocommerce-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body.vmdhf-woo-archive .woocommerce-pagination ul.page-numbers li {
    border: 0 !important;
}

body.vmdhf-woo-archive .woocommerce-pagination .page-numbers a,
body.vmdhf-woo-archive .woocommerce-pagination .page-numbers span {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 8px 12px !important;
    border: 1px solid rgba(17,19,26,.11);
    border-radius: 50%;
    color: #30323a;
    background: #fff;
    font-weight: 850;
}

body.vmdhf-woo-archive .woocommerce-pagination .page-numbers .current,
body.vmdhf-woo-archive .woocommerce-pagination .page-numbers a:hover {
    border-color: var(--vmdhf-primary);
    color: #fff;
    background: var(--vmdhf-primary);
}

body.vmdhf-woo-archive .woocommerce-info {
    clear: both;
}

/* WooCommerce Blocks */
body.vmdhf-woo-archive .wc-block-grid__products {
    display: grid !important;
    grid-template-columns: repeat(var(--vmdhf-shop-columns, 3), minmax(0, 1fr));
    gap: 24px;
    margin: 0 !important;
}

body.vmdhf-woo-archive .wc-block-grid__product {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 0 20px !important;
    border: 1px solid rgba(255,255,255,.88) !important;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 17px 48px rgba(17,19,26,.09);
    overflow: hidden;
}

body.vmdhf-woo-archive .wc-block-grid__product-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

body.vmdhf-woo-archive .wc-block-grid__product-title,
body.vmdhf-woo-archive .wc-block-grid__product-price,
body.vmdhf-woo-archive .wc-block-grid__product-rating,
body.vmdhf-woo-archive .wc-block-grid__product-add-to-cart {
    margin-left: 20px;
    margin-right: 20px;
}

/* Botón fijo móvil de reserva */
.vmdhf-mobile-booking-bar {
    display: none;
}

@media (max-width: 1024px) {
    body.vmdhf-woo-single .vmdhf-product-main {
        grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr);
        gap: 28px;
    }

    body.vmdhf-woo-single .product_title {
        font-size: clamp(2.3rem, 5vw, 3.8rem) !important;
    }

    body.vmdhf-woo-archive ul.products,
    body.vmdhf-woo-single .related ul.products,
    body.vmdhf-woo-single .upsells ul.products,
    body.vmdhf-woo-archive .wc-block-grid__products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    body.vmdhf-woo-enhanced .woocommerce-breadcrumb {
        width: calc(100% - 28px);
        margin-top: 18px !important;
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    body.vmdhf-woo-single .woocommerce div.product {
        width: calc(100% - 28px);
        margin-bottom: 48px;
    }

    body.vmdhf-woo-single .vmdhf-product-main {
        display: block;
        margin-bottom: 22px;
    }

    body.vmdhf-woo-single .woocommerce-product-gallery {
        position: relative !important;
        top: auto;
        margin-bottom: 16px !important;
        padding: 7px;
        border-radius: 22px;
    }

    body.vmdhf-woo-single .woocommerce-product-gallery__wrapper,
    body.vmdhf-woo-single .woocommerce-product-gallery__image,
    body.vmdhf-woo-single .woocommerce-product-gallery__image a,
    body.vmdhf-woo-single .woocommerce-product-gallery img {
        border-radius: 17px;
    }

    body.vmdhf-woo-single .summary.entry-summary {
        padding: 22px 18px;
        border-radius: 22px;
    }

    body.vmdhf-woo-single .vmdhf-product-kicker {
        margin-bottom: 12px;
        font-size: 10px;
    }

    body.vmdhf-woo-single .product_title {
        font-size: clamp(2.35rem, 12vw, 3.65rem) !important;
        line-height: .95 !important;
    }

    body.vmdhf-woo-single .woocommerce-product-details__short-description {
        font-size: 15px;
        line-height: 1.58;
    }

    body.vmdhf-woo-single .summary form.cart {
        margin-right: -8px !important;
        margin-left: -8px !important;
        width: calc(100% + 16px);
        padding: 20px 16px !important;
        border-radius: 19px;
    }

    body.vmdhf-woo-single form.cart .single_add_to_cart_button,
    body.vmdhf-woo-single form.cart button[type="submit"],
    body.vmdhf-woo-single .wc-bookings-booking-form-button,
    body.vmdhf-woo-single .yith-wcbk-booking-form button {
        width: 100% !important;
    }

    body.vmdhf-woo-single form.cart .quantity {
        display: flex;
        width: 100%;
        margin: 0 0 10px !important;
    }

    body.vmdhf-woo-single form.cart .quantity .qty {
        width: 100% !important;
    }

    body.vmdhf-woo-single .wc-bookings-booking-form .block-picker,
    body.vmdhf-woo-single .yith-wcbk-booking-form .block-picker {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.vmdhf-woo-single .vmdhf-product-trust {
        grid-template-columns: 1fr;
    }

    body.vmdhf-woo-single .vmdhf-product-trust > div {
        padding: 11px 13px;
    }

    body.vmdhf-woo-single .woocommerce-tabs {
        margin-top: 22px;
        padding: 21px 17px;
        border-radius: 22px;
    }

    body.vmdhf-woo-single .woocommerce-tabs ul.tabs {
        flex-wrap: nowrap;
        margin-right: -17px !important;
        margin-left: -17px !important;
        padding: 0 17px 8px !important;
        overflow-x: auto !important;
        scrollbar-width: none;
    }

    body.vmdhf-woo-single .woocommerce-tabs ul.tabs::-webkit-scrollbar {
        display: none;
    }

    body.vmdhf-woo-single .woocommerce-tabs ul.tabs li {
        flex: 0 0 auto;
    }

    body.vmdhf-woo-single .related > h2,
    body.vmdhf-woo-single .upsells > h2 {
        font-size: clamp(2.25rem, 10vw, 3.2rem);
    }

    body.vmdhf-woo-archive .woocommerce-products-header {
        width: calc(100% - 28px);
        min-height: 270px;
        margin: 18px auto 25px;
        padding: 30px 22px;
        border-radius: 24px;
    }

    body.vmdhf-woo-archive .woocommerce-products-header .page-title,
    body.vmdhf-woo-archive .woocommerce-products-header h1 {
        font-size: clamp(2.8rem, 14vw, 4.5rem) !important;
        line-height: .92 !important;
    }

    body.vmdhf-woo-archive .woocommerce-products-header .term-description,
    body.vmdhf-woo-archive .woocommerce-products-header .page-description {
        margin-top: 16px;
        font-size: 14px;
        line-height: 1.5;
    }

    body.vmdhf-woo-archive .woocommerce-notices-wrapper,
    body.vmdhf-woo-archive .vmdhf-archive-benefits,
    body.vmdhf-woo-archive .woocommerce-result-count,
    body.vmdhf-woo-archive .woocommerce-ordering,
    body.vmdhf-woo-archive ul.products,
    body.vmdhf-woo-archive .woocommerce-pagination {
        width: calc(100% - 28px);
    }

    body.vmdhf-woo-archive .vmdhf-archive-benefits {
        display: grid;
        grid-template-columns: 1fr;
        gap: 7px;
        margin-bottom: 17px;
    }

    body.vmdhf-woo-archive .vmdhf-archive-benefits span {
        justify-content: flex-start;
        width: 100%;
        border-radius: 12px;
    }

    body.vmdhf-woo-archive .woocommerce-result-count,
    body.vmdhf-woo-archive .woocommerce-ordering {
        float: none !important;
        display: block;
        width: calc(100% - 28px);
    }

    body.vmdhf-woo-archive .woocommerce-result-count {
        margin: 0 auto 10px !important;
    }

    body.vmdhf-woo-archive .woocommerce-ordering {
        margin: 0 auto 20px !important;
    }

    body.vmdhf-woo-archive .woocommerce-ordering select {
        width: 100%;
        min-width: 0;
    }

    body.vmdhf-woo-archive ul.products,
    body.vmdhf-woo-single .related ul.products,
    body.vmdhf-woo-single .upsells ul.products,
    body.vmdhf-woo-archive .wc-block-grid__products {
        grid-template-columns: 1fr !important;
        gap: 17px;
    }

    body.vmdhf-woo-archive ul.products li.product,
    body.vmdhf-woo-single .related ul.products li.product,
    body.vmdhf-woo-single .upsells ul.products li.product {
        border-radius: 21px;
    }

    body.vmdhf-woo-archive ul.products li.product:hover,
    body.vmdhf-woo-single .related ul.products li.product:hover,
    body.vmdhf-woo-single .upsells ul.products li.product:hover {
        transform: none;
    }

    body.vmdhf-woo-archive ul.products li.product img,
    body.vmdhf-woo-single .related ul.products li.product img,
    body.vmdhf-woo-single .upsells ul.products li.product img {
        aspect-ratio: 16 / 10;
    }

    body.vmdhf-woo-sticky-booking {
        padding-bottom: 88px;
    }

    body.vmdhf-woo-sticky-booking .vmdhf-whatsapp {
        bottom: 98px;
    }

    .vmdhf-mobile-booking-bar {
        position: fixed;
        z-index: 99990;
        right: 10px;
        bottom: max(10px, env(safe-area-inset-bottom));
        left: 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 67px;
        padding: 10px 10px 10px 15px;
        border: 1px solid rgba(255,255,255,.13);
        border-radius: 18px;
        color: #fff;
        background: rgba(17,19,25,.96);
        box-shadow: 0 18px 50px rgba(0,0,0,.34);
        backdrop-filter: blur(14px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }

    .vmdhf-mobile-booking-bar[hidden] {
        display: none !important;
    }

    .vmdhf-mobile-booking-bar.is-hidden {
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        pointer-events: none;
    }

    .vmdhf-mobile-booking-price {
        min-width: 0;
    }

    .vmdhf-mobile-booking-price small {
        display: block;
        margin-bottom: 2px;
        color: rgba(255,255,255,.6);
        font-size: 9px;
        font-weight: 800;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .vmdhf-mobile-booking-price strong,
    .vmdhf-mobile-booking-price .amount {
        color: #fff;
        font-size: 16px;
        font-weight: 900;
        line-height: 1.1;
    }

    .vmdhf-mobile-booking-price del {
        display: none;
    }

    .vmdhf-mobile-booking-price ins {
        text-decoration: none;
    }

    .vmdhf-mobile-booking-button {
        flex: 0 0 auto;
        min-height: 47px;
        padding: 11px 15px;
        border: 0;
        border-radius: 12px;
        color: #fff;
        background: var(--vmdhf-primary);
        box-shadow: 0 8px 20px rgba(227,19,45,.3);
        font-size: 12px;
        font-weight: 900;
        cursor: pointer;
    }

    .vmdhf-mobile-booking-button span {
        margin-left: 5px;
        color: var(--vmdhf-accent);
        font-size: 17px;
    }
}

@media (max-width: 380px) {
    body.vmdhf-woo-single .wc-bookings-booking-form .block-picker,
    body.vmdhf-woo-single .yith-wcbk-booking-form .block-picker {
        grid-template-columns: 1fr;
    }

    .vmdhf-mobile-booking-price strong,
    .vmdhf-mobile-booking-price .amount {
        font-size: 14px;
    }

    .vmdhf-mobile-booking-button {
        padding-right: 11px;
        padding-left: 11px;
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.vmdhf-woo-enhanced *,
    body.vmdhf-woo-enhanced *::before,
    body.vmdhf-woo-enhanced *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* ================================================================
   Suite Integral 1.3.2 · categorías con imagen y sin paginación
   ================================================================ */
body.vmdhf-woo-archive .woocommerce-products-header::after {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(17,19,25,.97) 0%, rgba(17,19,25,.87) 42%, rgba(17,19,25,.46) 78%, rgba(17,19,25,.58) 100%),
        var(--vmdhf-archive-image, url('../images/madrid-hero-photo.webp'));
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

body.vmdhf-woo-archive .woocommerce-pagination {
    display: none !important;
}

@media (max-width: 767px) {
    body.vmdhf-woo-archive ul.products,
    body.vmdhf-woo-archive .wc-block-grid__products,
    body.vmdhf-woo-single .related ul.products,
    body.vmdhf-woo-single .upsells ul.products {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        width: calc(100% - 28px) !important;
        max-width: calc(100% - 28px) !important;
        margin-right: auto !important;
        margin-left: auto !important;
        padding: 0 !important;
        overflow: visible !important;
        gap: 18px !important;
    }

    body.vmdhf-woo-archive ul.products li.product,
    body.vmdhf-woo-archive .wc-block-grid__product,
    body.vmdhf-woo-single .related ul.products li.product,
    body.vmdhf-woo-single .upsells ul.products li.product {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        float: none !important;
    }
}

/* ==========================================================
   1.5.3 · Experiencias / tienda estable y responsive
   ========================================================== */
body.vmdhf-woo-archive {
    background: #fbf7ef;
}

body.vmdhf-woo-archive .woocommerce-products-header {
    min-height: 390px;
    background: #111319;
}

body.vmdhf-woo-archive .woocommerce-products-header::after {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10,12,17,.93) 0%, rgba(10,12,17,.82) 48%, rgba(10,12,17,.35) 100%),
        var(--vmdhf-archive-image) center / cover no-repeat;
}

body.vmdhf-woo-shop-root .woocommerce-products-header::after {
    background-position: center 48%;
}

body.vmdhf-woo-archive .woocommerce-products-header .page-title,
body.vmdhf-woo-archive .woocommerce-products-header h1 {
    max-width: 880px;
    font-size: clamp(3.1rem, 6vw, 6.2rem) !important;
}

body.vmdhf-woo-archive .vmdhf-archive-intro {
    order: 3;
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin-top: 22px;
    color: rgba(255,255,255,.84);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.6;
}

body.vmdhf-woo-archive .vmdhf-archive-intro p {
    margin: 0;
    color: inherit;
}

/* Defensa frente a temas/cachés que ejecutan dos veces el mismo hook. */
body.vmdhf-woo-archive .vmdhf-archive-eyebrow ~ .vmdhf-archive-eyebrow,
body.vmdhf-woo-archive .vmdhf-archive-benefits ~ .vmdhf-archive-benefits {
    display: none !important;
}

body.vmdhf-woo-archive .vmdhf-archive-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 0;
    margin-bottom: 28px;
}

body.vmdhf-woo-archive .vmdhf-archive-benefits span {
    justify-content: center;
    min-height: 58px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(17,19,26,.07);
    text-align: center;
}

body.vmdhf-woo-archive .vmdhf-archive-benefits em {
    color: #3e424d;
    font-style: normal;
    font-weight: 850;
}

body.vmdhf-woo-archive .woocommerce-pagination {
    display: none !important;
}

body.vmdhf-woo-archive ul.products {
    align-items: stretch;
    margin-bottom: 70px !important;
}

body.vmdhf-woo-archive ul.products li.product {
    min-width: 0 !important;
}

body.vmdhf-woo-archive ul.products li.product .woocommerce-loop-product__title,
body.vmdhf-woo-archive .vmdhf-loop-excerpt,
body.vmdhf-woo-archive ul.products li.product .price {
    max-width: 100%;
}

@media (max-width: 767px) {
    body.vmdhf-woo-archive .woocommerce-breadcrumb {
        margin-bottom: 14px !important;
    }

    body.vmdhf-woo-archive .woocommerce-products-header {
        width: 100%;
        min-height: 420px;
        margin: 0 0 22px;
        padding: 42px 22px 44px;
        border-radius: 0;
        box-shadow: none;
    }

    body.vmdhf-woo-shop-root .woocommerce-products-header::after {
        background:
            linear-gradient(180deg, rgba(10,12,17,.48) 0%, rgba(10,12,17,.80) 58%, rgba(10,12,17,.96) 100%),
            var(--vmdhf-archive-image) 58% center / cover no-repeat;
    }

    body.vmdhf-woo-archive .woocommerce-products-header .page-title,
    body.vmdhf-woo-archive .woocommerce-products-header h1 {
        max-width: 100%;
        font-size: clamp(3.15rem, 15vw, 4.55rem) !important;
        line-height: .92 !important;
        overflow-wrap: normal;
        word-break: normal;
    }

    body.vmdhf-woo-archive .vmdhf-archive-eyebrow {
        margin-bottom: 16px;
        font-size: 10px;
        letter-spacing: .1em;
    }

    body.vmdhf-woo-archive .vmdhf-archive-intro {
        margin-top: 18px;
        font-size: 15px;
        line-height: 1.55;
    }

    body.vmdhf-woo-archive .vmdhf-archive-benefits {
        width: calc(100% - 28px);
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
        margin-bottom: 18px;
    }

    body.vmdhf-woo-archive .vmdhf-archive-benefits span {
        flex-direction: column;
        gap: 5px;
        min-height: 86px;
        padding: 10px 6px;
        border-radius: 14px;
        font-size: 10px;
        line-height: 1.15;
    }

    body.vmdhf-woo-archive .vmdhf-archive-benefits b {
        font-size: 17px;
        line-height: 1;
    }

    body.vmdhf-woo-archive .vmdhf-archive-benefits em {
        display: block;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    body.vmdhf-woo-archive .woocommerce-result-count,
    body.vmdhf-woo-archive .woocommerce-ordering {
        width: calc(100% - 28px) !important;
    }

    body.vmdhf-woo-archive .woocommerce-result-count {
        margin-top: 2px !important;
        text-align: center;
    }

    body.vmdhf-woo-archive ul.products {
        width: calc(100% - 28px);
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 18px;
        margin-bottom: 48px !important;
    }

    body.vmdhf-woo-archive ul.products li.product img {
        aspect-ratio: 16 / 10;
    }

    body.vmdhf-woo-archive ul.products li.product .woocommerce-loop-product__title {
        font-size: clamp(1.55rem, 8vw, 2rem) !important;
        line-height: 1.05 !important;
    }
}


/* ==========================================================
   1.5.4 · Bucle de tienda visible y consulta estable
   ========================================================== */
body.vmdhf-woo-archive ul.products,
body.vmdhf-woo-archive ul.products.vmdhf-products-ready,
body.vmdhf-woo-archive .vmdhf-fallback-products ul.products {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 1px !important;
    max-height: none !important;
    overflow: visible !important;
    transform: none !important;
    contain: none !important;
}

body.vmdhf-woo-archive ul.products li.product,
body.vmdhf-woo-archive .vmdhf-fallback-products ul.products li.product {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 100% !important;
    max-height: none !important;
    transform: none !important;
}

body.vmdhf-woo-archive .vmdhf-fallback-products {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto 70px;
}

body.vmdhf-woo-archive .vmdhf-fallback-products > ul.products {
    width: 100%;
    margin: 0 !important;
}

body.vmdhf-woo-archive .vmdhf-fallback-notice {
    margin: 0 0 18px;
    color: #696c75;
    font-size: 13px;
    font-weight: 800;
}

body.vmdhf-woo-archive .vmdhf-shop-empty {
    width: min(900px, calc(100% - 40px));
    margin: 30px auto 70px;
    padding: 34px;
    border: 1px solid rgba(17,19,26,.1);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(17,19,26,.08);
    text-align: center;
}

body.vmdhf-woo-archive .vmdhf-shop-empty h2 {
    margin: 0 0 8px;
    color: #1c2940;
}

body.vmdhf-woo-archive .vmdhf-shop-empty p {
    margin: 0;
    color: #6b6e76;
}

@media (max-width: 767px) {
    body.vmdhf-woo-archive .woocommerce-products-header {
        min-height: 345px;
        padding-bottom: 34px;
    }

    body.vmdhf-woo-archive .vmdhf-archive-benefits {
        margin-bottom: 14px;
    }

    body.vmdhf-woo-archive .vmdhf-fallback-products {
        width: calc(100% - 28px);
        margin-bottom: 48px;
    }
}


/* Suite Integral 1.5.5 · evita metadatos duplicados heredados de caché */
body.vmdhf-woo-archive ul.products li.product .vmdhf-loop-eyebrow,
body.vmdhf-woo-archive ul.products li.product .vmdhf-loop-excerpt {
    display: none !important;
}
