/* Expired Domain Rebuilder — Main Stylesheet v2 */
/* Design System: Tailwind-inspired utilities + custom components */

:root {
    /* Color palette — overridable per site via css_theme */
    --color-primary: #2563eb;
    --color-primary-dark: #1e40af;
    --color-primary-light: #dbeafe;
    --color-secondary: #10b981;
    --color-secondary-dark: #059669;
    --color-accent: #8b5cf6;
    --color-text: #1f2937;
    --color-text-light: #6b7280;
    --color-text-muted: #9ca3af;
    --color-bg: #ffffff;
    --color-bg-alt: #f9fafb;
    --color-bg-warm: #f8fafc;
    --color-border: #e5e7eb;
    --color-border-light: #f3f4f6;
    --color-shadow: rgba(0, 0, 0, 0.1);
    --color-shadow-lg: rgba(0, 0, 0, 0.15);

    /* Spacing scale */
    --space-xs: 0.5rem;    /* 8px */
    --space-sm: 1rem;      /* 16px */
    --space-md: 1.5rem;    /* 24px */
    --space-lg: 2rem;      /* 32px */
    --space-xl: 3rem;      /* 48px */
    --space-2xl: 4rem;     /* 64px */
    --space-3xl: 6rem;     /* 96px */

    /* Typography scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;

    /* Container */
    --max-width: 1100px;
    --max-width-narrow: 720px;

    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: var(--space-md) 0 var(--space-sm);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }

p {
    margin: var(--space-sm) 0;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    border: none;
    background: var(--color-primary);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-family: inherit;
    transition: all var(--transition-base);
}

button:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

/* Layout Container */
main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
    box-shadow: 0 1px 8px var(--color-shadow);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-sm) var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.site-brand a {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.site-brand a:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.site-brand .tagline {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    font-weight: 400;
}

/* Navigation */
.site-nav {
    display: flex;
    gap: var(--space-xs);
    align-items: center;
}

.site-nav a {
    color: var(--color-text-light);
    font-weight: 500;
    font-size: var(--text-sm);
    padding: 6px 14px;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.site-nav a:hover {
    color: var(--color-text);
    background: var(--color-bg-alt);
    text-decoration: none;
}

.nav-toggle {
    display: none;
    background: transparent;
    color: var(--color-text);
    font-size: 1.5rem;
    padding: 6px 10px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--color-text);
    color: white;
    margin-top: var(--space-3xl);
    padding: var(--space-xl) var(--space-md);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
}

.footer-copy {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
}

.footer-nav {
    display: flex;
    gap: var(--space-lg);
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: white;
    text-decoration: none;
}

/* ============================================
   BLOCK SECTIONS — shared spacing
   ============================================ */
section {
    margin: var(--space-xl) 0;
}

/* ============================================
   BLOCK: HERO (enhanced with bg image + CTA)
   ============================================ */
.block-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    padding: var(--space-3xl) var(--space-xl);
    text-align: center;
    color: white;
    /* fallback gradient when no bg image */
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
}

.block-hero.has-bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.block-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.85), rgba(37, 99, 235, 0.7));
    z-index: 1;
}

.block-hero > * {
    position: relative;
    z-index: 2;
}

.block-hero h1 {
    margin: 0 0 var(--space-sm);
    color: white;
    font-size: var(--text-5xl);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-sub {
    font-size: var(--text-xl);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto var(--space-lg);
    line-height: 1.6;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: white;
    color: var(--color-primary-dark);
    font-weight: 700;
    font-size: var(--text-lg);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    color: var(--color-primary-dark);
    text-decoration: none;
}

.hero-cta svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.hero-cta:hover svg {
    transform: translateX(3px);
}

/* ============================================
   BLOCK: TITLE
   ============================================ */
.block-title {
    padding: var(--space-lg) 0;
    border-bottom: 2px solid var(--color-border-light);
}

.block-title h1 {
    margin-top: 0;
}

/* ============================================
   BLOCK: INTRO
   ============================================ */
.block-intro {
    font-size: var(--text-lg);
    color: var(--color-text-light);
    background: var(--color-bg-alt);
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-primary);
    line-height: 1.8;
}

.block-intro p {
    margin: 0;
}

/* ============================================
   BLOCK: KEY FACTS
   ============================================ */
.block-key-facts {
    padding: var(--space-lg) 0;
}

.block-key-facts h2 {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    font-weight: 700;
}

.facts-grid {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.facts-grid li {
    background: var(--color-bg-alt);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-primary);
    transition: all var(--transition-base);
}

.facts-grid li:hover {
    background: white;
    box-shadow: 0 4px 12px var(--color-shadow);
    transform: translateY(-2px);
}

/* ============================================
   BLOCK: MAIN CONTENT
   ============================================ */
.block-main-content {
    line-height: 1.8;
}

.block-main-content p {
    margin: var(--space-md) 0;
}

.block-main-content h2 {
    margin-top: var(--space-xl);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--color-border-light);
}

.block-main-content h2:first-child {
    margin-top: 0;
}

/* Section images within content */
.section-image {
    width: 100%;
    border-radius: var(--radius-lg);
    margin: var(--space-lg) 0;
    object-fit: cover;
    max-height: 400px;
}

/* ============================================
   BLOCK: FAQ
   ============================================ */
.block-faq {
    padding: var(--space-xl);
    background: var(--color-bg-alt);
    border-radius: var(--radius-xl);
}

.block-faq h2 {
    font-size: var(--text-2xl);
    margin: 0 0 var(--space-md);
}

.block-faq details {
    margin: 0;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.block-faq details:last-of-type {
    border-bottom: none;
}

.block-faq details summary {
    font-weight: 600;
    color: var(--color-text);
    outline: none;
    list-style: none;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.block-faq details summary::-webkit-details-marker { display: none; }
.block-faq details summary::before {
    content: '+';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-weight: 700;
    font-size: var(--text-lg);
    flex-shrink: 0;
    transition: all var(--transition-fast);
}
.block-faq details[open] summary::before {
    content: '\2212';
    background: var(--color-primary);
    color: white;
}

.block-faq details summary:hover {
    color: var(--color-primary);
}

.block-faq details p {
    margin: var(--space-sm) 0 0 calc(28px + var(--space-sm));
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   BLOCK: RELATED CONTENT (card grid)
   ============================================ */
.block-related {
    padding: var(--space-xl) 0;
}

.block-related h2 {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-md);
}

.related-card {
    display: flex;
    flex-direction: column;
    padding: var(--space-lg);
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    text-decoration: none;
    color: inherit;
}

.related-card:hover {
    border-color: var(--color-primary);
    background: white;
    box-shadow: 0 8px 24px var(--color-shadow);
    transform: translateY(-4px);
    text-decoration: none;
}

.related-card .card-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
}

.related-card span {
    font-weight: 600;
    color: var(--color-text);
    font-size: var(--text-base);
}

.related-card:hover span {
    color: var(--color-primary);
}

.related-card .card-excerpt {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    margin-top: var(--space-xs);
    line-height: 1.5;
}

/* ============================================
   BLOCK: DATA TABLE
   ============================================ */
.block-data {
    padding: var(--space-lg) 0;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-md) 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.data-table tr {
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition-fast);
}

.data-table tr:nth-child(odd) {
    background: var(--color-bg-alt);
}

.data-table tr:hover {
    background: var(--color-primary-light);
}

.data-table td {
    padding: var(--space-sm) var(--space-md);
}

/* ============================================
   BLOCK: MEDIA
   ============================================ */
.block-media {
    padding: var(--space-lg) 0;
}

.block-media figure {
    margin: var(--space-lg) 0;
}

.block-media img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    transition: transform var(--transition-slow);
}

.block-media img:hover {
    transform: scale(1.01);
}

.block-media figcaption {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    margin-top: var(--space-sm);
    text-align: center;
}

/* ============================================
   BLOCK: NETWORK LINKS
   ============================================ */
.block-network {
    padding: var(--space-lg) 0;
}

.block-network ul {
    list-style: none;
    padding: 0;
    margin: var(--space-lg) 0;
}

.block-network li {
    margin: var(--space-sm) 0;
    padding-left: var(--space-md);
    position: relative;
}

.block-network li::before {
    content: "\2192";
    color: var(--color-primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.block-network li a {
    transition: color var(--transition-fast);
}

.block-network li a:hover {
    color: var(--color-primary-dark);
}

/* ============================================
   BLOCK: ADS
   ============================================ */
.block-ads {
    margin: var(--space-xl) 0;
}

.ad-container {
    padding: var(--space-lg);
    background: var(--color-bg-alt);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.breadcrumb a {
    color: var(--color-text-light);
}

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

/* ============================================
   RELATED GUIDES (inline pills)
   ============================================ */
.related-guides {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 2px solid var(--color-border-light);
}

.related-guides h3 {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
}

.related-guides ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.related-guides li a {
    display: inline-block;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text);
    transition: all var(--transition-fast);
}

.related-guides li a:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
    text-decoration: none;
    transform: translateY(-1px);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
/* Fade-in: visible by default, animated only when JS adds .js-ready to html */
.fade-in {
    opacity: 1;
    transform: translateY(0);
}

html.js-ready .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

html.js-ready .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    h1 { font-size: var(--text-3xl); }
    h2 { font-size: var(--text-xl); }
    h3 { font-size: var(--text-lg); }

    .header-inner {
        padding: var(--space-sm);
    }

    .site-brand {
        gap: 0;
    }

    .site-brand a {
        font-size: var(--text-lg);
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 2px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        padding: var(--space-sm);
        border-bottom: 1px solid var(--color-border);
        align-items: stretch;
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        padding: 10px 14px;
    }

    .facts-grid {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }

    .footer-nav {
        justify-content: center;
    }

    main {
        padding: 0 var(--space-sm);
    }

    section {
        margin: var(--space-lg) 0;
    }

    .block-hero {
        padding: var(--space-xl) var(--space-md);
        border-radius: var(--radius-lg);
    }

    .block-hero h1 {
        font-size: var(--text-3xl);
    }

    .hero-sub {
        font-size: var(--text-base);
    }

    .hero-cta {
        padding: 12px 24px;
        font-size: var(--text-base);
    }

    .block-faq {
        padding: var(--space-lg);
    }
}

@media (max-width: 480px) {
    h1 { font-size: var(--text-2xl); }
    h2 { font-size: var(--text-lg); }
    h3 { font-size: var(--text-base); }

    .block-hero {
        padding: var(--space-lg) var(--space-sm);
    }

    .block-hero h1 {
        font-size: var(--text-2xl);
    }

    .hero-sub {
        font-size: var(--text-sm);
    }

    .facts-grid li {
        padding: var(--space-sm);
    }
}

/* ─────────────────────────────────────────────
   GLOBAL FOUNDATION — warmer page background,
   wider main containers, premium card style.
───────────────────────────────────────────── */
body.qw-warm,
body {
    background: linear-gradient(180deg, #f8fafc 0%, #f4f7fb 100%);
    color: #0f172a;
}
.page-container,
.city-container,
.hotel-container,
.compare-container,
.v3-container {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
}
@media (max-width: 768px) {
    .page-container,
    .city-container,
    .hotel-container,
    .compare-container,
    .v3-container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Premium reusable card (used by .recently-added-card, .compare-hero-card etc.) */
.premium-card {
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(15,23,42,.06);
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(15,23,42,.08), 0 4px 12px rgba(15,23,42,.04);
}
.premium-card.is-clickable { transition: transform .18s ease, box-shadow .18s ease; cursor: pointer; }
.hotel-card:hover,
.premium-card.is-clickable:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 60px rgba(15,23,42,.12), 0 6px 16px rgba(15,23,42,.06);
}

/* Premium button system (use as opt-in classes) */
.btn-primary-premium {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 11px 16px;
    font-weight: 850;
    font-size: .92rem;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(37,99,235,.28);
    transition: transform .15s, box-shadow .15s;
}
.btn-primary-premium:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(37,99,235,.35); color: #fff; }

.btn-dark-premium {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: #0f172a;
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 11px 16px;
    font-weight: 850;
    font-size: .92rem;
    text-decoration: none;
    transition: transform .15s, background .15s, box-shadow .15s;
}
.btn-dark-premium:hover { background: #1e293b; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(15,23,42,.32); color: #fff; }

.btn-green-premium {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 11px 16px;
    font-weight: 850;
    font-size: .92rem;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(22,163,74,.28);
    transition: transform .15s, box-shadow .15s;
}
.btn-green-premium:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(22,163,74,.35); color: #fff; }

/* ─────────────────────────────────────────────
   QUICK-WIN MODULES — warm travel palette
   Inspired by the provided mockup: warm cream
   backgrounds, navy ink, coral/sunset accents.
───────────────────────────────────────────── */
:root {
  /* Surfaces — warm, not corporate gray */
  --qw-surface: #ffffff;
  --qw-cream:   #fbf6ee;
  --qw-cream-2: #f5ede0;
  --qw-sand:    #f4ead7;
  --qw-warm:    #fdf9f3;
  --qw-bg:      #fbf7f0;

  /* Ink */
  --qw-ink:    #1a1d2e;
  --qw-navy:   #1e2952;
  --qw-navy-2: #2a3568;
  --qw-muted:  #5a5f78;
  --qw-soft:   #8a8fa6;

  /* Lines */
  --qw-line:        #ece4d4;
  --qw-line-strong: #d9cfb9;

  /* Primary action — deep navy/indigo (compare CTA, links) */
  --qw-primary:    #1e2952;
  --qw-primary-2:  #15204a;
  --qw-primary-3:  #0f1740;
  --qw-primary-bg: #eaecf6;

  /* Coral / sunset accent — warm CTA, badges, prix */
  --qw-coral:    #e85a4f;
  --qw-coral-2:  #d8463b;
  --qw-coral-3:  #b53a30;
  --qw-coral-bg: #fdebe7;

  /* Mustard accent — secondary highlight */
  --qw-gold:    #d49a3b;
  --qw-gold-bg: #fcefd0;

  /* Sage — used sparingly (positive flags only) */
  --qw-sage:    #4f7d6e;
  --qw-sage-bg: #e6efea;

  /* Radii & shadows — softer, warmer */
  --qw-radius-xl: 24px;
  --qw-radius-lg: 18px;
  --qw-radius-md: 14px;
  --qw-radius-sm: 10px;
  --qw-shadow-xs: 0 1px 2px rgba(30,41,82,.05);
  --qw-shadow-sm: 0 1px 2px rgba(30,41,82,.05), 0 4px 12px rgba(30,41,82,.06);
  --qw-shadow-md: 0 4px 8px rgba(30,41,82,.06), 0 16px 32px rgba(30,41,82,.08);
  --qw-shadow-lg: 0 6px 16px rgba(30,41,82,.08), 0 28px 56px rgba(30,41,82,.12);
}

/* ─────────────────────────────────────────────
   COMPARE BRANDING — navy pill on cream
───────────────────────────────────────────── */
.compare-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px 7px 12px;
    background: var(--qw-primary);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    border-radius: 999px;
    border: 1px solid var(--qw-primary-3);
    font-size: .68rem;
    box-shadow: 0 2px 8px rgba(30,41,82,.18);
}
.compare-badge::before {
    content: '';
    display: inline-block;
    width: .9em; height: .9em;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M9 5H4v14h5'/><path d='M15 5h5v14h-5'/><path d='M9 12h6'/><path d='M11 9l-3 3 3 3'/><path d='M13 15l3-3-3-3'/></svg>") center/contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M9 5H4v14h5'/><path d='M15 5h5v14h-5'/><path d='M9 12h6'/><path d='M11 9l-3 3 3 3'/><path d='M13 15l3-3-3-3'/></svg>") center/contain no-repeat;
}

/* The mini badge is now reserved as a thin icon-only marker
   inside primary CTAs. Hidden anywhere else to reduce noise. */
.compare-badge-mini {
    display: inline-flex;
    align-items: center;
    width: 14px; height: 14px;
    color: currentColor;
    font-size: 0;
}
.compare-badge-mini::before {
    content: '';
    display: inline-block;
    width: 100%; height: 100%;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M9 5H4v14h5'/><path d='M15 5h5v14h-5'/><path d='M9 12h6'/><path d='M11 9l-3 3 3 3'/><path d='M13 15l3-3-3-3'/></svg>") center/contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M9 5H4v14h5'/><path d='M15 5h5v14h-5'/><path d='M9 12h6'/><path d='M11 9l-3 3 3 3'/><path d='M13 15l3-3-3-3'/></svg>") center/contain no-repeat;
}

/* ─────────────────────────────────────────────
   NEWLY DISCOVERED HOTEL — premium feature card
───────────────────────────────────────────── */
.recently-added {
    margin: 0 auto 36px;
    max-width: 1280px;
    padding: 0 32px;
    position: relative;
}
@media (max-width: 768px) { .recently-added { padding: 0 16px; } }
.recently-added-inner,
.recently-added-card {
    margin-top: -42px;
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 28px;
    padding: 18px;
    background: #fffdfa;
    border-radius: 26px;
    box-shadow: 0 24px 70px rgba(15,23,42,.14), 0 6px 20px rgba(15,23,42,.08);
    border: 1px solid rgba(245,158,11,.16);
    overflow: hidden;
    transition: box-shadow .25s ease, transform .25s ease;
}
.recently-added-inner:hover {
    box-shadow: 0 28px 80px rgba(15,23,42,.16), 0 8px 24px rgba(15,23,42,.10);
    transform: translateY(-2px);
}
.recently-added-photo,
.recently-added-photo-wrap {
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: #f4ead7;
    width: 100%;
    height: 235px;
    border-radius: 20px;
    overflow: hidden;
}
.recently-added-img {
    width: 100%;
    height: 235px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}
.recently-added-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30,41,82,0) 55%, rgba(30,41,82,.34) 100%);
    pointer-events: none;
}
.recently-added-badge,
.recently-added-label {
    position: absolute;
    top: 18px; left: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff7ed;
    color: #c2410c;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #fed7aa;
    box-shadow: 0 4px 14px rgba(0,0,0,.14);
}
.recently-added-badge::before {
    content: '';
    display: inline-block;
    width: 13px; height: 13px;
    margin-right: 8px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2l2.39 7.36H22l-6.18 4.49L18.21 22 12 17.27 5.79 22l2.39-8.15L2 9.36h7.61L12 2z'/></svg>") center/contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2l2.39 7.36H22l-6.18 4.49L18.21 22 12 17.27 5.79 22l2.39-8.15L2 9.36h7.61L12 2z'/></svg>") center/contain no-repeat;
}
.recently-added-body {
    padding: 14px 22px 14px 6px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    background: transparent;
}
.recently-added-eyebrow {
    margin: 0;
    color: var(--qw-coral-3);
    font-weight: 700;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .16em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.recently-added-eyebrow::before {
    content: '';
    display: inline-block;
    width: 14px; height: 14px;
    background: var(--qw-coral);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M2 12h20'/><path d='M22 12l-7-7'/><path d='M22 12l-7 7'/><circle cx='4' cy='12' r='1.5' fill='black'/></svg>") center/contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M2 12h20'/><path d='M22 12l-7-7'/><path d='M22 12l-7 7'/><circle cx='4' cy='12' r='1.5' fill='black'/></svg>") center/contain no-repeat;
}
.recently-added-name {
    margin: 12px 0 6px;
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -.03em;
    color: #0f172a;
    font-weight: 800;
}
.recently-added-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    color: var(--qw-muted);
    font-size: .88rem;
}
.recently-added-score {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--qw-primary);
    color: #fff;
    font-weight: 800;
    font-size: .9rem;
    padding: 6px 12px;
    border-radius: 8px;
}
.recently-added-score span { font-weight: 500; color: rgba(255,255,255,.66); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; }
.recently-added-district {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--qw-muted);
    font-size: .85rem;
}
.recently-added-district::before {
    content: '';
    display: inline-block;
    width: 14px; height: 14px;
    background: var(--qw-coral);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/><circle cx='12' cy='10' r='3'/></svg>") center/contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/><circle cx='12' cy='10' r='3'/></svg>") center/contain no-repeat;
}
.recently-added-price {
    color: var(--qw-coral-3);
    font-weight: 800;
    font-size: 1.05rem;
    margin-left: auto;
}
.recently-added-price span { font-weight: 500; color: var(--qw-soft); font-size: .76rem; }
.recently-added-prose,
.recently-added-card .editorial-snippet {
    margin: 4px 0 0;
    color: #334155;
    line-height: 1.7;
    font-size: 15.5px;
    max-width: 620px;
}
.recently-added-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 10px;
    margin-top: 20px;
}
.ra-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 22px;
    border-radius: var(--qw-radius-sm);
    font-weight: 600;
    font-size: .96rem;
    text-decoration: none;
    line-height: 1;
    transition: background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.ra-btn-secondary {
    background: var(--qw-surface);
    color: var(--qw-navy);
    border: 1px solid var(--qw-line-strong);
}
.ra-btn-secondary:hover { background: var(--qw-warm); border-color: var(--qw-navy); }
.ra-btn-primary {
    background: var(--qw-primary);
    color: #fff;
    box-shadow: 0 2px 4px rgba(30,41,82,.25), 0 10px 24px rgba(30,41,82,.22);
}
.ra-btn-primary:hover { background: var(--qw-primary-2); transform: translateY(-1px); box-shadow: 0 2px 4px rgba(30,41,82,.30), 0 14px 32px rgba(30,41,82,.30); }
.ra-btn-primary .compare-badge-mini { color: #fff; }

@media (max-width: 768px) {
    .recently-added { margin: 24px auto; }
    .recently-added-inner,
    .recently-added-card { grid-template-columns: 1fr; margin-top: -24px; padding: 14px; gap: 14px; }
    .recently-added-photo,
    .recently-added-photo-wrap,
    .recently-added-img { height: 210px; }
    .recently-added-body { padding: 4px 8px 10px; }
    .recently-added-name { font-size: 22px; }
    .recently-added-prose,
    .recently-added-card .editorial-snippet { font-size: 1rem; }
    .recently-added-price { margin-left: 0; }
}

/* ─────────────────────────────────────────────
   HOTEL EDITORIAL — boutique travel magazine
───────────────────────────────────────────── */
.hotel-editorial {
    max-width: 860px;
    margin: 52px auto;
    padding: 42px 50px;
    background: #fffdfa;
    border: 1px solid rgba(245,158,11,.18);
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(15,23,42,.08), inset 5px 0 0 #f59e0b;
}
.hotel-editorial::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 24px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 8rem;
    line-height: 1;
    color: rgba(245,158,11,.12);
    font-weight: 700;
    pointer-events: none;
    user-select: none;
}
/* Top ribbon with multiple travel ornaments */
.hotel-editorial-ornaments {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 0 20px;
    color: var(--qw-coral);
    position: relative;
    z-index: 1;
}
.hotel-editorial-ornaments::before,
.hotel-editorial-ornaments::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--qw-line-strong);
}
.hotel-editorial-ornaments .he-ico {
    display: inline-block;
    width: 16px; height: 16px;
    background: currentColor;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}
.he-ico-suitcase   { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='7' width='18' height='13' rx='2'/><path d='M8 7V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v3'/><path d='M3 13h18'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='7' width='18' height='13' rx='2'/><path d='M8 7V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v3'/><path d='M3 13h18'/></svg>"); }
.he-ico-compass    { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><polygon points='16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><polygon points='16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76'/></svg>"); }
.he-ico-plane      { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z'/></svg>"); }
.he-ico-bed        { color: var(--qw-navy); -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M2 4v16'/><path d='M2 8h18a2 2 0 0 1 2 2v10'/><path d='M2 17h20'/><path d='M6 8v9'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M2 4v16'/><path d='M2 8h18a2 2 0 0 1 2 2v10'/><path d='M2 17h20'/><path d='M6 8v9'/></svg>"); }
.he-ico-map        { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polygon points='1 6 1 22 8 18 16 22 23 18 23 2 16 6 8 2 1 6'/><line x1='8' y1='2' x2='8' y2='18'/><line x1='16' y1='6' x2='16' y2='22'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polygon points='1 6 1 22 8 18 16 22 23 18 23 2 16 6 8 2 1 6'/><line x1='8' y1='2' x2='8' y2='18'/><line x1='16' y1='6' x2='16' y2='22'/></svg>"); }
.hotel-editorial-title {
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #92400e;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}
.hotel-editorial p {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    line-height: 1.92;
    color: #1f2937;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}
.hotel-editorial p:last-of-type { margin-bottom: 0; }
.hotel-editorial p:first-of-type::first-letter {
    font-size: 4em;
    font-weight: 700;
    float: left;
    line-height: 0.82;
    padding: 6px 12px 0 0;
    margin-top: 4px;
    color: #1e2952;
    font-family: Georgia, 'Times New Roman', serif;
}
.hotel-editorial::after {
    content: '✦';
    display: block;
    text-align: center;
    margin: 22px auto 0;
    color: #f59e0b;
    font-size: 1.2rem;
    line-height: 1;
}
@media (max-width: 720px) {
    .hotel-editorial { padding: 24px 20px; margin: 22px 16px; }
    .hotel-editorial p { font-size: 16px; line-height: 1.75; }
    .hotel-editorial p:first-of-type::first-letter { font-size: 3em; }
}

/* ─────────────────────────────────────────────
   HOTEL CARD — dual CTA variant (warm)
───────────────────────────────────────────── */
.hg-card--dual {
    display: flex;
    flex-direction: column;
    background: var(--qw-surface);
    border: 1px solid var(--qw-line);
    border-radius: var(--qw-radius-lg);
    overflow: hidden;
    box-shadow: var(--qw-shadow-sm);
    transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.hg-card--dual:hover { box-shadow: var(--qw-shadow-md); transform: translateY(-3px); border-color: var(--qw-line-strong); }
.hg-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    flex: 1;
}
.hg-card--dual .hg-body { padding: 14px 16px 8px; }
.hg-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 8px;
    padding: 0 14px 14px;
}
.hg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--qw-radius-sm);
    line-height: 1;
    transition: background .15s, transform .15s;
}
.hg-btn-secondary {
    background: var(--qw-warm);
    color: var(--qw-navy);
    border: 1px solid var(--qw-line-strong);
}
.hg-btn-secondary:hover { background: var(--qw-cream-2); border-color: var(--qw-navy); }
.hg-btn-primary {
    background: var(--qw-primary);
    color: #fff;
    box-shadow: 0 2px 4px rgba(30,41,82,.20), 0 6px 18px rgba(30,41,82,.20);
}
.hg-btn-primary:hover { background: var(--qw-primary-2); transform: translateY(-1px); box-shadow: 0 2px 4px rgba(30,41,82,.25), 0 10px 26px rgba(30,41,82,.28); }
.hg-btn-primary .compare-badge-mini { color: #fff; }

/* ─────────────────────────────────────────────
   CITY HOTELLIST — 4-col premium grid
───────────────────────────────────────────── */
#hotel-list { display: block; }
#hotel-list > p { color: #64748b; margin-bottom: 22px !important; }
#hotel-list > div[style*="grid-template-columns"] {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 22px !important;
}
#hotel-list > div[style*="grid-template-columns"] > div {
    background: #fff !important;
    border: 1px solid rgba(15,23,42,.06) !important;
    border-radius: 20px !important;
    box-shadow: 0 12px 30px rgba(15,23,42,.07) !important;
    transition: transform .18s ease, box-shadow .18s ease !important;
    overflow: hidden !important;
}
#hotel-list > div[style*="grid-template-columns"] > div:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 24px 60px rgba(15,23,42,.12) !important;
}
#hotel-list > div[style*="grid-template-columns"] > div > a:first-child {
    display: block !important;
    aspect-ratio: 4/3 !important;
    height: auto !important;
    overflow: hidden;
}
#hotel-list > div[style*="grid-template-columns"] > div > a:first-child img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform .45s ease !important;
}
#hotel-list > div[style*="grid-template-columns"] > div:hover > a:first-child img {
    transform: scale(1.05) !important;
}
#hotel-list > div[style*="grid-template-columns"] > div > div:last-child {
    padding: 14px !important;
}
@media (max-width: 1100px) {
    #hotel-list > div[style*="grid-template-columns"] { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 768px) {
    #hotel-list > div[style*="grid-template-columns"] { grid-template-columns: repeat(2, 1fr) !important; gap: 14px !important; }
}
@media (max-width: 480px) {
    #hotel-list > div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}

/* ─────────────────────────────────────────────
   COMPARE PAGE — premium hero with rich pickers
───────────────────────────────────────────── */
.vs-hero-eyebrow {
    text-align: center;
    margin: 0 0 14px;
}

/* Native fallback selector (hidden when JS picker is active) */
.vs-selector {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0 auto 14px;
    max-width: 240px;
    text-align: left;
}
.vs-selector label {
    font-size: .64rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--qw-soft);
    font-weight: 700;
}
.vs-selector select {
    width: 100%;
    padding: 9px 32px 9px 12px;
    border-radius: var(--qw-radius-sm);
    border: 1px solid var(--qw-line);
    background-color: #fff;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px 14px;
    appearance: none;
    -webkit-appearance: none;
    font-size: .86rem;
    font-weight: 500;
    color: var(--qw-ink);
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
    box-shadow: var(--qw-shadow-sm);
}
.vs-selector select:hover,
.vs-selector select:focus {
    border-color: var(--qw-accent);
    box-shadow: 0 0 0 3px rgba(16,185,129,.14);
    outline: none;
}
.vs-selector.qw-picker-enhanced,
.vs-selector.qw-picker-enhanced * { display: none !important; }

/* ── Rich hotel picker (custom dropdown) ── */
.qw-picker {
    position: relative;
    margin: 0 auto 14px;
    max-width: 280px;
    text-align: left;
    font-family: inherit;
}
.qw-picker-label {
    display: block;
    font-size: .62rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--qw-soft);
    font-weight: 700;
    margin-bottom: 5px;
}
.qw-picker-trigger {
    display: grid;
    grid-template-columns: 56px 1fr 42px;
    gap: 12px;
    align-items: center;
    width: 100%;
    padding: 10px 12px;
    background: rgba(255,255,255,.96);
    color: #0f172a;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 16px;
    cursor: pointer;
    text-align: left;
    transition: border-color .15s, box-shadow .15s;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,.12);
}
.qw-picker-trigger:hover,
.qw-picker.is-open .qw-picker-trigger {
    border-color: #93c5fd;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
    outline: none;
}
.qw-picker-trigger::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%) rotate(0);
    width: 14px; height: 14px;
    background: var(--qw-soft);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") center/contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") center/contain no-repeat;
    transition: transform .2s;
}
.qw-picker.is-open .qw-picker-trigger::after { transform: translateY(-50%) rotate(180deg); }
.qw-picker-thumb {
    width: 56px; height: 46px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    background: #e5e9f0;
    display: block;
}
.qw-picker-info {
    min-width: 0;
}
.qw-picker-name {
    color: #0f172a;
    font-weight: 800;
    font-size: 14px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.qw-picker-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 3px;
    font-size: 12px;
    color: #64748b;
}
.qw-picker-score {
    width: 42px; height: 42px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 13px;
    color: #2563eb;
    border: 2px solid #bfdbfe;
    background: #eff6ff;
    flex-shrink: 0;
}
.qw-picker-price { color: #c2410c; font-weight: 700; }

.qw-picker-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0; right: 0;
    z-index: 50;
    background: #fff;
    border: 1px solid var(--qw-line);
    border-radius: var(--qw-radius-md);
    box-shadow: var(--qw-shadow-lg);
    overflow: hidden;
    display: none;
    max-height: 380px;
}
.qw-picker.is-open .qw-picker-dropdown { display: flex; flex-direction: column; }
.qw-picker-search {
    padding: 10px 12px;
    border-bottom: 1px solid var(--qw-line);
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--qw-cream);
}
.qw-picker-search::before {
    content: '';
    display: inline-block;
    width: 14px; height: 14px;
    background: var(--qw-soft);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><path d='M21 21l-4.35-4.35'/></svg>") center/contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><path d='M21 21l-4.35-4.35'/></svg>") center/contain no-repeat;
}
.qw-picker-search input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: .88rem;
    color: var(--qw-navy);
    outline: none;
    font-family: inherit;
}
.qw-picker-list {
    list-style: none;
    margin: 0;
    padding: 6px 0;
    overflow-y: auto;
    flex: 1;
}
.qw-picker-list li { margin: 0; }
.qw-picker-option {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 9px;
    border-radius: 14px;
    cursor: pointer;
    transition: background .12s;
}
.qw-picker-option:hover,
.qw-picker-option.is-active { background: var(--qw-warm); }
.qw-picker-option.is-current {
    background: var(--qw-cream);
    border-left: 3px solid var(--qw-coral);
    padding-left: 9px;
}
.qw-picker-option-thumb {
    width: 58px; height: 48px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    background: #e5e9f0;
    display: block;
}
.qw-picker-option-body {
    min-width: 0;
    flex: 1;
}
.qw-picker-option-name {
    color: var(--qw-navy);
    font-weight: 600;
    font-size: .88rem;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.qw-picker-option-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 3px;
    font-size: .74rem;
    color: var(--qw-soft);
}
.qw-picker-option-score {
    width: 36px; height: 36px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 900;
    color: #2563eb;
    background: #eff6ff;
    border: 2px solid #bfdbfe;
    flex-shrink: 0;
}
.qw-picker-empty {
    padding: 18px 14px;
    text-align: center;
    color: var(--qw-soft);
    font-size: .85rem;
}

/* compare page — max-width for picker on dark background */
.qw-picker { max-width: none; }
@media (max-width: 768px) {
    .vs-grid { grid-template-columns: 1fr !important; }
    .vs-center { flex-direction: row; margin: 14px 0; justify-content: center; }
    .qw-picker-trigger { grid-template-columns: 48px 1fr 38px; }
    .qw-picker-thumb { width: 48px; height: 40px; }
}
