/* =========================================================
   SPOT DETAIL REDESIGN - ANUNCIATE HOY
========================================================= */

/* =============================
   BASE
============================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.ahd-page,
.ahd-page * {
    box-sizing: border-box;
}

.ahd-page {
    background: #fff;
    color: #111;
    padding: 0 0 80px;
}

.ahd-shell {
    width: min(1480px, calc(100% - 44px));
    margin: 0 auto;
}

/* =============================
   BREADCRUMBS
============================= */

.ahd-product-section {
    padding: 0px 0 0;
}

.ahd-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #333;
}

.ahd-breadcrumbs a {
    color: #333;
    text-decoration: none;
}

.ahd-breadcrumbs a:hover {
    color: #cd1218;
}

/* =============================
   MAIN PRODUCT GRID
============================= */

.ahd-product-grid {
    display: grid;
    grid-template-columns: minmax(350px, 600px) minmax(0, 1fr) 380px;
    gap: 15px;
    align-items: start;
}

.ahd-product-media,
.ahd-product-info,
.ahd-side {
    min-width: 0;
}

.ahd-hero,
.ahd-hero__media {
    display: none;
}

.ahd-gallery,
.ahd-hero__media {
    position: relative;
}

.ahd-product-media .ahd-gallery {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #292626;
}

.ahd-gallery__item {
    display: block;
    width: 100%;
    min-height: 500px;
    height: 550px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* =============================
   HEADER / META
============================= */

.ahd-header {
    margin: 0 0 26px;
}

.ahd-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 18px;
}

.ahd-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
}

.ahd-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    min-height: 20px;
    padding: 10px 12px;
    border: 1.5px solid;
    background: #fff;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    text-align: center;
    letter-spacing: 1px;
    transition: all 0.25s ease;
}

.ahd-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.ahd-badge--dark {
    border-color: #111;
    color: #111;
}

.ahd-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ahd-title {
    margin: 0 0 14px;
    font-size: clamp(26px, 2vw, 26px);
    line-height: 1.35;
    font-weight: 900;
    color: #111;
    text-transform: none;
    letter-spacing: 0.2px;
}

.ahd-meta {
    display: grid;
    gap: 12px;
}

.ahd-meta__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #111;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
}

.ahd-meta__item i {
    width: 18px;
    min-width: 18px;
    margin-top: 3px;
    color: #444;
    text-align: center;
}

.ahd-meta__tags {
    display: block;
}

.ahd-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ahd-tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 8px;
    background: rgba(210, 24, 137, 0.08);
    border: 1px solid rgba(210, 24, 137, 0.22);
    color: #d21889;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

/* =============================
   FAVORITOS
============================= */

.ahd-fav-btn,
.ahd-related-mini-card__fav,
.ahd-actions .ahd-fav-btn,
.ahd-actions .ahd-related-mini-card__fav,
.ahd-related-mini-card__top .ahd-related-mini-card__fav {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 50%;
    border: none;
    background: #f1eeee;
    color: #6b6666;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
    box-shadow: none;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.ahd-fav-btn i,
.ahd-related-mini-card__fav i,
.ahd-related-fav-icon,
.ahd-fav-icon {
    color: inherit;
    transition:
        transform 0.25s ease,
        color 0.25s ease;
}

.ahd-fav-btn:hover,
.ahd-related-mini-card__fav:hover,
.ahd-actions .ahd-fav-btn:hover,
.ahd-actions .ahd-related-mini-card__fav:hover,
.ahd-related-mini-card__top .ahd-related-mini-card__fav:hover {
    background: #fff;
    color: #d21889;
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.ahd-fav-btn:hover i,
.ahd-related-mini-card__fav:hover i {
    transform: scale(1.08);
}

.ahd-heart-active {
    color: #d21889 !important;
}

/* =============================
   DESCRIPCIÓN / CONTENIDO
============================= */

.ahd-description-fixed {
    margin-top: 20px;
}

/* Título */

.ahd-description-fixed__head h2 {
    font-size: 18px !important;
    color: #111 !important;
    font-weight: 600 !important;

    margin-bottom: 12px;
}

.ahd-copy {
    font-size: 14px;
    line-height: 1.65;
    color: #222;
    font-weight: 400;
}

/* Listas */

.ahd-copy ul,
.ahd-copy ol {
    padding-left: 18px;
    margin-bottom: 12px;
}

/* Links */

.ahd-copy a {
    color: #e11d2a;
    text-decoration: underline;
}

.ahd-copy p {
    margin: 0 0 15px;
    font-size: 15px !important;
    line-height: 1.5 !important;
    color: #222 !important;
}

.ahd-copy b,
.ahd-copy strong {
    font-weight: 800;
    color: #111;
}

/* =============================
   ESPECIFICACIONES EN TEXTO
============================= */

.ahd-specs-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 15px;
    margin-top: 16px;
}

.ahd-specs-list__item {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 13px;
    line-height: 1.4;
    color: #444;
}

.ahd-specs-list__item strong {
    font-weight: 800;
    color: #111;
}

.ahd-specs-list__item span {
    font-weight: 600;
    color: #555;
}

.ahd-specs-list__item--empty {
    grid-column: 1 / -1;
    color: #777;
    font-style: italic;
}

/* =============================
   TABS LEGACY
============================= */

.ahd-tabs {
    display: none !important;
}

.ahd-tab-panels,
.ahd-tab-panel {
    display: none;
}

.ahd-tab-panel.is-active {
    display: block;
}

/* =============================
   FEATURES / PRICES
============================= */

.ahd-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ahd-feature,
.ahd-art-specs,
.ahd-empty-state,
.ahd-price-row {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.ahd-feature {
    display: grid;
    gap: 5px;
}

.ahd-feature strong,
.ahd-price-row strong {
    display: block;
    font-size: 15px;
    color: #111;
    font-weight: 900;
}

.ahd-feature span,
.ahd-price-row p,
.ahd-empty-state {
    color: #666;
    font-size: 14px;
}

.ahd-price-list {
    display: grid;
    gap: 14px;
}

.ahd-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.ahd-price-row p {
    margin: 4px 0 0;
}

.ahd-price-row span {
    font-size: 22px;
    font-weight: 900;
    color: #111;
    white-space: nowrap;
}

/* =============================
   BOOKING CARD
============================= */

.ahd-side {
    position: sticky;
    top: 24px;
}

.ahd-side__rail,
.ahd-side__card-wrap {
    width: 100%;
    position: relative;
    left: auto !important;
    top: auto !important;
    bottom: auto !important;
}

.ahd-card {
    width: 100%;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
    overflow: visible;
    height: 550px;
}

.ahd-card__price {
    margin-bottom: 22px;
}

.ahd-card__price-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.ahd-card__price-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ahd-card__price-col--base {
    align-items: flex-start;
}

.ahd-card__price-col--dynamic {
    align-items: flex-end;
    text-align: right;
}

.ahd-card__price-col h3,
.ahd-card__price h3 {
    margin: 0;
    font-size: 28px;
    line-height: 1;
    font-weight: 900;
    color: #111;
}

.ahd-card__price-col span,
.ahd-card__price span {
    display: block;
    margin-top: 7px;
    font-size: 13px;
    color: #111;
    font-weight: 700;
}

.ahd-card__price-col--base.is-crossed h3 {
    color: #9b9b9b;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.ahd-card__price-col--dynamic.is-hidden {
    display: none;
}

.ahd-price-trigger {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.ahd-price-trigger h3 {
    margin: 0;
    color: #cd1218;
    text-decoration: underline;
}

/* =============================
   MONTH PLANS
============================= */

.ahd-month-plans {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: flex-start;
    margin: 0px 0 28px;
    padding-top: 16px;
    overflow: visible;
}

.ahd-month-plan {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 98px;
    min-height: 44px;
    padding: 12px 22px !important;
    border: 1.5px solid #cd1218;
    background: #fff;
    color: #cd1218;
    border-radius: 999px;
    font-size: 14px;
    line-height: 1 !important;
    font-weight: 900;
    white-space: nowrap;
    cursor: pointer;
    overflow: visible;
    transition: 0.2s ease;
}

.ahd-month-plan:hover,
.ahd-month-plan.is-active {
    background: #cd1218;
    color: #fff;
}

/* Base del botón */
.ahd-month-plan {
    position: relative; /* MUY IMPORTANTE */
}

/* BADGES */
.ahd-month-plan[data-months="3"]::after,
.ahd-month-plan[data-months="6"]::after,
.ahd-month-plan[data-months="12"]::after {
    position: absolute;

    top: -14px;
    right: -8px;

    background: #962179;
    color: #fff;

    font-size: 10px;
    font-weight: 900;

    padding: 4px 10px;

    border-radius: 999px;

    white-space: nowrap;

    line-height: 1;

    z-index: 5;
}

/* 3 meses */
.ahd-month-plan[data-months="3"]::after {
    content: "Ahorra";
}

/* 6 meses */
.ahd-month-plan[data-months="6"]::after {
    content: "Mejor opción";
}

/* 12 meses */
.ahd-month-plan[data-months="12"]::after {
    content: "Máximo ahorro";
    background: #d21889;
}

.ahd-month-plan[data-months="12"] {
    border-color: #d21889;
    color: #d21889;
}

.ahd-month-plan[data-months="12"]:hover,
.ahd-month-plan[data-months="12"].is-active {
    background: #d21889;
    color: #fff;
}

.ahd-month-plan[data-months="12"].is-active::after,
.ahd-month-plan[data-months="12"]:hover::after {
    background: #fff;
    color: #d21889;
    border: 1px solid #d21889;
}

.ahd-month-plan.is-active::after,
.ahd-month-plan:hover::after {
    background: #fff;
    color: #962179;
    border: 1px solid #962179;
}

.ahd-plan-savings {
    margin: 12px 0 18px;
    padding: 13px 14px;
    border-radius: 14px;
    background: rgba(205, 18, 24, 0.08);
    border: 1px solid rgba(205, 18, 24, 0.16);
}

.ahd-plan-savings span {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 900;
    color: #cd1218;
}

.ahd-plan-savings strong {
    display: block;
    margin-bottom: 3px;
    font-size: 17px;
    font-weight: 900;
    color: #111;
}

.ahd-plan-savings small {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: #444;
}

/* =============================
   DATE / BUTTONS / NOTES
============================= */

.ahd-card__date {
    margin-bottom: 22px;
    overflow: visible;
}

.ahd-card__date input {
    width: 100%;
    min-height: 52px;
    border: none;
    border-radius: 8px;
    outline: none;
    background: #e4e4e4;
    color: #111;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.ahd-card__date input:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.ahd-card__actions {
    display: grid;
    gap: 14px;
    margin-bottom: 22px;
}

.ahd-btn {
    width: 100%;
    min-height: 55px;
    border-radius: 15px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none !important;
    font-size: 18px;
    line-height: 1;
    font-weight: 900;
    cursor: pointer;
    transition: 0.2s ease;
}

.ahd-btn--primary {
    background: #cd1218;
    color: #fff !important;
}

.ahd-btn--primary:hover {
    background: #b80f15;
    color: #fff !important;
    transform: translateY(-1px);
}

.ahd-btn--secondary {
    background: #f7f5f5;
    color: #111 !important;
    border: 1px solid #e2e2e2;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.ahd-btn--secondary:hover {
    background: #fff;
    color: #111 !important;
    border-color: #e2e2e2;
}

.ahd-btn.is-disabled {
    pointer-events: none;
    opacity: 0.55;
}

.ahd-btn.is-loading,
.ahd-related-mini-card__cart.is-loading,
.ahd-related-mini-card__fav.is-loading {
    pointer-events: none;
    opacity: 0.75;
    cursor: wait;
}

.ahd-btn.is-loading::after,
.ahd-related-mini-card__cart.is-loading::after,
.ahd-related-mini-card__fav.is-loading::after {
    content: "";
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    display: inline-block;
    animation: ahd-spin 0.7s linear infinite;
}

.ahd-btn.is-loading i,
.ahd-btn.is-loading fav,
.ahd-btn.is-loading span,
.ahd-related-mini-card__cart.is-loading i,
.ahd-related-mini-card__fav.is-loading i {
    display: none;
}

@keyframes ahd-spin {
    to {
        transform: rotate(360deg);
    }
}

.ahd-card__notes {
    padding-top: 10px;
    border-top: 1px solid #eee;
    color: #111;
    font-size: 10px;
    line-height: 1.45;
}

.ahd-card__notes p {
    margin: 0 0 10px;
    font-size: 14px;
}

.ahd-card__notes a {
    color: #111;
}

.ahd-card__fav {
    margin-top: 12px;
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}

.ahd-no-availability {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #fff3f3;
    border: 1px solid #f1b5b5;
    color: #a61b1b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

/* =============================
   MAP
============================= */

.ahd-map-section {
    padding-top: 70px;
}

.ahd-map-section .ahd-shell {
    max-width: 1475px;
}

.ahd-map-section__head {
    margin-bottom: 26px;
}

.ahd-map-section__head h2 {
    margin: 0 0 14px;
    font-size: clamp(26px, 2vw, 26px);
    line-height: 1.35;
    font-weight: 900;
    color: #111;
    text-transform: none;
    letter-spacing: 0.2px;
}

.ahd-map-section__head p {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
    color: #111;
}

.ahd-map-box {
    position: relative;
    width: 100%;
    max-width: 1460px;
    margin: 0 auto;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 28px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

#singleListingMap {
    width: 100%;
    height: 520px;
    border-radius: 28px;
}

.ahd-map-box__street-view {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 4;
    background: #fff;
    border-radius: 999px;
    padding: 10px 16px;
    color: #111;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* =============================
   RELATED SPOTS
============================= */

.ahd-related {
    padding-top: 90px;
    padding-bottom: 40px;
}

.ahd-related__head {
    margin-bottom: 34px;
}

.ahd-related__head h2 {
    margin: 0 0 14px;
    font-size: clamp(26px, 2vw, 26px);
    line-height: 1.35;
    font-weight: 900;
    color: #111;
    text-transform: none;
    letter-spacing: 0.2px;
}

.ahd-related-slider {
    margin: 0;
    padding-bottom: 40px;
}

.ahd-related-slider .slick-list,
.ahd-related-slider .slick-track {
    background: transparent !important;
}

.ahd-related-slide {
    padding: 0 10px;
}

.ahd-related-mini-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.ahd-related-mini-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.ahd-related-mini-card__image-wrap {
    position: relative;
    display: block;
    padding: 10px 10px 0;
    text-decoration: none;
}

.ahd-related-mini-card__image {
    width: 100%;
    height: 185px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ahd-related-mini-card__badge {
    position: absolute;
    top: 17px;
    left: 17px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 3px 12px;
    border: 1.5px solid #d21889;
    border-radius: 999px;
    background: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.ahd-related-mini-card__floating-cart {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.ahd-related-mini-card:hover .ahd-related-mini-card__floating-cart {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.ahd-related-mini-card__cart {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #f3efef;
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
    transition: 0.2s ease;
}

.ahd-related-mini-card__cart:hover {
    transform: scale(1.05);
    background: #fff;
    color: #cd1218;
}

.ahd-related-mini-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 18px 20px;
}

.ahd-related-mini-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.ahd-related-mini-card__title-link,
.ahd-related-mini-card__content-link {
    color: inherit;
    text-decoration: none;
}

.ahd-related-mini-card__title-link {
    flex: 1;
    min-width: 0;
}

.ahd-related-mini-card__title {
    margin: 0;
    color: #111;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 900;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ahd-related-mini-card__address {
    margin: 0;
    color: #666;
    font-size: 13px;
    line-height: 1.45;
    min-height: 38px;
}

.ahd-related-mini-card__price {
    color: #111;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.2;
}

.ahd-related-mini-card__price span {
    margin-left: 4px;
    color: #111;
    font-size: 13px;
    font-weight: 800;
}

.ahd-related-slider .slick-track {
    display: flex !important;
}

.ahd-related-slider .slick-slide {
    height: inherit !important;
}

.ahd-related-slider .slick-slide > div {
    height: 100%;
}

.ahd-related-slider .slick-prev,
.ahd-related-slider .slick-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.ahd-related-slider .slick-prev:before,
.ahd-related-slider .slick-next:before {
    color: #111;
    opacity: 1;
}

.ahd-related-slider .slick-prev {
    left: -8px;
}

.ahd-related-slider .slick-next {
    right: -8px;
}

.ahd-related-slider .slick-dots {
    bottom: -22px;
}

.ahd-related-slider .slick-dots li {
    margin: 0 4px;
}

.ahd-related-slider .slick-dots li button:before {
    font-size: 10px;
    color: #999;
}

.ahd-related-slider .slick-dots li.slick-active button:before {
    color: #cd1218;
}

/* =============================
   DATE RANGE PICKER
============================= */

.daterangepicker {
    z-index: 999999 !important;
    width: min(760px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
    min-width: 0 !important;
    padding: 12px !important;
    left: auto !important;
    right: 12px !important;
}

.daterangepicker .drp-calendar.left,
.daterangepicker .drp-calendar.right {
    float: left !important;
    width: 50% !important;
    max-width: 50% !important;
    padding: 0 10px !important;
}

.daterangepicker .calendar-table,
.daterangepicker .calendar-table table {
    width: 100% !important;
}

.daterangepicker .drp-calendar,
.daterangepicker.show-calendar .drp-calendar {
    display: block !important;
}

.calendar-visible {
    opacity: 1;
    transform: translateY(0);
}

.calendar-hidden {
    opacity: 0;
    transform: translateY(8px);
}

/* =============================
   PRICE POPOVER
============================= */

.ahd-price-popover {
    position: fixed;
    z-index: 9999999;
    display: none;
}

.ahd-price-popover.is-open {
    display: block;
}

.ahd-price-popover__dialog {
    width: 520px;
    max-width: calc(100vw - 24px);
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 24px;
    padding: 24px 28px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.ahd-price-popover__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.ahd-price-popover__head h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 900;
    color: #111;
}

.ahd-price-popover__close {
    border: none;
    background: transparent;
    color: #333;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.ahd-price-popover__body {
    display: grid;
    gap: 14px;
}

.ahd-price-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #111;
    font-size: 17px;
}

.ahd-price-line strong {
    font-weight: 900;
    white-space: nowrap;
}

.ahd-price-divider {
    height: 1px;
    background: #ddd;
    margin: 6px 0 2px;
}

.ahd-price-line--total strong {
    color: #cd1218;
}

/* =============================
   RESPONSIVE
============================= */

@media (max-width: 1399px) {
    .ahd-product-grid {
        grid-template-columns: minmax(310px, 440px) minmax(0, 1fr) 360px;
        gap: 26px;
    }

    .ahd-gallery__item {
        min-height: 540px;
        height: 540px;
    }

    .ahd-title {
        font-size: 30px;
    }

    .ahd-card {
        padding: 28px 22px;
    }

    .ahd-btn {
        font-size: 20px;
    }
}

@media (max-width: 1199px) {
    .ahd-product-grid {
        grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
        gap: 24px;
    }

    .ahd-breadcrumbs {
        margin-top: 0px;
    }

    .ahd-specs-list__item {
        display: flex;
        align-items: baseline;
        gap: 6px;
        font-size: 5px;
        line-height: 1.4;
        color: #444;
    }

    .ahd-side {
        grid-column: 1 / -1;
        position: static;
    }

    .ahd-card {
        max-width: 620px;
        margin: 0 auto;
    }

    .ahd-gallery__item {
        min-height: 470px;
        height: 470px;
    }

    .ahd-title {
        font-size: 28px;
    }

    .ahd-meta__item {
        font-size: 16px;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .ahd-shell {
        width: calc(100% - 32px);
    }

    .ahd-breadcrumbs {
        margin-top: 0px;
    }

    .ahd-specs-list__item {
        display: flex;
        align-items: baseline;
        gap: 6px;
        font-size: 14px;
        line-height: 1.4;
        color: #444;
    }

    .ahd-product-section {
        padding-top: 36px;
    }

    .ahd-product-grid {
        grid-template-columns: 1fr;
    }

    .ahd-product-media {
        order: 1;
    }

    .ahd-product-info {
        order: 2;
    }

    .ahd-side {
        order: 3;
        position: static;
    }

    .ahd-gallery__item {
        min-height: 360px;
        height: 360px;
    }

    .ahd-header__row {
        margin-bottom: 22px;
    }

    .ahd-badge {
        min-width: 220px;
    }

    .ahd-title {
        font-size: 30px;
    }

    .ahd-features {
        grid-template-columns: 1fr;
    }

    .ahd-related {
        padding-bottom: 30px;
    }

    .ahd-related-slider {
        padding-bottom: 30px;
    }

    .ahd-related-mini-card__floating-cart {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    .ahd-related-mini-card__image {
        height: 165px;
    }

    .ahd-map-box {
        width: 100%;
        border-radius: 24px;
    }

    #singleListingMap {
        height: 420px;
        border-radius: 24px;
    }

    .ahd-fav-btn,
    .ahd-related-mini-card__fav,
    .ahd-actions .ahd-fav-btn,
    .ahd-actions .ahd-related-mini-card__fav,
    .ahd-related-mini-card__top .ahd-related-mini-card__fav {
        width: 52px;
        height: 52px;
        min-width: 52px;
        font-size: 28px;
    }
}

@media (max-width: 860px) {
    .daterangepicker {
        width: calc(100vw - 20px) !important;
        min-width: 0 !important;
        max-width: calc(100vw - 20px) !important;
        left: 10px !important;
        right: auto !important;
        padding: 10px !important;
        transform: none !important;
    }

    .daterangepicker.openscenter {
        transform: none !important;
    }

    .daterangepicker .drp-calendar.left,
    .daterangepicker .drp-calendar.right {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
}

@media (max-width: 767px) {
    .ahd-shell {
        width: calc(100% - 20px);
    }

    .ahd-product-section {
        padding-top: 28px;
    }

    .ahd-breadcrumbs {
        margin-bottom: 26px;
        font-size: 12px;
        line-height: 1.4;
    }

    .ahd-gallery__item {
        min-height: 310px;
        height: 310px;
    }

    .ahd-product-media .ahd-gallery {
        border-radius: 18px;
    }

    .ahd-header__row {
        align-items: flex-start;
        gap: 14px;
    }

    .ahd-badge {
        min-width: auto;
        padding: 8px 16px;
        font-size: 13px;
    }

    .ahd-title {
        font-size: 24px;
        line-height: 1.25;
    }

    .ahd-meta__item {
        font-size: 14px;
    }

    .ahd-specs-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .ahd-specs-list__item {
        font-size: 14px;
    }

    .ahd-price-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .ahd-price-row span {
        font-size: 20px;
    }

    .ahd-card {
        padding: 22px 16px;
        border-radius: 16px;
    }

    .ahd-card__price-row {
        flex-direction: column;
        gap: 10px;
    }

    .ahd-card__price-col--dynamic {
        align-items: flex-start;
        text-align: left;
    }

    .ahd-card__price-col h3,
    .ahd-card__price h3 {
        font-size: 28px;
    }

    .ahd-month-plans {
        justify-content: flex-start;
        gap: 16px 10px;
        margin-bottom: 28px;
    }

    .ahd-month-plan {
        min-width: calc(50% - 5px);
        min-height: 42px;
        padding: 11px 12px !important;
        font-size: 13px;
    }

    .ahd-month-plan[data-months="3"]::after,
    .ahd-month-plan[data-months="6"]::after {
        top: -13px;
        right: 6px;
        font-size: 10px;
        padding: 5px 12px;
    }

    .ahd-card__date input {
        min-height: 56px;
        font-size: 15px;
    }

    .ahd-btn {
        min-height: 56px;
        font-size: 17px;
    }

    .ahd-map-section {
        padding-top: 48px;
    }

    .ahd-map-section__head h2,
    .ahd-related__head h2 {
        font-size: 32px;
    }

    .ahd-map-section__head p {
        font-size: 18px;
    }

    .ahd-map-box {
        width: 100%;
        border-radius: 20px;
    }

    #singleListingMap {
        height: 340px;
        border-radius: 20px;
    }

    .ahd-related {
        padding-top: 60px;
    }

    .ahd-related-mini-card__image {
        height: 150px;
    }

    .ahd-related-slider .slick-prev,
    .ahd-related-slider .slick-next {
        display: none !important;
    }

    .daterangepicker .calendar-table th,
    .daterangepicker .calendar-table td {
        font-size: 13px !important;
        padding: 6px !important;
    }

    .ahd-price-popover {
        left: 10px !important;
        right: 10px !important;
        top: 90px !important;
        width: auto !important;
    }

    .ahd-price-popover__dialog {
        width: 100%;
        max-width: 100%;
        padding: 18px 16px;
        border-radius: 18px;
    }

    .ahd-price-line {
        font-size: 15px;
        gap: 10px;
    }

    .ahd-fav-btn,
    .ahd-related-mini-card__fav,
    .ahd-actions .ahd-fav-btn,
    .ahd-actions .ahd-related-mini-card__fav,
    .ahd-related-mini-card__top .ahd-related-mini-card__fav {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 25px;
    }
}

@media (max-width: 575px) {
    .ahd-shell {
        width: calc(100% - 16px);
    }

    .ahd-gallery__item {
        min-height: 240px;
        height: 240px;
    }

    .ahd-title {
        font-size: 22px;
    }

    .ahd-card__price-col h3,
    .ahd-card__price h3 {
        font-size: 25px;
    }

    .ahd-month-plan {
        min-width: 100%;
    }

    .ahd-month-plan[data-months="3"]::after,
    .ahd-month-plan[data-months="6"]::after {
        right: 12px;
    }

    .ahd-price-line {
        flex-direction: column;
        align-items: flex-start;
        font-size: 14px;
    }

    .ahd-price-line strong {
        width: 100%;
    }

    .ahd-related-slider {
        padding-bottom: 24px;
    }

    #singleListingMap {
        height: 300px;
    }
}

@media (max-width: 390px) {
    .ahd-gallery__item {
        min-height: 215px;
        height: 215px;
    }

    .ahd-card {
        padding: 18px 14px;
    }

    .ahd-card__price-col h3,
    .ahd-card__price h3 {
        font-size: 23px;
    }

    .ahd-btn {
        font-size: 16px;
    }
}

/* =========================================================
   DESKTOP PEQUEÑO - MANTENER 3 COLUMNAS
========================================================= */

@media (min-width: 992px) and (max-width: 1280px) {
    .ahd-shell {
        width: calc(100% - 24px);
    }

    .ahd-breadcrumbs {
        margin-top: 120px;
    }

    .ahd-product-grid {
        grid-template-columns: 34% minmax(0, 1fr) 300px;
        gap: 18px;
        align-items: start;
    }

    .ahd-product-media .ahd-gallery {
        width: 100%;
    }

    .ahd-gallery__item {
        min-height: 520px;
        height: 520px;
    }

    .ahd-title {
        font-size: 26px;
        line-height: 1.25;
    }

    .ahd-description-fixed__head h2 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .ahd-copy {
        font-size: 14px;
        line-height: 1.45;
    }

    .ahd-specs-list {
        gap: 8px 18px;
    }

    .ahd-specs-list__item {
        font-size: 14px;
    }

    .ahd-card {
        padding: 24px 18px;
    }

    .ahd-card__price-col h3,
    .ahd-card__price h3 {
        font-size: 26px;
    }

    .ahd-month-plans {
        gap: 10px;
        margin-bottom: 20px;
    }

    .ahd-month-plan {
        min-width: 82px;
        min-height: 38px;
        padding: 10px 14px !important;
        font-size: 12px;
    }

    .ahd-card__date input {
        min-height: 48px;
        font-size: 15px;
    }

    .ahd-btn {
        min-height: 52px;
        font-size: 18px;
        border-radius: 15px;
    }

    .ahd-card__notes {
        font-size: 13px;
    }
}

/* Evita que a 1199px baje la tercera columna */
@media (min-width: 992px) and (max-width: 1199px) {
    .ahd-product-grid {
        grid-template-columns: 32% minmax(0, 1fr) 285px;
        gap: 16px;
    }

    .ahd-side {
        grid-column: auto;
        position: sticky;
        top: 24px;
    }

    .ahd-card {
        max-width: none;
        margin: 0;
    }

    .ahd-gallery__item {
        min-height: 500px;
        height: 500px;
    }
}

.ahd-btn.is-disabled,
#solicitar-renta.is-disabled,
#add-to-cart.is-disabled {
    pointer-events: none;
    opacity: 0.45;
    cursor: not-allowed;
    filter: grayscale(1);
}

.ahd-card__actions .ahd-btn.is-disabled {
    pointer-events: none !important;
    opacity: 0.45;
    cursor: not-allowed;
    filter: grayscale(1);
}

/* =============================
   DESCRIPCIÓN CORTA + MODAL
============================= */

.ahd-copy--preview {
    max-height: 92px;
    overflow: hidden;
    position: relative;
}

.ahd-copy--preview::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 42px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
}

.ahd-read-more-btn {
    margin-top: 8px;
    border: none;
    background: transparent;
    color: #cd1218;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.ahd-read-more-btn:hover {
    color: #a90f14;
}

body.ahd-modal-open {
    overflow: hidden;
}

.ahd-description-modal {
    position: fixed;
    inset: 0;
    z-index: 99999999;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.ahd-description-modal.is-open {
    display: flex;
}

.ahd-description-modal__dialog {
    width: min(720px, 100%);
    max-height: calc(100vh - 60px);
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ahd-description-modal__head {
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.ahd-description-modal__head h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
    color: #111;
}

.ahd-description-modal__close {
    border: none;
    background: transparent;
    color: #111;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.ahd-description-modal__body {
    padding: 24px;
    overflow-y: auto;
    font-size: 15px;
    line-height: 1.65;
    color: #222;
}

.ahd-description-modal__body p {
    margin: 0 0 15px;
}

.ahd-description-modal__body ul,
.ahd-description-modal__body ol {
    padding-left: 20px;
    margin: 0 0 15px;
}

@media (max-width: 575px) {
    .ahd-copy--preview {
        max-height: 78px;
    }

    .ahd-description-modal {
        padding: 14px;
    }

    .ahd-description-modal__head {
        padding: 18px;
    }

    .ahd-description-modal__head h3 {
        font-size: 18px;
    }

    .ahd-description-modal__body {
        padding: 18px;
        font-size: 14px;
    }
}

/* =============================
   FIX FONT SIZE NOTAS LEGALES
============================= */

.ahd-page .ahd-description-legal,
.ahd-page .ahd-description-legal *,
.ahd-page .ahd-description-legal p,
.ahd-page .ahd-description-legal span,
.ahd-page .ahd-description-legal strong,
.ahd-page .ahd-description-legal b,
.ahd-page .ahd-description-legal a,
.ahd-page .ahd-description-legal li {
    font-size: 10px !important;
    line-height: 1.45 !important;
}

.ahd-page .ahd-description-legal__text,
.ahd-page .ahd-description-legal__text *,
.ahd-page .ahd-description-legal__text p,
.ahd-page .ahd-description-legal__text span {
    font-size: 10px !important;
    line-height: 1.45 !important;
    color: #777 !important;
}

.ahd-page .ahd-description-legal__fav,
.ahd-page .ahd-description-legal__faq,
.ahd-page .ahd-description-legal__bottom * {
    font-size: 10px !important;
    line-height: 1.4 !important;
}

.ahd-description-legal__faq {
    font-weight: 900;
    padding-top: 50px !important;
}

/* =============================
   VISTAS SOBRE IMAGEN
============================= */

.ahd-product-media {
    position: relative;
}

.ahd-gallery-views-badge {
    position: absolute;
    left: 18px;
    right: auto;
    bottom: 18px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 14px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #111;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
}

.ahd-gallery-views-badge i {
    color: #cd1218;
    font-size: 14px;
}

@media (max-width: 575px) {
    .ahd-gallery-views-badge {
        left: 12px;
        right: auto;
        bottom: 12px;
        font-size: 8px;
    }
}
.ahd-month-plan.is-unavailable {
    display: none !important;
}




#ahd-base-price-label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #6d6d6d;
    margin-top: 2px;
}

.ahd-min-contract {
    display: block;
    margin-top: 6px;
    font-size: 10px;
    font-weight: 600;
    color: #8a8a8a;
    line-height: 1.4;
}
