/* Boatique Public Pages — matches boatiquesydneyboathire.com.au design */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --primary: #10cfd2;
    --primary-dark: #1e787a;
    --primary-light: #e0f7f8;
    --accent: #f1bd6c;
    --accent-dark: #d4a04e;
    --text: #1a1a2e;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-alt: #f8fafb;
    --border: #e5e7eb;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 2px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.10);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-heading: 'Lexend', sans-serif;
    --font-body: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.3;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Navigation ---- */
.pub-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 0 24px;
}

.pub-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.pub-nav-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 0.3px;
}

.pub-nav-brand:hover { color: var(--primary); }

/* ---- Buttons ---- */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: var(--accent);
    color: #1a1a2e;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.2px;
}

.btn-gold:hover {
    background: var(--accent-dark);
    color: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(241,189,108,0.35);
}

.btn-teal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: transparent;
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid var(--primary);
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.2px;
}

.btn-teal:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 16px rgba(16,207,210,0.25);
}

.btn-sm { padding: 6px 16px; font-size: 0.8rem; }

/* ---- Page Hero ---- */
.page-hero {
    background-image:
        linear-gradient(180deg, rgba(10,20,40,0.6) 0%, rgba(10,20,40,0.45) 50%, rgba(10,20,40,0.55) 100%),
        url('/static/hero-harbour-v3.jpg');
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    color: white;
    padding: 96px 24px 88px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 340px;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    position: relative;
    text-shadow: 0 2px 20px rgba(0,0,0,0.7), 0 1px 4px rgba(0,0,0,0.5);
}

.page-hero p {
    opacity: 1;
    font-size: 1.15rem;
    position: relative;
    text-shadow: 0 2px 16px rgba(0,0,0,0.7), 0 1px 3px rgba(0,0,0,0.5);
}

/* ---- Preference Banner ---- */
.pref-banner {
    background: var(--primary-light);
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    padding: 12px 20px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.pref-banner-text { font-size: 0.9rem; color: var(--primary-dark); }

/* ---- Filter Bar ---- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin: 24px 0;
    padding: 16px 20px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.filter-bar label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-bar select {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    background: white;
    color: var(--text);
    cursor: pointer;
}

/* ---- Boat Grid ---- */
.boat-grid-public {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 24px 0 48px;
}

.boat-card-public {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.boat-card-public:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.10);
    color: inherit;
    border-color: rgba(16,207,210,0.2);
}

.boat-card-public:hover .boat-card-img img {
    transform: scale(1.06);
}

.boat-card-public.booked {
    opacity: 0.6;
    pointer-events: none;
}

.boat-card-img {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--bg-alt);
}

.boat-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.boat-card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(transparent, rgba(0,0,0,0.08));
    pointer-events: none;
}

.match-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent);
    color: #1a1a2e;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 9999px;
}

.booked-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    text-align: center;
    padding: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.boat-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.boat-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.2px;
    color: var(--text);
}

.boat-card-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.boat-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 12px;
}

.tag {
    font-size: 0.7rem;
    padding: 2px 8px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 9999px;
    font-weight: 500;
    text-transform: capitalize;
}

.boat-card-price {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.05);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.boat-card-price small {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-light);
}

/* ---- Image Gallery ---- */
.gallery-container {
    margin: 24px 0;
}

.gallery-main {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    display: block;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.gallery-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s, border-color 0.2s;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.gallery-thumb:hover { opacity: 0.9; }
.gallery-thumb.active { opacity: 1; border-color: var(--primary); }

/* ---- Detail Page ---- */
.detail-hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    margin: 24px 0;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.detail-header h1 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.detail-header-price {
    text-align: right;
}

.detail-header-price .price-amount {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.detail-header-price .price-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

.detail-location {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* ---- Specs Grid ---- */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 32px 0;
}

.spec-card {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 20px 16px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.2s;
}

.spec-card:hover {
    border-color: rgba(16,207,210,0.15);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.spec-card .spec-icon { font-size: 1.5rem; margin-bottom: 6px; }
.spec-card .spec-value { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; }
.spec-card .spec-label { font-size: 0.8rem; color: var(--text-light); margin-top: 2px; }

/* ---- Section Headings ---- */
.section-title {
    font-size: 1.3rem;
    margin: 40px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-light);
}

/* ---- Features Grid ---- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 0.9rem;
}

.feature-check { color: var(--primary); font-weight: bold; }

/* ---- Pricing Table ---- */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 32px;
    font-size: 0.9rem;
}

.pricing-table th {
    background: var(--primary-dark);
    color: white;
    padding: 10px 16px;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 500;
}

.pricing-table td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
}

.pricing-table tr:nth-child(even) td { background: var(--bg-alt); }

/* ---- Restrictions ---- */
.restrictions-list {
    list-style: none;
    margin: 12px 0;
}

.restrictions-list li {
    padding: 8px 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #b45309;
}

/* ---- Pricing Estimate Widget ---- */
.estimate-widget {
    background: var(--bg);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    padding: 32px;
    margin: 16px 0 32px;
    box-shadow: var(--shadow);
}

.estimate-inputs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: end;
}

.estimate-field {
    min-width: 0;
    overflow: hidden;
}

.estimate-field input[type="date"] {
    min-width: 0;
    max-width: 100%;
}

.estimate-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-light);
}

.estimate-field input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.hours-pills {
    display: flex;
    gap: 8px;
}

.hours-pill {
    flex: 1;
    padding: 10px 12px;
    border: 2px solid var(--border);
    border-radius: 9999px;
    background: var(--bg);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.hours-pill:hover {
    border-color: var(--primary);
}

.hours-pill.active {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary-dark);
}

.estimate-result {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid var(--border);
}

.estimate-min-note {
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.85rem;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.estimate-total {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.estimate-per-person {
    font-size: 1.1rem;
    color: var(--text);
    margin-top: 4px;
}

.estimate-breakdown {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 8px;
}

.estimate-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 4px;
    font-style: italic;
}

/* ---- Guided Pricing Widget (Complex Boats) ---- */
.pricing-step {
    border-top: 1px solid var(--border);
    padding: 20px 0 0;
    margin-top: 20px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.4s ease, padding 0.3s ease;
}

.pricing-step.visible {
    opacity: 1;
    max-height: 2000px;
    overflow: visible;
}

.pricing-step-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.charter-type-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.charter-type-card {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    background: var(--bg);
}

.charter-type-card:hover:not(.disabled) {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.charter-type-card.active {
    border-color: var(--primary);
    background: var(--primary-light);
}

.charter-type-card.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.charter-type-card .card-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 4px;
}

.charter-type-card .card-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.charter-type-card .card-price {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-dark);
}

.charter-type-card .card-note {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 4px;
}

.menu-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 8px;
    background: var(--bg);
}

.menu-option:hover:not(.disabled) {
    border-color: var(--primary);
}

.menu-option.active {
    border-color: var(--primary);
    background: var(--primary-light);
}

.menu-option.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.menu-option .radio-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.menu-option.active .radio-dot {
    border-color: var(--primary);
    background: var(--primary);
}

.menu-option.active .radio-dot::after {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.menu-option .menu-info {
    flex: 1;
}

.menu-option .menu-name {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text);
}

.menu-option .menu-detail {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 2px;
}

.menu-option .menu-price {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-dark);
    flex-shrink: 0;
}

.beverage-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.byo-summary {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-top: 8px;
}

.byo-summary ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.byo-summary li {
    padding: 4px 0;
    font-size: 0.9rem;
    color: var(--text);
}

.byo-summary li::before {
    content: '\2022';
    color: var(--primary);
    font-weight: bold;
    margin-right: 8px;
}

.breakdown-table {
    width: 100%;
    margin-top: 12px;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breakdown-row .row-amount {
    font-weight: 500;
    color: var(--text);
}

.breakdown-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0 4px;
    margin-top: 8px;
    border-top: 3px solid var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-dark);
}

.breakdown-total .total-amount {
    font-size: 1.6rem;
}

.breakdown-total .total-label {
    font-size: 1rem;
}

.breakdown-pp {
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 2px;
}

.corporate-banner {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #f59e0b;
    border-radius: var(--radius);
    padding: 20px 24px;
    text-align: center;
    margin-top: 16px;
}

.corporate-banner .banner-text {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    color: #92400e;
    margin-bottom: 12px;
}

.corporate-banner .btn-gold {
    display: inline-flex;
}

@media (max-width: 768px) {
    .charter-type-cards {
        grid-template-columns: 1fr;
    }
    .beverage-pills {
        flex-direction: column;
    }
    .beverage-pills .hours-pill {
        text-align: center;
    }
    #stepQuoteCapture .inline-quote-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- Calendar ---- */
.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.calendar-nav-btn {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 9999px;
    background: var(--bg);
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
}

.calendar-nav-btn:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary-dark);
}

.calendar-nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.calendar-nav-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
}

.calendar-container {
    max-width: 420px;
    margin: 0 auto 32px;
}

.calendar-month h4 {
    text-align: center;
    margin-bottom: 8px;
    font-size: 1rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.calendar-grid .day-header {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-light);
    padding: 4px;
}

.calendar-grid .day-cell {
    text-align: center;
    font-size: 0.8rem;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    min-height: 32px;
    display: flex;
    flex-direction: column;
}

.day-cell .slot-day,
.day-cell .slot-evening {
    flex: 1;
}

.day-cell .slot-day.available { background: #d1fae5; }
.day-cell .slot-day.booked { background: #fee2e2; }
.day-cell .slot-day.on_request { background: #fef3c7; }

.day-cell .slot-evening.available { background: #d1fae5; }
.day-cell .slot-evening.booked { background: #fee2e2; }
.day-cell .slot-evening.on_request { background: #fef3c7; }

.day-cell .day-num {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 500;
    z-index: 1;
    color: var(--text);
    font-size: 0.75rem;
    line-height: 1;
}

.day-cell.past { opacity: 0.4; }
.day-cell.empty { background: transparent; }

.calendar-legend {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    font-size: 0.8rem;
    justify-content: center;
}

.calendar-legend span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    display: inline-block;
}

.legend-dot.available { background: #d1fae5; }
.legend-dot.half { background: linear-gradient(to bottom, #d1fae5 50%, #fee2e2 50%); }
.legend-dot.booked { background: #fee2e2; }
.legend-dot.on_request { background: #fef3c7; }

.calendar-legend-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* ---- Similar Boats ---- */
.similar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 16px 0 48px;
}

.similar-grid .boat-card-public { font-size: 0.9rem; }
.similar-grid .boat-card-img { height: 150px; }

/* ---- Preference Modal ---- */
.pref-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.pref-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.pref-modal {
    background: white;
    border-radius: var(--radius);
    padding: 32px;
    max-width: 520px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.pref-modal h2 {
    font-size: 1.4rem;
    margin-bottom: 4px;
    color: var(--primary-dark);
}

.pref-modal .subtitle {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.pref-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
}

.pref-field { margin-bottom: 20px; }

.pref-field label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.pref-field input,
.pref-field select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    box-sizing: border-box;
}

.pref-field select {
    appearance: none;
    -webkit-appearance: none;
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center;
    padding-right: 36px;
    cursor: pointer;
    color: var(--text);
}

/* ---- Budget Grid ---- */
.budget-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.budget-card {
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.budget-card:hover { border-color: var(--primary); }
.budget-card.selected { border-color: var(--primary); background: var(--primary-light); }
.budget-card .budget-icon { font-size: 1.5rem; display: block; margin-bottom: 2px; }
.budget-card .budget-desc { font-size: 0.75rem; color: var(--text-light); font-weight: 400; }

/* ---- Larger Button ---- */
.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

/* ---- Share Dropdown ---- */
.share-wrapper {
    position: relative;
}

.share-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    min-width: 160px;
    z-index: 50;
    display: none;
    overflow: hidden;
}

.share-dropdown.active { display: block; }

.share-dropdown a {
    display: block;
    padding: 10px 16px;
    font-size: 0.9rem;
    color: var(--text);
    transition: background 0.15s;
}

.share-dropdown a:hover {
    background: var(--bg-alt);
    color: var(--primary-dark);
}

/* ---- Talk to Us ---- */
.talk-to-us {
    text-align: center;
    margin: 16px 0 32px;
}

.talk-to-us h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text);
}

.talk-options {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.talk-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 24px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.2s;
    color: var(--text);
    min-width: 200px;
}

.talk-option:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: var(--text);
}

.talk-option .talk-icon { font-size: 1.3rem; }
.talk-option strong { font-size: 0.9rem; }
.talk-option span:last-child { font-size: 0.8rem; color: var(--text-light); }

/* ---- Self-Drive Contact Form ---- */
.sd-contact-form {
    background: #fff; border-radius: 16px; border: 1px solid var(--border);
    padding: 24px; margin: 20px 0;
}
.sd-contact-form h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.4rem; font-weight: 700; margin-bottom: 4px;
}
.sd-form-subtitle { font-size: 0.85rem; color: var(--text-light); margin-bottom: 20px; }
.sd-form-context {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px; border-radius: 10px;
    background: var(--primary-light, #f0fdfa); border: 1px solid #d1fae5;
    margin-bottom: 16px; font-size: 0.85rem; color: #065f46;
}
.sd-form-row { display: flex; gap: 10px; }
.sd-form-group { margin-bottom: 14px; flex: 1; }
.sd-form-group label {
    display: block; font-size: 0.75rem; font-weight: 600;
    color: var(--text-light); margin-bottom: 4px;
    text-transform: uppercase; letter-spacing: 0.3px;
}
.sd-form-group input,
.sd-form-group textarea {
    width: 100%; padding: 10px 14px; border-radius: 10px;
    border: 1.5px solid var(--border); font-size: 0.9rem;
    font-family: inherit; color: var(--text); transition: border-color 0.2s;
}
.sd-form-group input:focus,
.sd-form-group textarea:focus { outline: none; border-color: var(--primary); }
.sd-form-group textarea { resize: vertical; min-height: 80px; }
.sd-form-submit {
    width: 100%; padding: 14px; border-radius: 10px;
    background: var(--primary); color: #fff;
    font-size: 0.9rem; font-weight: 600; border: none; cursor: pointer;
    transition: all 0.2s; margin-top: 4px;
}
.sd-form-submit:hover { background: var(--primary-dark, #0a5f61); }
.sd-form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.sd-form-error {
    color: #dc2626; font-size: 0.85rem; margin-top: 8px; text-align: center;
}
.sd-form-success { text-align: center; padding: 30px 20px; }
.sd-form-check {
    width: 48px; height: 48px; border-radius: 50%;
    background: #d1fae5; display: flex; align-items: center;
    justify-content: center; margin: 0 auto 12px;
}
.sd-form-success h4 { font-size: 1.1rem; margin-bottom: 6px; }
.sd-form-success p { font-size: 0.85rem; color: var(--text-light); }
@media (max-width: 600px) {
    .sd-form-row { flex-direction: column; gap: 0; }
}

/* ---- Sticky Bar (always visible) ---- */
.sticky-mobile-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
    padding: 12px 16px;
    gap: 10px;
}

.sticky-mobile-bar > .btn-gold,
.sticky-mobile-bar > .btn-teal {
    flex: 1;
    justify-content: center;
    text-align: center;
}

/* ---- Footer ---- */
.pub-footer {
    background: #1a1a2e;
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 32px 24px;
    margin-top: 64px;
    margin-bottom: 70px;
    font-size: 0.85rem;
}

.pub-footer a { color: var(--primary); }

/* ---- Empty State ---- */
.empty-state {
    text-align: center;
    padding: 64px 24px;
    color: var(--text-light);
}

.empty-state h3 { margin-bottom: 8px; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .page-hero { padding: 32px 16px; }
    .page-hero h1 { font-size: 1.5rem; }

    .boat-grid-public { grid-template-columns: 1fr; }
    .similar-grid { grid-template-columns: repeat(2, 1fr); }
    .specs-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .budget-grid { grid-template-columns: repeat(2, 1fr); }

    .gallery-main { height: 250px; }
    .gallery-thumb { width: 60px; height: 45px; }
    .detail-hero-img { height: 250px; }
    .detail-header { flex-direction: column; }
    .detail-header-price { text-align: left; }
    .estimate-inputs { grid-template-columns: 1fr; }
    .estimate-widget { padding: 20px; }

    .filter-bar { flex-direction: column; align-items: stretch; }

    .pref-banner { flex-direction: column; text-align: center; }

    .talk-options { flex-direction: column; align-items: center; }
    .talk-option { width: 100%; min-width: 0; }

    .sticky-mobile-bar .btn-gold,
    .sticky-mobile-bar .btn-teal {
        font-size: 0.9rem;
        padding: 12px 16px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .boat-grid-public { grid-template-columns: repeat(2, 1fr); }
    .similar-grid { grid-template-columns: repeat(2, 1fr); }
    .specs-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Description ---- */
.boat-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #374151;
    margin: 12px 0 24px;
}

/* ---- Compact Filter Chips ---- */
.filter-bar-compact {
    display: flex;
    justify-content: center;
    margin: -20px 24px 20px;
    position: relative;
    z-index: 10;
}
.filter-chips {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    background: white;
    padding: 8px 16px;
    border-radius: 999px;
    box-shadow: var(--shadow-md);
}
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-family: var(--font-body);
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.2s;
}
.filter-chip:hover { border-color: var(--primary); }
.filter-edit-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 8px;
    font-family: var(--font-body);
}
.filter-edit-btn:hover { text-decoration: underline; }

.filter-bar-collapsed { display: none !important; }
.filter-bar-new:not(.filter-bar-collapsed) + .filter-bar-compact,
.filter-bar-new:not(.filter-bar-collapsed) ~ .filter-bar-compact { display: none; }

.filter-collapse-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
}
.filter-collapse-btn:hover { color: var(--text); }

/* ---- New Filter Bar ---- */
.filter-bar-new {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
    margin: -28px 24px 24px;
    padding: 24px 28px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 10;
}

.filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.filter-field label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Input wrapper with icon */
.filter-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.filter-icon {
    position: absolute;
    left: 12px;
    font-size: 1rem;
    pointer-events: none;
    z-index: 1;
}

.filter-input-wrap input[type="date"] {
    padding: 12px 14px 12px 38px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--bg-alt);
    color: var(--text);
    width: 180px;
    transition: border-color 0.2s, background 0.2s;
}

.filter-input-wrap input:focus {
    border-color: var(--primary);
    background: white;
    outline: none;
}

/* Guest stepper */
.guest-stepper {
    display: flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    overflow: hidden;
    transition: border-color 0.2s;
}

.guest-stepper:focus-within {
    border-color: var(--primary);
    background: white;
}

.stepper-btn {
    width: 40px;
    height: 44px;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    user-select: none;
    -webkit-user-select: none;
}

.stepper-btn:hover {
    background: var(--primary-light);
}

.stepper-btn:active {
    background: var(--primary);
    color: white;
}

.guest-stepper input[type="number"] {
    width: 60px;
    border: none;
    background: transparent;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    padding: 10px 0;
    -moz-appearance: textfield;
}

.guest-stepper input[type="number"]::-webkit-inner-spin-button,
.guest-stepper input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.guest-stepper input[type="number"]:focus {
    outline: none;
}

/* Price slider */
.filter-field-slider {
    flex: 1;
    min-width: 180px;
}

.price-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 2px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 4px;
}

.filter-field input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border);
    outline: none;
    margin-top: 10px;
    cursor: pointer;
}

.filter-field input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: transform 0.15s;
}

.filter-field input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.filter-field input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.slider-range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    font-size: 0.7rem;
    color: var(--text-light);
}

/* Search button */
.filter-field-btn {
    justify-content: flex-end;
}

.filter-search-btn {
    padding: 12px 28px;
    font-size: 0.95rem;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(241, 189, 108, 0.4);
}

.filter-search-icon {
    font-size: 0.9rem;
}

/* ---- Share Row ---- */
.share-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin: 8px 0 4px;
}

/* ---- Estimate Updating Indicator ---- */
.estimate-updating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--primary-dark);
    font-style: italic;
}

.updating-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse-dot 1s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ---- Multi-Select Card Styles ---- */
.boat-card-public.selected {
    border: 2px solid var(--primary);
    box-shadow: 0 0 0 2px var(--primary-light);
}

.boat-card-public.selected .btn-quote-add {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.boat-card-img-link {
    text-decoration: none;
    color: inherit;
}

.boat-card-body-link {
    text-decoration: none;
    color: inherit;
    display: block;
    flex: 1;
}

.boat-card-body-link:hover h3 {
    color: var(--primary-dark);
}

.boat-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.btn-quote-add {
    padding: 6px 14px;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 500;
    border: 2px solid var(--primary);
    border-radius: 9999px;
    background: transparent;
    color: var(--primary-dark);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-quote-add:hover {
    background: var(--primary-light);
}

/* ---- Floating Multi-Quote Bar ---- */
.multi-quote-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 98;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.multi-quote-count {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--primary-dark);
}

/* ---- Quote Chips ---- */
.multi-quote-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.quote-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
}

.chip-remove {
    background: none;
    border: none;
    color: var(--primary-dark);
    font-size: 1rem;
    cursor: pointer;
    padding: 0 0 0 2px;
    line-height: 1;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.chip-remove:hover {
    opacity: 1;
}

.time-pills-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    margin-top: 4px;
}

/* ---- Comparison Modal ---- */
.compare-overlay {
    position: fixed; inset: 0; z-index: 1100;
    background: rgba(0,0,0,0.6);
    display: none; align-items: center; justify-content: center;
    padding: 20px;
}
.compare-overlay.active { display: flex; }
.compare-modal {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    max-width: 95vw;
    max-height: 90vh;
    overflow: auto;
    position: relative;
    width: 900px;
}
.compare-modal h2 { margin: 0 0 16px; font-size: 1.3rem; }
.compare-loading { text-align: center; padding: 40px; color: var(--text-light); }
.compare-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 500px;
}
.compare-table th {
    padding: 10px 14px;
    background: var(--teal);
    color: #fff;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}
.compare-table th a { color: #fff; text-decoration: underline; }
.compare-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    text-align: center;
    vertical-align: middle;
}
.compare-table tr:nth-child(even) { background: #f9fafb; }
.compare-label {
    text-align: left !important;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
    min-width: 100px;
}
.compare-img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}
.compare-boat-name {
    margin-top: 6px;
    font-weight: 600;
    font-size: 0.95rem;
}
.compare-boat-name a {
    color: #1a3a4a;
    text-decoration: none;
}
.compare-boat-name a:hover {
    color: #c9a84c;
}
/* Desktop table / Mobile cards toggle */
.compare-mobile { display: none; }
.compare-desktop { display: block; }

/* Mobile compare cards */
.compare-cards-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
}
.compare-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    background: #f9fafb;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.compare-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.compare-card h3 {
    margin: 12px 16px 8px;
    font-size: 1.1rem;
}
.compare-card h3 a { color: var(--teal); text-decoration: none; }
.compare-card-specs { padding: 0 16px 16px; }
.compare-card-row {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
}
.compare-card-row:last-child { border-bottom: none; }
.compare-card-label { color: var(--text-light); font-weight: 500; }
.compare-card-value { text-align: right; max-width: 55%; }
.compare-cards-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px 0 4px;
}
.compare-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--border);
    transition: background 0.2s;
}
.compare-dot.active { background: var(--teal); }

@media (max-width: 768px) {
    .compare-mobile { display: block; }
    .compare-desktop { display: none; }
    .compare-modal {
        padding: 16px;
        border-radius: 14px;
        max-height: 92vh;
        width: 100%;
    }
    .compare-overlay { padding: 8px; }
}

/* ---- Exit Intent Popup ---- */
.exit-intent-overlay {
    position: fixed; inset: 0; z-index: 1200;
    background: rgba(0,0,0,0.65);
    display: none; align-items: center; justify-content: center;
    padding: 20px;
}
.exit-intent-overlay.active { display: flex; }
.exit-intent-modal {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    max-width: 440px;
    width: 100%;
    position: relative;
    text-align: center;
}
.exit-intent-modal h2 {
    margin: 0 0 8px;
    font-size: 1.4rem;
    color: var(--dark);
}
.exit-intent-modal p { color: var(--text-light); margin: 0 0 16px; }
.exit-intent-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 16px;
}
.exit-intent-modal .pref-field {
    margin-bottom: 10px;
}
.exit-intent-modal input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-body);
}

/* ---- Share Bottom Sheet (mobile) ---- */
@media (max-width: 768px) {
    .filter-bar-compact {
        margin: -16px 12px 16px;
    }
    .filter-chips {
        flex-wrap: wrap;
        justify-content: center;
        padding: 6px 12px;
        gap: 6px;
    }
    .filter-chip {
        font-size: 0.78rem;
        padding: 5px 10px;
    }

    .filter-bar-new {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        margin: -20px 12px 20px;
        padding: 20px;
    }

    .filter-input-wrap input[type="date"] {
        width: 100%;
    }

    .guest-stepper {
        width: 100%;
    }

    .guest-stepper input[type="number"] {
        flex: 1;
    }

    .filter-field-btn {
        align-items: stretch;
    }

    .filter-search-btn {
        width: 100%;
        justify-content: center;
    }

    .boat-search-inner {
        flex: 1 1 auto;
    }

    .share-dropdown {
        position: fixed;
        top: auto;
        bottom: 70px;
        left: 0;
        right: 0;
        margin-top: 0;
        border-radius: var(--radius) var(--radius) 0 0;
        z-index: 100;
        min-width: 0;
    }

    .share-dropdown a {
        padding: 14px 20px;
        font-size: 1rem;
        text-align: center;
        border-bottom: 1px solid var(--border);
    }

    .multi-quote-bar {
        padding: 12px 16px;
    }
}

/* ---- Urgency Badges ---- */
.urgency-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 9999px;
    z-index: 2;
    line-height: 1.3;
}

.urgency-hot {
    background: #dc2626;
    color: white;
}

.urgency-warm {
    background: #f59e0b;
    color: #1a1a2e;
}

/* ---- Availability Badges ---- */
.avail-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 10px;
    z-index: 2;
    line-height: 1.3;
}

.avail-available {
    background: rgba(16, 185, 129, 0.85);
    color: white;
}

.avail-partial {
    background: rgba(245, 158, 11, 0.9);
    color: #1a1a2e;
}

.avail-booked {
    background: rgba(0, 0, 0, 0.7);
    color: white;
}

.boat-card-public.partial {
    opacity: 0.85;
}

/* ---- Personalisation Badges ---- */
.personal-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 6px;
}

.personal-badge {
    font-size: 0.68rem;
    padding: 2px 8px;
    background: #d1fae5;
    color: #065f46;
    border-radius: 9999px;
    font-weight: 500;
}

/* ---- Occasion Tags ---- */
.tag-occasion {
    background: #fef3c7;
    color: #92400e;
}

/* ---- Per-Person Price ---- */
.price-per-person {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-light);
    font-family: var(--font-body);
    margin-top: 2px;
}

/* ---- Risk Reduction Copy ---- */
.risk-reduction {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

/* ---- Boat Name Search ---- */
.boat-search-wrap {
    margin: 16px 0 4px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.boat-search-inner {
    position: relative;
    flex: 0 1 320px;
}
.boat-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    color: var(--text-light);
    pointer-events: none;
    z-index: 1;
}
.boat-search-input {
    width: 100%;
    padding: 10px 38px 10px 40px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text);
    background: var(--bg-alt);
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}
.boat-search-input::placeholder {
    color: var(--text-light);
    font-weight: 400;
}
.boat-search-input:focus {
    border-color: var(--primary);
    background: white;
}
.boat-search-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--border);
    border: none;
    font-size: 0.85rem;
    color: var(--text-light);
    cursor: pointer;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border-radius: 50%;
    transition: background 0.15s, color 0.15s;
}
.boat-search-clear:hover {
    background: var(--text-light);
    color: white;
}
.boat-search-count {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-light);
    white-space: nowrap;
}

/* ---- Recently Viewed Section ---- */
.recently-viewed-section {
    margin: 24px 0 8px;
}

.recently-viewed-section h3 {
    font-size: 1.05rem;
    margin-bottom: 12px;
    color: var(--text);
}

.recently-viewed-strip {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.recently-viewed-strip::-webkit-scrollbar {
    height: 4px;
}

.recently-viewed-strip::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px;
}

.rv-card {
    flex-shrink: 0;
    width: 180px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}

.rv-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: inherit;
}

.rv-card-img {
    width: 100%;
    height: 100px;
    overflow: hidden;
    background: var(--bg-alt);
}

.rv-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rv-card-body {
    padding: 8px 10px;
}

.rv-card-name {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rv-card-meta {
    font-size: 0.7rem;
    color: var(--text-light);
    margin-top: 2px;
}

/* ---- Sticky Bar Restructured ---- */
.sticky-bar-reassurance {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    font-size: 0.78rem;
    margin: 0 0 6px;
    line-height: 1.2;
}

.sticky-bar-buttons {
    display: flex;
    gap: 10px;
}

.sticky-bar-buttons .btn-gold,
.sticky-bar-buttons .btn-teal {
    flex: 1;
    justify-content: center;
    text-align: center;
}

/* Update sticky bar to column layout for reassurance text */
.sticky-mobile-bar {
    flex-direction: column;
    align-items: stretch;
}

/* ---- Mobile: Recently Viewed ---- */
@media (max-width: 768px) {
    .rv-card {
        width: 150px;
    }

    .rv-card-img {
        height: 80px;
    }

    .sticky-bar-buttons .btn-gold,
    .sticky-bar-buttons .btn-teal {
        font-size: 0.9rem;
        padding: 12px 16px;
    }
}

/* ---- Onboarding Quiz Overlay ---- */
.quiz-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.quiz-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.quiz-modal {
    background: white;
    border-radius: 16px;
    max-width: 480px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.quiz-progress {
    height: 4px;
    background: var(--border);
    width: 100%;
}

.quiz-progress-fill {
    height: 100%;
    background: var(--primary);
    transition: width 0.4s ease;
    border-radius: 0 2px 2px 0;
}

.quiz-skip {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
    text-decoration: none;
    z-index: 2;
}

.quiz-skip:hover {
    color: var(--text);
}

.quiz-step {
    display: none;
    padding: 36px 32px 32px;
    text-align: center;
    position: relative;
}

.quiz-step.active {
    display: block;
    animation: quizFadeIn 0.3s ease;
}

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

.quiz-step-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.quiz-step h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.quiz-step-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.quiz-back-btn {
    position: absolute;
    top: 16px;
    left: 20px;
    background: none;
    border: none;
    font-size: 0.85rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
}

.quiz-back-btn:hover {
    color: var(--text);
}

/* Guest number input */
.quiz-guests-input-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.quiz-guest-stepper {
    display: flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-alt);
    overflow: hidden;
    transition: border-color 0.2s;
}

.quiz-guest-stepper:focus-within {
    border-color: var(--primary);
    background: white;
}

.quiz-stepper-btn {
    width: 56px;
    height: 64px;
    border: none;
    background: transparent;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    user-select: none;
    -webkit-user-select: none;
}

.quiz-stepper-btn:hover {
    background: var(--primary-light);
}

.quiz-stepper-btn:active {
    background: var(--primary);
    color: white;
}

.quiz-guests-number {
    width: 100px;
    border: none;
    background: transparent;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text);
    padding: 10px 0;
    -moz-appearance: textfield;
}

.quiz-guests-number::-webkit-inner-spin-button,
.quiz-guests-number::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quiz-guests-number:focus {
    outline: none;
}

.quiz-guest-hint {
    font-size: 0.85rem;
    color: var(--primary-dark);
    font-weight: 500;
    min-height: 1.2em;
}

.quiz-next-btn {
    padding: 12px 40px;
    font-size: 1rem;
    border-radius: 9999px;
}

/* Date step */
.quiz-date-wrap {
    margin: 0 auto 16px;
    max-width: 240px;
}

.quiz-date-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    text-align: center;
    color: var(--text);
    background: var(--bg-alt);
    transition: border-color 0.2s;
}

.quiz-date-input:focus {
    border-color: var(--primary);
    background: white;
    outline: none;
}

.quiz-flexible-link {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--primary-dark);
    text-decoration: none;
    padding: 8px 0;
}

.quiz-flexible-link:hover {
    color: var(--primary);
}

/* Budget step */
.quiz-budget-display {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.quiz-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--border);
    outline: none;
    cursor: pointer;
}

.quiz-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s;
}

.quiz-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.quiz-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.quiz-slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

.quiz-submit {
    width: 100%;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(241, 189, 108, 0.4);
}

/* Boat type tiles */
.quiz-boat-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 16px 0;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}
.quiz-type-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 8px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.quiz-type-tile:hover {
    border-color: var(--primary);
    background: rgba(241, 189, 108, 0.05);
}
.quiz-type-tile.selected {
    border-color: var(--primary);
    background: rgba(241, 189, 108, 0.12);
    box-shadow: 0 0 0 1px var(--primary);
}
.quiz-type-tile.quiz-type-all {
    border-style: dashed;
    opacity: 0.85;
}
.quiz-type-icon {
    font-size: 1.5rem;
    line-height: 1;
}
.quiz-type-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}
.quiz-type-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.quiz-type-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}
.quiz-skip-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 8px;
    font-family: inherit;
}
.quiz-skip-btn:hover {
    color: var(--text);
}

@media (max-width: 480px) {
    .quiz-boat-types {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .quiz-type-tile {
        padding: 10px 6px;
    }
}

/* Boat type filter pills in expanded filter bar */
.filter-field-types { grid-column: 1 / -1; }
.filter-type-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.filter-type-pill {
    padding: 6px 12px;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    color: var(--text);
    font-size: 0.8rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
}
.filter-type-pill:hover {
    border-color: var(--primary);
}
.filter-type-pill.active {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 600;
}

/* Change preferences link in hero */
.change-prefs-link {
    display: inline-block;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
    padding-bottom: 1px;
    transition: color 0.2s;
}

.change-prefs-link:hover {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.7);
}

/* ---- Detail Gallery Carousel ---- */
.gallery-carousel {
    position: relative;
    margin: 24px 0;
    overflow: hidden;
    border-radius: var(--radius);
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease;
}

.carousel-slide {
    width: 100%;
    height: 400px;
    object-fit: cover;
    flex-shrink: 0;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.85);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--text);
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: background 0.2s;
}

.carousel-arrow:hover { background: white; }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

.carousel-counter {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    z-index: 2;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px 0;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: background 0.2s;
}

.carousel-dot.active { background: var(--primary); }

/* ---- Card Image Carousel ---- */
.card-carousel {
    position: relative;
}

.card-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s;
}

.card-slide.active {
    opacity: 1;
    position: relative;
}

.card-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    z-index: 3;
}

.card-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transition: background 0.2s;
}

.card-dot.active { background: white; }

.card-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.85);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 1.1rem;
    line-height: 1;
    color: var(--text);
    cursor: pointer;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.card-carousel { cursor: pointer; }
.card-carousel:hover .card-arrow { opacity: 1; }
.card-prev { left: 6px; }
.card-next { right: 6px; }

/* ---- Compare Remove Button ---- */
.compare-remove-btn {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 2px 6px;
    line-height: 1;
    vertical-align: middle;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
}
.compare-remove-btn:hover {
    color: #ef4444;
    background: #fee2e2;
}
.compare-remove-mobile {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255,255,255,0.9);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    z-index: 2;
}
.compare-card { position: relative; }

/* ---- Shortlist Add Button (Detail page, in share row) ---- */
#addToQuoteBtn.added {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .carousel-slide { height: 250px; }
    .carousel-arrow { width: 32px; height: 32px; font-size: 1.2rem; }
    .carousel-prev { left: 8px; }
    .carousel-next { right: 8px; }
    .card-arrow { opacity: 0.7; }
}

/* Quiz mobile responsive */
@media (max-width: 768px) {
    .quiz-modal {
        width: 96%;
        max-width: none;
    }

    .quiz-step {
        padding: 28px 20px 24px;
    }

    .quiz-step h2 {
        font-size: 1.25rem;
    }

    .quiz-budget-display {
        font-size: 1.6rem;
    }
}

/* ==========================================================================
   Self-Drive Pages
   ========================================================================== */

/* ---- Hero ---- */
.sd-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 80px 24px 64px;
    text-align: center;
}

.sd-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: white;
}

.sd-hero .sd-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    max-width: 600px;
    margin: 0 auto;
}

/* ---- Showcase (image + content side-by-side) ---- */
.sd-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 64px 0;
    border-bottom: 1px solid var(--border);
}

.sd-showcase.reversed { direction: rtl; }
.sd-showcase.reversed > * { direction: ltr; }

.sd-showcase-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.sd-showcase-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.sd-showcase-content h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.sd-showcase-price {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.sd-selling-points {
    list-style: none;
    margin-bottom: 24px;
}

.sd-selling-points li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text);
}

.sd-selling-points li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

.sd-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ---- Comparison Table ---- */
.sd-compare {
    padding: 64px 0;
}

.sd-compare h2 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 32px;
}

.sd-compare-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.sd-compare-table th,
.sd-compare-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.sd-compare-table thead th {
    background: var(--text);
    color: white;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.05rem;
}

.sd-compare-table tbody tr:nth-child(even) { background: var(--bg-alt); }
.sd-compare-table tbody td:first-child {
    font-weight: 500;
    color: var(--text-light);
    white-space: nowrap;
}

/* ---- How It Works (3 steps) ---- */
.sd-steps {
    padding: 64px 0;
    text-align: center;
    background: var(--bg-alt);
}

.sd-steps h2 {
    font-size: 1.6rem;
    margin-bottom: 40px;
}

.sd-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.sd-step {
    padding: 24px;
}

.sd-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.sd-step h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.sd-step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ---- Badges ---- */
.sd-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 9999px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.sd-badge.no-licence {
    background: #d1fae5;
    color: #065f46;
}

.sd-badge.licence-required {
    background: #fef3c7;
    color: #92400e;
}

/* ---- Detail Page Pricing Cards ---- */
.sd-pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.sd-pricing-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}

.sd-pricing-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.sd-pricing-card .price {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.sd-pricing-card .price-note {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ---- Club CTA Banner ---- */
.sd-club-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: var(--radius);
    padding: 32px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 40px 0;
}

.sd-club-banner h3 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 8px;
}

.sd-club-banner p {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
}

/* ---- Membership Tier Cards ---- */
.sd-tier-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.sd-tier-card {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sd-tier-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.sd-tier-card.popular {
    border-color: var(--primary);
}

.sd-tier-card.popular::before {
    content: "Most Popular";
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--primary);
    color: white;
    padding: 4px 14px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 500;
}

.sd-tier-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.sd-tier-card .tier-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.sd-tier-card .tier-price small {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
}

.sd-tier-card .tier-detail {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 4px 0 20px;
}

.sd-tier-card ul {
    list-style: none;
    margin-bottom: 24px;
}

.sd-tier-card ul li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    font-size: 0.95rem;
}

.sd-tier-card ul li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

/* ---- FAQ Accordion ---- */
.sd-faq {
    margin: 40px 0;
}

.sd-faq h2 {
    font-size: 1.4rem;
    margin-bottom: 24px;
}

.sd-faq-item {
    border-bottom: 1px solid var(--border);
}

.sd-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px 0;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    text-align: left;
}

.sd-faq-q::after {
    content: "+";
    font-size: 1.3rem;
    color: var(--text-light);
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 16px;
}

.sd-faq-item.open .sd-faq-q::after {
    content: "\2212";
}

.sd-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.sd-faq-a-inner {
    padding: 0 0 16px;
    color: var(--text-light);
    line-height: 1.7;
}

.sd-faq-item.open .sd-faq-a {
    max-height: 500px;
}

/* ---- Interest Form ---- */
.sd-interest-form {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 32px;
    max-width: 500px;
    margin: 0 auto;
}

.sd-interest-form .pref-field {
    margin-bottom: 16px;
}

.sd-interest-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.sd-interest-form input,
.sd-interest-form select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
}

/* ---- Requirements Note ---- */
.sd-requirements {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin: 24px 0;
    font-size: 0.9rem;
    color: #92400e;
}

/* ---- Costs Breakdown ---- */
.sd-costs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.sd-cost-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
}

.sd-cost-item .cost-amount {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.sd-cost-item .cost-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* ---- Included List ---- */
.sd-included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin: 24px 0;
}

.sd-included-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
}

.sd-included-item .check {
    color: var(--primary);
    font-weight: 600;
}

.sd-not-included-item .check {
    color: #ef4444;
}

/* ---- Nav link ---- */
.pub-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ---- Full-bleed Hero (landing page) ---- */
.sd-hero-full {
    position: relative;
    height: 70vh;
    min-height: 420px;
    max-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sd-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 40%;
    transform: scale(1.05);
}

.sd-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26,26,46,0.55) 0%, rgba(26,26,46,0.8) 100%);
}

.sd-hero-text {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 0 24px;
}

.sd-hero-text h1 {
    font-size: 2.8rem;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
    line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.sd-hero-text p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
}

.sd-hero-scroll {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    animation: sd-bounce 2s ease infinite;
}

@keyframes sd-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ---- Boat Showcase Cards (landing page) ---- */
.sd-boat-card-section {
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}

.sd-boat-card-section:last-of-type { border-bottom: none; }

.sd-boat-card {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.sd-boat-card:nth-child(even) { direction: rtl; }
.sd-boat-card:nth-child(even) > * { direction: ltr; }

.sd-boat-card-images {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 8px;
    border-radius: var(--radius);
    overflow: hidden;
}

.sd-card-img-main img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius) 0 0 var(--radius);
}

.sd-card-img-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sd-card-img-grid img {
    width: 100%;
    height: calc(160px - 4px);
    object-fit: cover;
    display: block;
}

.sd-card-img-grid img:first-child { border-radius: 0 var(--radius) 0 0; }
.sd-card-img-grid img:last-child { border-radius: 0 0 var(--radius) 0; }

.sd-boat-card-body {
    padding: 8px 0;
}

.sd-boat-card-header { margin-bottom: 20px; }

.sd-boat-card-header h2 {
    font-size: 1.8rem;
    margin: 8px 0 4px;
}

.sd-boat-card-tagline {
    color: var(--text-light);
    font-size: 1rem;
}

.sd-boat-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.sd-mini-spec {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.85rem;
    white-space: nowrap;
}

.sd-mini-spec strong { color: var(--primary-dark); }

.sd-boat-card-pricing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.sd-price-option {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
    transition: border-color 0.2s;
}

.sd-price-option.featured {
    border-color: var(--primary);
    background: var(--primary-light);
}

.sd-price-name {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.sd-price-amount {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.sd-price-detail {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 2px;
}

.sd-boat-card-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ---- Comparison Cards (landing page) ---- */
.sd-compare-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.sd-compare-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: box-shadow 0.2s;
}

.sd-compare-card:hover { box-shadow: var(--shadow-lg); }

.sd-compare-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.sd-compare-card h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.sd-compare-rows { text-align: left; }

.sd-compare-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.sd-compare-row:last-child { border-bottom: none; }
.sd-compare-row span { color: var(--text-light); }

/* ---- Coral Slot Calendar ---- */
.sd-slot-calendar { margin: 24px 0; }

.sd-slot-day {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.sd-slot-date {
    font-family: var(--font-heading);
    font-weight: 500;
}

.sd-slot-date .day-name { font-size: 0.8rem; color: var(--text-light); }

.sd-slot-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sd-slot-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all 0.15s;
}

.sd-slot-chip.available {
    background: #d1fae5;
    border-color: #6ee7b7;
    color: #065f46;
    cursor: pointer;
}

.sd-slot-chip.available:hover {
    background: #a7f3d0;
    transform: translateY(-1px);
}

.sd-slot-chip.booked {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #9ca3af;
    text-decoration: line-through;
}

.sd-slot-chip .chip-label { font-size: 0.75rem; color: inherit; opacity: 0.7; }

/* ---- Advance Booking Tip Banner ---- */
.sd-advance-tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.sd-advance-tip-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 1px; }
.sd-advance-tip strong { display: block; color: #1e40af; margin-bottom: 2px; }
.sd-advance-tip span { color: #3b82f6; }

/* ---- Smart 14-Day Notice ---- */
.sd-advance-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: #92400e;
}

.sd-advance-notice-icon { font-size: 1.2rem; flex-shrink: 0; }

/* ---- Calendar Tabs ---- */
.sd-cal-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 8px;
    border-bottom: 2px solid var(--border);
}

.sd-cal-tab {
    flex: 1;
    padding: 14px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.2s;
    text-align: center;
}

.sd-cal-tab:hover { color: var(--text); }

.sd-cal-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.sd-cal-tab-price {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--bg-light);
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 6px;
}

.sd-cal-tab.active .sd-cal-tab-price {
    background: rgba(16, 207, 210, 0.12);
    color: var(--primary);
}

.sd-cal-tab-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0 0 16px 0;
    padding: 0;
}

/* ---- Self-Drive Mobile Responsive ---- */
@media (max-width: 768px) {
    .sd-hero { padding: 48px 20px 40px; }
    .sd-hero h1 { font-size: 1.75rem; }

    .sd-hero-full { height: 50vh; min-height: 320px; }
    .sd-hero-text h1 { font-size: 1.8rem; }
    .sd-hero-text p { font-size: 1rem; }

    .sd-boat-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sd-boat-card-images {
        grid-template-columns: 1fr;
    }

    .sd-card-img-main img {
        height: 220px;
        border-radius: var(--radius);
    }

    .sd-card-img-grid {
        flex-direction: row;
    }

    .sd-card-img-grid img {
        height: 100px;
        border-radius: var(--radius-sm);
    }

    .sd-boat-card-pricing { grid-template-columns: 1fr 1fr; }

    .sd-boat-card-cta { flex-direction: column; }
    .sd-boat-card-cta a { width: 100%; justify-content: center; }

    .sd-showcase {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 40px 0;
    }
    .sd-showcase.reversed { direction: ltr; }
    .sd-showcase-img img { height: 260px; }

    .sd-steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sd-compare-cards { grid-template-columns: 1fr; }

    .sd-compare-table { font-size: 0.85rem; }
    .sd-compare-table th,
    .sd-compare-table td { padding: 10px 12px; }

    .sd-tier-cards { grid-template-columns: 1fr; }

    .sd-club-banner {
        flex-direction: column;
        text-align: center;
    }

    .sd-pricing-cards { grid-template-columns: 1fr; }

    .sd-slot-day {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .sd-cal-tab { padding: 12px 10px; font-size: 0.9rem; }
    .sd-cal-tab-price { font-size: 0.75rem; }

    .sd-advance-tip { flex-direction: column; gap: 8px; padding: 14px 16px; }
}

/* ═══════════════════════════════════════════════════════════
   Design Enhancement Layer — v3
   Premium typography, animations, refined interactions
   ═══════════════════════════════════════════════════════════ */

/* ---- Scroll Reveal Animations ---- */
.boat-card-public {
    animation: boatCardIn 0.5s ease both;
}

.boat-grid-public .boat-card-public:nth-child(1) { animation-delay: 0.03s; }
.boat-grid-public .boat-card-public:nth-child(2) { animation-delay: 0.08s; }
.boat-grid-public .boat-card-public:nth-child(3) { animation-delay: 0.13s; }
.boat-grid-public .boat-card-public:nth-child(4) { animation-delay: 0.18s; }
.boat-grid-public .boat-card-public:nth-child(5) { animation-delay: 0.23s; }
.boat-grid-public .boat-card-public:nth-child(6) { animation-delay: 0.28s; }
.boat-grid-public .boat-card-public:nth-child(7) { animation-delay: 0.33s; }
.boat-grid-public .boat-card-public:nth-child(8) { animation-delay: 0.38s; }
.boat-grid-public .boat-card-public:nth-child(9) { animation-delay: 0.43s; }

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

/* ---- Enhanced Match Badge ---- */
.match-badge {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ---- Enhanced Tags ---- */
.tag {
    transition: all 0.15s;
    letter-spacing: 0.2px;
}

/* ---- Section Title Enhancement ---- */
.section-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.2px;
}

/* ---- Enhanced Estimate Widget ---- */
.estimate-total {
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

/* ---- Enhanced Modal ---- */
.pref-modal {
    box-shadow: 0 24px 80px rgba(0,0,0,0.2);
}

.pref-modal h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
}

/* ---- Enhanced Footer ---- */
.pub-footer {
    border-top: 1px solid rgba(0,0,0,0.06);
}

/* ---- Gallery Carousel Enhancement ---- */
.gallery-carousel {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.carousel-slide {
    transition: opacity 0.3s ease;
}

/* ---- Multi-Quote Bar Enhancement ---- */
.multi-quote-bar {
    box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* ---- Focus States ---- */
.estimate-field input:focus,
.pref-field input:focus,
.pref-field select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16,207,210,0.12);
    outline: none;
}

/* ---- Change Prefs Link ---- */
.change-prefs-link {
    display: inline-block;
    margin-top: 12px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    transition: all 0.2s;
}

.change-prefs-link:hover {
    color: white;
    border-color: white;
}

/* ---- Talk Options Enhancement ---- */
.talk-option {
    border-radius: var(--radius);
}

/* ---- Smooth page load ---- */
@keyframes pageIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

main.container {
    animation: pageIn 0.4s ease;
}

/* ═══════════════════════════════════════════════════════════
   Design Enhancement Layer — v3.1 (Pushed further)
   Hero bg, card polish, badges, motion
   ═══════════════════════════════════════════════════════════ */

/* (Hero rules consolidated above) */

/* ---- Page background ---- */
body {
    background: #f8fafb;
}

/* ---- Boat card image taller ---- */
.boat-card-img {
    height: 240px;
}

/* ---- Boat card enhanced ---- */
.boat-card-body h3 {
    transition: color 0.2s;
}

.boat-card-public:hover .boat-card-body h3 {
    color: var(--primary-dark);
}

.boat-card-footer {
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.boat-card-price {
    font-size: 1.15rem;
}

.price-per-person {
    font-size: 0.8rem;
    color: var(--primary-dark);
    font-weight: 500;
}

/* ---- Quote button enhanced ---- */
.btn-quote-add {
    font-weight: 600;
    transition: all 0.25s ease;
    letter-spacing: 0.2px;
}

.btn-quote-add:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.03);
}

.boat-card-public.selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), 0 4px 16px rgba(16,207,210,0.12);
}

/* ---- Tags enhanced ---- */
.tag {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    background: linear-gradient(135deg, var(--primary-light), #d4f3f4);
    border: 1px solid rgba(16,207,210,0.15);
}

.boat-card-tags {
    gap: 5px;
    margin-bottom: 14px;
}

/* ---- Personal badge enhanced ---- */
.personal-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border: 1px solid rgba(6,95,70,0.1);
    letter-spacing: 0.2px;
}

/* ---- Urgency badges enhanced ---- */
.urgency-badge {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    animation: urgencyPulse 3s ease-in-out infinite;
}

@keyframes urgencyPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.urgency-hot {
    background: rgba(220,38,38,0.9);
    border: 1px solid rgba(255,255,255,0.2);
}

.urgency-warm {
    background: rgba(245,158,11,0.9);
    border: 1px solid rgba(255,255,255,0.2);
}

/* ---- Availability badge enhanced ---- */
.avail-badge {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    letter-spacing: 0.3px;
}

/* ---- Card carousel enhanced ---- */
.card-carousel {
    position: relative;
}

.card-slide {
    transition: opacity 0.4s ease;
}

.card-arrow {
    transition: all 0.2s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* ---- Filter chips enhanced ---- */
.filter-chips {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.04);
}

.filter-chip {
    transition: all 0.2s;
    font-weight: 500;
}

.filter-chip:hover {
    background: var(--primary-light);
    border-color: var(--primary);
}

/* ---- Filter bar enhanced ---- */
.filter-bar-new {
    margin: -32px 24px 28px;
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.04);
}

/* ---- Recently viewed enhanced ---- */
.recently-viewed-section h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.rv-card {
    border-radius: var(--radius);
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.rv-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.rv-card-name {
    font-family: var(--font-display) !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
}

/* ---- Quiz overlay enhanced ---- */
.quiz-modal {
    box-shadow: 0 24px 80px rgba(0,0,0,0.2);
    border-radius: var(--radius);
}

.quiz-modal h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

/* ---- Quiz type tiles enhanced ---- */
.quiz-type-tile {
    border-radius: var(--radius);
    transition: all 0.25s ease;
}

.quiz-type-tile:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.quiz-type-tile.selected {
    box-shadow: 0 0 0 2px var(--primary), 0 4px 16px rgba(16,207,210,0.15);
}

.quiz-type-name {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* ---- Multi-quote bar enhanced ---- */
.multi-quote-bar {
    background: rgba(12,31,51,0.95);
    border-top: none;
    padding: 14px 24px;
}

.multi-quote-count {
    color: rgba(255,255,255,0.85);
}

.multi-quote-bar .btn-teal {
    border-color: rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.85);
}

.multi-quote-bar .btn-teal:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.5);
    color: white;
}

.multi-quote-bar .btn-gold {
    box-shadow: 0 2px 12px rgba(241,189,108,0.3);
}

/* ---- Search bar enhanced ---- */
.boat-search-input {
    border-radius: 999px;
    padding-left: 42px;
}

.boat-search-input:focus {
    box-shadow: 0 0 0 3px rgba(16,207,210,0.1);
}

/* ---- Better grid spacing ---- */
.boat-grid-public {
    gap: 28px;
    margin: 28px 0 56px;
}

/* ---- Smooth page transitions ---- */
.quiz-overlay {
    transition: opacity 0.4s ease;
}

.quiz-step {
    transition: all 0.35s ease;
}

/* ---- Boat card image gradient overlay ---- */
.boat-card-img::after,
.card-carousel::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(transparent, rgba(0,0,0,0.06));
    pointer-events: none;
    z-index: 1;
}

/* ---- Empty state ---- */
.empty-state {
    text-align: center;
    padding: 80px 24px;
}

.empty-state h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
}
