/* ==========================================================================
   Hotel Detail V2 — OTA / Tatilsepeti tarzı
   body.theme-hotel-detail-v2 / .hdv2
   ========================================================================== */

body.theme-hotel-detail-v2 {
    background: #eef1f4;
}
body.theme-hotel-detail-v2 .site-main {
    padding-top: 0.65rem;
    padding-bottom: 5rem;
}

.hdv2.hd-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0.5rem 0.85rem 1.5rem;
    background: transparent;
    overflow-x: clip;
    width: 100%;
    box-sizing: border-box;
}

.hdv2-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

/* —— Başlık —— */
.hdv2-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.hdv2-title {
    margin: 0 0 0.3rem;
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
    font-weight: 800;
    color: #0f2744;
    line-height: 1.25;
    letter-spacing: -0.01em;
}
.hdv2-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.95rem;
    font-size: 0.84rem;
    color: #475569;
}
.hdv2-stars {
    display: inline-flex;
    gap: 0.08rem;
    color: #f59e0b;
}
.hdv2-loc {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.hdv2-map-link {
    margin-left: 0.35rem;
    color: #0b5cab;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.hdv2-head-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}
.hdv2-icon-btn {
    width: 2.3rem;
    height: 2.3rem;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.hdv2-icon-btn:hover,
.hdv2-icon-btn.is-active {
    border-color: #93c5fd;
    color: #0b5cab;
    background: #eff6ff;
}
.hdv2-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.62rem 1.05rem;
    border-radius: 8px;
    background: #0b5cab;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(11, 92, 171, 0.22);
}
.hdv2-cta-primary:hover {
    background: #094a8f;
}

/* —— Üst grid: sol ara + galeri —— */
.hdv2-top-grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: stretch;
}
@media (max-width: 960px) {
    .hdv2-top-grid {
        grid-template-columns: 1fr;
    }
}

.hdv2-aside {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.hdv2-search-card {
    background: linear-gradient(160deg, #ff8a1f 0%, #f97316 55%, #ea580c 100%);
    color: #fff;
    border-radius: 12px;
    padding: 1.05rem 1.05rem 1.15rem;
    box-shadow: 0 10px 28px rgba(249, 115, 22, 0.28);
}
.hdv2-search-card-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 0.85rem;
}
.hdv2-search-card-hint {
    margin: 0 0 0.9rem;
    font-size: 0.8rem;
    line-height: 1.45;
    opacity: 0.96;
}

/* Sol arama motoru */
.hdv2-engine {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.hdv2-engine-field {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    position: relative;
}
.hdv2-engine-field > label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
}
.hdv2-engine-dest {
    position: relative;
}
.hdv2-engine-input,
.hdv2-engine .hm-ctrl,
.hdv2-engine .flatpickr-alt-input,
.hdv2-engine-guests {
    width: 100%;
    box-sizing: border-box;
    min-height: 2.55rem;
    border: none !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #0f2744 !important;
    font-size: 0.875rem !important;
    font-weight: 600;
    padding: 0.55rem 0.7rem !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
}
.hdv2-engine .flatpickr-alt-input {
    cursor: pointer;
}
.hdv2-engine-suggest.hm-suggest {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 40;
    max-height: 220px;
    overflow: auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.2);
    color: #0f2744;
}
.hdv2-engine-guests {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    cursor: pointer;
}
.hdv2-engine-guests .hm-guests__main {
    color: #0f2744;
    font-weight: 700;
    font-size: 0.875rem;
}
.hdv2-engine-guests .hm-guests__sub {
    color: #64748b;
    font-size: 0.72rem;
}
.hdv2-engine-guests-panel.hm-guests__panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 41;
    background: #fff;
    color: #0f2744;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.22);
    padding: 0.75rem;
}
.hdv2-engine-field--guests {
    position: relative;
}
.hdv2-engine-submit {
    margin-top: 0.15rem;
}
.hdv2-engine-local {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 0.65rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
}
.hdv2-engine-local:hover {
    background: rgba(255, 255, 255, 0.22);
}
.hdv2-aside-btn {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 0.9rem;
    border: none;
    border-radius: 8px;
    background: #0f2744;
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(15, 39, 68, 0.25);
}
.hdv2-aside-btn:hover {
    background: #0a1b2e;
    color: #fff;
}
.hdv2-aside-price {
    margin-top: 0.95rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.78rem;
}
.hdv2-aside-price strong {
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}
.hdv2-aside-contact {
    display: flex;
    gap: 0.45rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.55rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.hdv2-aside-link {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.55rem;
    border: none;
    border-radius: 8px;
    background: #f1f5f9;
    color: #0b5cab;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none !important;
}
.hdv2-aside-link:hover {
    background: #e0f2fe;
}

/* —— Mozaik galeri —— */
.hdv2-gallery {
    background: #0f172a;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    height: 100%;
    min-height: 280px;
}
.hdv2-gallery-mosaic {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
    height: 100%;
    min-height: 280px;
    background: #0f172a;
}
.hdv2-gallery--mosaic .hdv2-gallery-mosaic {
    grid-template-columns: 1.35fr 1fr;
}
@media (max-width: 720px) {
    .hdv2-gallery--mosaic .hdv2-gallery-mosaic {
        grid-template-columns: 1fr;
    }
    .hdv2-gallery-side {
        grid-template-columns: 1fr 1fr !important;
        min-height: 160px;
    }
}
.hdv2-gallery-main {
    position: relative;
    min-height: 280px;
    background: #1e293b;
    overflow: hidden;
}
.hdv2-gallery--mosaic .hdv2-gallery-main {
    min-height: 320px;
}
.hdv2-gallery-stage {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    padding: 0;
    border: none;
    background: transparent;
    cursor: zoom-in;
}
.hdv2-gallery-stage img,
.hdv2-gallery-main img,
.hdv2-gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hdv2-gallery-empty {
    padding: 3.5rem 1rem;
    text-align: center;
    color: #94a3b8;
    background: #fff;
}
.hdv2-gallery-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 3px;
    min-height: 320px;
}
.hdv2-gallery-side--1 {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}
.hdv2-gallery-side--2 {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
}
.hdv2-gallery-side--3 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}
.hdv2-gallery-side--3 .hdv2-gallery-tile:first-child {
    grid-row: 1 / span 2;
}
.hdv2-gallery-main .hdv2-gallery-stage {
    position: absolute;
    inset: 0;
    min-height: 0;
}
.hdv2-gallery-main .hdv2-gallery-stage img {
    position: absolute;
    inset: 0;
}
.hdv2-gallery-tile {
    position: relative;
    padding: 0;
    border: none;
    margin: 0;
    overflow: hidden;
    background: #1e293b;
    cursor: zoom-in;
    min-height: 0;
}
.hdv2-gallery-tile:hover img {
    transform: scale(1.03);
}
.hdv2-gallery-tile img {
    transition: transform 0.35s ease;
}
.hdv2-gallery-tile--more::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.48);
}
.hdv2-gallery-tile-more {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
    pointer-events: none;
}
.hdv2-rating-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    background: rgba(15, 39, 68, 0.92);
    color: #fff;
    border-radius: 10px;
    padding: 0.45rem 0.65rem;
    text-align: center;
    min-width: 3.5rem;
    line-height: 1.2;
    backdrop-filter: blur(4px);
}
.hdv2-rating-badge strong {
    display: block;
    font-size: 1.15rem;
}
.hdv2-rating-badge span {
    font-size: 0.68rem;
    opacity: 0.9;
}
.hdv2-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.55);
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.hdv2-gallery-nav:hover {
    background: rgba(15, 23, 42, 0.78);
}
.hdv2-gallery-nav--prev { left: 0.65rem; }
.hdv2-gallery-nav--next { right: 0.65rem; }
.hdv2-gallery-count {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    z-index: 2;
    background: rgba(15, 23, 42, 0.55);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
}
.hdv2-gallery-thumbs {
    display: flex;
    gap: 0.4rem;
    padding: 0.55rem;
    overflow-x: auto;
    background: #fff;
}
.hdv2-thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 54px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
    cursor: pointer;
}
.hdv2-thumb.is-active {
    border-color: #0b5cab;
}
.hdv2-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hdv2-thumb--more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0b5cab;
}

/* —— Oda / müsaitlik bloğu —— */
.hdv2-rooms-block {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.05rem 1.15rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}
.hdv2-rooms-block .ha-block {
    margin: 0;
}
.hdv2-rooms-block .ha-results-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f2744;
    text-transform: none;
    letter-spacing: -0.01em;
    margin: 0 0 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #f1f5f9;
}

/* Arama şeridi — V2 */
.hdv2 .ha-search {
    grid-template-columns: 1.5fr 1fr auto;
    gap: 0.75rem;
    padding: 0.85rem 0.95rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.hdv2 .ha-field label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #64748b;
}
.hdv2 .ha-input {
    border-color: #cbd5e1;
    background: #fff;
    font-weight: 600;
    color: #0f2744;
}
.hdv2 .ha-btn-search {
    background: #f97316;
    border: none;
    font-weight: 800;
    box-shadow: 0 2px 10px rgba(249, 115, 22, 0.28);
}
.hdv2 .ha-btn-search:hover {
    background: #ea580c;
}

/* Oda kartları — Tatilsepeti yatay düzen */
.hdv2 .ha-group-summary {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0.85rem 0 0.75rem;
    padding: 0.35rem 0.7rem;
    background: #eff6ff;
    color: #0b5cab;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}
.hdv2 .ha-room {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0.9rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.18s ease, border-color 0.18s ease;
}
.hdv2 .ha-room:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}
.hdv2 .ha-room--media {
    grid-template-columns: 210px minmax(0, 1fr);
}
@media (max-width: 960px) {
    .hdv2 .ha-room--media {
        grid-template-columns: 170px minmax(0, 1fr);
    }
}
@media (max-width: 720px) {
    .hdv2 .ha-room--media {
        grid-template-columns: 1fr;
    }
    .hdv2 .ha-room-media {
        width: 100%;
        height: 190px;
        min-height: 190px;
    }
}
.hdv2 .ha-room-media {
    width: 210px;
    min-height: 220px;
    height: 100%;
    background: #e2e8f0;
    cursor: zoom-in;
}
.hdv2 .ha-room-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, 0.35) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
}
.hdv2 .ha-room:hover .ha-room-media::after {
    opacity: 1;
}
.hdv2 .ha-room-media-nav {
    width: 1.75rem;
    height: 1.75rem;
    opacity: 0;
    transition: opacity 0.15s ease;
}
.hdv2 .ha-room:hover .ha-room-media-nav {
    opacity: 1;
}
.hdv2 .ha-info-modal__box {
    width: min(600px, 94vw);
}

/* [foto] [orta içerik]; CTA tarife satırında — sağ aside yok */
.hdv2 .ha-room-body {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 0;
    padding: 0;
    align-items: stretch;
}
.hdv2 .ha-room-mid {
    grid-column: 1;
    grid-row: 1;
    padding: 0.85rem 1rem 0.75rem;
    min-width: 0;
    border-right: none;
}
.hdv2 .ha-room-aside {
    display: none;
}

/* Başlık bloğu dikey; üst satırda başlık | araçlar */
.hdv2 .ha-room-head {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    border: none;
}
.hdv2 .ha-room-top {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin: 0;
    width: 100%;
}
.hdv2 .ha-room-title-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    min-width: 0;
    flex: 1 1 auto;
    max-width: calc(100% - 12rem);
}
.hdv2 .ha-room-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hdv2 .ha-room-info-btn {
    display: none;
}
.hdv2 .ha-room-from,
.hdv2 .ha-room-chips,
.hdv2 .ha-room-desc {
    display: none !important;
}
.hdv2 .ha-room-tools {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}
.hdv2 .ha-room-tool {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
    padding: 0;
    line-height: 1.2;
}
.hdv2 .ha-room-tool-label {
    border-bottom: none;
}
.hdv2 .ha-room-tool:hover {
    color: #0b5cab;
}
.hdv2 .ha-room-tool-ico {
    display: inline-flex;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 4px;
    flex-shrink: 0;
}
.hdv2 .ha-room-tool-ico--cal {
    background: transparent;
    color: #f97316;
}
.hdv2 .ha-room-tool-ico--price {
    background: transparent;
    color: #0b5cab;
}
.hdv2 .ha-room-board-badge {
    display: inline-block;
    align-self: flex-start;
    margin: 0;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 700;
}
.hdv2 .ha-room-refund {
    display: flex;
    margin: 0;
}
.hdv2 .ha-room-occupancy {
    display: flex;
    margin: 0;
    width: 100%;
}
.hdv2 .ha-room-amenities {
    display: flex;
    margin: 0;
    width: 100%;
}
.hdv2 .ha-room-facilities-link {
    display: inline-flex;
    align-self: flex-start;
    margin: 0.2rem 0 0;
}

/* Diğer tarifeler tam genişlik alt şerit */
.hdv2 .ha-rate-more {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    border-top: 1px solid #eef2f7;
    background: #fafbfc;
}
.hdv2 .ha-rate-more-sum {
    padding: 0.65rem 1rem;
    color: #ea580c;
    font-size: 0.82rem;
}
.hdv2 .ha-rate-more-list {
    padding: 0 0.75rem 0.65rem;
    background: #fff;
}
.hdv2 .ha-rate-more .ha-rate {
    grid-template-columns: 1fr 160px;
    border-top: 1px solid #f1f5f9;
    padding: 0.65rem 0.25rem;
}
.hdv2 .ha-rate-more .ha-btn-book {
    background: #0b5cab;
    border-color: #0b5cab;
}

@media (max-width: 900px) {
    .hdv2 .ha-room-tool-label {
        /* dar alanda sadece ikon; başlıkla çakışmayı önle */
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
    .hdv2 .ha-room-title-row {
        max-width: calc(100% - 4.5rem);
    }
    .hdv2 .ha-room-tools {
        gap: 0.35rem;
    }
    .hdv2 .ha-room-tool {
        padding: 0.2rem;
    }
    .hdv2 .ha-room-tool-ico {
        width: 1.6rem;
        height: 1.6rem;
    }
}
@media (max-width: 720px) {
    .hdv2 .ha-room-top {
        flex-wrap: wrap;
    }
    .hdv2 .ha-room-title-row {
        max-width: 100%;
        flex: 1 1 100%;
    }
    .hdv2 .ha-room-tools {
        justify-content: flex-start;
        flex-wrap: wrap;
        width: 100%;
    }
    .hdv2 .ha-room-tool-label {
        position: static;
        width: auto;
        height: auto;
        margin: 0;
        clip: auto;
        overflow: visible;
    }
}
.hdv2 .ha-rate {
    grid-template-columns: minmax(0, 1fr) minmax(140px, 170px);
    padding: 0.7rem 0.25rem;
    border-top: 1px solid #f1f5f9;
    border-radius: 0;
    min-width: 0;
}
.hdv2 .ha-rate:hover {
    background: #f8fafc;
}
.hdv2 .ha-rate-board {
    font-size: 0.9rem;
    color: #0f2744;
}
.hdv2 .ha-rate-best-badge {
    background: #fff7ed;
    border-color: #fdba74;
    color: #c2410c;
}
.hdv2 .ha-btn-book,
.hdv2 .ha-rate-action .ha-btn,
.hdv2 .ha-rate-action button[type="submit"],
.hdv2 .ha-rate-action .btn {
    background: #0b5cab;
    border-color: #0b5cab;
    font-weight: 700;
    border-radius: 8px;
}
.hdv2 .ha-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0b5cab;
}
.hdv2 .ha-rate-info,
.hdv2 .ha-rate-action {
    min-width: 0;
}

/* —— Alt içerik —— */
.hdv2-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 0.85rem;
    align-items: start;
}
@media (max-width: 960px) {
    .hdv2-content {
        grid-template-columns: 1fr;
    }
    .hdv2-sidebar-secondary {
        order: -1;
    }
}
.hdv2-main {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.85rem 1.05rem 1.25rem;
    min-width: 0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.hdv2-sidebar-secondary {
    position: sticky;
    top: 0.75rem;
}
.hdv2-sidebar-secondary .hd-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.9rem 1rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.hdv2-sidebar-secondary .hd-sidebar-cta-price {
    color: #0b5cab;
    font-weight: 800;
}
.hdv2-sidebar-secondary .hd-cta {
    background: #f97316;
    border-color: #f97316;
    font-weight: 700;
}

.hdv2 .hd-nav {
    margin: 0 0 1rem;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
.hdv2 .hd-section-title {
    color: #0f2744;
    font-weight: 800;
}
.hdv2 .hd-breadcrumb {
    margin-bottom: 0.15rem;
}

/* —— Mobil / dar ekran —— */
@media (max-width: 960px) {
    .hdv2.hd-container {
        padding: 0.4rem 0.65rem 1.25rem;
    }
    .hdv2-head {
        padding: 0.75rem 0.85rem;
        gap: 0.75rem;
    }
    .hdv2-head-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .hdv2-cta-primary {
        flex: 1 1 auto;
        justify-content: center;
        min-height: 2.5rem;
    }
    .hdv2-rooms-block {
        padding: 0.85rem 0.75rem 1rem;
    }
    .hdv2-main {
        padding: 0.75rem 0.85rem 1.1rem;
    }
    .hdv2 .ha-search {
        grid-template-columns: 1fr;
    }
    .hdv2 .ha-search .ha-btn-search {
        width: 100%;
        min-height: 2.6rem;
    }
}

@media (max-width: 720px) {
    body.theme-hotel-detail-v2 .site-main {
        padding-bottom: 6rem;
    }
    .hdv2.hd-container {
        padding: 0.35rem 0.5rem 1.1rem;
    }
    .hdv2-wrap {
        gap: 0.65rem;
    }
    .hdv2-title {
        font-size: 1.15rem;
        word-break: break-word;
    }
    .hdv2-meta {
        font-size: 0.78rem;
        gap: 0.4rem 0.65rem;
    }
    .hdv2-map-link {
        display: inline-block;
        margin-left: 0;
    }
    .hdv2-gallery,
    .hdv2-gallery-mosaic {
        min-height: 0;
    }
    .hdv2-gallery-main,
    .hdv2-gallery--mosaic .hdv2-gallery-main {
        min-height: 210px;
        aspect-ratio: 16 / 10;
    }
    .hdv2-gallery-side {
        min-height: 120px;
    }
    .hdv2-gallery-nav {
        width: 2rem;
        height: 2rem;
    }
    .hdv2-rating-badge {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.35rem 0.5rem;
        min-width: 3rem;
    }
    .hdv2-rating-badge strong {
        font-size: 1rem;
    }
    .hdv2-rooms-block .ha-results-title {
        font-size: 0.98rem;
    }
    .hdv2 .ha-room-mid {
        padding: 0.75rem 0.75rem 0.65rem;
    }
    .hdv2 .ha-room-title {
        white-space: normal;
        font-size: 0.98rem;
        line-height: 1.3;
    }
    .hdv2 .ha-room-amenities {
        flex-wrap: wrap;
        gap: 0.3rem 0.7rem;
    }
    .hdv2 .ha-room-amenities li {
        font-size: 0.74rem;
    }
    .hdv2 .ha-room-facilities-link {
        font-size: 0.76rem;
    }
    .hdv2 .ha-room-media-nav {
        opacity: 1;
    }
    .hdv2 .ha-rate,
    .hdv2 .ha-rate-more .ha-rate {
        grid-template-columns: 1fr;
        gap: 0.55rem;
        padding: 0.75rem 0.15rem;
    }
    .hdv2 .ha-rate-action {
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }
    .hdv2 .ha-rate-action .ha-price {
        font-size: 1.25rem;
    }
    .hdv2 .ha-btn-book {
        width: 100%;
        min-height: 2.7rem;
        font-size: 0.78rem;
    }
    .hdv2 .ha-rate-more-sum {
        padding: 0.7rem 0.75rem;
        font-size: 0.8rem;
    }
    .hdv2 .ha-rate-more-list {
        padding: 0 0.55rem 0.55rem;
    }
    .hdv2-sidebar-secondary {
        position: static;
    }
    .hdv2 .ha-room-info-row {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }
}

@media (max-width: 480px) {
    .hdv2-head-actions .hdv2-cta-primary {
        font-size: 0.8rem;
        padding: 0.55rem 0.75rem;
    }
    .hdv2 .ha-room-tool-label {
        font-size: 0.68rem;
    }
    .hdv2 .ha-room-media {
        height: 170px;
        min-height: 170px;
    }
    .hdv2-gallery-side {
        display: none;
    }
    .hdv2-gallery--mosaic .hdv2-gallery-mosaic {
        grid-template-columns: 1fr;
    }
}

/* Dokunmatik: galeri okları her zaman görünsün */
@media (hover: none) {
    .hdv2 .ha-room-media-nav,
    .hdv2 .ha-room:hover .ha-room-media-nav {
        opacity: 1;
    }
    .hdv2 .ha-room-media::after {
        opacity: 0.35;
    }
}
