/* Global Design System for Bali Someday */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary: #0D9488;
    /* Teal */
    --primary-dark: #0F766E;
    --primary-light: #F0FDFA;

    --secondary: #E35D00;
    /* Deep Premium Orange */
    --secondary-dark: #C24100;
    --secondary-light: #FFF7ED;

    /* Slate Neutrals */
    --text-main: #0F172A;
    /* Slate 900 */
    --text-muted: #334155;
    /* Slate 700 */
    --text-light: #64748B;
    /* Slate 500 */

    --bg-body: #F8FAFC;
    /* Slate 50 */
    --bg-white: #FFFFFF;
    --bg-dark: #0F172A;
    /* Slate 900 */

    --border-color: #E2E8F0;
    /* Slate 200 */
    --border-focus: #99F6E4;
    /* Teal 200 */

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Premium Soft Multi-layered Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.03), 0 1px 3px 0 rgba(15, 23, 42, 0.02);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.04), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.03), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
    --shadow-premium: 0 20px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.05);

    /* Animation Timing */
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    /* Accent (trust / rating) */
    --accent-gold: #F59E0B;
    --accent-success: #10B981;
    --glass-bg: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.22);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Base resets & styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Typography */
h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 4rem);
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    font-weight: 800;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-muted);
}

/* Containers & Section Margins */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 30px;
}

.text-center {
    text-align: center;
}

/* Form Styling */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    outline: none;
    background: var(--bg-white);
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--border-focus);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20stroke%3D%22%2364748B%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    gap: 8px;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* Header auth — logged-out (Masuk/Daftar) & logged-in (avatar dropdown) */
.wdb-nav-auth {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wdb-nav-user {
    position: relative;
}

.wdb-nav-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}
.wdb-nav-avatar:hover { background: var(--primary-dark); }

.wdb-nav-user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-premium);
    padding: 8px;
    z-index: 999;
}
.wdb-nav-user-dropdown.is-open { display: block; }

.wdb-nav-user-info {
    padding: 10px 12px 12px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 6px;
}
.wdb-nav-user-name { display: block; font-weight: 700; font-size: 0.9rem; color: var(--text-main); }
.wdb-nav-user-email { display: block; font-size: 0.78rem; color: var(--text-light); margin-top: 2px; }

.wdb-nav-user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition-fast);
}
.wdb-nav-user-dropdown a:hover { background: var(--bg-body); }
.wdb-nav-user-dropdown a i { width: 16px; color: var(--text-light); }
.wdb-nav-user-sep { height: 1px; background: var(--border-color); margin: 6px 0; }
.wdb-nav-user-logout { color: #DC2626 !important; }
.wdb-nav-user-logout i { color: #DC2626 !important; }

/* Navigation Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 20px 0;
    border-bottom: 1px solid transparent;
}

header.header-flat {
    position: sticky;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.02em;
}

.logo i {
    color: var(--secondary);
}

header.header-flat .logo,
header.scrolled .logo {
    color: var(--text-main);
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0.85;
}

.nav-links a.active,
.nav-links a:hover {
    opacity: 1;
    color: var(--primary) !important;
}

header.header-flat .nav-links a,
header.scrolled .nav-links a {
    color: var(--text-muted);
}

header.header-flat .nav-links a:hover,
header.scrolled .nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.menu-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

header.header-flat .menu-toggle,
header.scrolled .menu-toggle {
    color: var(--text-main);
}

/* Mobile Nav Drawer Style */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px;
        gap: 24px;
        box-shadow: -4px 0 15px rgba(0, 0, 0, 0.05);
        transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        color: var(--text-main) !important;
        font-size: 1.1rem;
        width: 100%;
        padding: 8px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-actions {
        display: none;
    }

    .menu-toggle {
        display: block;
        z-index: 1000;
    }
}

/* Page Header component for Inner Pages */
.page-header {
    background-color: var(--bg-dark);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.page-header.has-bg {
    background-size: cover;
    background-position: center;
}

.page-header.has-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    /* Clean solid overlay */
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: white;
    margin-bottom: 12px;
}

.page-header p {
    color: #94A3B8;
    /* Slate 400 */
    font-size: clamp(1rem, 2vw, 1.15rem);
    max-width: 600px;
    margin: 0 auto;
}

/* Destination taxonomy page — hero add-ons, highlights, related articles */
.dest-best-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: white;
    font-size: 0.85rem;
}

.dest-highlights { padding: 48px 0 0; }
.dest-highlights h2 { font-size: 1.5rem; margin-bottom: 20px; }
.dest-highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.dest-highlight-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
}
.dest-highlight-card i { color: var(--primary); font-size: 1.2rem; flex-shrink: 0; }
.dest-highlight-card span { font-size: 0.88rem; font-weight: 600; color: var(--text-main); }

.dest-related { padding-bottom: 60px; }
.dest-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.dest-related-card {
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: var(--transition-fast);
}
.dest-related-card:hover { box-shadow: var(--shadow-premium); transform: translateY(-2px); }
.dest-related-card img { width: 100%; height: 140px; object-fit: cover; display: block; }
.dest-related-card span { display: block; padding: 12px 16px; font-size: 0.9rem; font-weight: 600; color: var(--text-main); }

@media (max-width: 992px) {
    .dest-highlights-grid { grid-template-columns: repeat(2, 1fr); }
    .dest-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .dest-highlights-grid { grid-template-columns: 1fr; }
    .dest-related-grid { grid-template-columns: 1fr; }
}

/* Shared Card layout rules */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 992px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}

/* Premium Footer */
footer {
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.02em;
}

.footer-logo i {
    color: var(--secondary);
}

.footer-desc {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 2px;
}

.input-group {
    display: flex;
    background: var(--bg-body);
    border-radius: var(--radius-sm);
    padding: 3px;
    border: 1px solid var(--border-color);
}

.input-group input {
    flex: 1;
    padding: 10px 14px;
    background: transparent;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text-main);
}

.input-group button {
    background: var(--text-main);
    color: white;
    border: none;
    padding: 0 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

.input-group button:hover {
    background: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.payment-methods {
    display: flex;
    gap: 12px;
    font-size: 1.4rem;
    color: var(--text-light);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ══════════════════════════════════════════════
   ARCHIVE LAYOUT — sidebar filters + listing grid
   (used by all archive-wdb_*.php and taxonomy-*.php)
════════════════════════════════════════════════ */
.layout-grid { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding: 60px 0; }
.filters { background: var(--bg-white); padding: 24px; border-radius: var(--radius-md); border: 1px solid var(--border-color); height: fit-content; position: sticky; top: 100px; }
.filter-group { margin-bottom: 24px; }
.filter-group h4 { margin-bottom: 12px; font-size: 1.05rem; }

.filter-region { margin-bottom: 16px; }
.filter-region-label { display: block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-light); margin-bottom: 6px; }
.filter-checkbox--indent { padding-left: 8px; }
.filter-checkbox--indent .filter-checkbox,
.filter-checkbox.filter-checkbox--indent { font-size: 0.88rem; }

.filter-checkbox { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; cursor: pointer; font-size: 0.92rem; color: var(--text-muted); }
.filter-checkbox input[type="checkbox"] {
    appearance: none; -webkit-appearance: none;
    width: 18px; height: 18px; flex-shrink: 0;
    border: 1.5px solid var(--border-color); border-radius: 5px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--transition-fast);
}
.filter-checkbox input[type="checkbox"]:checked { background: var(--primary); border-color: var(--primary); }
.filter-checkbox input[type="checkbox"]:checked::after {
    content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    color: white; font-size: 0.65rem;
}
.filter-checkbox:hover { color: var(--text-main); }
.filter-checkbox.wdb-filter-active { color: var(--primary); font-weight: 600; }

.tour-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; transition: opacity 0.2s ease; }
.tour-grid.wdb-loading, .car-grid.wdb-loading { opacity: 0.4; pointer-events: none; }
.tour-card { background: var(--bg-white); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-color); transition: var(--transition-fast); position: relative; }
.tour-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.tour-img { height: 200px; position: relative; }
.tour-img img { width: 100%; height: 100%; object-fit: cover; }
.tour-content { padding: 20px; }
.tour-title { font-size: 1.1rem; margin-bottom: 12px; font-weight: 700; }
.tour-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--border-color); }
.tour-price-wrap { display: flex; flex-direction: column; }
.tour-price-label { font-size: 0.7rem; font-weight: 600; color: var(--text-light); text-transform: lowercase; margin-bottom: 1px; }
.tour-price { font-size: 1.25rem; font-weight: 800; color: var(--primary); }
.tour-type-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--primary-light); color: var(--primary-dark); padding: 4px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 700; margin-bottom: 10px; }

.car-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 60px 0; position: relative; transition: opacity 0.2s ease; }
.car-card { background: var(--bg-white); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-color); transition: var(--transition-fast); }
.car-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.car-img { height: 220px; padding: 24px; background: var(--bg-body); display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--border-color); position: relative; }
.car-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.car-content { padding: 24px; }
.car-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; }
.car-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; font-size: 0.9rem; color: var(--text-muted); }
.car-specs span { display: flex; align-items: center; gap: 8px; }
.car-specs span i { color: var(--primary); }
.car-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid var(--border-color); }
.car-price { font-size: 1.25rem; font-weight: 800; color: var(--primary); }

@media (max-width: 992px) {
    .layout-grid { grid-template-columns: 1fr; }
    .tour-grid, .car-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .tour-grid, .car-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════
   SHARED CARD COMPONENTS — used on home + single (related listings)
════════════════════════════════════════════════ */
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.exp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.exp-card { background: var(--bg-white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); transition: var(--transition-smooth); display: flex; flex-direction: column; text-decoration: none; }
.exp-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--primary); }
.exp-img { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.exp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.exp-card:hover .exp-img img { transform: scale(1.04); }
.exp-content { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.exp-title { font-size: 1rem; margin-bottom: 12px; line-height: 1.4; color: var(--text-main); }
.exp-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border-color); }
.exp-price { font-size: 1.25rem; font-weight: 800; color: var(--primary); }

.dest-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.dest-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow-sm); transition: var(--transition-smooth); display: block; }
.dest-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.dest-card:hover img { transform: scale(1.06); }
.dest-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,23,42,0.75) 0%, rgba(15,23,42,0.05) 55%); display: flex; align-items: flex-end; padding: 20px; }
.dest-overlay h4 { color: white; font-size: 1.15rem; }

@media (max-width: 992px) { .exp-grid, .dest-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .exp-grid, .dest-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════
   ENHANCED COMPONENTS — trust, social proof, polish
════════════════════════════════════════════════ */

/* Wishlist heart button (visual + localStorage, no backend) */
.wdb-wishlist-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    z-index: 2;
}

.wdb-wishlist-btn:hover {
    transform: scale(1.08);
    color: #EF4444;
}

.wdb-wishlist-btn.active {
    color: #EF4444;
}

.wdb-wishlist-btn.active i {
    font-weight: 900;
}

/* Listing badges (bestseller / instant confirm / verified) */
.wdb-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-sm);
    color: var(--text-main);
    z-index: 2;
}

.wdb-badge.wdb-badge--bestseller { background: #FFFBEB; color: #B45309; }
.wdb-badge.wdb-badge--bestseller i { color: var(--accent-gold); }
.wdb-badge.wdb-badge--instant { background: var(--primary-light); color: var(--primary-dark); }
.wdb-badge.wdb-badge--verified { background: #EFF6FF; color: #1D4ED8; }

/* Sharper card depth on hover (applies across tour/car/exp cards) */
.tour-card, .car-card, .exp-card, .blog-card {
    position: relative;
    will-change: transform;
}

.tour-card:hover, .car-card:hover, .blog-card:hover {
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12), 0 6px 12px -4px rgba(15, 23, 42, 0.06);
}

/* Cursor affordance for anything clickable */
.tour-card, .car-card, .exp-card, .blog-card, .category-card, .dest-card,
.wdb-wishlist-btn, .btn, .cd-num, .payment-radio, a {
    cursor: pointer;
}

/* Trust badge strip (used on hero / listing sidebar) */
.wdb-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: center;
    margin-top: 32px;
}

.wdb-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 600;
}

.wdb-trust-item i { color: var(--accent-gold); }

/* Why-us feature cards */
.wdb-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.wdb-feature-card {
    text-align: center;
    padding: 8px;
}

.wdb-feature-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-white);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.wdb-feature-card:hover .wdb-feature-icon {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    color: var(--secondary);
    border-color: var(--primary);
}

.wdb-feature-card h4 { font-size: 1.1rem; margin-bottom: 8px; }
.wdb-feature-card p { font-size: 0.9rem; color: var(--text-light); }

/* Testimonial cards */
.wdb-review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.wdb-review-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.wdb-review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.wdb-review-stars {
    color: var(--accent-gold);
    margin-bottom: 16px;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.wdb-review-text {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.wdb-reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wdb-reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.wdb-reviewer-info h5 { font-size: 0.95rem; margin-bottom: 2px; }
.wdb-reviewer-info span { font-size: 0.8rem; color: var(--text-light); }

/* Floating WhatsApp button */
.wdb-wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: var(--accent-success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
    z-index: 900;
    transition: var(--transition-fast);
}

.wdb-wa-float:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.5);
}

.wdb-wa-float:focus-visible {
    outline: 3px solid #065F46;
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .wdb-wa-float { bottom: 16px; right: 16px; width: 52px; height: 52px; font-size: 1.5rem; }
}

/* Currency switch (USD / IDR) */
.wdb-currency-switch {
    display: flex;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 3px;
    gap: 2px;
}

.wdb-currency-switch button {
    border: none;
    background: transparent;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-light);
    transition: var(--transition-fast);
}

.wdb-currency-switch button.active {
    background: var(--bg-white);
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}

/* Language switcher — dropdown pill w/ flag, matching halalbali.com's
   .hb-lang-switcher concept, restyled with this theme's teal identity. */
.wdb-lang-switcher {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.wdb-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px 5px 8px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-fast);
    font-family: inherit;
}
.wdb-lang-btn:hover,
.wdb-lang-btn[aria-expanded="true"] {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary-dark);
}
.wdb-lang-flag { font-size: 16px; line-height: 1; display: block; }
.wdb-lang-code { font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.wdb-lang-caret { display: block; opacity: .55; transition: transform .2s; flex-shrink: 0; }
.wdb-lang-btn[aria-expanded="true"] .wdb-lang-caret { transform: rotate(180deg); opacity: 1; }

.wdb-lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 170px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-premium);
    list-style: none;
    margin: 0;
    padding: 6px;
    z-index: 999;
}
.wdb-lang-dropdown.is-open { display: block; }

.wdb-lang-option {
    display: grid;
    grid-template-columns: 22px 1fr auto auto;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-fast);
    cursor: pointer;
}
.wdb-lang-option:hover { background: var(--bg-body); }
.wdb-lang-option.is-active { background: var(--primary-light); color: var(--primary-dark); font-weight: 700; }
.wdb-lang-option__flag { font-size: 18px; line-height: 1; }
.wdb-lang-option__code { font-size: 11px; font-weight: 700; letter-spacing: .05em; opacity: .6; }
.wdb-lang-option.is-active .wdb-lang-option__code { opacity: 1; }
.wdb-lang-option__check { color: var(--primary); flex-shrink: 0; }

/* Skeleton loading shimmer (for async content) */
.wdb-skeleton {
    background: linear-gradient(90deg, var(--bg-body) 25%, var(--border-color) 37%, var(--bg-body) 63%);
    background-size: 400% 100%;
    animation: wdb-shimmer 1.4s ease infinite;
    border-radius: var(--radius-sm);
}

@keyframes wdb-shimmer {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

/* Gallery grid (single listing) — every image (main + thumbnails) gets its
   own explicit aspect-ratio, and grid rows size themselves ("auto") around
   that. This is more robust than sizing rows via a container-level
   aspect-ratio + 1fr, which left gaps under the thumbnails in real browsers. */
.wdb-gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 4px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 40px;
}

/* Only the outer edge of the whole block is rounded (container overflow:hidden
   clips it) — individual tiles stay square-cornered so they read as one
   cohesive photo block, not five separate rounded cards. */
.wdb-gallery-grid a { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; }

.wdb-gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.wdb-gallery-grid a:hover img { transform: scale(1.04); }
.wdb-gallery-grid .wdb-gallery-main { grid-row: 1 / -1; }

.wdb-gallery-viewall {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 9px 16px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
    color: var(--text-main);
    z-index: 2;
}

/* Mobile: main photo full-width on top, then the 4 thumbnails as an equal
   4-column row below it (not hidden — just made small). */
@media (max-width: 768px) {
    .wdb-gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto auto;
        gap: 3px;
    }
    .wdb-gallery-grid .wdb-gallery-main {
        grid-column: 1 / -1;
        grid-row: 1;
        aspect-ratio: 16 / 10;
    }
    .wdb-gallery-grid a:not(.wdb-gallery-main) {
        grid-row: 2;
        aspect-ratio: 1 / 1;
    }
    /* Not enough room for the full pill label in a quarter-width tile —
       collapse it to an icon-only badge instead of letting it overflow. */
    .wdb-gallery-viewall {
        padding: 6px;
        border-radius: 50%;
        gap: 0;
        bottom: 6px;
        right: 6px;
        font-size: 0;
    }
    .wdb-gallery-viewall i { font-size: 0.8rem; }
}

/* Sticky mobile "Book Now" bar for single listings */
.wdb-mobile-book-bar {
    display: none;
}

@media (max-width: 992px) {
    .wdb-mobile-book-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--bg-white);
        border-top: 1px solid var(--border-color);
        padding: 12px 20px;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        z-index: 950;
        box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
    }

    .wdb-mobile-book-bar .wdb-mobile-price {
        font-weight: 800;
        font-size: 1.1rem;
        color: var(--text-main);
    }

    .wdb-mobile-book-bar .btn {
        flex-shrink: 0;
    }

    /* leave room so content isn't hidden behind the bar */
    body { padding-bottom: 76px; }
}

/* Lightweight lightbox (no external dependency) */
.wdb-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 40px;
    cursor: zoom-out;
}

.wdb-lightbox-overlay.active { display: flex; }

.wdb-lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.wdb-lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition-fast);
}

.wdb-lightbox-close:hover { background: rgba(255, 255, 255, 0.3); }

.wdb-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wdb-lightbox-nav:hover { background: rgba(255, 255, 255, 0.3); }
.wdb-lightbox-prev { left: 24px; }
.wdb-lightbox-next { right: 24px; }

.wdb-lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

@media (max-width: 576px) {
    .wdb-lightbox-nav { width: 40px; height: 40px; font-size: 0.95rem; }
    .wdb-lightbox-prev { left: 8px; }
    .wdb-lightbox-next { right: 8px; }
}

/* ══════════════════════════════════════════════
   SINGLE LISTING PAGE (tour/activity/accommodation/vehicle)
════════════════════════════════════════════════ */
.breadcrumb { padding: 24px 0; font-size: 0.9rem; color: var(--text-light); }

.wdb-booking-notice { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: var(--radius-md); font-size: 0.9rem; font-weight: 500; margin-bottom: 24px; }
.wdb-booking-notice i { font-size: 1.2rem; flex-shrink: 0; }
.wdb-booking-notice--success { background: #D1FAE5; border: 1px solid #6EE7B7; color: #065F46; }
.wdb-booking-notice--success i { color: #059669; }
.wdb-booking-notice--error { background: #FEE2E2; border: 1px solid #FCA5A5; color: #B91C1C; }
.wdb-booking-notice--error i { color: #DC2626; }

.wdb-nights-note { font-size: 0.85rem; color: var(--text-light); margin: -8px 0 20px; }
.wdb-nights-note strong { color: var(--primary); }
.pdp-title-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.pdp-title-row h1 { font-size: clamp(1.5rem, 2.2vw + 1rem, 2.1rem); line-height: 1.3; margin-bottom: 0; }
.pdp-rating { display: flex; align-items: center; gap: 6px; color: var(--accent-gold); font-weight: 700; font-size: 0.95rem; flex-shrink: 0; }
.pdp-rating span { color: var(--text-light); font-weight: 500; }
.pdp-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; margin-bottom: 80px; }
.quick-facts { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--bg-white); border-radius: var(--radius-md); border: 1px solid var(--border-color); margin-bottom: 40px; }
.quick-facts > div { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 12px; text-align: center; position: relative; }
.quick-facts > div:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 22%; bottom: 22%; width: 1px; background: var(--border-color); }
.qf-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; color: var(--primary); background: var(--primary-light); border-radius: 50%; }
.qf-label { font-size: 0.72rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.qf-value { font-weight: 700; color: var(--text-main); font-size: 0.92rem; }
.section-block { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border-color); }
.inclusions-exclusions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.itinerary-item { display: flex; gap: 24px; margin-bottom: 24px; }
.itinerary-time { width: 80px; font-weight: 700; color: var(--primary); flex-shrink: 0; }
.list-check li { margin-bottom: 12px; display: flex; gap: 12px; color: var(--text-muted); }
.list-check i { color: #10B981; margin-top: 4px; }
.list-cross i { color: #EF4444; }
.booking-widget { background: var(--bg-white); padding: 32px; border-radius: var(--radius-md); box-shadow: var(--shadow-premium); border: 1px solid var(--border-color); position: sticky; top: 100px; }
.widget-price-label { font-size: 0.8rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 2px; }
.widget-price { font-size: 2rem; font-weight: 800; margin-bottom: 20px; }
.widget-trust-list { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border-color); }
.widget-trust-list span { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); }
.widget-trust-list i { color: var(--accent-success); }
.btn-book { background: var(--primary); color: white; width: 100%; padding: 16px; border-radius: var(--radius-full); font-weight: 700; font-size: 1.1rem; border: none; cursor: pointer; margin-top: 16px; transition: var(--transition-fast); }
.btn-book:hover { background: var(--primary-dark); transform: translateY(-1px); }

@media (max-width: 992px) { .pdp-layout { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 768px) {
    .quick-facts { grid-template-columns: repeat(2, 1fr); }
    .quick-facts > div:not(:last-child)::after { display: none; }
    .quick-facts > div:nth-child(odd) { border-right: 1px solid var(--border-color); }
    .quick-facts > div:nth-child(n+3) { border-top: 1px solid var(--border-color); }
    .inclusions-exclusions-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════
   REVIEWS & RATINGS
════════════════════════════════════════════════ */
.wdb-rating-summary {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    margin-bottom: 32px;
}

.wdb-rating-score { text-align: center; }
.wdb-rating-number { font-size: 3rem; font-weight: 800; color: var(--text-main); line-height: 1; margin-bottom: 8px; }
.wdb-rating-stars { color: var(--accent-gold); font-size: 1.1rem; margin-bottom: 8px; }
.wdb-rating-count { font-size: 0.85rem; color: var(--text-light); }

.wdb-rating-bars { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.wdb-rating-bar-row { display: grid; grid-template-columns: 50px 1fr 40px; align-items: center; gap: 12px; font-size: 0.85rem; color: var(--text-muted); }
.wdb-rating-bar-row i { color: var(--accent-gold); font-size: 0.75rem; }
.wdb-rating-bar-track { height: 8px; background: var(--bg-body); border-radius: 4px; overflow: hidden; }
.wdb-rating-bar-fill { height: 100%; background: var(--accent-gold); border-radius: 4px; }
.wdb-rating-bar-pct { text-align: right; }

.wdb-review-list { margin-bottom: 32px; }
.wdb-review-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border-color); }
.wdb-review-item:last-child { border-bottom: none; }
.wdb-review-item-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.wdb-review-item-head h5 { font-size: 0.95rem; margin: 0; }
.wdb-review-date { font-size: 0.8rem; color: var(--text-light); flex-shrink: 0; }
.wdb-review-item-stars { color: var(--accent-gold); font-size: 0.8rem; margin: 4px 0 8px; }
.wdb-review-item p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin: 0; }

.wdb-review-form-wrap { background: var(--bg-body); border-radius: var(--radius-md); padding: 32px 0; }
.wdb-review-form-wrap .comment-reply-title { font-size: 1.25rem; margin-bottom: 20px; }

/* Star rating input (radio-based, no JS required) */
.wdb-comment-notes { font-size: 0.8rem; color: var(--text-light); margin-bottom: 16px; }
#commentform p.form-submit { margin-top: 4px; }

.wdb-star-input { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.wdb-star-input-label { font-weight: 600; font-size: 0.9rem; color: var(--text-main); }
.wdb-star-input-group { display: flex; flex-direction: row-reverse; gap: 4px; }
.wdb-star-input-group input { position: absolute; opacity: 0; pointer-events: none; }
.wdb-star-input-group label { font-size: 1.4rem; color: var(--border-color); transition: var(--transition-fast); }
.wdb-star-input-group input:checked ~ label,
.wdb-star-input-group label:hover,
.wdb-star-input-group label:hover ~ label { color: var(--accent-gold); }

@media (max-width: 768px) {
    .wdb-rating-summary { grid-template-columns: 1fr; text-align: center; }
    .wdb-rating-bars { align-items: stretch; }
}

/* Urgency badge (honest — driven by real view counts, only shown above threshold) */
.wdb-urgency-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FFF7ED;
    color: var(--secondary-dark);
    border: 1px solid #FED7AA;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.wdb-urgency-badge i { color: var(--secondary); }

/* Affiliate CTA booking widget — adult stepper + date, like a real OTA */
.wdb-affiliate-selector { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.wdb-affiliate-selector-label { font-weight: 700; font-size: 0.9rem; color: var(--text-main); margin-bottom: -4px; }
.wdb-affiliate-selector .form-group { margin-bottom: 0; }
.wdb-stepper-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wdb-stepper-row label { margin-bottom: 0; }
.wdb-stepper-row .wdb-stepper { flex-shrink: 0; width: auto; min-width: 132px; }
.wdb-stepper { display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 6px 10px; }
.wdb-stepper-btn {
    width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border-color);
    background: var(--bg-white); color: var(--text-main); font-size: 1.1rem; line-height: 1;
    cursor: pointer; transition: var(--transition-fast); flex-shrink: 0;
}
.wdb-stepper-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.wdb-stepper-input {
    border: none; text-align: center; font-weight: 700; font-size: 1rem; color: var(--text-main);
    width: 40px; background: transparent;
}

/* Klook-style group-tier pricing widget (Tour & Activity) */
.wdb-tier-pricing { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.wdb-tier-pricing-label { font-weight: 700; font-size: 0.9rem; color: var(--text-main); margin-bottom: -2px; }
.wdb-tier-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--bg-body); border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 10px 14px; }
.wdb-tier-row__label { font-size: 0.85rem; font-weight: 600; color: var(--text-main); display: flex; flex-direction: column; gap: 2px; }
.wdb-tier-row__price { font-size: 0.75rem; font-weight: 500; color: var(--text-light); }
.wdb-tier-row .wdb-stepper { flex-shrink: 0; min-width: 110px; }
.wdb-tier-total { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border-color); font-size: 0.95rem; color: var(--text-main); }
.wdb-tier-total strong { font-size: 1.2rem; color: var(--primary); }
.wdb-tier-min-note { color: #DC2626; font-size: 0.8rem; margin: 0; }

/* Airport Transfer add-on checkbox list */
.wdb-addon-list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.wdb-addon-check { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--bg-body); border: 1px solid var(--border-color); border-radius: var(--radius-sm); cursor: pointer; font-weight: 400; }
.wdb-addon-check input { accent-color: var(--primary); flex-shrink: 0; }
.wdb-addon-check span { flex: 1; font-size: 0.85rem; color: var(--text-main); }
.wdb-addon-check strong { font-size: 0.85rem; color: var(--primary); font-weight: 700; }
.btn-book:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* Airport transfer zone pricing table */
.wdb-zone-table { width: 100%; border-collapse: collapse; }
.wdb-zone-table tr { border-bottom: 1px solid var(--border-color); }
.wdb-zone-table tr:last-child { border-bottom: none; }
.wdb-zone-table td { padding: 12px 0; color: var(--text-muted); }
.wdb-zone-table td:last-child { text-align: right; font-weight: 700; color: var(--primary); }

/* Airport Transfer pricelist grid (zone cards) */
.wdb-pricelist-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.wdb-pricelist-card { border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 18px; background: var(--bg-body); }
.wdb-pricelist-card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--border-color); }
.wdb-pricelist-card__badge { display: inline-flex; align-items: center; justify-content: center; background: var(--primary); color: white; font-weight: 700; font-size: 0.78rem; padding: 5px 12px; border-radius: var(--radius-full); }
.wdb-pricelist-card__price { font-weight: 800; color: var(--primary-dark); font-size: 0.95rem; }
.wdb-pricelist-card__areas { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.wdb-pricelist-card__areas li { font-size: 0.85rem; color: var(--text-muted); padding-left: 16px; position: relative; }
.wdb-pricelist-card__areas li::before { content: '•'; position: absolute; left: 2px; color: var(--primary); }
.wdb-pricelist-notes { background: var(--primary-light); border: 1px solid var(--border-focus); border-radius: var(--radius-sm); padding: 16px 20px; }
.wdb-pricelist-notes strong { display: block; margin-bottom: 8px; color: var(--primary-dark); font-size: 0.9rem; }
.wdb-pricelist-notes ul { list-style: disc; margin: 0; padding-left: 20px; }
.wdb-pricelist-notes li { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 4px; }

@media (max-width: 768px) { .wdb-pricelist-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .wdb-pricelist-grid { grid-template-columns: 1fr; } }

/* Scroll-reveal utility (respects prefers-reduced-motion above) */
.wdb-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.wdb-reveal.wdb-in-view {
    opacity: 1;
    transform: translateY(0);
}