:root,
.soves-page {
    --soves-primary: var(--soves-brand-primary);
    --soves-primary-dark: var(--soves-brand-primary-hover);
    --soves-text: #172033;
    --soves-border: #e6eaf0;
    --soves-blue: var(--soves-brand-accent);
}

.soves-page {
    --soves-ink: #172027;
    --soves-muted: #5c6873;
    --soves-line: #dfe7eb;
    --soves-surface: #ffffff;
    --soves-soft: #f6f8fa;
    --soves-soft-alt: #eef6f4;
    --soves-teal: var(--soves-brand-primary);
    --soves-teal-dark: var(--soves-brand-primary-hover);
    --soves-coral: var(--soves-brand-primary);
    --soves-gold: #b98216;
    --soves-shadow: 0 18px 48px rgba(18, 32, 39, 0.12);
    --soves-shadow-sm: 0 4px 12px rgba(18, 32, 39, 0.08);
    --soves-shadow-md: 0 8px 24px rgba(18, 32, 39, 0.10);
    --soves-shadow-lg: 0 12px 40px rgba(18, 32, 39, 0.15);
    color: var(--soves-ink);
    background: #ffffff;
    font-family: inherit;
}

.soves-pdf-download {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 24px 0;
    border: 1px solid var(--soves-border, #e6eaf0);
    border-radius: 12px;
    padding: 18px 20px;
    background: #ffffff;
}

.soves-pdf-download__copy {
    min-width: 0;
}

.soves-pdf-download__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--soves-muted, #667085);
    font-size: 12px;
    font-weight: 700;
}

.soves-pdf-download h3 {
    margin: 0;
    color: var(--soves-text, #172033);
    font-size: 17px;
    line-height: 1.3;
}

.soves-pdf-download__link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border-radius: 8px;
    padding: 9px 14px;
    background: var(--soves-primary, var(--soves-brand-primary));
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.soves-pdf-download__link:hover,
.soves-pdf-download__link:focus-visible {
    background: var(--soves-primary-dark, var(--soves-brand-primary-hover));
    color: #ffffff;
}

@media (max-width: 600px) {
    .soves-pdf-download {
        align-items: stretch;
        flex-direction: column;
    }

    .soves-pdf-download__link {
        width: 100%;
    }
}


/* Core/shared Soves frontend styles. Page-specific styles live under assets/css/pages. */
.soves-container {
    width: min(1350px, calc(100% - 32px));
    margin: 0 auto;
}

.soves-section {
    padding: 48px 0 64px;
}

.soves-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(10, 48, 105, 0.96), rgba(23, 32, 39, 0.97)),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.04));
    color: #ffffff;
    padding: 64px 0;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.soves-hero-compact {
    min-height: 400px;
}

.soves-eyebrow {
    margin: 0 0 12px;
    color: var(--soves-coral);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.soves-hero .soves-eyebrow {
    color: #ffb59f;
}

.soves-hero h1,
.soves-content-section h2,
.soves-filter-panel h2,
.soves-panel h2,
.soves-summary-card h2,
.soves-sticky-card h2 {
    letter-spacing: -0.3px;
}

.soves-hero h1 {
    max-width: 800px;
    margin: 0;
    font-size: 56px;
    line-height: 1.12;
    font-weight: 600;
}

.soves-hero-copy {
    max-width: 720px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.90);
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
}

.soves-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 18px;
    color: #d9eeee;
    font-size: 14px;
}

.soves-search {
    display: grid;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    gap: 12px;
    align-items: end;
}

.soves-hero-search {
    margin-top: 40px;
    padding: 24px;
    background: #ffffff;
    border: none;
    border-radius: 12px;
    box-shadow: var(--soves-shadow-lg);
}

.soves-search label,
.soves-form label,
.soves-filter-panel label {
    display: grid;
    gap: 8px;
    margin: 0;
    color: var(--soves-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.soves-search input,
.soves-search select,
.soves-form input,
.soves-form select,
.soves-form textarea,
.soves-filter-panel input,
.soves-filter-panel select {
    width: 100%;
    min-height: 44px;
    padding: 11px 13px;
    border: 1px solid #e0e8f0;
    border-radius: 8px;
    background: #ffffff;
    color: var(--soves-ink);
    font: inherit;
    font-size: 14px;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.soves-search input:focus,
.soves-search select:focus,
.soves-form input:focus,
.soves-form select:focus,
.soves-form textarea:focus,
.soves-filter-panel input:focus,
.soves-filter-panel select:focus {
    outline: none;
    border-color: var(--soves-teal);
    box-shadow: 0 0 0 3px rgba(10, 48, 105, 0.10);
}

.soves-search button,
.soves-button,
.soves-form button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: var(--soves-teal);
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 200ms ease;
    box-shadow: var(--soves-shadow-sm);
}

.soves-button:hover,
.soves-search button:hover,
.soves-form button:hover {
    background: var(--soves-teal-dark);
    transform: translateY(-1px);
    box-shadow: var(--soves-shadow-md);
}

.soves-button-secondary {
    background: #ffffff;
    color: var(--soves-teal);
    border: 1px solid var(--soves-line);
}

.soves-button-secondary:hover {
    background: var(--soves-soft);
    color: var(--soves-teal-dark);
    border-color: var(--soves-teal);
}

.soves-button-small {
    min-height: 38px;
    padding: 9px 16px;
    font-size: 12px;
    font-weight: 600;
}

.soves-button-disabled {
    background: #9aa6ad;
    border-color: #9aa6ad;
    cursor: not-allowed;
    opacity: 0.7;
}

.soves-category-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 32px 0 28px;
    padding: 0;
    list-style: none;
}

.soves-category-row a,
.soves-chip-row span,
.soves-icon-list span,
.soves-room-facts span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 14px;
    border: 1px solid #e0e8f0;
    border-radius: 24px;
    background: #ffffff;
    color: var(--soves-ink);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 200ms ease;
}

.soves-category-row a:hover {
    background: var(--soves-soft-alt);
    border-color: var(--soves-teal);
    color: var(--soves-teal);
    transform: translateY(-1px);
}

.soves-listing-layout,
.soves-detail-layout,
.soves-checkout-layout,
.soves-split {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.soves-detail-layout,
.soves-checkout-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
}

.soves-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.soves-filter-panel,
.soves-panel,
.soves-summary-card,
.soves-sticky-card,
.soves-form-shell,
.soves-empty-state,
.soves-confirmation-card {
    border: 1px solid #e0e8f0;
    border-radius: 12px;
    background: var(--soves-surface);
    padding: 28px;
    box-shadow: var(--soves-shadow-sm);
}

.soves-filter-panel form {
    display: grid;
    gap: 20px;
}

.soves-filter-group {
    display: grid;
    gap: 10px;
    padding: 15px;
    border: 1px solid #e0e8f0;
    border-radius: 10px;
    background: var(--soves-soft);
}

.soves-filter-group > span {
    color: var(--soves-ink);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
}

.soves-filter-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4E5561;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    margin: 0;
}

.soves-filter-group input {
    width: auto;
    min-height: auto;
    cursor: pointer;
}

.soves-results-toolbar {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px 0;
    border-bottom: 1px solid #e0e8f0;
}

.soves-results-toolbar p {
    margin: 0;
    color: var(--soves-ink);
    font-weight: 600;
    font-size: 14px;
}

.soves-results-toolbar select {
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid #e0e8f0;
    border-radius: 8px;
    background: #ffffff;
    font-weight: 600;
    cursor: pointer;
}

.soves-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.soves-card {
    overflow: hidden;
    border: 1px solid #e0e8f0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: var(--soves-shadow-sm);
    transition: all 240ms cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.soves-card:hover {
    transform: translateY(-6px);
    border-color: #c0d0e0;
    box-shadow: var(--soves-shadow-lg);
}

.soves-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f0f8 0%, #e1f0ec 100%);
    color: var(--soves-teal-dark);
    text-decoration: none;
}

.soves-card-media img,
.soves-gallery img,
.soves-room-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.soves-card:hover .soves-card-media img {
    transform: scale(1.04);
}

.soves-media-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 200px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e1f0ec, #f4f2e9);
    color: var(--soves-teal-dark);
    font-weight: 600;
    font-size: 14px;
}

.soves-media-placeholder.is-large {
    min-height: 360px;
}

.soves-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--soves-coral), var(--soves-brand-primary-hover));
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: var(--soves-shadow-sm);
}

.soves-rating {
    color: var(--soves-gold);
    font-weight: 600;
    font-size: 14px;
}

.soves-card-body {
    display: grid;
    gap: 12px;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.soves-card-body h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--soves-ink);
}

.soves-card-body h3 a {
    color: var(--soves-ink);
    text-decoration: none;
    transition: color 200ms ease;
}

.soves-card-body h3 a:hover {
    color: var(--soves-teal);
}

.soves-card-meta,
.soves-card-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--soves-muted);
    font-size: 13px;
}

.soves-price-stack {
    display: grid;
    gap: 2px;
}

.soves-price-stack small,
.soves-sidebar-price small {
    color: var(--soves-muted);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.soves-card-footer strong,
.soves-room-price strong,
.soves-summary-card strong {
    color: var(--soves-ink);
    font-size: 22px;
    font-weight: 600;
}

.soves-location,
.soves-note {
    margin: 0;
    color: var(--soves-muted);
    font-size: 13px;
}

.soves-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 160px;
    gap: 10px;
    margin-bottom: 32px;
}

.soves-gallery .is-large {
    grid-column: span 2;
    grid-row: span 2;
}

.soves-gallery img,
.soves-gallery .soves-media-placeholder {
    border-radius: 12px;
    box-shadow: var(--soves-shadow-md);
    transition: transform 300ms ease;
}

.soves-gallery img:hover {
    transform: scale(1.02);
}

.soves-content-section {
    padding: 32px 0;
    border-bottom: 1px solid #e0e8f0;
}

.soves-content-section-first {
    padding-top: 0;
}

.soves-content-section:first-of-type {
    padding-top: 0;
}

.soves-content-section:last-of-type {
    border-bottom: none;
}

.soves-content-section h2,
.soves-filter-panel h2,
.soves-panel h2,
.soves-summary-card h2,
.soves-sticky-card h2 {
    margin: 0 0 18px;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 600;
}

.soves-icon-list,
.soves-chip-row,
.soves-room-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.soves-room-list {
    display: grid;
    gap: 18px;
}

.soves-room-card {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid #e0e8f0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: var(--soves-shadow-sm);
    transition: all 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.soves-room-card:hover {
    transform: translateY(-4px);
    border-color: #c0d0e0;
    box-shadow: var(--soves-shadow-md);
}

.soves-room-media {
    min-height: 240px;
    background: linear-gradient(135deg, #e8f0f8 0%, #e1f0ec 100%);
}

.soves-room-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 20px;
    padding: 20px;
}

.soves-room-body h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
}

.soves-room-body > div:first-child {
    display: grid;
    gap: 14px;
}

.soves-room-price {
    display: grid;
    gap: 8px;
    align-content: start;
    padding: 14px;
    border: 1px solid #e0e8f0;
    border-radius: 10px;
    background: var(--soves-soft-alt);
    text-align: center;
}

.soves-room-price em {
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.soves-room-price .is-available {
    color: #0f766e;
    font-weight: 600;
}

.soves-room-price .is-unavailable {
    color: #e95f3f;
    font-weight: 600;
}

.soves-sidebar {
    min-width: 0;
}

.soves-sticky-card {
    position: sticky;
    top: 32px;
    display: grid;
    gap: 16px;
    border: 1px solid #e0e8f0;
    border-radius: 12px;
    background: #ffffff;
    padding: 28px;
    box-shadow: var(--soves-shadow-sm);
}

.soves-sticky-card h2 {
    margin-bottom: 12px;
    font-size: 22px;
}

.soves-sidebar-price {
    display: grid;
    gap: 4px;
    padding: 18px;
    border: 2px solid var(--soves-teal);
    border-radius: 10px;
    background: rgba(10, 48, 105, 0.04);
}

.soves-sidebar-price span {
    color: var(--soves-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.soves-sidebar-price strong {
    color: var(--soves-ink);
    font-size: 32px;
    line-height: 1;
}

.soves-form,
.soves-form-grid {
    display: grid;
    gap: 18px;
}

.soves-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.soves-form-full {
    grid-column: 1 / -1;
}

.soves-summary-card dl,
.soves-confirmation-card dl {
    display: grid;
    gap: 12px;
    margin: 18px 0;
}

.soves-summary-card dl div,
.soves-confirmation-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #e0e8f0;
    padding-bottom: 10px;
}

.soves-summary-card dt,
.soves-confirmation-card dt {
    color: var(--soves-muted);
    font-weight: 600;
}

.soves-summary-card dd,
.soves-confirmation-card dd {
    margin: 0;
    font-weight: 600;
    text-align: right;
}

.soves-alert {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
}

.soves-alert-success {
    background: #e6f5ee;
    color: #0d5752;
    border: 1px solid #c4e8e2;
}

.soves-alert-error {
    background: #fdebe6;
    color: #8b2d1a;
    border: 1px solid #f4d4c4;
}

.soves-alert-warning {
    background: #fff5d8;
    color: #5a4108;
    border: 1px solid #fde9b4;
}

.soves-booking-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.soves-booking-steps li {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e0e8f0;
    border-radius: 10px;
    background: #ffffff;
    color: var(--soves-muted);
    font-weight: 600;
    font-size: 14px;
    transition: all 200ms ease;
}

.soves-booking-steps .is-active {
    background: var(--soves-teal);
    border-color: var(--soves-teal);
    color: #ffffff;
    box-shadow: var(--soves-shadow-sm);
}

.soves-account-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.soves-account-options a {
    min-height: 44px;
    padding: 12px;
    border: 1px solid #e0e8f0;
    border-radius: 10px;
    color: var(--soves-ink);
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all 200ms ease;
}

.soves-account-options a:hover {
    border-color: var(--soves-teal);
    background: var(--soves-soft-alt);
}

.soves-detail-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.soves-detail-facts span {
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid #e0e8f0;
    border-radius: 10px;
    background: var(--soves-soft);
    text-align: center;
}

.soves-detail-facts strong {
    font-weight: 600;
    font-size: 13px;
    color: var(--soves-ink);
}

.soves-detail-facts small {
    font-size: 12px;
    color: var(--soves-muted);
}

.soves-timeline,
.soves-clean-list {
    margin: 0;
    padding-left: 20px;
}

.soves-timeline li,
.soves-clean-list li {
    margin-bottom: 10px;
    color: var(--soves-ink);
    line-height: 1.6;
}

.soves-map-placeholder {
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e8f0;
    border-radius: 12px;
    background: linear-gradient(135deg, #e8f0f8 0%, #e1f0ec 100%);
    color: var(--soves-teal-dark);
    font-weight: 600;
}

.soves-video {
    margin: 0;
}

.soves-video iframe {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 12px;
    box-shadow: var(--soves-shadow-sm);
}

.soves-provider-card {
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid #e0e8f0;
    border-radius: 10px;
    background: var(--soves-soft);
}

.soves-provider-card span {
    font-weight: 600;
    font-size: 14px;
}

.soves-provider-card small {
    color: var(--soves-muted);
    font-size: 13px;
}

.soves-status-pill {
    display: inline-flex;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: #e6f5ee;
    color: #0d5752;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.soves-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
    justify-content: center;
}

.soves-pagination .page-numbers {
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: var(--soves-ink);
    font-weight: 600;
    transition: all 200ms ease;
}

.soves-pagination .page-numbers:hover {
    border-color: var(--soves-teal);
    background: var(--soves-soft-alt);
}

.soves-pagination .current {
    background: var(--soves-teal);
    border-color: var(--soves-teal);
    color: #ffffff;
}

.soves-placeholder-inline,
.soves-page-placeholder {
    padding: 20px;
    border: 1px solid #e0e8f0;
    border-radius: 10px;
    background: var(--soves-soft);
    text-align: center;
    color: var(--soves-muted);
}

.soves-empty-state {
    border: 1px solid #e0e8f0;
    border-radius: 12px;
    background: #ffffff;
    padding: 48px 28px;
    text-align: center;
    box-shadow: var(--soves-shadow-sm);
}

.soves-empty-state h2 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--soves-ink);
}

.soves-empty-state p {
    color: var(--soves-muted);
    margin: 0 0 16px;
}

/* Focused fallback for stale or expired provider offers. Keep this state
   calm and compact so a failed booking attempt still feels intentional on
   both desktop and small screens. */
.soves-offer-unavailable-page {
    background: #f7f9fc;
}

.soves-offer-unavailable-page > .soves-container {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.soves-offer-unavailable {
    width: min(100%, 560px);
    box-sizing: border-box;
    padding: clamp(28px, 5vw, 52px) clamp(22px, 5vw, 56px);
    border: 1px solid #e1e8f0;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    text-align: center;
}

.soves-offer-unavailable--inline {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(24px, 4vw, 36px);
    border-radius: 16px;
}

.soves-offer-unavailable__icon {
    display: inline-flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #e8f7fb;
    color: var(--soves-brand-accent, #00aeea);
}

.soves-offer-unavailable__icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.soves-offer-unavailable__eyebrow {
    margin: 0 0 8px;
    color: var(--soves-brand-primary, #0a3069);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.soves-offer-unavailable h1,
.soves-offer-unavailable h2 {
    margin: 0;
    color: var(--soves-ink, #172027);
    font-size: clamp(25px, 4vw, 36px);
    line-height: 1.15;
}

.soves-offer-unavailable--inline h2 {
    font-size: clamp(21px, 3vw, 28px);
}

.soves-offer-unavailable__message {
    max-width: 410px;
    margin: 14px auto 24px;
    color: var(--soves-muted, #5c6873);
    font-size: 15px;
    line-height: 1.6;
}

.soves-offer-unavailable__action {
    width: auto;
    max-width: 100%;
}

.soves-offer-unavailable__action:hover,
.soves-offer-unavailable__action:focus-visible {
    background: var(--soves-primary-dark, #082550) !important;
    color: #ffffff !important;
}

@media (max-width: 560px) {
    .soves-offer-unavailable {
        border-radius: 16px;
    }

    .soves-offer-unavailable__action {
        width: 100%;
    }
}

.soves-confirmation-card {
    border: 1px solid #e0e8f0;
    border-radius: 12px;
    background: #ffffff;
    padding: 28px;
    box-shadow: var(--soves-shadow-sm);
}

.soves-confirmation-card h2 {
    font-size: 24px;
    margin-bottom: 16px;
}

.soves-confirmation-card p {
    color: var(--soves-muted);
    margin: 12px 0;
}

/* Inline search styling */
.soves-inline-search {
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    margin: 18px 0 22px;
    padding: 18px;
    border: 1px solid #e0e8f0;
    border-radius: 10px;
    background: var(--soves-soft);
    gap: 12px;
}

@media (max-width: 1024px) {
    .soves-search {
        grid-template-columns: repeat(3, minmax(120px, 1fr));
    }

    .soves-detail-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .soves-sticky-card {
        position: static;
        margin-top: 20px;
    }
}

@media (max-width: 980px) {
    .soves-search,
    .soves-inline-search,
    .soves-listing-layout,
    .soves-detail-layout,
    .soves-checkout-layout,
    .soves-split {
        grid-template-columns: 1fr;
    }

    .soves-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .soves-hero {
        min-height: 400px;
    }

    .soves-room-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .soves-container {
        width: min(100%, calc(100% - 20px));
    }

    .soves-hero {
        padding: 48px 0;
    }

    .soves-hero h1 {
        font-size: 40px;
        line-height: 1.15;
    }

    .soves-hero-copy {
        font-size: 16px;
    }

    .soves-search {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .soves-hero-search {
        margin-top: 30px;
        padding: 16px;
    }

    .soves-search label span {
        font-size: 12px;
    }

    .soves-card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .soves-room-card {
        grid-template-columns: 1fr;
    }

    .soves-room-media {
        min-height: 180px;
    }

    .soves-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .soves-gallery .is-large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .soves-form-grid,
    .soves-detail-facts,
    .soves-account-options,
    .soves-booking-steps {
        grid-template-columns: 1fr;
    }

    .soves-results-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .soves-results-toolbar select {
        width: 100%;
    }

    .soves-sticky-card {
        top: 0;
        position: relative;
    }

    .soves-section {
        padding: 32px 0 40px;
    }
}

/* Booking step bar: steps that can be opened are links/buttons (owner request 2026-10-08,
   templates/partials/booking-stepper.php). They keep the plain step look; the theme's own
   button styles (border, padding, pink hover) are reset here. */
.soves-booking-stepper .soves-booking-stepper-step.is-link {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    margin: 0;
    padding: 0 8px;
    border: 0;
    box-shadow: none;
    background: transparent;
    color: var(--soves-booking-primary, var(--soves-primary, #0a3069));
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.soves-booking-stepper .soves-booking-stepper-step.is-link:hover,
.soves-booking-stepper .soves-booking-stepper-step.is-link:focus-visible {
    background: #eef4fb;
    color: var(--soves-booking-primary, var(--soves-primary, #0a3069));
    text-decoration: underline;
    text-underline-offset: 3px;
}

.soves-booking-stepper .soves-booking-stepper-step.is-link:focus-visible {
    outline: 2px solid var(--soves-booking-primary, var(--soves-primary, #0a3069));
    outline-offset: 2px;
}

.soves-booking-stepper .soves-booking-stepper-step.is-active.is-link,
.soves-booking-stepper .soves-booking-stepper-step.is-active.is-link:hover {
    background: var(--soves-booking-primary, var(--soves-primary, #0a3069));
    color: #ffffff;
}

.soves-booking-stepper .soves-booking-stepper-step.is-done::before {
    content: "\2713";
    margin-right: 6px;
    font-weight: 700;
}


/* Long step names ("Guest Information", "Traveller Information") wrap instead of spilling out of
   their highlighted box on narrower screens. */
.soves-booking-stepper .soves-booking-stepper-step {
    padding-left: 8px;
    padding-right: 8px;
    white-space: normal;
    line-height: 1.25;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

@media (max-width: 480px) {
    .soves-booking-stepper {
        grid-auto-columns: minmax(min-content, 1fr) !important;
        overflow-x: auto;
        scrollbar-width: none;
        gap: 4px !important;
    }

    .soves-booking-stepper-wrap {
        padding: 6px !important;
    }

    .soves-booking-stepper .soves-booking-stepper-step {
        padding-left: 4px;
        padding-right: 4px;
        font-size: 10px;
        letter-spacing: 0;
    }
}

/* Step-bar jumps land below the floating site header, not under it. */
#soves-booking-guest-details,
#soves-booking-payment,
#soves-booking-guest-info {
    scroll-margin-top: 110px;
}
