.dpt-products{display:grid;width:100%;grid-template-columns:repeat(1,minmax(0,1fr))}.dpt-product{display:flex;width:100%;min-width:0;position:relative}.dpt-product--reverse{flex-direction:row-reverse}.dpt-product-media,.dpt-product-content{min-width:0}.dpt-product-media{display:flex;align-items:center;justify-content:center;position:relative}.dpt-product-image{display:block;width:100%;overflow:hidden;-webkit-mask-image:var(--dpt-mask);mask-image:var(--dpt-mask);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain}.dpt-product-image img{display:block;width:100%;height:100%;object-fit:cover}.dpt-product-content{display:flex}.dpt-product-content-inner{width:100%;align-self:center}.dpt-category-icon{line-height:0}.dpt-category-icon img{display:inline-block;height:auto;max-width:100%}.dpt-product-title{margin:0 0 16px}.dpt-product-title a{color:inherit;text-decoration:none}.dpt-product-description{margin:0 0 18px}.dpt-product-price{margin:0 0 20px;display:flex;align-items:flex-end;justify-content:inherit;gap:.45em;line-height:1}.dpt-product-price del{opacity:.55;margin-right:.2em}.dpt-price-suffix{font-size:30%;font-weight:400;line-height:1.2;padding-bottom:.15em;white-space:nowrap}.dpt-product-actions{display:flex;gap:10px;align-items:stretch;justify-content:inherit}.dpt-add-to-cart,.dpt-details-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;transition:.2s ease;line-height:1.2}.dpt-add-to-cart:hover,.dpt-details-button:hover{text-decoration:none}.dpt-media-badges{position:absolute;z-index:3;display:flex;flex-direction:column;align-items:flex-start;top:18px;left:18px;gap:8px;pointer-events:none}.dpt-product--reverse .dpt-media-badges{left:auto;right:18px;align-items:flex-end}.dpt-media-badge{display:inline-flex;align-items:center;gap:.45em;padding:7px 11px;border-radius:8px;font-size:13px;font-weight:700;line-height:1}.dpt-media-badge svg,.dpt-media-badge i{width:1em;height:1em}.dpt-badge-discount{background:#fc4c02;color:#fff}.dpt-badge-featured{background:#fc4c02;color:#fff}.dpt-empty{padding:20px;border:1px dashed #bbb;text-align:center}.dpt-meta-simple{display:inline-flex;align-items:baseline;gap:.25em}.dpt-custom-label{padding:7px 12px;border-radius:7px;color:#fff;font-weight:700}.dpt-program-widget h3,.dpt-meta-list h3{margin-top:0}.dpt-schedule-list{display:flex;flex-wrap:wrap;gap:10px}.dpt-schedule-item{padding:10px 14px;border:1px solid rgba(0,0,0,.12);border-radius:8px}.dpt-itinerary-list{display:grid;gap:18px}.dpt-itinerary-item{display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:start}.dpt-itinerary-item img{width:46px;height:46px;object-fit:contain}.dpt-itinerary-item h4{margin:3px 0 5px}.dpt-itinerary-item p{margin:0}.dpt-meta-list ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}.dpt-meta-list li{display:flex;gap:9px;align-items:flex-start}.dpt-meta-list-icon{flex:0 0 auto}.dpt-map iframe{display:block;width:100%;border:0}.dpt-videos-grid{display:grid;gap:18px}.dpt-video-item video,.dpt-video-embed iframe{display:block;width:100%;max-width:100%;aspect-ratio:16/9;height:auto}.dpt-video-item h4{margin-top:0}
@media(max-width:767px){.dpt-products{grid-template-columns:1fr!important}.dpt-product,.dpt-product--reverse{flex-direction:column!important}.dpt-product-media,.dpt-product-content{flex-basis:100%!important;max-width:100%!important;width:100%}.dpt-media-badges,.dpt-product--reverse .dpt-media-badges{left:14px!important;right:auto!important;align-items:flex-start}.dpt-product-actions{flex-wrap:wrap}.dpt-add-to-cart,.dpt-details-button{flex:1 1 calc(50% - 5px)}}

/* v2.2: WoodMart / WooCommerce AJAX cart compatibility.
 * WooCommerce injects an .added_to_cart link after AJAX. WoodMart uses its
 * own side cart, so the extra "Ver carrito" link must not occupy space here. */
.dpt-product-actions .added_to_cart.wc-forward{display:none!important}

/* =========================================================
 * v2.4 · Imagen principal Fullwidth
 * ======================================================= */
.dpt-product-hero {
    display: block;
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 1px;
    background: #f2f2f2;
}
.dpt-product-hero__clip,
.dpt-product-hero__image,
.dpt-product-hero__overlay {
    position: absolute;
    inset: 0;
}
.dpt-product-hero__clip {
    z-index: 1;
    overflow: hidden;
}
.dpt-product-hero__image {
    z-index: 1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
.dpt-product-hero__overlay {
    z-index: 2;
    pointer-events: none;
}
.dpt-product-hero--placeholder .dpt-product-hero__image {
    background-image: linear-gradient(135deg, #f5f5f5, #e9e9e9);
}

/* =========================================================
 * v2.4 · Galería desplazable tipo coverflow
 * ======================================================= */
.dpt-tour-gallery {
    --dpt-gallery-center-width: 42%;
    --dpt-gallery-object-y: 50%;
    position: relative;
    width: 100%;
    min-height: 470px;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}
.dpt-tour-gallery__stage {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.dpt-tour-gallery__slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--dpt-gallery-center-width);
    height: 88%;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.7);
    transform-origin: center center;
    transition-property: transform, opacity, filter;
    transition-timing-function: cubic-bezier(.22,.61,.36,1);
    will-change: transform, opacity;
    pointer-events: none;
    background: #eee;
}
.dpt-tour-gallery__slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 50% var(--dpt-gallery-object-y, 50%);
    pointer-events: none;
}
.dpt-tour-gallery__slide.is-visible { opacity: 1; }
.dpt-tour-gallery__slide.is-active { opacity: 1; z-index: 30 !important; }
.dpt-tour-gallery__arrow {
    position: absolute;
    top: 50%;
    z-index: 60;
    width: 44px;
    height: 64px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    color: #fff;
    background: rgba(0,0,0,.25);
    transition: opacity .2s ease, background .2s ease;
}
.dpt-tour-gallery__arrow:hover { background: rgba(0,0,0,.42); }
.dpt-tour-gallery__arrow--prev { left: 18px; }
.dpt-tour-gallery__arrow--next { right: 18px; }
.dpt-tour-gallery__arrow[disabled] { opacity: .25; cursor: default; }
.dpt-tour-gallery__dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    z-index: 65;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 7px;
}
.dpt-tour-gallery__dot {
    width: 8px;
    height: 8px;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0,0,0,.25);
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}
.dpt-tour-gallery__dot.is-active {
    transform: scale(1.45);
    background: rgba(0,0,0,.72);
}
@media (max-width: 767px) {
    .dpt-tour-gallery { --dpt-gallery-center-width: 92%; }
    .dpt-tour-gallery__arrow { width: 38px; height: 54px; }
    .dpt-tour-gallery__arrow--prev { left: 8px; }
    .dpt-tour-gallery__arrow--next { right: 8px; }
}

/* =========================================================
 * v2.5.1 · Máscara inferior REAL del hero
 * La imagen cargada funciona como canal alfa de recorte. No se dibuja
 * sobre la fotografía. Se combinan dos capas de máscara: una zona sólida
 * superior y la silueta PNG/SVG en la franja inferior.
 * ======================================================= */
.dpt-product-hero--has-bottom-mask .dpt-product-hero__clip {
    --dpt-bottom-mask-height: 90px;
    --dpt-bottom-mask-offset: 0px;
    --dpt-bottom-mask-size: 100% 100%;
    --dpt-bottom-mask-repeat: no-repeat;

    -webkit-mask-image:
        linear-gradient(#000 0 0),
        var(--dpt-bottom-mask);
    mask-image:
        linear-gradient(#000 0 0),
        var(--dpt-bottom-mask);

    -webkit-mask-repeat: no-repeat, var(--dpt-bottom-mask-repeat);
    mask-repeat: no-repeat, var(--dpt-bottom-mask-repeat);

    -webkit-mask-size:
        100% calc(100% - var(--dpt-bottom-mask-height) - var(--dpt-bottom-mask-offset)),
        var(--dpt-bottom-mask-size);
    mask-size:
        100% calc(100% - var(--dpt-bottom-mask-height) - var(--dpt-bottom-mask-offset)),
        var(--dpt-bottom-mask-size);

    -webkit-mask-position:
        center top,
        center calc(100% - var(--dpt-bottom-mask-offset));
    mask-position:
        center top,
        center calc(100% - var(--dpt-bottom-mask-offset));
}

/* =========================================================
 * v2.5 · Categoría individual
 * ======================================================= */
.dpt-product-category {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}
.dpt-product-category--vertical { flex-direction: column; }
.dpt-product-category--horizontal { flex-direction: row; }
.dpt-product-category__image {
    display: block;
    width: 100px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
.dpt-product-category__name {
    display: block;
    color: inherit;
    transition: color .2s ease;
}

/* =========================================================
 * v2.5 · Descuento y destacado independientes
 * ======================================================= */
.dpt-product-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.dpt-product-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45em;
    padding: 8px 12px;
    border-radius: 8px;
    line-height: 1;
    font-weight: 700;
}
.dpt-product-badge svg,
.dpt-product-badge i { width: 1em; height: 1em; }
.dpt-product-badge--discount { background: #fc4c02; color: #fff; }
.dpt-product-badge--featured { background: #fc4c02; color: #fff; }

/* =========================================================
 * v2.5 · Imagen principal individual con máscara
 * ======================================================= */
.dpt-single-product-image {
    display: block;
    max-width: 100%;
}
.dpt-single-product-image__media {
    width: 100%;
    height: 520px;
    overflow: hidden;
    -webkit-mask-image: var(--dpt-single-mask);
    mask-image: var(--dpt-single-mask);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center center;
    mask-position: center center;
    -webkit-mask-size: contain;
    mask-size: contain;
}
.dpt-single-product-image__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% var(--dpt-single-img-y, 50%);
}

/* =========================================================
 * v2.6 · Corrección de ancho + modos de galería
 * - Elementor/WoodMart podía colapsar el widget a 0px de ancho porque
 *   el coverflow está compuesto por elementos posicionados absolutamente.
 * - 3+ imágenes: coverflow.
 * - 1-2 imágenes: cuadrícula estática.
 * - El margen vertical existe únicamente cuando el widget imprime imágenes.
 * ======================================================= */
.elementor-widget-dpt_product_gallery {
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    align-self: stretch;
    flex: 1 1 100%;
}
.elementor-widget-dpt_product_gallery > .elementor-widget-container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.dpt-tour-gallery {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Coverflow: sólo para 3 o más imágenes. */
.dpt-tour-gallery--slider {
    position: relative;
    overflow: hidden;
}
.dpt-tour-gallery--slider .dpt-tour-gallery__stage {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.dpt-tour-gallery--slider .dpt-tour-gallery__slide {
    position: absolute;
    top: 50%;
    left: 50%;
}

/* Una o dos imágenes: no slider, no altura mínima forzada, no posiciones absolutas. */
.dpt-tour-gallery--grid {
    position: relative;
    min-height: 0 !important;
    overflow: visible;
    user-select: auto;
    -webkit-user-select: auto;
}
.dpt-tour-gallery--grid .dpt-tour-gallery__stage {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    overflow: visible;
}
.dpt-tour-gallery--grid.dpt-tour-gallery--count-1 .dpt-tour-gallery__stage {
    grid-template-columns: minmax(0, 1fr);
}
.dpt-tour-gallery--grid .dpt-tour-gallery__slide {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto !important;
    aspect-ratio: 3 / 2;
    margin: 0;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto;
}
.dpt-tour-gallery--grid .dpt-tour-gallery__slide img {
    width: 100%;
    height: 100%;
}

@media (max-width: 767px) {
    .dpt-tour-gallery--grid .dpt-tour-gallery__stage {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* =========================================================
 * v2.7 · Botón WhatsApp individual para ficha de Tour
 * ======================================================= */
.dpt-whatsapp-wrap {
    display: flex;
    width: 100%;
}
.dpt-whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    max-width: 100%;
    padding: 13px 22px;
    border-radius: 30px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    line-height: 1.2;
    transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.dpt-whatsapp-button:hover,
.dpt-whatsapp-button:focus {
    background: #1fb857;
    color: #fff;
    text-decoration: none;
}
.dpt-whatsapp-button__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 20px;
    line-height: 1;
}
.dpt-whatsapp-button__icon svg {
    display: block;
    width: 1em;
    height: 1em;
    fill: currentColor;
}
.dpt-whatsapp-button__text {
    display: inline-block;
}

/* =========================================================
 * v2.8 · Horario + metadatos compactos
 * ======================================================= */
.dpt-schedule-row {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    column-gap: 12px;
}
.dpt-schedule-heading {
    display: inline-flex;
    align-items: center;
    flex: 0 0 145px;
    width: 145px;
    min-width: 0;
    column-gap: 9px;
    white-space: nowrap;
}
.dpt-schedule-heading__icon,
.dpt-meta-compact__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    line-height: 1;
}
.dpt-schedule-heading__icon svg,
.dpt-meta-compact__icon svg {
    display: block;
    width: 1em;
    height: 1em;
    fill: currentColor;
}
.dpt-schedule-heading__text {
    display: inline-block;
    line-height: 1.2;
}
.dpt-schedule-list {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.dpt-schedule-time {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    line-height: 1.2;
    padding: 6px 10px;
}
.dpt-meta-compact {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    column-gap: 9px;
    line-height: 1.2;
}
.dpt-meta-compact__content {
    display: inline-flex;
    align-items: baseline;
    min-width: 0;
    flex-wrap: nowrap;
    column-gap: 5px;
    white-space: nowrap;
}
.dpt-meta-compact .dpt-meta-label,
.dpt-meta-compact .dpt-meta-sep,
.dpt-meta-compact .dpt-meta-value {
    display: inline-block;
    margin: 0;
}
.dpt-is-demo {
    opacity: .78;
}

@media (max-width: 767px) {
    .dpt-schedule-row {
        align-items: flex-start;
    }
    .dpt-schedule-heading {
        flex-basis: 120px;
        width: 120px;
    }
}

/* v3.0: demos de metadatos dentro del editor de Elementor */
.dpt-is-demo{box-sizing:border-box}.dpt-map-demo{width:100%;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;border:1px dashed rgba(0,0,0,.25);border-radius:12px;background:rgba(0,0,0,.035);color:inherit}.dpt-map-demo>span{font-size:42px;line-height:1}.dpt-map-demo small,.dpt-video-demo small{opacity:.62}.dpt-video-demo{width:100%}.dpt-video-demo__screen{width:100%;aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;border-radius:12px;background:rgba(0,0,0,.08);border:1px dashed rgba(0,0,0,.2)}.dpt-video-demo__screen span{display:flex;width:64px;height:64px;align-items:center;justify-content:center;border-radius:50%;background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.12);font-size:24px;padding-left:4px}.dpt-video-demo h4{margin:12px 0 3px}.dpt-custom-label.dpt-meta-compact{padding:7px 12px;border-radius:7px;color:#fff;font-weight:700}.dpt-custom-label .dpt-meta-compact__icon,.dpt-custom-label .dpt-meta-label,.dpt-custom-label .dpt-meta-sep,.dpt-custom-label .dpt-meta-value{color:inherit}

/* =========================================================
 * v3.2 · Etiqueta estructurada + previews Elementor
 * ======================================================= */
.dpt-meta-compact {
    column-gap: 0;
}
.dpt-meta-compact__labelgroup {
    display: inline-flex;
    align-items: center;
    flex: 0 0 145px;
    width: 145px;
    min-width: 0;
    column-gap: 9px;
    white-space: nowrap;
}
.dpt-meta-compact__titlewrap {
    display: inline-flex;
    align-items: baseline;
    min-width: 0;
    column-gap: 3px;
    white-space: nowrap;
}
.dpt-meta-compact__content {
    display: inline-flex;
    align-items: baseline;
    flex: 1 1 auto;
    min-width: 0;
    column-gap: 0;
    white-space: normal;
}
.dpt-meta-compact__content .dpt-meta-value {
    min-width: 0;
}

/* DPT v3.3 - Listas de metadatos */
.dpt-meta-list {
    width: 100%;
}
.dpt-meta-list__heading {
    display: flex;
    align-items: center;
    margin: 0;
}
.dpt-meta-list__heading-icon,
.dpt-meta-list__item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    line-height: 1;
}
.dpt-meta-list__heading-icon svg,
.dpt-meta-list__item-icon svg {
    display: block;
}
.dpt-meta-list__items {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}
.dpt-meta-list__item {
    position: relative;
    min-width: 0;
    list-style: none;
}
.dpt-meta-list__item-main {
    display: flex;
    align-items: flex-start;
    min-width: 0;
}
.dpt-meta-list__item-text {
    min-width: 0;
}
.dpt-meta-list--has-separators .dpt-meta-list__item::after {
    content: "";
    display: block;
    max-width: 100%;
}
.dpt-meta-list--separator-dashed .dpt-meta-list__item::after {
    background: none !important;
    border-top-style: dashed;
    border-top-width: var(--dpt-list-separator-border-width, 1px);
    border-top-color: currentColor;
    height: 0 !important;
}
.dpt-meta-list--separator-dotted .dpt-meta-list__item::after {
    background: none !important;
    border-top-style: dotted;
    border-top-width: var(--dpt-list-separator-border-width, 1px);
    border-top-color: currentColor;
    height: 0 !important;
}
.dpt-meta-list--separator-double .dpt-meta-list__item::after {
    background: none !important;
    border-top-style: double;
    border-top-width: var(--dpt-list-separator-border-width, 3px);
    border-top-color: currentColor;
    height: 0 !important;
}


/* v4.1 · Shortcode Reserva */
.dpt-reservation-shortcode{width:100%;}
.dpt-reservation-shortcode--demo{padding:22px;border:1px dashed currentColor;border-radius:8px;opacity:.72;text-align:center;}
