/* ═══════════════════════════════════════════════════════
   HIH Accommodation Directory — Styles
   Compatible: Astra theme (child theme)
═══════════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
    --hih-teal:       #0d9488;
    --hih-teal-dark:  #065f46;
    --hih-teal-light: #d1fae5;
    --hih-text:       #1f2937;
    --hih-muted:      #6b7280;
    --hih-border:     #e5e7eb;
    --hih-bg:         #f9fafb;
    --hih-white:      #ffffff;
    --hih-radius:     12px;
    --hih-shadow:     0 2px 12px rgba(0,0,0,.08);
    --hih-shadow-hover: 0 8px 30px rgba(0,0,0,.14);
}

/* ══════════════════════════════════════════════════════
   ASTRA OVERRIDES — force full-width, kill default layout
══════════════════════════════════════════════════════ */

/* Both pages: no sidebar, full content width */
body.hih-acc-page .ast-container,
body.hih-acc-page #content .ast-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.hih-acc-page #content {
    padding-top: 0 !important;
}

/* Hide Astra's sidebar completely */
body.hih-acc-page #secondary,
body.hih-acc-page .widget-area {
    display: none !important;
}

/* Make the primary content area full width */
body.hih-acc-page #primary,
body.hih-acc-page .site-main,
body.hih-acc-page #main {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    float: none !important;
}

/* Kill Astra's entry padding/margins on our pages */
body.hih-acc-page .entry-content,
body.hih-acc-page .ast-article-single,
body.hih-acc-page .post-content {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Remove Astra's default page title / entry header */
body.hih-acc-page .entry-header,
body.hih-acc-page .ast-single-post-order .entry-header,
body.hih-acc-page .page-header {
    display: none !important;
}

/* Astra breadcrumb — hide default, we have our own */
body.hih-acc-page .ast-breadcrumbs-wrapper {
    display: none !important;
}

/* Astra post navigation — hide on single */
body.hih-acc-page .ast-post-nav,
body.hih-acc-page .post-navigation,
body.hih-acc-page .nav-links {
    display: none !important;
}

/* ══════════════════════════════════════
   ARCHIVE PAGE — Directory Listing
══════════════════════════════════════ */
.hih-acc-archive {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

/* ── Page Hero ── */
.hih-dir-hero {
    background: linear-gradient(135deg, #065f46 0%, #0d9488 60%, #134e4a 100%);
    border-radius: var(--hih-radius);
    padding: 48px 40px;
    margin-bottom: 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hih-dir-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hih-dir-hero h1 { color: #fff; font-size: clamp(24px, 4vw, 38px); font-weight: 800; margin: 0 0 10px; position: relative; }
.hih-dir-hero p  { color: rgba(255,255,255,.85); font-size: clamp(14px, 2vw, 17px); margin: 0; position: relative; }

/* ── Filter Bar ── */
.hih-filter-bar {
    background: var(--hih-white);
    border: 1px solid var(--hih-border);
    border-radius: var(--hih-radius);
    padding: 20px 24px;
    margin-bottom: 28px;
    box-shadow: var(--hih-shadow);
}
.hih-filter-bar form { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.hih-filter-group { display: flex; flex-direction: column; gap: 5px; min-width: 160px; flex: 1; }
.hih-filter-group label { font-size: 11px; font-weight: 700; color: var(--hih-muted); text-transform: uppercase; letter-spacing: .5px; }
.hih-filter-group select {
    padding: 9px 12px; border: 1px solid var(--hih-border); border-radius: 8px;
    font-size: 14px; background: var(--hih-bg); color: var(--hih-text);
    cursor: pointer; appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
    padding-right: 32px;
}
.hih-filter-group select:focus { outline: none; border-color: var(--hih-teal); box-shadow: 0 0 0 3px rgba(13,148,136,.12); }
.hih-filter-btn {
    padding: 10px 24px; background: var(--hih-teal-dark); color: #fff;
    border: none; border-radius: 8px; font-size: 14px; font-weight: 700;
    cursor: pointer; white-space: nowrap; transition: background .2s;
    align-self: flex-end;
}
.hih-filter-btn:hover { background: var(--hih-teal); }
.hih-filter-clear { align-self: flex-end; padding: 9px 14px; font-size: 13px; color: var(--hih-muted); text-decoration: none; border: 1px solid var(--hih-border); border-radius: 8px; background: #fff; white-space: nowrap; }
.hih-filter-clear:hover { color: var(--hih-text); }

/* ── Results meta ── */
.hih-results-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 8px; }
.hih-results-count { font-size: 14px; color: var(--hih-muted); }
.hih-results-count strong { color: var(--hih-text); }
.hih-active-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.hih-filter-tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; background: var(--hih-teal-light); color: var(--hih-teal-dark); border-radius: 20px; font-size: 12px; font-weight: 600; }
.hih-filter-tag-ignored { background: #fee2e2; color: #991b1b; text-decoration: line-through; opacity: .8; }

/* ── Cards Grid ── */
.hih-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

/* ── Single Card ── */
.hih-acc-card {
    background: var(--hih-white);
    border: 1px solid var(--hih-border);
    border-radius: var(--hih-radius);
    overflow: hidden;
    box-shadow: var(--hih-shadow);
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .4s ease, transform .4s ease, box-shadow .25s;
}
.hih-acc-card.hih-visible { opacity: 1; transform: translateY(0); }
.hih-acc-card:hover { box-shadow: var(--hih-shadow-hover); }

.hih-card-img-wrap {
    position: relative;
    height: 210px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f3f4f6;
}
.hih-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hih-acc-card:hover .hih-card-img-wrap img { transform: scale(1.04); }
.hih-card-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; background: linear-gradient(135deg,#f0fdf4,#d1fae5); }

.hih-card-type-badge {
    position: absolute; top: 12px; left: 12px;
    padding: 4px 12px; border-radius: 20px;
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
    backdrop-filter: blur(8px);
}
.hih-badge-hotel       { background: rgba(37,99,235,.85); color: #fff; }
.hih-badge-tent-camp   { background: rgba(13,148,136,.85); color: #fff; }
.hih-badge-homestay    { background: rgba(124,58,237,.85); color: #fff; }
.hih-badge-camp        { background: rgba(217,119,6,.85);  color: #fff; }
.hih-badge-resort      { background: rgba(220,38,38,.85);  color: #fff; }
.hih-badge-guest-house { background: rgba(75,85,99,.85);   color: #fff; }
.hih-badge-default     { background: rgba(31,41,55,.75);   color: #fff; }

.hih-card-price-badge {
    position: absolute; top: 12px; right: 12px;
    background: rgba(6,95,70,.92); color: #fff;
    padding: 4px 10px; border-radius: 20px;
    font-size: 12px; font-weight: 700;
    backdrop-filter: blur(8px);
}

.hih-card-body { padding: 18px 18px 14px; flex: 1; display: flex; flex-direction: column; }

.hih-card-location {
    display: flex; align-items: center; gap: 5px;
    font-size: 12px; color: var(--hih-teal-dark); font-weight: 600;
    margin-bottom: 6px; text-transform: uppercase; letter-spacing: .4px;
}
.hih-card-title {
    font-size: 17px; font-weight: 800; color: var(--hih-text);
    margin: 0 0 8px; line-height: 1.3;
}
.hih-card-title a { color: inherit; text-decoration: none; }
.hih-card-title a:hover { color: var(--hih-teal); }

.hih-card-excerpt { font-size: 13px; color: var(--hih-muted); line-height: 1.6; margin: 0 0 12px; flex: 1; }

.hih-card-amenities { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.hih-amenity-tag {
    font-size: 11px; padding: 3px 8px;
    background: var(--hih-bg); border: 1px solid var(--hih-border);
    border-radius: 20px; color: var(--hih-muted); white-space: nowrap;
}

.hih-card-footer {
    display: flex; gap: 8px; align-items: center;
    padding-top: 12px; border-top: 1px solid var(--hih-border);
}
.hih-btn-whatsapp {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 16px; background: #25d366; color: #fff;
    border-radius: 8px; font-size: 13px; font-weight: 700;
    text-decoration: none; transition: background .2s; flex: 1; justify-content: center;
}
.hih-btn-whatsapp:hover { background: #22c55e; color: #fff; }
.hih-btn-view {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 16px; background: var(--hih-bg);
    border: 1px solid var(--hih-border); color: var(--hih-text);
    border-radius: 8px; font-size: 13px; font-weight: 600;
    text-decoration: none; transition: all .2s;
}
.hih-btn-view:hover { background: var(--hih-teal-light); border-color: var(--hih-teal); color: var(--hih-teal-dark); }

/* ── No results ── */
.hih-no-results { text-align: center; padding: 60px 20px; color: var(--hih-muted); }
.hih-no-results .icon { font-size: 48px; margin-bottom: 12px; }
.hih-no-results h3 { font-size: 20px; color: var(--hih-text); margin-bottom: 6px; }

/* ── Pagination ── */
.hih-pagination ul { display: flex; justify-content: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; list-style: none; padding: 0; }
.hih-pagination a, .hih-pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 8px; font-size: 14px; font-weight: 600;
    text-decoration: none; border: 1px solid var(--hih-border);
    color: var(--hih-text); background: #fff; transition: all .2s;
}
.hih-pagination a:hover { background: var(--hih-teal-light); border-color: var(--hih-teal); color: var(--hih-teal-dark); }
.hih-pagination .current { background: var(--hih-teal-dark); color: #fff; border-color: var(--hih-teal-dark); }

/* ══════════════════════════════════════
   SINGLE LISTING PAGE
══════════════════════════════════════ */
.hih-single-acc {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

/* ── Gallery Grid (desktop) ── */
.hih-single-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 280px 190px;
    gap: 6px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 30px;
}
/* Single image: full width */
.hih-single-gallery.hih-grid-1 {
    grid-template-columns: 1fr;
    grid-template-rows: 420px;
}
/* 2 images: side by side, equal height */
.hih-single-gallery.hih-grid-2 {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 420px;
}
.hih-single-gallery.hih-grid-2 .hih-gi--hero { grid-row: 1; }
/* 3 images: hero left, 2 thumbs stacked right — default */
/* 4 images: hero left tall, 3 thumbs right */
.hih-single-gallery.hih-grid-4 {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 240px 180px 180px;
}
.hih-single-gallery.hih-grid-4 .hih-gi--hero { grid-row: 1 / 4; }
.hih-single-gallery.hih-grid-4 .hih-gi:nth-child(2) { grid-column: 2; grid-row: 1; }
.hih-single-gallery.hih-grid-4 .hih-gi:nth-child(3) { grid-column: 2; grid-row: 2; }
.hih-single-gallery.hih-grid-4 .hih-gi:nth-child(4) { grid-column: 2; grid-row: 3; }
/* 5+ images: 2×2 + hero */
.hih-single-gallery.hih-grid-5 {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 230px 230px;
}
.hih-single-gallery.hih-grid-5 .hih-gi--hero { grid-column: 1; grid-row: 1 / 3; }
.hih-single-gallery.hih-grid-5 .hih-gi:nth-child(2) { grid-column: 2; grid-row: 1; }
.hih-single-gallery.hih-grid-5 .hih-gi:nth-child(3) { grid-column: 3; grid-row: 1; }
.hih-single-gallery.hih-grid-5 .hih-gi:nth-child(4) { grid-column: 2; grid-row: 2; }
.hih-single-gallery.hih-grid-5 .hih-gi:nth-child(5) { grid-column: 3; grid-row: 2; }

/* Default 3-image layout thumb positions */
.hih-single-gallery:not(.hih-grid-1):not(.hih-grid-2):not(.hih-grid-4):not(.hih-grid-5) .hih-gi--hero { grid-column: 1; grid-row: 1 / 3; }
.hih-single-gallery:not(.hih-grid-1):not(.hih-grid-2):not(.hih-grid-4):not(.hih-grid-5) .hih-gi:nth-child(2) { grid-column: 2; grid-row: 1; }
.hih-single-gallery:not(.hih-grid-1):not(.hih-grid-2):not(.hih-grid-4):not(.hih-grid-5) .hih-gi:nth-child(3) { grid-column: 2; grid-row: 2; }

.hih-gi { position: relative; overflow: hidden; }
.hih-gi img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.hih-gi:hover img { transform: scale(1.04); }
.hih-gi { cursor: pointer; }
.hih-gi:focus { outline: 3px solid #0d9488; outline-offset: -3px; }

/* +N more overlay */
.hih-gi-more {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.52);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: #fff; pointer-events: none;
}
.hih-gi-more span { font-size: 30px; font-weight: 800; line-height: 1; }
.hih-gi-more small { font-size: 13px; margin-top: 4px; opacity: .85; }

/* "All X Photos" button — inside hero, absolutely positioned */
.hih-gallery-all-btn {
    position: absolute; bottom: 14px; left: 14px;
    background: rgba(255,255,255,.92); color: #111827;
    border: 1px solid rgba(0,0,0,.08); border-radius: 8px;
    padding: 8px 14px; font-size: 13px; font-weight: 600;
    cursor: pointer; display: flex; align-items: center; gap: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,.2);
    transition: background .2s, transform .15s;
    z-index: 3;
}
.hih-gallery-all-btn:hover { background: #fff; transform: translateY(-1px); }
.hih-gallery-all-btn svg { flex-shrink: 0; color: #0d9488; }

/* Mobile strip — hidden on desktop */
.hih-gallery-strip { display: none; }

/* ── Lightbox ── */
.hih-lb {
    position: fixed; inset: 0; z-index: 99999;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
}
.hih-lb[hidden] { display: none; }
.hih-lb-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.92); }
.hih-lb-stage {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: center;
    max-width: 90vw; max-height: 80vh;
}
.hih-lb-img {
    max-width: 90vw; max-height: 78vh;
    object-fit: contain; border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0,0,0,.6);
    display: block;
}
.hih-lb-close {
    position: fixed; top: 16px; right: 20px; z-index: 3;
    background: rgba(255,255,255,.15); color: #fff; border: none;
    border-radius: 50%; width: 44px; height: 44px; font-size: 22px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.hih-lb-close:hover { background: rgba(255,255,255,.3); }
.hih-lb-prev, .hih-lb-next {
    position: fixed; top: 50%; transform: translateY(-50%); z-index: 3;
    background: rgba(255,255,255,.15); color: #fff; border: none;
    border-radius: 50%; width: 50px; height: 50px; font-size: 30px; line-height: 1;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.hih-lb-prev { left: 14px; }
.hih-lb-next { right: 14px; }
.hih-lb-prev:hover, .hih-lb-next:hover { background: rgba(255,255,255,.3); }
.hih-lb-counter {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 3;
    color: rgba(255,255,255,.8); font-size: 14px; font-weight: 600; letter-spacing: .5px;
}
.hih-lb-thumbs {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 3;
    display: flex; gap: 6px; padding: 10px 16px;
    overflow-x: auto; background: rgba(0,0,0,.5);
    scrollbar-width: none;
}
.hih-lb-thumbs::-webkit-scrollbar { display: none; }
.hih-lb-thumb {
    width: 56px; height: 44px; object-fit: cover; border-radius: 5px;
    cursor: pointer; flex-shrink: 0; opacity: .55;
    border: 2px solid transparent; transition: opacity .2s, border-color .2s;
}
.hih-lb-thumb.active, .hih-lb-thumb:hover { opacity: 1; border-color: #0d9488; }
body.hih-lb-open { overflow: hidden; }

/* ── Two-column layout ── */
.hih-single-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start;
}

/* ── Breadcrumb ── */
.hih-single-breadcrumb { font-size: 13px; color: var(--hih-muted); margin-bottom: 14px; }
.hih-single-breadcrumb a { color: var(--hih-teal-dark); text-decoration: none; }
.hih-single-breadcrumb a:hover { text-decoration: underline; }

/* ── Title + Meta ── */
.hih-single-title { font-size: clamp(22px,4vw,34px); font-weight: 800; color: var(--hih-text); margin: 0 0 8px; line-height: 1.2; }
.hih-single-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; align-items: center; }
.hih-single-meta-item { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--hih-muted); }
.hih-single-meta-item strong { color: var(--hih-text); }
.hih-single-type-badge { padding: 5px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }

/* Solid badge colors for single page (no backdrop-filter context) */
.hih-single-type-badge.hih-badge-hotel       { background: #1d4ed8; color: #fff; }
.hih-single-type-badge.hih-badge-tent-camp   { background: #0f766e; color: #fff; }
.hih-single-type-badge.hih-badge-homestay    { background: #7c3aed; color: #fff; }
.hih-single-type-badge.hih-badge-camp        { background: #b45309; color: #fff; }
.hih-single-type-badge.hih-badge-resort      { background: #b91c1c; color: #fff; }
.hih-single-type-badge.hih-badge-guest-house { background: #374151; color: #fff; }
.hih-single-type-badge.hih-badge-default     { background: #1f2937; color: #fff; }

/* ── Sections ── */
.hih-section { margin-bottom: 28px; }
.hih-section h2 { font-size: 18px; font-weight: 700; color: var(--hih-text); margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--hih-teal-light); }
.hih-single-desc { font-size: 15px; line-height: 1.8; color: #374151; }
.hih-single-desc p { margin-bottom: 14px; }
.hih-single-desc h2 { font-size: 20px; font-weight: 700; color: #111827; margin: 24px 0 10px; }
.hih-single-desc h3 { font-size: 17px; font-weight: 700; color: #1f2937; margin: 20px 0 8px; }
.hih-single-desc h4 { font-size: 15px; font-weight: 700; color: #1f2937; margin: 16px 0 6px; }
.hih-single-desc strong, .hih-single-desc b { font-weight: 700; color: #111827; }
.hih-single-desc em, .hih-single-desc i { font-style: italic; }
.hih-single-desc ul, .hih-single-desc ol { margin: 0 0 14px 20px; padding: 0; }
.hih-single-desc ul { list-style: disc; }
.hih-single-desc ol { list-style: decimal; }
.hih-single-desc li { margin-bottom: 6px; line-height: 1.7; }
.hih-single-desc blockquote { border-left: 4px solid #0d9488; margin: 16px 0; padding: 10px 16px; background: #f0fdf4; color: #065f46; font-style: italic; border-radius: 0 6px 6px 0; }
.hih-single-desc a { color: #0d9488; text-decoration: underline; }
.hih-single-desc a:hover { color: #065f46; }

/* ── Highlights ── */
.hih-highlights-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hih-highlights-list li {
    display: flex; align-items: flex-start; gap: 8px;
    padding: 10px 12px; background: var(--hih-bg);
    border-radius: 8px; font-size: 14px; color: var(--hih-text);
    border-left: 3px solid var(--hih-teal);
}
.hih-highlights-list li::before { content: '✓'; color: var(--hih-teal); font-weight: 700; flex-shrink: 0; }

/* ── Amenities ── */
.hih-amenities-grid-single { display: grid; grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); gap: 10px; }
.hih-amenity-chip {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px; background: var(--hih-bg);
    border: 1px solid var(--hih-border); border-radius: 8px;
    font-size: 13px; color: var(--hih-text);
}

/* ── Tags ── */
.hih-tags-row { display: flex; flex-wrap: wrap; gap: 8px; }
.hih-tag { padding: 6px 14px; background: var(--hih-teal-light); color: var(--hih-teal-dark); border-radius: 20px; font-size: 13px; font-weight: 600; }

/* ── Map ── */
.hih-map-embed { border-radius: 10px; overflow: hidden; border: 1px solid var(--hih-border); }
.hih-map-embed iframe { display: block; width: 100%; height: 280px; border: none; }

/* ── Booking Sidebar ── */
.hih-booking-sidebar { position: sticky; top: 100px; }
.hih-booking-card {
    background: var(--hih-white); border: 1px solid var(--hih-border);
    border-radius: var(--hih-radius); padding: 24px;
    box-shadow: var(--hih-shadow);
}
.hih-booking-card h3 { font-size: 16px; font-weight: 700; color: var(--hih-text); margin: 0 0 12px; }
.hih-price-display { margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--hih-border); }
.hih-price-label { font-size: 11px; font-weight: 400; color: var(--hih-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.hih-price-from { font-size: 28px; font-weight: 800; color: var(--hih-teal-dark); line-height: 1; }
.hih-price-per-night { font-size: 14px; font-weight: 500; color: var(--hih-muted); }
.hih-price-range { font-size: 13px; color: var(--hih-muted); margin-top: 5px; }

.hih-whatsapp-btn-large {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 14px; background: #25d366; color: #fff;
    border-radius: 10px; font-size: 16px; font-weight: 800;
    text-decoration: none; margin-bottom: 10px; transition: background .2s;
    box-sizing: border-box;
}
.hih-whatsapp-btn-large:hover { background: #22c55e; color: #fff; }
.hih-whatsapp-icon { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }

.hih-booking-note { font-size: 12px; color: var(--hih-muted); text-align: center; margin-bottom: 16px; line-height: 1.5; }
.hih-booking-divider { border: none; border-top: 1px solid var(--hih-border); margin: 16px 0; }

.hih-sidebar-info { display: flex; flex-direction: column; gap: 10px; }
.hih-sidebar-info-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; gap: 8px; }
.hih-sidebar-info-row .label { color: var(--hih-muted); flex-shrink: 0; }
.hih-sidebar-info-row .value { font-weight: 600; color: var(--hih-text); text-align: right; }

.hih-trust-badges { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hih-border); }
.hih-trust-badge { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--hih-muted); }

body.hih-lb-open { overflow: hidden; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 900px) {
    .hih-cards-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
    /* Hide desktop grid, show mobile strip */
    .hih-single-gallery { display: none; }
    .hih-gallery-strip {
        display: flex;
        flex-direction: row;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        margin: 0 -16px 20px;
        padding: 0 16px 8px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    .hih-gallery-strip::-webkit-scrollbar { display: none; }
    .hih-strip-item {
        flex: 0 0 78vw;
        max-width: 300px;
        height: 210px;
        border-radius: 10px;
        overflow: hidden;
        cursor: pointer;
        scroll-snap-align: start;
    }
    .hih-strip-item:first-child { flex: 0 0 88vw; max-width: 340px; }
    .hih-strip-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .hih-single-layout { grid-template-columns: 1fr; }
    .hih-booking-sidebar { position: static; }
    .hih-lb-prev { left: 6px; width: 40px; height: 40px; font-size: 24px; }
    .hih-lb-next { right: 6px; width: 40px; height: 40px; font-size: 24px; }
    .hih-highlights-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .hih-dir-hero { padding: 32px 20px; }
    .hih-filter-bar { padding: 14px 16px; }
    .hih-filter-bar form { flex-direction: column; }
    .hih-filter-group { min-width: 100%; }
    .hih-filter-btn, .hih-filter-clear { width: 100%; justify-content: center; text-align: center; }
    .hih-cards-grid { grid-template-columns: 1fr; }
    .hih-card-img-wrap { height: 180px; }
    .hih-booking-card { padding: 18px; }
    .hih-price-from { font-size: 22px; }
    .hih-single-acc, .hih-acc-archive { padding: 16px 14px 40px; }
}

/* ══════════════════════════════════════
   FIXES & ADDITIONS (v1.2)
══════════════════════════════════════ */

/* Card image clickable — anchor replaces div */
a.hih-card-img-wrap {
    display: block;
    text-decoration: none;
    cursor: pointer;
}
a.hih-card-img-wrap img { transition: transform .35s ease; }
a.hih-card-img-wrap:hover img { transform: scale(1.04); }

/* Smart-filter fallback notice */
.hih-fallback-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fefce8;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 0 0 18px;
    font-size: 14px;
    color: #92400e;
    flex-wrap: wrap;
}
.hih-fallback-notice .hih-fallback-icon { font-size: 18px; flex-shrink: 0; }
.hih-fallback-notice span { flex: 1; min-width: 200px; }
.hih-fallback-link {
    font-size: 13px;
    font-weight: 600;
    color: #b45309;
    text-decoration: underline;
    white-space: nowrap;
}
.hih-fallback-link:hover { color: #92400e; }

/* Enquiry fallback button (when no WhatsApp number set) */
.hih-btn-enquire {
    background: #0d9488 !important;
}
.hih-btn-enquire:hover {
    background: #0f766e !important;
}