/**
 * SE Travel Booking - Premium Frontend CSS
 * Booking.com-inspired modern travel design
 * Compatible with Bootstrap 5.3+ (Joomla default)
 */

/* ============================================
   CSS CUSTOM PROPERTIES (Light/Dark)
   ============================================ */
:root {
    /* Brand Colors */
    --stb-primary: #003580;
    --stb-primary-light: #0071c2;
    --stb-primary-lighter: #ebf3ff;
    --stb-accent: #febb02;
    --stb-accent-dark: #e5a800;
    --stb-success: #008009;
    --stb-success-light: #e8f5e9;
    --stb-danger: #c00;
    --stb-danger-light: #ffeaea;
    --stb-info: #0071c2;
    --stb-warning: #ffc107;

    /* Surfaces */
    --stb-bg: #f5f5f5;
    --stb-bg-card: #ffffff;
    --stb-bg-hero: #003580;
    --stb-bg-sidebar: #ffffff;
    --stb-bg-input: #ffffff;

    /* Text */
    --stb-text: #1a1a2e;
    --stb-text-secondary: #6b6b6b;
    --stb-text-muted: #8c8c8c;
    --stb-text-on-primary: #ffffff;
    --stb-text-link: #0071c2;

    /* Borders */
    --stb-border: #e0e0e0;
    --stb-border-light: #f0f0f0;

    /* Shadows */
    --stb-shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
    --stb-shadow: 0 2px 8px rgba(0,0,0,0.08);
    --stb-shadow-lg: 0 4px 24px rgba(0,0,0,0.12);
    --stb-shadow-xl: 0 8px 32px rgba(0,0,0,0.16);

    /* Radius */
    --stb-radius-sm: 6px;
    --stb-radius: 8px;
    --stb-radius-lg: 12px;
    --stb-radius-xl: 16px;

    /* Spacing */
    --stb-gutter: 1.25rem;

    /* Typography */
    --stb-font: 'BlinkMacSystemFont', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --stb-font-display: 'BlinkMacSystemFont', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    :root {
        --stb-bg: #1a1a2e;
        --stb-bg-card: #222240;
        --stb-bg-sidebar: #222240;
        --stb-bg-input: #2a2a4a;
        --stb-text: #e8e8f0;
        --stb-text-secondary: #a0a0b8;
        --stb-text-muted: #6c6c88;
        --stb-border: #333355;
        --stb-border-light: #2a2a4a;
        --stb-shadow-sm: 0 1px 4px rgba(0,0,0,0.2);
        --stb-shadow: 0 2px 8px rgba(0,0,0,0.3);
        --stb-shadow-lg: 0 4px 24px rgba(0,0,0,0.4);
    }
}

/* ============================================
   BASE / RESET
   ============================================ */
.stb-app {
    font-family: var(--stb-font);
    color: var(--stb-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.stb-app *, .stb-app *::before, .stb-app *::after {
    box-sizing: border-box;
}

.stb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--stb-gutter);
}

/* ============================================
   HERO / SEARCH BAR
   ============================================ */
.stb-hero {
    background: linear-gradient(135deg, var(--stb-bg-hero) 0%, #00224e 100%);
    padding: 3rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

.stb-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}

.stb-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--stb-gutter);
    position: relative;
    z-index: 1;
}

.stb-hero__title {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin: 0 0 0.3rem;
    letter-spacing: -0.02em;
}

.stb-hero__subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin: 0 0 2rem;
}

/* Search Bar */
.stb-search-bar {
    display: flex;
    background: var(--stb-accent);
    border-radius: var(--stb-radius-lg);
    padding: 4px;
    gap: 4px;
    box-shadow: var(--stb-shadow-xl);
    flex-wrap: wrap;
}

.stb-search-bar__field {
    display: flex;
    align-items: center;
    background: var(--stb-bg-input);
    border-radius: var(--stb-radius);
    padding: 0 1rem;
    flex: 1;
    min-width: 150px;
    min-height: 52px;
    position: relative;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.stb-search-bar__field:focus-within {
    border-color: var(--stb-primary-light);
}

.stb-search-bar__field label {
    margin: 0;
    display: flex;
    color: var(--stb-text-secondary);
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.stb-search-bar__field input,
.stb-search-bar__field .stb-guests-toggle {
    border: none;
    background: transparent;
    font-size: 0.95rem;
    color: var(--stb-text);
    width: 100%;
    outline: none;
    padding: 0;
    font-family: var(--stb-font);
    cursor: pointer;
    text-align: left;
}

.stb-search-bar__field--destination { flex: 2; }
.stb-search-bar__field--dates { flex: 1; min-width: 130px; }
.stb-search-bar__field--guests { flex: 1.2; min-width: 160px; }

.stb-search-bar__btn {
    background: var(--stb-primary-light);
    color: #fff;
    border: none;
    border-radius: var(--stb-radius);
    padding: 0 2rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    min-height: 52px;
    transition: background 0.2s;
}

.stb-search-bar__btn:hover { background: var(--stb-primary); }

/* Guests Dropdown */
.stb-guests-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--stb-bg-card);
    border-radius: var(--stb-radius-lg);
    box-shadow: var(--stb-shadow-lg);
    padding: 1rem;
    z-index: 100;
    display: none;
    margin-top: 4px;
}

.stb-guests-dropdown.is-open { display: block; }

.stb-guests-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--stb-border-light);
}

.stb-guests-row:last-of-type { border-bottom: none; }

.stb-counter {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stb-counter__btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--stb-primary-light);
    border-radius: 50%;
    background: transparent;
    color: var(--stb-primary-light);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.stb-counter__btn:hover { background: var(--stb-primary-lighter); }

.stb-counter__val { font-weight: 600; min-width: 24px; text-align: center; }

/* Autocomplete */
.stb-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--stb-bg-card);
    border-radius: var(--stb-radius-lg);
    box-shadow: var(--stb-shadow-lg);
    z-index: 100;
    display: none;
    max-height: 280px;
    overflow-y: auto;
    margin-top: 4px;
}

.stb-autocomplete.is-open { display: block; }

.stb-autocomplete__item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: background 0.15s;
}

.stb-autocomplete__item:hover { background: var(--stb-primary-lighter); }

/* ============================================
   RESULTS LAYOUT
   ============================================ */
.stb-results-wrapper {
    background: var(--stb-bg);
    padding: 1.5rem 0 3rem;
    min-height: 60vh;
}

.stb-results-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 991px) {
    .stb-results-layout { grid-template-columns: 1fr; }
}

/* Sidebar */
.stb-sidebar {
    background: var(--stb-bg-sidebar);
    border-radius: var(--stb-radius-lg);
    padding: 1.25rem;
    box-shadow: var(--stb-shadow-sm);
    position: sticky;
    top: 1rem;
}

@media (max-width: 991px) {
    .stb-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 320px;
        max-width: 90vw;
        z-index: 1000;
        border-radius: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }
    .stb-sidebar.is-open { transform: translateX(0); }
}

.stb-sidebar__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.stb-sidebar__header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.stb-sidebar__close {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--stb-text);
}

@media (max-width: 991px) {
    .stb-sidebar__close { display: block; }
}

/* Filter Groups */
.stb-filter-group {
    padding: 1rem 0;
    border-bottom: 1px solid var(--stb-border-light);
}

.stb-filter-group:last-of-type { border-bottom: none; }

.stb-filter-group__title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--stb-text);
    margin: 0 0 0.75rem;
}

.stb-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--stb-text-secondary);
}

.stb-check:hover { color: var(--stb-text); }

.stb-check input[type="checkbox"],
.stb-check input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--stb-primary-light);
    cursor: pointer;
}

.stb-price-range__inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Results */
.stb-results__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.stb-results__header h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: var(--stb-text);
}

.stb-results__sort {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.stb-filter-toggle {
    display: none;
    background: var(--stb-bg-card);
    border: 1px solid var(--stb-border);
    border-radius: var(--stb-radius);
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 991px) {
    .stb-filter-toggle { display: inline-flex; }
}

/* ============================================
   PROPERTY CARDS (Search Results)
   ============================================ */
.stb-property-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stb-card--horizontal {
    display: grid;
    grid-template-columns: 260px 1fr;
    background: var(--stb-bg-card);
    border-radius: var(--stb-radius-lg);
    overflow: hidden;
    box-shadow: var(--stb-shadow-sm);
    transition: box-shadow 0.25s, transform 0.25s;
    border: 1px solid var(--stb-border-light);
}

.stb-card--horizontal:hover {
    box-shadow: var(--stb-shadow-lg);
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .stb-card--horizontal { grid-template-columns: 1fr; }
}

.stb-card__image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.stb-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.stb-card--horizontal:hover .stb-card__image img { transform: scale(1.05); }

.stb-card__image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--stb-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--stb-text-muted);
}

.stb-card__body {
    display: flex;
    flex-direction: column;
}

.stb-card__content {
    flex: 1;
    padding: 1rem 1.25rem;
}

.stb-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.stb-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
    line-height: 1.3;
}

.stb-card__title a {
    color: var(--stb-text-link);
    text-decoration: none;
}

.stb-card__title a:hover { text-decoration: underline; }

.stb-card__stars {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    margin-bottom: 0.3rem;
}

.stb-star { color: var(--stb-accent); font-size: 0.85rem; }

.stb-card__type {
    font-size: 0.75rem;
    color: var(--stb-text-muted);
    margin-left: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.stb-card__location {
    font-size: 0.85rem;
    color: var(--stb-text-secondary);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.stb-card__desc {
    font-size: 0.88rem;
    color: var(--stb-text-secondary);
    margin: 0.5rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.stb-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.stb-card__price {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--stb-border-light);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.stb-card__price-label {
    font-size: 0.8rem;
    color: var(--stb-text-muted);
    flex: 1;
}

.stb-card__price-amount {
    text-align: right;
}

.stb-card__price-from {
    font-size: 0.78rem;
    color: var(--stb-text-muted);
    display: block;
}

.stb-card__price-amount strong {
    font-size: 1.4rem;
    color: var(--stb-text);
}

.stb-card__price-detail {
    font-size: 0.78rem;
    color: var(--stb-text-muted);
}

/* ============================================
   RATING BADGE
   ============================================ */
.stb-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.stb-rating__text {
    text-align: right;
}

.stb-rating__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--stb-text);
}

.stb-rating__count {
    display: block;
    font-size: 0.75rem;
    color: var(--stb-text-muted);
}

.stb-rating__score {
    background: var(--stb-primary);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.4rem 0.55rem;
    border-radius: var(--stb-radius) var(--stb-radius) var(--stb-radius) 0;
    min-width: 36px;
    text-align: center;
}

.stb-rating__score--sm {
    font-size: 0.85rem;
    padding: 0.3rem 0.45rem;
}

.stb-rating--excellent .stb-rating__score { background: var(--stb-primary); }
.stb-rating--good .stb-rating__score { background: #0071c2; }
.stb-rating--fair .stb-rating__score { background: #6c757d; }
.stb-rating--lg .stb-rating__score { font-size: 1.2rem; padding: 0.5rem 0.65rem; }

/* ============================================
   BADGES & TAGS
   ============================================ */
.stb-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.stb-badge--featured { background: var(--stb-accent); color: #000; position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2; }
.stb-badge--type { background: var(--stb-primary-lighter); color: var(--stb-primary); }
.stb-badge--discount { background: var(--stb-success); color: #fff; }

.stb-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 500;
}

.stb-tag--success { background: var(--stb-success-light); color: var(--stb-success); }
.stb-tag--info { background: var(--stb-primary-lighter); color: var(--stb-info); }
.stb-tag--sm { font-size: 0.72rem; padding: 0.15rem 0.45rem; }

/* ============================================
   BUTTONS
   ============================================ */
.stb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border: none;
    border-radius: var(--stb-radius);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--stb-font);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.stb-btn--primary {
    background: var(--stb-primary-light);
    color: #fff;
}

.stb-btn--primary:hover { background: var(--stb-primary); color: #fff; }

.stb-btn--secondary {
    background: transparent;
    color: var(--stb-primary-light);
    border: 2px solid var(--stb-primary-light);
}

.stb-btn--secondary:hover { background: var(--stb-primary-lighter); }

.stb-btn--block { width: 100%; }
.stb-btn--sm { padding: 0.45rem 1rem; font-size: 0.85rem; }
.stb-btn--lg { padding: 0.85rem 2rem; font-size: 1.05rem; }

/* ============================================
   INPUTS
   ============================================ */
.stb-input {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid var(--stb-border);
    border-radius: var(--stb-radius);
    font-size: 0.95rem;
    font-family: var(--stb-font);
    background: var(--stb-bg-input);
    color: var(--stb-text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.stb-input:focus {
    outline: none;
    border-color: var(--stb-primary-light);
    box-shadow: 0 0 0 3px rgba(0,113,194,0.15);
}

.stb-input--sm { padding: 0.45rem 0.75rem; font-size: 0.85rem; }

.stb-select {
    padding: 0.45rem 2rem 0.45rem 0.75rem;
    border: 1px solid var(--stb-border);
    border-radius: var(--stb-radius);
    background: var(--stb-bg-input);
    color: var(--stb-text);
    font-size: 0.9rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.stb-textarea { min-height: 100px; resize: vertical; }

.stb-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--stb-text);
    margin-bottom: 0.35rem;
}

/* ============================================
   PROPERTY DETAIL
   ============================================ */
.stb-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    font-size: 0.85rem;
    color: var(--stb-text-muted);
}

.stb-breadcrumb a { color: var(--stb-text-link); text-decoration: none; }
.stb-breadcrumb a:hover { text-decoration: underline; }

.stb-property-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.stb-property-header__title {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 800;
    margin: 0.2rem 0;
    color: var(--stb-text);
}

.stb-property-header__stars {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin-bottom: 0.2rem;
}

.stb-property-header__location {
    font-size: 0.9rem;
    color: var(--stb-text-secondary);
}

.stb-link { color: var(--stb-text-link); text-decoration: none; font-weight: 500; }
.stb-link:hover { text-decoration: underline; }

/* Photo Gallery */
.stb-gallery__grid {
    display: grid;
    gap: 4px;
    border-radius: var(--stb-radius-lg);
    overflow: hidden;
    margin-bottom: 1.5rem;
    max-height: 420px;
}

.stb-gallery__grid--1 { grid-template-columns: 1fr; }
.stb-gallery__grid--2 { grid-template-columns: 1fr 1fr; }
.stb-gallery__grid--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.stb-gallery__grid--4,
.stb-gallery__grid--5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }

.stb-gallery__item {
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.stb-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.stb-gallery__item:hover img { transform: scale(1.05); }

.stb-gallery__item--main {
    grid-row: 1 / 3;
}

.stb-gallery__more {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
}

.stb-gallery__placeholder {
    height: 300px;
    background: var(--stb-border-light);
    border-radius: var(--stb-radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--stb-text-muted);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Lightbox */
.stb-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.95);
    display: none;
    align-items: center;
    justify-content: center;
}

.stb-lightbox.is-open { display: flex; }

.stb-lightbox__close,
.stb-lightbox__prev,
.stb-lightbox__next {
    position: absolute;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2;
    padding: 1rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.stb-lightbox__close:hover,
.stb-lightbox__prev:hover,
.stb-lightbox__next:hover { opacity: 1; }

.stb-lightbox__close { top: 1rem; right: 1rem; font-size: 2.5rem; }
.stb-lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.stb-lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }

.stb-lightbox__content { text-align: center; }
.stb-lightbox__content img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--stb-radius); }
.stb-lightbox__counter { color: rgba(255,255,255,0.7); margin-top: 1rem; font-size: 0.9rem; }

/* Detail Layout */
.stb-detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1.5rem;
    align-items: start;
    padding-bottom: 3rem;
}

@media (max-width: 991px) {
    .stb-detail-layout { grid-template-columns: 1fr; }
}

.stb-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--stb-border-light);
}

.stb-section:last-child { border-bottom: none; }

.stb-section__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--stb-text);
}

.stb-section__subtitle {
    font-size: 0.9rem;
    color: var(--stb-text-muted);
    margin: -0.5rem 0 1rem;
}

.stb-highlight-text {
    font-size: 1.05rem;
    color: var(--stb-text);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.stb-description { color: var(--stb-text-secondary); line-height: 1.7; }

/* Amenities Grid */
.stb-amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
}

.stb-amenity {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.8rem;
    background: var(--stb-bg);
    border-radius: var(--stb-radius);
    font-size: 0.9rem;
    color: var(--stb-text-secondary);
}

/* Info Grid */
.stb-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.stb-info-item__label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--stb-text-muted);
    display: block;
}

.stb-info-item__value { font-weight: 600; color: var(--stb-text); }

/* Room Cards */
.stb-rooms-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.stb-room-card {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    background: var(--stb-bg-card);
    border: 1px solid var(--stb-border);
    border-radius: var(--stb-radius-lg);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.stb-room-card:hover {
    border-color: var(--stb-primary-light);
    box-shadow: var(--stb-shadow);
}

@media (max-width: 767px) {
    .stb-room-card { grid-template-columns: 1fr; }
}

.stb-room-card__image { aspect-ratio: 4/3; overflow: hidden; }
.stb-room-card__image img { width: 100%; height: 100%; object-fit: cover; }
.stb-room-card__image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--stb-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--stb-text-muted);
}

.stb-room-card__info { padding: 1rem; }
.stb-room-card__info h3 { margin: 0 0 0.5rem; font-size: 1.05rem; font-weight: 700; }

.stb-room-card__details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--stb-text-secondary);
    margin-bottom: 0.5rem;
}

.stb-room-card__amenities { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.5rem; }

.stb-room-card__stock {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.stb-text-danger { color: var(--stb-danger); font-weight: 600; }

.stb-room-card__price {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 0.4rem;
    min-width: 180px;
    border-left: 1px solid var(--stb-border-light);
}

@media (max-width: 767px) {
    .stb-room-card__price { border-left: none; border-top: 1px solid var(--stb-border-light); flex-direction: row; align-items: center; justify-content: space-between; }
}

.stb-room-card__discount { display: flex; align-items: center; gap: 0.5rem; }

.stb-price-original {
    text-decoration: line-through;
    color: var(--stb-text-muted);
    font-size: 0.9rem;
}

.stb-room-card__amount strong { font-size: 1.3rem; }
.stb-room-card__amount span { font-size: 0.8rem; color: var(--stb-text-muted); display: block; text-align: right; }
.stb-room-card__tax { font-size: 0.75rem; color: var(--stb-text-muted); }

/* Sticky Price Sidebar */
.stb-sticky-box { position: sticky; top: 1rem; }

.stb-price-box {
    background: var(--stb-bg-card);
    border: 1px solid var(--stb-border);
    border-radius: var(--stb-radius-lg);
    padding: 1.25rem;
    box-shadow: var(--stb-shadow);
}

.stb-price-box__header { margin-bottom: 1rem; }
.stb-price-box__label { font-size: 0.85rem; color: var(--stb-text-muted); display: block; }
.stb-price-box__amount { font-size: 1.8rem; font-weight: 800; color: var(--stb-text); }
.stb-price-box__per { font-size: 0.85rem; color: var(--stb-text-muted); }

.stb-price-box__perks {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.stb-price-box__perks li {
    padding: 0.35rem 0;
    font-size: 0.85rem;
    color: var(--stb-success);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Reviews */
.stb-reviews { display: flex; flex-direction: column; gap: 1rem; }

.stb-review {
    background: var(--stb-bg);
    border-radius: var(--stb-radius-lg);
    padding: 1.25rem;
}

.stb-review__header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }

.stb-review__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--stb-primary-lighter);
    color: var(--stb-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.stb-review__name { font-weight: 600; font-size: 0.95rem; }
.stb-review__date { font-size: 0.8rem; color: var(--stb-text-muted); }
.stb-review__title { font-weight: 600; margin: 0 0 0.3rem; }
.stb-review__text { font-size: 0.9rem; color: var(--stb-text-secondary); margin: 0 0 0.5rem; }
.stb-review__pros { font-size: 0.85rem; color: var(--stb-success); margin-bottom: 0.2rem; }
.stb-review__cons { font-size: 0.85rem; color: var(--stb-danger); }

/* Date picker row */
.stb-date-row { display: flex; gap: 1rem; margin-bottom: 1rem; }
.stb-date-field { flex: 1; }
.stb-date-field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.3rem; }

/* ============================================
   BOOKING MODAL
   ============================================ */
.stb-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.stb-modal.is-open { display: flex; }

.stb-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.stb-modal__dialog {
    position: relative;
    background: var(--stb-bg-card);
    border-radius: var(--stb-radius-xl);
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--stb-shadow-xl);
    animation: stbSlideUp 0.3s ease;
}

@keyframes stbSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.stb-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--stb-border-light);
}

.stb-modal__header h2 { margin: 0; font-size: 1.2rem; }

.stb-modal__close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--stb-text-muted);
    padding: 0;
    line-height: 1;
}

.stb-modal__body { padding: 1.5rem; }

.stb-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--stb-border-light);
}

/* Booking Steps */
.stb-booking-step { display: none; }
.stb-booking-step.is-active { display: block; }

.stb-booking-summary {
    background: var(--stb-bg);
    border-radius: var(--stb-radius);
    padding: 1rem;
    margin-bottom: 1rem;
}

.stb-booking-summary h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }

.stb-form-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--stb-text);
}

.stb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 575px) {
    .stb-form-row { grid-template-columns: 1fr; }
}

.stb-form-group { margin-bottom: 0; }

/* Price Breakdown */
.stb-price-breakdown {
    background: var(--stb-bg);
    border-radius: var(--stb-radius);
    padding: 1.25rem;
}

.stb-price-line {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--stb-text-secondary);
}

.stb-price-line--total {
    border-top: 2px solid var(--stb-border);
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--stb-text);
}

/* ============================================
   CONFIRMATION PAGE
   ============================================ */
.stb-confirmation {
    max-width: 700px;
    margin: 2rem auto;
}

.stb-confirmation__header {
    text-align: center;
    padding: 2rem 0;
}

.stb-confirmation__header h1 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 1rem 0 0.5rem;
    color: var(--stb-text);
}

.stb-confirmation__ref {
    font-size: 1.05rem;
    color: var(--stb-text-secondary);
}

.stb-confirmation__ref strong { color: var(--stb-primary); font-size: 1.15rem; }

.stb-confirmation__email { font-size: 0.9rem; color: var(--stb-text-muted); }

.stb-confirmation__card {
    background: var(--stb-bg-card);
    border: 1px solid var(--stb-border);
    border-radius: var(--stb-radius-xl);
    overflow: hidden;
    box-shadow: var(--stb-shadow);
}

.stb-confirmation__property {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--stb-border-light);
    align-items: center;
}

.stb-confirmation__img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: var(--stb-radius);
    flex-shrink: 0;
}

.stb-confirmation__property h2 { margin: 0 0 0.3rem; font-size: 1.15rem; }

.stb-confirmation__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--stb-border-light);
    border-bottom: 1px solid var(--stb-border-light);
}

.stb-confirmation__block {
    padding: 1rem 1.5rem;
    background: var(--stb-bg-card);
}

.stb-confirmation__block h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--stb-text-muted);
    margin: 0 0 0.3rem;
}

.stb-confirmation__date { font-weight: 700; font-size: 0.95rem; }

.stb-confirmation__price,
.stb-confirmation__guest,
.stb-confirmation__requests {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--stb-border-light);
}

.stb-confirmation__guest h4,
.stb-confirmation__requests h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.stb-confirmation__actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stb-text-muted { color: var(--stb-text-muted); font-size: 0.85rem; margin: 0.2rem 0; }

/* No Results */
.stb-no-results {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--stb-text-muted);
}

.stb-no-results__icon { font-size: 4rem; margin-bottom: 1rem; }
.stb-no-results h3 { color: var(--stb-text); margin-bottom: 0.5rem; }

/* ============================================
   SIMPLE ICON SYSTEM (CSS only)
   ============================================ */
[class^="stb-icon-"]::before,
[class*=" stb-icon-"]::before {
    display: inline-block;
    font-style: normal;
    font-weight: normal;
}

.stb-icon-search::before { content: '🔍'; }
.stb-icon-bed::before { content: '🛏️'; }
.stb-icon-calendar::before { content: '📅'; }
.stb-icon-users::before { content: '👤'; }
.stb-icon-pin::before { content: '📍'; }
.stb-icon-image::before { content: '🖼️'; }
.stb-icon-arrow-right::before { content: '→'; }
.stb-icon-filter::before { content: '⚙️'; }
.stb-icon-check::before { content: '✓'; }
.stb-icon-expand::before { content: '↔'; }
.stb-icon-print::before { content: '🖨️'; }
.stb-icon-wifi::before { content: '📶'; }
.stb-icon-water::before { content: '🏊'; }
.stb-icon-heart::before { content: '💆'; }
.stb-icon-cutlery::before { content: '🍽️'; }
.stb-icon-bell::before { content: '🔔'; }
.stb-icon-car::before { content: '🅿️'; }
.stb-icon-plane::before { content: '✈️'; }
.stb-icon-dumbbell::before { content: '💪'; }
.stb-icon-snowflake::before { content: '❄️'; }
.stb-icon-paw::before { content: '🐾'; }
.stb-icon-glass-martini::before { content: '🍸'; }
.stb-icon-user-tie::before { content: '🛎️'; }
.stb-icon-tshirt::before { content: '👔'; }
.stb-icon-ban-smoking::before { content: '🚭'; }
.stb-icon-umbrella-beach::before { content: '🏖️'; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 767px) {
    .stb-search-bar { flex-direction: column; }
    .stb-search-bar__field { min-width: 100%; }
    .stb-search-bar__btn { min-width: 100%; justify-content: center; }
    .stb-gallery__grid { max-height: 250px; }
    .stb-detail-layout { grid-template-columns: 1fr; }
    .stb-detail-sidebar { order: -1; }
    .stb-confirmation__grid { grid-template-columns: 1fr; }
}

/* ============================================
   MAP PROVIDER SWITCHER
   ============================================ */
.stb-map-switcher {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.stb-map-switch {
    padding: 0.4rem 1rem;
    border: 1px solid var(--stb-border);
    border-radius: var(--stb-radius);
    background: var(--stb-bg);
    color: var(--stb-text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--stb-font);
}

.stb-map-switch:hover { border-color: var(--stb-primary-light); color: var(--stb-primary-light); }

.stb-map-switch.active {
    background: var(--stb-primary-light);
    color: #fff;
    border-color: var(--stb-primary-light);
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .stb-hero, .stb-sidebar, .stb-search-bar, .stb-btn, .stb-modal { display: none !important; }
    .stb-confirmation__actions { display: none !important; }
    .stb-confirmation__card { box-shadow: none; border: 1px solid #ccc; }
}
