/* ===== 01. CABECERA Y GALERÍA ===== */

.arvia-property,
.arvia-property *,
.arvia-property *::before,
.arvia-property *::after {
    box-sizing: border-box;
}

.arvia-property {
    width: 100%;
    background: #ffffff;
    color: #0b1d38;
    font-family: 'Barlow', Arial, sans-serif;
}

.arvia-property__container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 42px clamp(24px, 3.5vw, 56px) 60px;
}

.arvia-property__heading {
    position: relative;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;

    gap: 20px;
    margin-bottom: 20px;
}

.arvia-property__identity {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 6px;
    min-width: 0;
}

.arvia-property .arvia-property__title {
    margin: 0;
    padding: 0;

    color: #0b1d38;

    font-family: 'Barlow', Arial, sans-serif;
    font-size: clamp(25px, 2.1vw, 34px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.arvia-property__location {
    display: flex;
    align-items: flex-start;

    gap: 6px;

    color: #8995a6;

    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

.arvia-property__location svg {
    display: block;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.arvia-property__price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    gap: 3px;
    min-width: 0;
    padding-top: 22px;

    text-align: right;
}

.arvia-property__price-label {
    color: #8995a6;

    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
}

.arvia-property__price-value {
    color: #0b1d38;

    font-size: clamp(25px, 2.6vw, 38px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.045em;

    white-space: nowrap;
}

.arvia-property__price-value .woocommerce-Price-amount,
.arvia-property__price-value .woocommerce-Price-currencySymbol {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.arvia-property__price-empty {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0;
}

body .arvia-property button.arvia-property__main,
body .arvia-property button.arvia-property__thumb,
body .arvia-property button.arvia-property__view-all,
body .arvia-property button.arvia-property__share,
body .arvia-property button.arvia-lightbox__arrow,
body .arvia-property button.arvia-lightbox__close {
    -webkit-appearance: none;
    appearance: none;

    font-family: 'Barlow', Arial, sans-serif;
    text-transform: none;
    text-decoration: none;

    outline: none;
    background-image: none;
    background-clip: padding-box;
}

body .arvia-property button.arvia-property__share,
body .arvia-property button.arvia-property__share:focus,
body .arvia-property button.arvia-property__share:active {
    position: absolute;
    top: -36px;
    right: 0;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    min-height: 32px;
    padding: 8px 12px;

    background: #ffffff;
    color: #0b1d38;

    border: 1px solid #e5eaf0;
    border-radius: 8px;
    box-shadow: none;

    font-size: 11px;
    font-weight: 600;
    line-height: 1;

    cursor: pointer;
    transform: none;
}

body .arvia-property button.arvia-property__share:hover {
    background: #f4f7fb;
    color: #0b1d38;
    border-color: #cdd7e4;
    box-shadow: none;
}

.arvia-property__share svg {
    display: block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    stroke: currentColor;
}

.arvia-property__gallery {
    position: relative;

    display: grid;
    grid-template-columns: 1.12fr 1fr;

    gap: 5px;

    width: 100%;
    height: 610px;
    min-height: 0;

    overflow: hidden;
    border-radius: 12px;
}

body .arvia-property button.arvia-property__main,
body .arvia-property button.arvia-property__thumb {
    display: block;

    width: 100%;
    height: 100%;

    min-width: 0;
    min-height: 0;

    padding: 0;
    margin: 0;

    background: #edf1f5;
    color: inherit;

    border: 0;
    border-radius: 0;
    box-shadow: none;

    overflow: hidden;
    cursor: zoom-in;
}

body .arvia-property button.arvia-property__main:hover,
body .arvia-property button.arvia-property__main:focus,
body .arvia-property button.arvia-property__main:active,
body .arvia-property button.arvia-property__thumb:hover,
body .arvia-property button.arvia-property__thumb:focus,
body .arvia-property button.arvia-property__thumb:active {
    background: #edf1f5;
    color: inherit;
    border: 0;
    box-shadow: none;
    transform: none;
}

.arvia-property__main {
    grid-column: 1;
    grid-row: 1;
}

.arvia-property__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));

    gap: 5px;

    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;

    overflow: hidden;
}

.arvia-property__photo {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 0.35s ease;
}

.arvia-property__main:hover .arvia-property__photo,
.arvia-property__thumb:hover .arvia-property__photo {
    transform: scale(1.035);
}

body .arvia-property button.arvia-property__view-all,
body .arvia-property button.arvia-property__view-all:hover,
body .arvia-property button.arvia-property__view-all:focus,
body .arvia-property button.arvia-property__view-all:active {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 5;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    width: auto;
    min-height: 42px;

    padding: 10px 17px;
    margin: 0;

    background: #ffffff;
    color: #0b1d38;

    border: 1px solid #e5eaf0;
    border-radius: 9px;

    font-family: 'Barlow', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;

    text-align: center;
    text-decoration: none;
    text-transform: none;

    box-shadow: 0 4px 14px rgba(8, 28, 55, 0.12);

    cursor: pointer;
    transform: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

body .arvia-property button.arvia-property__view-all:hover {
    background: #f4f7fb;
    color: #0b1d38;
    border-color: #cbd6e5;
}

body .arvia-property button.arvia-property__view-all:focus,
body .arvia-property button.arvia-property__view-all:active {
    background: #ffffff;
    color: #0b1d38;
    border-color: #e5eaf0;
}

.arvia-property__view-all svg {
    display: block;

    width: 18px;
    height: 18px;

    flex-shrink: 0;

    fill: none;
    stroke: #0b1d38;
}

.arvia-property__view-all span {
    display: inline;
    color: #0b1d38;

    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    white-space: nowrap;
}

.arvia-property__no-image {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 320px;

    background: #f3f6fa;
    color: #8995a6;

    border-radius: 12px;
    font-size: 14px;
}

body.arvia-lightbox-open {
    overflow: hidden;
}

.arvia-property .arvia-lightbox[hidden] {
    display: none;
}

.arvia-property .arvia-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100vh;
    height: 100dvh;

    padding: 24px;

    background: #202020;
    isolation: isolate;
}

.arvia-lightbox__stage {
    position: relative;

    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;

    column-gap: 24px;

    width: min(100%, 780px);
    height: 100%;

    margin: 0 auto;
}

.arvia-lightbox__image-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 12px;

    width: 100%;
    min-width: 0;
    min-height: 0;

    overflow: visible;
    touch-action: pan-y;
}

.arvia-lightbox__picture {
    position: relative;

    display: inline-block;

    width: max-content;
    max-width: 100%;

    margin: 0 auto;

    flex: 0 1 auto;
    vertical-align: top;

    overflow: visible;
}

.arvia-lightbox__picture .arvia-lightbox__image {
    display: block;

    width: auto;
    height: auto;

    max-width: 100%;
    max-height: 76vh;
    max-height: 76dvh;

    padding: 0;
    margin: 0;

    object-fit: contain;

    border: 0;
    border-radius: 12px;
    box-shadow: none;
}

.arvia-lightbox__counter {
    color: #a8a8a8;

    font-family: 'Barlow', Arial, sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;

    text-align: center;
}

body .arvia-property button.arvia-lightbox__arrow,
body .arvia-property button.arvia-lightbox__arrow:focus,
body .arvia-property button.arvia-lightbox__arrow:active {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;

    padding: 0;
    margin: 0;

    background: #0862ed;
    color: #ffffff;

    border: 0;
    border-radius: 50%;
    box-shadow: none;

    cursor: pointer;
    transform: none;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

body .arvia-property button.arvia-lightbox__arrow:hover {
    background: #004bc9;
    color: #ffffff;
    border: 0;
    box-shadow: none;
    transform: scale(1.06);
}

.arvia-lightbox__arrow--prev,
.arvia-lightbox__arrow--next {
    justify-self: center;
}

.arvia-lightbox__arrow svg {
    display: block;

    width: 18px;
    height: 18px;

    fill: none;
    stroke: #ffffff;

    flex-shrink: 0;
}

body .arvia-property button.arvia-lightbox__arrow[hidden] {
    display: none;
}

body .arvia-property
.arvia-lightbox__picture
button.arvia-lightbox__close,
body .arvia-property
.arvia-lightbox__picture
button.arvia-lightbox__close:focus,
body .arvia-property
.arvia-lightbox__picture
button.arvia-lightbox__close:active {
    position: absolute;

    top: 0;
    right: 0;
    z-index: 20;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    min-width: 32px;
    min-height: 32px;

    padding: 0;
    margin: 0;

    background: #ffffff;
    color: #555555;

    border: 0;
    border-radius: 50%;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.10);

    cursor: pointer;

    transform: translate(45%, -45%);
}

body .arvia-property
.arvia-lightbox__picture
button.arvia-lightbox__close:hover {
    background: #edf2f8;
    color: #333333;
    border: 0;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.10);

    transform: translate(45%, -45%);
}

.arvia-lightbox__close svg {
    display: block;

    width: 17px;
    height: 17px;

    fill: none;
    stroke: #555555;

    flex-shrink: 0;
}

body .arvia-property button:focus-visible {
    outline: 2px solid #0862ed;
    outline-offset: 3px;
}

@media (max-width: 1024px) {

    .arvia-property__container {
        padding: 34px 24px 50px;
    }

    .arvia-property__gallery {
        height: clamp(300px, 38vw, 430px);
    }

    .arvia-property .arvia-property__title {
        font-size: clamp(23px, 3vw, 30px);
    }

    .arvia-property__price-value {
        font-size: clamp(24px, 3vw, 33px);
    }

}

@media (max-width: 767px) {

    .arvia-property__container {
        padding: 26px 14px 40px;
    }

    .arvia-property__heading {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;

        gap: 10px;
        margin-bottom: 18px;
    }

    .arvia-property__identity {
        gap: 9px;
    }

    .arvia-property .arvia-property__title {
        font-size: clamp(20px, 5.5vw, 25px);
        line-height: 1.2;
    }

    .arvia-property__location {
        font-size: clamp(10px, 2.7vw, 12px);
        line-height: 1.4;
    }

    .arvia-property__location svg {
        width: 14px;
        height: 14px;
    }

    .arvia-property__price {
        gap: 3px;
        padding-top: 0;
    }

    .arvia-property__price-label {
        font-size: 10px;
    }

    .arvia-property__price-value {
        font-size: clamp(18px, 5.1vw, 25px);
        line-height: 1.2;
    }

    .arvia-property__price-empty {
        max-width: 125px;
        font-size: 12px;
        white-space: normal;
    }

    body .arvia-property button.arvia-property__share {
        display: none;
    }

    .arvia-property__gallery {
        display: flex;
        flex-direction: column;

        gap: 10px;

        height: auto;

        overflow: visible;
        border-radius: 0;
    }

    body .arvia-property button.arvia-property__main {
        display: block;

        width: 100%;
        height: auto;
        aspect-ratio: 0.98;

        flex-shrink: 0;

        overflow: hidden;
        border-radius: 12px;
    }

    .arvia-property__grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;

        gap: 10px;

        width: 100%;
        height: auto;

        overflow: visible;
    }

    body .arvia-property button.arvia-property__thumb {
        width: 100%;
        height: auto;

        aspect-ratio: 1.05;

        border-radius: 11px;
        overflow: hidden;
    }

    body .arvia-property
    button.arvia-property__thumb:nth-child(n+3) {
        display: none;
    }

    .arvia-property__photo {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    body .arvia-property button.arvia-property__view-all,
    body .arvia-property button.arvia-property__view-all:hover,
    body .arvia-property button.arvia-property__view-all:focus,
    body .arvia-property button.arvia-property__view-all:active {
        position: static;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        width: 100%;
        min-height: 46px;

        padding: 12px 15px;
        margin: 0;

        background: #ffffff;
        color: #0b1d38;

        border: 1px solid #e3e9f0;
        border-radius: 9px;

        font-size: 12px;
        font-weight: 700;

        box-shadow: 0 3px 12px rgba(8, 28, 55, 0.10);

        transform: none;
    }

    body .arvia-property button.arvia-property__view-all:hover {
        background: #f4f7fb;
        color: #0b1d38;
    }

    .arvia-property .arvia-lightbox {
        padding: 8px;
    }

    .arvia-lightbox__stage {
        grid-template-columns: 24px minmax(0, 1fr) 24px;
        column-gap: 4px;

        width: 100%;
    }

    .arvia-lightbox__image-wrap {
        gap: 10px;
    }

    .arvia-lightbox__picture {
        width: max-content;
        max-width: 100%;
    }

    .arvia-lightbox__picture .arvia-lightbox__image {
        max-width: 100%;

        max-height: 72vh;
        max-height: 72dvh;

        border-radius: 12px;
    }

    body .arvia-property button.arvia-lightbox__arrow,
    body .arvia-property button.arvia-lightbox__arrow:focus,
    body .arvia-property button.arvia-lightbox__arrow:active {
        width: 24px;
        height: 24px;

        min-width: 24px;
        min-height: 24px;
    }

    .arvia-lightbox__arrow svg {
        width: 14px;
        height: 14px;
    }

    body .arvia-property
    .arvia-lightbox__picture
    button.arvia-lightbox__close,
    body .arvia-property
    .arvia-lightbox__picture
    button.arvia-lightbox__close:focus,
    body .arvia-property
    .arvia-lightbox__picture
    button.arvia-lightbox__close:active {
        width: 29px;
        height: 29px;

        min-width: 29px;
        min-height: 29px;

        transform: translate(40%, -40%);
    }

    body .arvia-property
    .arvia-lightbox__picture
    button.arvia-lightbox__close:hover {
        transform: translate(40%, -40%);
    }

    .arvia-lightbox__counter {
        font-size: 10px;
    }

}

@media (max-width: 380px) {

    .arvia-property__container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .arvia-property .arvia-property__title {
        font-size: 20px;
    }

    .arvia-property__price-value {
        font-size: 18px;
    }

    .arvia-property__grid {
        gap: 8px;
    }

    .arvia-lightbox__stage {
        grid-template-columns: 22px minmax(0, 1fr) 22px;
        column-gap: 3px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .arvia-property__photo,
    .arvia-property__view-all,
    .arvia-property__share,
    .arvia-lightbox__arrow {
        transition: none;
    }

}

/* ===== 02. CARACTERÍSTICAS Y DESCRIPCIÓN ===== */

.arvia-property-details,
.arvia-property-details *,
.arvia-property-details *::before,
.arvia-property-details *::after {
    box-sizing: border-box;
}

.arvia-property-details {
    width: 100%;

    padding: 0px 217px 20px 217px;

    color: #0b1d38;

    font-family: 'Barlow', Arial, sans-serif;
}

.arvia-property-details__highlights {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));

    gap: 0;

    width: 100%;
    margin-bottom: 64px;
}

.arvia-property-details__card {
    display: flex;
    align-items: center;

    gap: 14px;

    min-width: 0;
    min-height: 88px;

    padding: 16px 20px;

    background: #ffffff;

    border: 1px solid #d8e5ff;
    border-right-width: 0;
}

.arvia-property-details__card:first-child {
    border-radius: 9px 0 0 9px;
}

.arvia-property-details__card:last-child {
    border-right-width: 1px;
    border-radius: 0 9px 9px 0;
}

.arvia-property-details__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    flex-shrink: 0;

    color: #286dff;
}

.arvia-property-details__icon svg {
    display: block;

    width: 22px;
    height: 22px;
    aspect-ratio: 1/1;

    fill: none;
    stroke: currentColor;
}

.arvia-property-details__card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 4px;

    min-width: 0;
}

.arvia-property-details__card-label {
    color: #97a0ae;

    font-family: 'Barlow', Arial, sans-serif;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.09em;
}

.arvia-property-details__card-value {
    color: #0b1d38;

    font-family: 'Barlow', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;

    overflow-wrap: anywhere;
}

.arvia-property-details .arvia-property-details__heading {
    margin: 0;
    padding: 0;

    color: #252525;

    font-family: 'Barlow', Arial, sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -0.015em;
}

.arvia-property-details__description {
    width: 100%;
    margin-bottom: 68px;
}

.arvia-property-details__description .arvia-property-details__heading {
    margin-bottom: 34px;
}

.arvia-property-details__description-text {
    width: 100%;
    max-width: 710px;

    color: #484848;

    font-family: 'Barlow', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

.arvia-property-details__description-text p {
    margin: 0 0 16px;
    padding: 0;

    color: inherit;

    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.arvia-property-details__description-text p:last-child {
    margin-bottom: 0;
}

.arvia-property-details__description-text ul,
.arvia-property-details__description-text ol {
    margin: 0 0 16px;
    padding-left: 22px;
}

.arvia-property-details__description-text li {
    margin-bottom: 6px;
}

.arvia-property-details__specifications {
    width: 100%;
}

.arvia-property-details__specifications .arvia-property-details__heading {
    margin-bottom: 26px;
}

.arvia-property-details__table {
    display: flex;
    flex-direction: column;

    width: 100%;

    margin: 0;
    padding: 0;

    border-top: 1px solid #dedede;
}

.arvia-property-details__row {
    display: grid;
    grid-template-columns: 30% minmax(0, 1fr);

    align-items: start;
    gap: 10px;

    width: 100%;
    min-height: 53px;

    padding: 17px 0;

    border-bottom: 1px solid #dedede;
}

.arvia-property-details__term {
    margin: 0;
    padding: 0;

    color: #969696;

    font-family: 'Barlow', Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
}

.arvia-property-details__value {
    margin: 0;
    padding: 0;

    color: #303030;

    font-family: 'Barlow', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;

    overflow-wrap: anywhere;
}

@media (max-width: 1024px) {

    .arvia-property-details__highlights {
        gap: 10px;
        margin-bottom: 50px;
    }

    .arvia-property-details__card {
        gap: 9px;

        min-height: 78px;
        padding: 12px 10px;

        border: 1px solid #d8e5ff;
        border-radius: 9px;
    }

    .arvia-property-details__card:first-child,
    .arvia-property-details__card:last-child {
        border-radius: 9px;
    }

    .arvia-property-details__icon {
        width: 19px;
        height: 19px;
    }

    .arvia-property-details__icon svg {
        width: 18px;
        height: 18px;
    }

    .arvia-property-details__card-label {
        font-size: 9px;
    }

    .arvia-property-details__card-value {
        font-size: 12px;
    }

}

@media (max-width: 767px) {
    .arvia-property-details {
        padding: 0px 20px 40px 20px;

    }

    .arvia-property-details__highlights {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 10px;

        width: 100%;
        margin-bottom: 42px;
    }

    .arvia-property-details__card,
    .arvia-property-details__card:first-child,
    .arvia-property-details__card:last-child {
        display: flex;
        align-items: center;

        gap: 12px;

        min-width: 0;
        min-height: 72px;

        padding: 12px 12px;

        background: #ffffff;

        border: 1px solid #d8e5ff;
        border-radius: 9px;
    }

    .arvia-property-details__icon {
        width: 21px;
        height: 21px;
    }

    .arvia-property-details__icon svg {
        width: 19px;
        height: 19px;
    }

    .arvia-property-details__card-content {
        gap: 4px;
    }

    .arvia-property-details__card-label {
        font-size: 9px;
        letter-spacing: 0.075em;
    }

    .arvia-property-details__card-value {
        font-size: 13px;
        line-height: 1.25;
    }

    .arvia-property-details .arvia-property-details__heading {
        font-size: 15px;
        font-weight: 500;
        line-height: 1.4;
    }

    .arvia-property-details__description {
        margin-bottom: 55px;
    }

    .arvia-property-details__description .arvia-property-details__heading {
        margin-bottom: 26px;
    }

    .arvia-property-details__description-text {
        width: 100%;
        max-width: 100%;

        font-size: 14px;
        line-height: 1.6;
    }

    .arvia-property-details__description-text p {
        margin-bottom: 14px;
    }

    .arvia-property-details__specifications .arvia-property-details__heading {
        margin-bottom: 22px;
    }

    .arvia-property-details__row {
        grid-template-columns: 46% minmax(0, 1fr);

        gap: 10px;

        min-height: 51px;
        padding: 15px 0;
    }

    .arvia-property-details__term {
        font-size: 12px;
        line-height: 1.45;
    }

    .arvia-property-details__value {
        font-size: 12px;
        line-height: 1.45;
    }

}

@media (max-width: 380px) {

    .arvia-property-details__highlights {
        gap: 8px;
    }

    .arvia-property-details__card,
    .arvia-property-details__card:first-child,
    .arvia-property-details__card:last-child {
        gap: 8px;
        padding: 10px 9px;
    }

    .arvia-property-details__card-label {
        font-size: 8px;
    }

    .arvia-property-details__card-value {
        font-size: 12px;
    }

    .arvia-property-details__term,
    .arvia-property-details__value {
        font-size: 11px;
    }

}

/* ===== 03. UBICACIÓN ===== */

.arvia-property-location,
.arvia-property-location *,
.arvia-property-location *::before,
.arvia-property-location *::after {
    box-sizing: border-box;
}

.arvia-property-location {
    width: 100%;

    padding: 0 217px 80px;
    margin-top: 76px;

    color: #252525;
    font-family: 'Barlow', Arial, sans-serif;
}

.arvia-property-location .arvia-property-location__title {
    margin: 0 0 26px;
    padding: 0;

    color: #252525;

    font-family: 'Barlow', Arial, sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.015em;
}

.arvia-property-location__media {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;
    padding: 0;

    background: transparent;

    overflow: hidden;
    border-radius: 12px;
}

.arvia-property-location__picture {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;
    padding: 0;
}

.arvia-property-location__picture .arvia-property-location__image {
    display: block;

    width: 100%;
    max-width: 100%;

    height: auto;
    max-height: none;

    aspect-ratio: auto;

    margin: 0;
    padding: 0;

    object-fit: fill;
    object-position: center;

    border: 0;
    border-radius: 0;

    background: transparent;
    box-shadow: none;
}

@media (max-width: 1024px) {

    .arvia-property-location {
        padding-left: clamp(24px, 5vw, 70px);
        padding-right: clamp(24px, 5vw, 70px);

        margin-top: 62px;
    }

    .arvia-property-location .arvia-property-location__title {
        margin-bottom: 24px;
    }

}

@media (max-width: 767px) {

    .arvia-property-location {
        width: 100%;

        padding: 0 20px 40px;
        margin-top: 0px;
    }

    .arvia-property-location .arvia-property-location__title {
        margin-bottom: 20px;

        font-size: 16px;
        line-height: 1.4;
    }

    .arvia-property-location__media {
        display: block;

        width: 100%;
        height: auto;

        margin: 0;
        padding: 0;

        background: transparent;

        border-radius: 12px;
        overflow: hidden;
    }

    .arvia-property-location__picture {
        display: block;

        width: 100%;
        height: auto;

        margin: 0;
        padding: 0;
    }

    .arvia-property-location__picture .arvia-property-location__image {
        display: block;

        width: 100%;
        max-width: 100%;

        height: auto;
        max-height: none;

        aspect-ratio: auto;

        margin: 0;
        padding: 0;

        object-fit: fill;
        object-position: center;

        border: 0;
        border-radius: 0;

        background: transparent;
        box-shadow: none;
    }

}

@media (max-width: 380px) {

    .arvia-property-location {
        padding-left: 20px;
        padding-right: 20px;

        margin-top: 48px;
    }

    .arvia-property-location .arvia-property-location__title {
        margin-bottom: 18px;
    }

}


/* =====================================================
   SECCIÓN 04 - BARRA FIJA DE COTIZACIÓN
===================================================== */

.arvia-quote-bar,
.arvia-quote-bar *,
.arvia-quote-bar *::before,
.arvia-quote-bar *::after {
    box-sizing: border-box;
}

.arvia-quote-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;

    width: 100%;
    padding: 0 20px 16px;

    font-family: 'Barlow', Arial, sans-serif;
    pointer-events: none;
}

.arvia-quote-bar__inner {
    display: grid;
    grid-template-columns:
        minmax(0, 1.1fr)
        1px
        minmax(0, 1fr)
        auto;
    align-items: center;

    gap: 24px;

    width: 100%;
    max-width: 1160px;
    min-height: 82px;

    margin: 0 auto;
    padding: 10px 12px;

    background: #071b36;
    color: #ffffff;

    border: 1px solid #1c3452;
    border-radius: 13px;

    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);

    pointer-events: auto;
}

/* =====================================================
   04.1 - INFORMACIÓN DEL INMUEBLE
===================================================== */

.arvia-quote-bar__property {
    display: flex;
    align-items: center;

    gap: 13px;

    min-width: 0;
}

.arvia-quote-bar__thumbnail {
    width: 59px;
    height: 59px;

    flex: 0 0 59px;

    overflow: hidden;
    border-radius: 9px;

    background: #142b49;
}

.arvia-quote-bar__photo {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    border: 0;
    border-radius: 0;
}

.arvia-quote-bar__identity {
    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 7px;

    min-width: 0;
}

.arvia-quote-bar__name {
    display: block;

    color: #ffffff;

    font-family: 'Barlow', Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
}

.arvia-quote-bar__subtitle {
    display: block;

    color: #93a2b6;

    font-family: 'Barlow', Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
}

/* =====================================================
   04.2 - SEPARADOR
===================================================== */

.arvia-quote-bar__divider {
    width: 1px;
    height: 48px;

    background: #34445c;
}

/* =====================================================
   04.3 - CARACTERÍSTICAS Y PRECIO
===================================================== */

.arvia-quote-bar__information {
    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 5px;

    min-width: 0;
}

.arvia-quote-bar__features {
    display: block;

    color: #a5b2c2;

    font-family: 'Barlow', Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

.arvia-quote-bar__price {
    display: block;

    color: #ffffff;

    font-family: 'Barlow', Arial, sans-serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.arvia-quote-bar__price .woocommerce-Price-amount,
.arvia-quote-bar__price .woocommerce-Price-currencySymbol {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

/* =====================================================
   04.4 - BOTÓN COTIZAR
===================================================== */

body .arvia-quote-bar a.arvia-quote-bar__button,
body .arvia-quote-bar a.arvia-quote-bar__button:focus,
body .arvia-quote-bar a.arvia-quote-bar__button:active {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 17px;

    min-width: 220px;
    min-height: 53px;

    padding: 12px 23px;

    background: #075ff7;
    color: #ffffff;

    border: 1px solid #075ff7;
    border-radius: 9px;

    font-family: 'Barlow', Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;

    text-align: center;
    text-decoration: none;
    text-transform: none;

    box-shadow: none;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

body .arvia-quote-bar a.arvia-quote-bar__button:hover {
    background: #004bd0;
    color: #ffffff;

    border-color: #004bd0;

    text-decoration: none;
    box-shadow: none;
}

.arvia-quote-bar__button span {
    color: #ffffff;
    font-size: inherit;
    font-weight: inherit;
}

.arvia-quote-bar__button svg {
    display: block;

    width: 20px;
    height: 20px;

    flex-shrink: 0;
    stroke: #ffffff;
}

/* =====================================================
   04.5 - TABLET
===================================================== */

@media (max-width: 1024px) {

    .arvia-quote-bar__inner {
        grid-template-columns:
            minmax(0, 1fr)
            1px
            minmax(0, 1fr)
            auto;

        gap: 15px;
    }

    .arvia-quote-bar__name {
        font-size: 15px;
    }

    .arvia-quote-bar__subtitle,
    .arvia-quote-bar__features {
        font-size: 11px;
    }

    .arvia-quote-bar__price {
        font-size: 20px;
    }

    body .arvia-quote-bar a.arvia-quote-bar__button,
    body .arvia-quote-bar a.arvia-quote-bar__button:focus,
    body .arvia-quote-bar a.arvia-quote-bar__button:active {
        min-width: 170px;
        min-height: 49px;

        padding: 12px 17px;
        font-size: 13px;
    }

}

/* =====================================================
   04.6 - MOBILE
===================================================== */

@media (max-width: 767px) {

    .arvia-quote-bar {
        left: 0;
        right: 0;
        bottom: 0;

        width: 100%;
        padding: 0;
    }

    .arvia-quote-bar__inner {
        display: grid;
        grid-template-columns:
            minmax(0, 1fr)
            1px
            minmax(0, 1fr);

        gap: 14px 12px;

        width: 100%;
        max-width: none;

        min-height: 0;

        margin: 0;
        padding: 13px 12px calc(12px + env(safe-area-inset-bottom, 0px));

        border-radius: 13px 13px 0 0;

        box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.14);
    }

    .arvia-quote-bar__property {
        gap: 10px;
        align-self: center;
    }

    .arvia-quote-bar__thumbnail {
        width: 63px;
        height: 67px;

        flex: 0 0 63px;

        border-radius: 9px;
    }

    .arvia-quote-bar__identity {
        gap: 7px;
    }

    .arvia-quote-bar__name {
        font-size: clamp(13px, 3.7vw, 16px);
    }

    .arvia-quote-bar__subtitle {
        font-size: clamp(9px, 2.5vw, 11px);
        line-height: 1.35;
    }

    .arvia-quote-bar__divider {
        height: 68px;
        align-self: center;
    }

    .arvia-quote-bar__information {
        gap: 7px;
        align-self: center;
    }

    .arvia-quote-bar__features {
        font-size: clamp(9px, 2.5vw, 11px);
        line-height: 1.4;
    }

    .arvia-quote-bar__price {
        font-size: clamp(17px, 4.8vw, 23px);
        line-height: 1.2;
    }

    body .arvia-quote-bar a.arvia-quote-bar__button,
    body .arvia-quote-bar a.arvia-quote-bar__button:focus,
    body .arvia-quote-bar a.arvia-quote-bar__button:active {
        grid-column: 1 / -1;

        display: flex;

        width: 100%;
        min-width: 0;
        min-height: 55px;

        padding: 14px 18px;
        margin: 0;

        border-radius: 9px;

        font-size: 17px;
        gap: 18px;
    }

}

/* =====================================================
   04.7 - MOBILE PEQUEÑO
===================================================== */

@media (max-width: 380px) {

    .arvia-quote-bar__inner {
        gap: 12px 9px;
        padding-left: 9px;
        padding-right: 9px;
    }

    .arvia-quote-bar__property {
        gap: 8px;
    }

    .arvia-quote-bar__thumbnail {
        width: 50px;
        height: 58px;

        flex-basis: 50px;
    }

    .arvia-quote-bar__name {
        font-size: 13px;
    }

    .arvia-quote-bar__subtitle,
    .arvia-quote-bar__features {
        font-size: 9px;
    }

    .arvia-quote-bar__price {
        font-size: 17px;
    }

}


/* =====================================================
   05. PRECIO NUEVO + VIDEO OPCIONAL - ARVIA
   Sin variables, sin !important
===================================================== */
.arvia-property__heading {
    display: block;
    position: relative;
    min-height: 85px;
    padding-right: 260px;
}
.arvia-property__identity { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.arvia-property__price {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    padding-top: 0;
    text-align: right;
}

.arvia-property__responsive-main,
.arvia-property__responsive-main img { display: block; width: 100%; height: 100%; }
.arvia-property__responsive-main img { object-fit: cover; }
body .arvia-property button.arvia-property__video-thumb {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #071b36;
    overflow: hidden;
    cursor: pointer;
    box-shadow: none;
}
.arvia-property__video-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.arvia-property__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #ffffff;
    border-radius: 50%;
    color: #071b36;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 18px rgba(0,0,0,0.22);
}
.arvia-property__play svg { fill: currentColor; }
body.arvia-video-open { overflow: hidden; }
.arvia-property .arvia-video-modal[hidden] { display: none; }
.arvia-video-modal {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
}
.arvia-video-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.9); }
.arvia-video-modal__content { position: relative; z-index: 1; width: min(100%, 980px); }
.arvia-video-modal__content video { display: block; width: 100%; max-height: 80dvh; object-fit: contain; background: #000000; border-radius: 10px; }
body .arvia-property button.arvia-video-modal__close,
body .arvia-property button.arvia-video-modal__close:hover,
body .arvia-property button.arvia-video-modal__close:focus {
    position: absolute;
    top: -15px;
    right: -15px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    padding: 0;
    background: #ffffff;
    color: #071b36;
    border: 0;
    border-radius: 50%;
    font-size: 25px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
@media (max-width: 767px) {
    .arvia-property__heading {
        display: block;
        min-height: 0;
        padding-right: 0;
        margin-bottom: 18px;
    }
    .arvia-property__identity { gap: 7px; }
    .arvia-property__price {
        position: static;
        top: auto;
        right: auto;
        align-items: flex-start;
        padding: 0;
        gap: 2px;
        text-align: left;
    }
    .arvia-property__price-label { font-size: 10px; }
    .arvia-property__price-value {
        padding: 3px 7px 5px;
        font-size: clamp(22px, 7vw, 29px);
    }
    /* =================================================
       GALERÍA CON VIDEO: MOBILE
       1. Destacada arriba (se renderiza en PHP)
       2. Primera fotografía de galería
       3. Video, si está configurado
    ================================================= */

    body .arvia-property .arvia-property__gallery--video
    .arvia-property__grid--video {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
        gap: 10px;
        width: 100%;
        height: auto;
        overflow: visible;
    }

    /* Mantener visible la primera foto, previamente oculta. */
    body .arvia-property .arvia-property__grid--video
    button.arvia-property__thumb.arvia-property__thumb--first-video {
        display: block;
        order: 1;
        width: 100%;
        height: auto;
        aspect-ratio: 1.05;
        padding: 0;
        margin: 0;
        overflow: hidden;
        border-radius: 11px;
    }

    /* Video junto a la primera foto. */
    body .arvia-property .arvia-property__grid--video
    button.arvia-property__video-thumb {
        display: block;
        order: 2;
        width: 100%;
        height: auto;
        aspect-ratio: 1.05;
        padding: 0;
        margin: 0;
        overflow: hidden;
        border-radius: 11px;
    }

    /* Las fotos restantes siguen disponibles en el lightbox. */
    body .arvia-property .arvia-property__grid--video
    button.arvia-property__thumb.arvia-property__thumb--extra-video {
        display: none;
    }

    .arvia-property__grid--video .arvia-property__photo,
    .arvia-property__grid--video .arvia-property__video-thumb img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .arvia-video-modal { padding: 12px; }
    .arvia-video-modal__content video { max-height: 72vh; }
}

/* =====================================================
   ARVIA - GOOGLE MAPS INTERACTIVO
===================================================== */

.arvia-property-location__media {
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 12px;
    background: #f1f4f8;
}

.arvia-property-location__map {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 12px;
}

.arvia-property-location__external {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;

    margin-top: 14px;

    color: #075ff7;
    font-family: 'Barlow', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;

    transition: color 0.2s ease;
}

.arvia-property-location__external:hover {
    color: #004bd0;
    text-decoration: underline;
}

.arvia-property-location__external svg {
    display: block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

@media (max-width: 767px) {

    .arvia-property-location__media {
        height: 310px;
        border-radius: 10px;
    }

    .arvia-property-location__map {
        border-radius: 10px;
    }

    .arvia-property-location__external {
        margin-top: 12px;
        font-size: 12px;
    }

}


/* =====================================================
   ARVIA - CINTA DINÁMICA SINGLE PRODUCT
===================================================== */

/* 01. CONTENEDOR DE LA IMAGEN */

body .arvia-property button.arvia-property__main {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

/* 02. CINTA DIAGONAL */

.arvia-property__ribbon {
    position: absolute;
    top: 34px;
    left: -54px;
    z-index: 4;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 205px;
    min-height: 32px;
    padding: 7px 17px;

    background: #075FF7;
    color: #ffffff;

    transform: rotate(-38deg);
    transform-origin: center;

    pointer-events: none;
    user-select: none;

    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.15);
}

/* 03. TEXTO */

.arvia-property__ribbon-text {
    display: block;
    width: 100%;

    color: #ffffff;

    font-family: 'Barlow', Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.025em;

    text-align: center;
    text-transform: uppercase;

    overflow-wrap: anywhere;
}

/* 04. MOBILE */

@media (max-width: 767px) {

    .arvia-property__ribbon {
        top: 25px;
        left: -46px;

        width: 175px;
        min-height: 29px;
        padding: 7px 13px;
    }

    .arvia-property__ribbon-text {
        font-size: 9px;
        letter-spacing: 0.02em;
    }

}

/* 05. MOBILE PEQUEÑO */

@media (max-width: 380px) {

    .arvia-property__ribbon {
        top: 23px;
        left: -43px;

        width: 164px;
        min-height: 27px;
    }

    .arvia-property__ribbon-text {
        font-size: 8px;
    }

}
