/* =============================================
   LUXURY LINE — Promotion Detail page
   ============================================= */

/* ── Hero ── */
.lux-detail-hero {
    position: relative;
    height: 100svh;
    min-height: 580px;
    overflow: hidden;
    background-color: var(--lux-black);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.lux-detail-hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lux-detail-hero__breadcrumb {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--lux-fs-xs);
    color: rgba(255,255,255,0.7);
    margin-bottom: auto;
    padding-top: calc(var(--lux-header-height) + 1rem);
}
.lux-detail-hero__breadcrumb a { color: rgba(255,255,255,0.7); }
.lux-detail-hero__breadcrumb a:hover { color: var(--lux-white); }
.lux-detail-hero__breadcrumb span { color: rgba(255,255,255,0.4); }
.lux-detail-hero__info {
    position: relative;
    z-index: 2;
    padding-bottom: 0.5rem;
}
.lux-detail-hero__location { color: rgba(255,255,255,0.8) !important; margin-bottom: 0.5rem; }
.lux-detail-hero__name {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: var(--lux-fw-bold);
    color: var(--lux-white);
    letter-spacing: var(--lux-ls-tight);
    margin: 0;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.lux-detail-hero__tagline {
    margin: 0.75rem 0 0;
    max-width: 40rem;
    font-size: var(--lux-fs-lg);
    line-height: var(--lux-lh-normal);
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
.lux-detail-hero__ctas {
    position: relative;
    z-index: 2;
    display: flex;
    gap: var(--lux-space-sm);
    padding-bottom: var(--lux-space-md);
    flex-wrap: wrap;
}

/* ── Description + stats ── */
.lux-detail-desc__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--lux-space-xl);
    align-items: start;
}
.lux-prose {
    font-size: var(--lux-fs-md);
    line-height: var(--lux-lh-loose);
    color: var(--lux-dark-gray);
}
.lux-prose p { margin-bottom: 1rem; }
.lux-detail-desc__stats {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.lux-detail-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: var(--lux-space-sm) 0;
    border-bottom: 1px solid var(--lux-silver);
}
.lux-detail-stat__label {
    font-size: var(--lux-fs-xs);
    font-weight: var(--lux-fw-semibold);
    letter-spacing: var(--lux-ls-wider);
    text-transform: uppercase;
    color: var(--lux-taupe);
}
.lux-detail-stat__value {
    font-size: var(--lux-fs-sm);
    font-weight: var(--lux-fw-medium);
    color: var(--lux-black);
}

/* ── Gallery tabs ── */
.lux-gallery-tabs {
    display: flex;
    gap: var(--lux-space-sm);
    margin-bottom: var(--lux-space-md);
    flex-wrap: wrap;
}
.lux-gallery-tab {
    padding: 0.5rem 1.25rem;
    border-radius: var(--lux-radius-pill);
    border: 2px solid var(--lux-silver);
    background: transparent;
    font-size: var(--lux-fs-sm);
    font-weight: var(--lux-fw-semibold);
    cursor: pointer;
    transition: var(--lux-transition-fast);
    color: var(--lux-dark-gray);
}
.lux-gallery-tab.active,
.lux-gallery-tab:hover {
    background: var(--lux-primary);
    border-color: var(--lux-primary);
    color: var(--lux-white);
}

/* ── Gallery swiper ── */
.lux-gallery-swiper { height: 600px; }
.lux-gallery-slide { overflow: hidden; }
.lux-gallery-slide__img { width: 100%; height: 100%; object-fit: cover; }
.lux-gallery-swiper .swiper-button-prev,
.lux-gallery-swiper .swiper-button-next {
    background: rgba(255,255,255,0.85) !important;
    border-radius: 50% !important;
    width: 48px !important; height: 48px !important;
    color: var(--lux-black) !important;
}
.lux-gallery-swiper .swiper-button-prev:hover,
.lux-gallery-swiper .swiper-button-next:hover {
    background: var(--lux-primary) !important;
    color: var(--lux-white) !important;
}
.lux-gallery-swiper .swiper-button-prev::after,
.lux-gallery-swiper .swiper-button-next::after { font-size: 16px !important; }

/* ── Gallery thumbnails ── */
.lux-gallery-thumbs {
    margin-top: var(--lux-space-sm);
    height: 80px;
}
.lux-gallery-thumb {
    height: 80px;
    border-radius: var(--lux-radius-sm);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--lux-transition-fast);
    border: 2px solid transparent;
}
.lux-gallery-thumb.swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--lux-primary);
}
.lux-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ── Price table ── */
.lux-price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--lux-fs-sm);
}
.lux-price-table th {
    font-size: var(--lux-fs-xs);
    font-weight: var(--lux-fw-semibold);
    letter-spacing: var(--lux-ls-wider);
    text-transform: uppercase;
    color: var(--lux-dark-gray);
    padding: 0.75rem var(--lux-space-sm);
    border-bottom: 2px solid var(--lux-black);
    text-align: left;
}
.lux-price-table td {
    padding: 0.85rem var(--lux-space-sm);
    border-bottom: 1px solid var(--lux-silver);
    vertical-align: middle;
}
.lux-price-table tr:hover td { background-color: var(--lux-cream); }

/* ── Quality memory ── */
.lux-detail-quality__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--lux-space-xl);
    align-items: center;
}
.lux-detail-quality__imgs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    aspect-ratio: 1;
}
.lux-detail-quality__imgs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--lux-radius-sm);
}

/* ── Location map ── */
.lux-detail-map-wrap {
    position: relative;
    height: 520px;
    overflow: hidden;
}
.lux-detail-map { width: 100%; height: 100%; }
.lux-detail-map-card {
    position: absolute;
    bottom: var(--lux-space-md);
    right: var(--lux-space-md);
    background: var(--lux-white);
    border-radius: var(--lux-radius-md);
    padding: var(--lux-space-md);
    width: 280px;
    box-shadow: var(--lux-shadow-lg);
    z-index: 10;
}
.lux-detail-map-card__name {
    font-size: var(--lux-fs-xl);
    font-weight: var(--lux-fw-bold);
    margin-bottom: 0.5rem;
}
.lux-detail-map-card__desc {
    font-size: var(--lux-fs-sm);
    color: var(--lux-dark-gray);
    margin-bottom: var(--lux-space-sm);
}

/* ── Gallery video panel ── */
.lux-gallery-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--lux-space-md);
    padding-top: var(--lux-space-sm);
}
.lux-gallery-video-item { display: flex; flex-direction: column; gap: 0.5rem; }
.lux-gallery-video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--lux-radius-md);
    background: var(--lux-black);
    cursor: pointer;
}
.lux-gallery-video-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.lux-gallery-video-item:hover .lux-gallery-video-thumb img { transform: scale(1.04); }
.lux-gallery-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}
.lux-gallery-video-play svg { width: 64px; height: 64px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)); transition: transform 0.25s ease; }
.lux-gallery-video-play:hover svg { transform: scale(1.12); }
.lux-gallery-video-title { font-size: var(--lux-fs-sm); color: var(--lux-dark-gray); text-align: center; }
.lux-gallery-video-frame {
    width: 100%; height: 100%;
    border: none;
    display: block;
    border-radius: var(--lux-radius-md);
    aspect-ratio: 16/9;
}

/* ── Gallery matterport panel ── */
.lux-gallery-matterport { padding-top: var(--lux-space-sm); }
.lux-gallery-matterport__wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--lux-radius-md);
    overflow: hidden;
    background: var(--lux-cream);
}
.lux-gallery-matterport__frame {
    width: 100%; height: 100%;
    border: none;
    display: block;
}
.lux-gallery-matterport__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lux-dark-gray);
    font-size: var(--lux-fs-sm);
    pointer-events: none;
}

/* ── Gallery vistas panel ── */
.lux-gallery-vistas {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 0;
    min-height: 500px;
    border-radius: var(--lux-radius-md);
    overflow: hidden;
    margin-top: var(--lux-space-sm);
}
.lux-gallery-vistas__left {
    background: var(--lux-black);
    color: var(--lux-white);
    padding: var(--lux-space-xl) var(--lux-space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--lux-space-sm);
}
.lux-gallery-vistas__logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin-bottom: var(--lux-space-xs);
}
.lux-gallery-vistas__title {
    font-size: var(--lux-fs-xl);
    font-weight: var(--lux-fw-bold);
    line-height: 1.2;
    margin: 0;
}
.lux-gallery-vistas__desc {
    font-size: var(--lux-fs-sm);
    color: rgba(255,255,255,0.75);
    line-height: 1.65;
    margin: 0;
}
.lux-gallery-vistas__pills {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
}
.lux-gallery-vistas__pill {
    padding: 0.55rem 1rem;
    border-radius: var(--lux-radius-pill);
    border: 1.5px solid rgba(255,255,255,0.35);
    background: transparent;
    color: rgba(255,255,255,0.8);
    font-size: var(--lux-fs-xs);
    font-weight: var(--lux-fw-semibold);
    letter-spacing: var(--lux-ls-wide);
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--lux-transition-fast);
    text-align: left;
}
.lux-gallery-vistas__pill:hover,
.lux-gallery-vistas__pill.active {
    background: var(--lux-primary);
    border-color: var(--lux-primary);
    color: var(--lux-white);
}
.lux-gallery-vistas__right { position: relative; overflow: hidden; }
.lux-gallery-vistas__img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: opacity 0.35s ease;
    display: block;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .lux-detail-desc__grid  { grid-template-columns: 1fr; gap: var(--lux-space-lg); }
    .lux-detail-quality__grid { grid-template-columns: 1fr; }
    .lux-gallery-swiper { height: 380px; }
    .lux-gallery-vistas { grid-template-columns: 1fr; grid-template-rows: auto 320px; }
    .lux-gallery-vistas__pills { flex-direction: row; flex-wrap: wrap; margin-top: var(--lux-space-sm); }
    .lux-gallery-video-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
@media (max-width: 767px) {
    .lux-detail-hero { min-height: 480px; }
    .lux-detail-hero__ctas { flex-direction: column; }
    .lux-detail-map-card { width: 100%; right: 0; bottom: 0; border-radius: var(--lux-radius-md) var(--lux-radius-md) 0 0; }
    .lux-gallery-vistas { min-height: unset; }
    .lux-gallery-vistas__left { padding: var(--lux-space-lg) var(--lux-space-md); }
    .lux-gallery-matterport__wrap { aspect-ratio: 4/3; }
}
