@charset "UTF-8";
/*!
Theme Name: Booklium Child
Theme URI: https://motopress.com/products/booklium
Author: MotoPress
Author URI: https://motopress.com
Description: Awesome WordPress theme.
Version: 0.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: booklium
Template: booklium
*/

/* ==========================================================================
   Hotel taxonomy page  (.mphb-mv-hotel-page)
   ========================================================================== */

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.mphb-mv-hotel-hero {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: #1a1a1a;
}

.mphb-mv-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mphb-mv-hero-placeholder {
    background: linear-gradient(135deg, #2c3e50, #4a6fa5);
}

.mphb-mv-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.15) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
}

.mphb-mv-hero-content {
    padding: 32px 40px;
    color: #fff;
}

.mphb-mv-hotel-name {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #fff;
    line-height: 1.2;
}

.mphb-mv-hotel-stars {
    margin-bottom: 6px;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.mphb-mv-star-on  { color: #f5c518; }
.mphb-mv-star-off { color: rgba(255,255,255,.35); }

.mphb-mv-hero-location {
    margin: 0;
    font-size: .95rem;
    opacity: .9;
}

/* ── Body ──────────────────────────────────────────────────────────────────── */
.mphb-mv-hotel-body {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

/* ── Gallery strip ─────────────────────────────────────────────────────────── */
.mphb-mv-hotel-gallery {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 36px;
    scrollbar-width: thin;
}

.mphb-mv-gallery-thumb {
    flex: 0 0 auto;
    width: 180px;
    height: 120px;
    border-radius: 6px;
    overflow: hidden;
}

.mphb-mv-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .25s ease;
}

.mphb-mv-gallery-thumb img:hover {
    transform: scale(1.04);
}

/* ── Info bar ──────────────────────────────────────────────────────────────── */
.mphb-mv-info-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    background: #f7f7f7;
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 36px;
}

.mphb-mv-info-item {
    display: flex;
    flex-direction: column;
    min-width: 120px;
}

.mphb-mv-info-label {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #888;
    margin-bottom: 4px;
}

.mphb-mv-info-value {
    font-size: .95rem;
    font-weight: 600;
    color: #222;
}

.mphb-mv-cancel-flexible { color: #27ae60; }
.mphb-mv-cancel-moderate  { color: #f39c12; }
.mphb-mv-cancel-strict    { color: #e74c3c; }

/* ── Description & rules ───────────────────────────────────────────────────── */
.mphb-mv-hotel-description,
.mphb-mv-hotel-rules {
    margin-bottom: 36px;
}

.mphb-mv-section-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #eee;
}

.mphb-mv-rules-body {
    background: #fafafa;
    border-left: 3px solid #ddd;
    padding: 16px 20px;
    border-radius: 0 6px 6px 0;
    font-size: .92rem;
    line-height: 1.7;
}

/* ── Google Map ────────────────────────────────────────────────────────────── */
.mphb-mv-hotel-map-wrap {
    margin-bottom: 40px;
}

.mphb-mv-hotel-map {
    width: 100%;
    height: 320px;
    border-radius: 10px;
    overflow: hidden;
    background: #e8e8e8;
}

/* ── Rooms section ─────────────────────────────────────────────────────────── */
.mphb-mv-hotel-rooms {
    margin-top: 16px;
}

.mphb-mv-hotel-rooms .mphb-mv-section-title {
    font-size: 1.4rem;
    margin-bottom: 24px;
}

/* ==========================================================================
   Search results page  (#mphb-mv-search-results)
   ========================================================================== */

.mphb-mv-results-container {
    max-width: 1100px;
    margin: 32px auto;
    padding: 0 24px;
}

.mphb-mv-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* Hotel card */
.mphb-mv-hotel-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    background: #fff;
    transition: box-shadow .2s ease, transform .2s ease;
}

.mphb-mv-hotel-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,.14);
    transform: translateY(-2px);
}

.mphb-mv-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.mphb-mv-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #e0e0e0;
}

.mphb-mv-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.mphb-mv-hotel-card:hover .mphb-mv-card-image img {
    transform: scale(1.05);
}

.mphb-mv-no-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0, #c8c8c8);
}

.mphb-mv-card-body {
    padding: 16px;
}

.mphb-mv-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: #1a1a1a;
    line-height: 1.3;
}

.mphb-mv-stars {
    font-size: .85rem;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.mphb-mv-star-filled { color: #f5c518; }
.mphb-mv-star-empty  { color: #ddd; }

.mphb-mv-card-location {
    font-size: .82rem;
    color: #777;
    margin: 0 0 10px;
}

.mphb-mv-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: .82rem;
}

.mphb-mv-distance {
    background: #f0f0f0;
    color: #555;
    padding: 2px 8px;
    border-radius: 20px;
}

.mphb-mv-room-count {
    color: #888;
}

.mphb-mv-price {
    margin-left: auto;
    font-weight: 700;
    color: #1a1a1a;
    font-size: .9rem;
}

.mphb-mv-night {
    font-weight: 400;
    color: #888;
    font-size: .8rem;
}

/* States */
.mphb-mv-loading,
.mphb-mv-no-results,
.mphb-mv-error {
    text-align: center;
    padding: 48px 24px;
    color: #666;
    font-size: 1rem;
}

.mphb-mv-error { color: #c0392b; }

/* ── Search page form wrapper ──────────────────────────────────────────────── */
.mphb-mv-search-page-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.mphb-mv-search-page-form {
    padding: 32px 0 0;
}

/* ==========================================================================
   Single room type page  (.mphb-mv-room-context)
   ========================================================================== */

.mphb-mv-room-context {
    background: #f7f7f7;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
}

.mphb-mv-room-context-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* ── Breadcrumb trail ──────────────────────────────────────────────────────── */
.mphb-mv-breadcrumb {
    font-size: .85rem;
    color: #888;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.mphb-mv-breadcrumb a {
    color: #555;
    text-decoration: none;
}

.mphb-mv-breadcrumb a:hover {
    color: #1a1a1a;
    text-decoration: underline;
}

.mphb-mv-bc-sep {
    color: #bbb;
    font-size: .8rem;
}

.mphb-mv-bc-current {
    color: #1a1a1a;
    font-weight: 500;
}

/* ── Hotel badge (back link) ───────────────────────────────────────────────── */
.mphb-mv-hotel-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 5px 14px 5px 10px;
    text-decoration: none;
    color: #333;
    font-size: .85rem;
    transition: box-shadow .2s ease, border-color .2s ease;
    white-space: nowrap;
}

.mphb-mv-hotel-badge:hover {
    border-color: #aaa;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    color: #1a1a1a;
}

.mphb-mv-hb-back {
    font-size: .9rem;
    color: #888;
}

.mphb-mv-hb-name {
    font-weight: 600;
}

.mphb-mv-hb-stars {
    color: #f5c518;
    font-size: .75rem;
    letter-spacing: 1px;
}

.mphb-mv-hb-city {
    color: #888;
    font-size: .8rem;
}

.mphb-mv-hb-city::before {
    content: '·';
    margin-right: 4px;
    color: #ccc;
}

@media (max-width: 600px) {
    .mphb-mv-hotel-badge { margin-left: 0; }
    .mphb-mv-hb-city     { display: none; }
}

/* ==========================================================================
   Dokan vendor store page
   ========================================================================== */

/* Remove the outer max-width constraint inside Dokan's content column */
.mphb-mv-store-hotels {
    padding: 24px 0 40px;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .mphb-mv-hotel-hero   { height: 280px; }
    .mphb-mv-hero-content { padding: 20px; }
    .mphb-mv-hotel-name   { font-size: 1.4rem; }
    .mphb-mv-hotel-body   { padding: 24px 16px 40px; }
    .mphb-mv-hotel-map    { height: 240px; }
    .mphb-mv-results-grid { grid-template-columns: 1fr; }
    .mphb-mv-gallery-thumb { width: 130px; height: 88px; }
}
