.vstrb {
    font-family: var(--vstrb-current-font, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    max-width: 100%;
    color: var(--vstrb-current-text, #1f2937);
    line-height: 1.5;
}

.vstrb .vstrb-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 12px 0;
    flex-wrap: wrap;
}

/* Booking form layout is controlled by the shortcode's layout/order attributes. */
.vstrb-booking {
    --vstrb-form-gap: 18px;
    display: flex;
    flex-direction: column;
    gap: var(--vstrb-form-gap);
}

.vstrb-booking > .vstrb-form-section {
    min-width: 0;
    order: var(--vstrb-section-order, 99);
}

.vstrb-booking .vstrb-section-calendar { --vstrb-section-order: var(--vstrb-order-calendar); }
.vstrb-booking .vstrb-section-guests { --vstrb-section-order: var(--vstrb-order-guests); }
.vstrb-booking .vstrb-section-services { --vstrb-section-order: var(--vstrb-order-services); }
.vstrb-booking .vstrb-section-pricing { --vstrb-section-order: var(--vstrb-order-pricing); }
.vstrb-booking .vstrb-section-contact { --vstrb-section-order: var(--vstrb-order-contact); }
.vstrb-booking .vstrb-section-consents { --vstrb-section-order: var(--vstrb-order-consents); }
.vstrb-booking .vstrb-section-payment { --vstrb-section-order: var(--vstrb-order-payment); }
.vstrb-booking .vstrb-section-security { --vstrb-section-order: var(--vstrb-order-security); }
.vstrb-booking .vstrb-section-submit { --vstrb-section-order: var(--vstrb-order-submit); }

.vstrb-booking .vstrb-section-contact > .vstrb-row,
.vstrb-booking .vstrb-section-payment > .vstrb-row,
.vstrb-booking .vstrb-section-security > .vstrb-row,
.vstrb-booking .vstrb-section-submit > .vstrb-row {
    margin: 0 0 var(--vstrb-form-gap);
}

.vstrb-booking .vstrb-section-contact > .vstrb-row:not(.vstrb-row-half) {
    display: grid;
    grid-template-columns: minmax(110px, 0.3fr) minmax(0, 1fr);
    align-items: center;
    width: auto;
    max-width: none;
    flex-basis: auto;
}

.vstrb-booking .vstrb-section-contact > .vstrb-row:not(.vstrb-row-half) > label {
    margin: 0;
}

.vstrb-booking .vstrb-section-contact > .vstrb-row:last-child,
.vstrb-booking .vstrb-section-submit > .vstrb-row:last-child {
    margin-bottom: 0;
}

.vstrb-booking-layout-compact { --vstrb-form-gap: 10px; }
.vstrb-booking-layout-compact .vstrb-selection-row { margin: 8px 0; }

@media (min-width: 800px) {
    .vstrb-booking-layout-two-column {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .vstrb-booking-layout-two-column > .vstrb-section-calendar,
    .vstrb-booking-layout-two-column > .vstrb-section-services,
    .vstrb-booking-layout-two-column > .vstrb-section-contact,
    .vstrb-booking-layout-two-column > .vstrb-section-submit {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .vstrb-booking .vstrb-row-half {
        flex-direction: column;
    }

    .vstrb-booking .vstrb-row-half > .vstrb-field {
        min-width: 0;
        width: 100%;
    }

    .vstrb-booking .vstrb-section-contact > .vstrb-row:not(.vstrb-row-half) {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .vstrb-booking .vstrb-phone-wrapper {
        flex-wrap: wrap;
    }

    .vstrb-booking .vstrb-phone-prefix {
        flex-basis: 100px !important;
    }
}

/* Ensure hidden rows in price breakdown stay hidden even when display is defined elsewhere. */
.vstrb [hidden] {
    display: none !important;
}

/* Honeypot must stay hidden even if inline styles are altered by filters. */
.vstrb .vstrb-hp {
    display: none !important;
}

/* Keep labels for auxiliary controls available to assistive technology only. */
.vstrb .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.vstrb .vstrb-row-half {
    align-items: flex-start;
}

.vstrb .vstrb-field {
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vstrb .vstrb-field input,
.vstrb .vstrb-field select,
.vstrb .vstrb-field textarea {
    width: 100%;
    box-sizing: border-box;
}

.vstrb .vstrb-notice {
    padding: 10px 14px;
    border-radius: var(--vstrb-current-radius, 10px);
    margin: 8px 0;
    font-size: 14px;
}

.vstrb .vstrb-notice-success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}

.vstrb .vstrb-notice-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.vstrb .vstrb-notice-warning {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    color: #92400e;
}

.vstrb .vstrb-notice-info {
    background: #eff6ff;
    border: 1px solid #93c5fd;
    color: #1e40af;
}

.vstrb .vstrb-country-field {
    align-items: stretch;
    flex: 0 1 calc(50% - 6px);
    flex-direction: column;
    max-width: calc(50% - 6px);
    width: calc(50% - 6px);
}

.vstrb .vstrb-country-field .ts-wrapper {
    border: 0 !important;
    box-sizing: border-box;
    color: var(--vstrb-country-color, var(--vstrb-current-text, #1f2937));
    font-family: var(--vstrb-country-font-family, inherit);
    font-size: var(--vstrb-country-font-size, inherit);
    line-height: var(--vstrb-country-line-height, inherit);
    outline: 0 !important;
    width: 100%;
}

/* Guest registration keeps country fields as native selects so the full
   server-rendered option list remains available without TomSelect. */
.vstrb .vstrb-country-field > select.vstrb-country {
    background: var(--vstrb-current-bg, #fff);
    border: 1px solid var(--vstrb-current-border, #d1d5db);
    border-radius: var(--vstrb-current-radius, 10px);
    box-sizing: border-box;
    color: var(--vstrb-current-text, #1f2937);
    min-height: 42px;
    padding: 10px 14px;
    width: 100%;
}


.vstrb .vstrb-country.ts-hidden-accessible {
    display: none !important;
}

.vstrb .vstrb-country-field .ts-control {
    align-items: center;
    background: var(--vstrb-country-background, var(--vstrb-current-bg, #fff));
    border: 1px solid var(--vstrb-country-border-color, var(--vstrb-current-border, #d1d5db)) !important;
    border-radius: var(--vstrb-country-border-radius, var(--vstrb-current-radius, 10px));
    box-sizing: border-box;
    box-shadow: none;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    min-height: var(--vstrb-country-min-height, 42px);
    padding: 10px 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}

.vstrb .vstrb-country-field .ts-control,
.vstrb .vstrb-country-field .ts-control:hover,
.vstrb .vstrb-country-field .ts-control:focus {
    outline: 0 !important;
}

.vstrb .vstrb-country-field .ts-wrapper.focus .ts-control {
    border-color: var(--vstrb-current-primary, #111);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.vstrb .vstrb-country-field .ts-dropdown {
    background: var(--vstrb-country-background, var(--vstrb-current-bg, #fff));
    border-color: var(--vstrb-country-border-color, var(--vstrb-current-border, #d1d5db)) !important;
    border-radius: var(--vstrb-country-border-radius, var(--vstrb-current-radius, 10px));
    box-sizing: border-box;
    color: var(--vstrb-country-color, var(--vstrb-current-text, #1f2937));
    font-family: var(--vstrb-country-font-family, inherit);
    font-size: var(--vstrb-country-font-size, inherit);
    line-height: var(--vstrb-country-line-height, 1.4);
    min-width: 100%;
    overflow: hidden;
    width: 100% !important;
}

.vstrb .vstrb-country-field .dropdown-input {
    border-color: var(--vstrb-current-border, #d1d5db);
    border-radius: calc(var(--vstrb-current-radius, 10px) - 2px);
    box-sizing: border-box;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    padding: 10px 14px;
    width: 100%;
}

.vstrb .vstrb-country-field .ts-dropdown .option {
    box-sizing: border-box;
    padding: 10px 14px;
    white-space: nowrap;
}

.vstrb .vstrb-country-field .ts-dropdown .active {
    background: rgba(0, 0, 0, 0.05);
    color: inherit;
}

.vstrb-country-dropdown {
    background: var(--vstrb-current-bg, #fff);
    border: 1px solid var(--vstrb-current-border, #d1d5db);
    border-radius: var(--vstrb-current-radius, 10px);
    box-sizing: border-box;
    color: var(--vstrb-current-text, #1f2937);
    min-width: 260px;
    overflow: hidden;
    z-index: 100000;
}

.vstrb-country-dropdown .option {
    color: inherit;
    cursor: pointer;
    padding: 10px 14px;
    white-space: nowrap;
}

.vstrb-country-dropdown .option.active {
    background: rgba(0, 0, 0, 0.05);
}

@media (max-width: 640px) {
    .vstrb .vstrb-country-field {
        flex-basis: 100%;
        max-width: 100%;
        width: 100%;
    }
}

.vstrb .vstrb-msg {
    white-space: pre-line;
}

.vstrb-payment-result {
    border: 1px solid var(--vstrb-current-border, #d1d5db);
    border-radius: var(--vstrb-current-radius, 8px);
    padding: 18px;
    margin: 16px 0;
    background: #f9fafb;
}

.vstrb-payment-result h3 {
    margin: 0 0 8px;
    color: var(--vstrb-current-primary, #111827);
}

.vstrb-payment-result p {
    margin: 0 0 12px;
}

.vstrb-payment-result-text {
    white-space: pre-line;
    font-size: 15px;
    color: var(--vstrb-current-text, #1f2937);
}

.vstrb-payment-qr {
  margin-top: 16px;
}

.vstrb-payment-qr-code {
  margin-top: 8px;
}

.vstrb-payment-qr-code img,
.vstrb-payment-qr-code canvas {
  display: block;
  max-width: 180px;
  height: auto;
}

.vstrb .vstrb-gr-divider {
    border: none;
    border-top: 1px solid var(--vstrb-current-border, #e5e7eb);
    margin: 16px 0;
}

.vstrb .vstrb-guest-block {
    border: 1px solid var(--vstrb-current-border, #e5e7eb);
    border-radius: var(--vstrb-current-radius, 10px);
    padding: 16px;
    margin: 8px 0;
}

.vstrb .vstrb-guest-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.vstrb .vstrb-remove-guest {
    font-size: 12px;
    padding: 4px 10px;
    color: #991b1b;
    border-color: #fca5a5;
}

.vstrb .vstrb-add-guest {
    margin-top: 4px;
}

.vstrb .vstrb-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.vstrb .vstrb-payment-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vstrb .vstrb-payment-option input[type="radio"] {
    width: auto;
    margin: 0;
}

.vstrb-selection-row {
    margin: 24px 0;
}

.vstrb-quote {
    align-items: baseline;
    gap: 8px;
}

.vstrb-total-label {
    font-weight: 600;
}

.vstrb-total {
    font-size: 18px;
    font-weight: 700;
    color: var(--vstrb-current-primary, #111827);
    min-width: 72px;
}

.vstrb-currency {
    font-weight: 600;
    color: #6b7280;
}

.vstrb-price-breakdown {
    display: none;
    border: 1px solid var(--vstrb-current-border, #e5e7eb);
    border-radius: var(--vstrb-current-radius, 10px);
    padding: 10px 12px;
    margin: 8px 0 16px;
    background: #f9fafb;
}

.vstrb-price-breakdown.is-visible {
    display: block;
}

.vstrb-price-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 4px 0;
    font-size: 14px;
}

.vstrb-price-final-line {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--vstrb-current-border, #e5e7eb);
    font-weight: 700;
}

.vstrb-price-discount-row {
    color: #0f766e;
}

.vstrb-price-surcharge-row {
    color: #b45309;
}

.vstrb-price-service-lines {
    margin: 0 0 6px;
}

.vstrb-price-service-line {
    padding-left: 14px;
    color: #4b5563;
}

.vstrb-price-service-calc {
    color: #6b7280;
    font-weight: 400;
}

.vstrb .vstrb-label-block {
    display: block;
    font-family: inherit !important;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--vstrb-current-text, #374151);
}

.vstrb input,
.vstrb textarea,
.vstrb select {
    padding: 10px 14px;
    border: 1px solid var(--vstrb-current-border, #d1d5db);
    border-radius: var(--vstrb-current-radius, 10px);
    font-size: 14px;
    background: var(--vstrb-current-bg, #fff);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.vstrb input:focus,
.vstrb textarea:focus,
.vstrb select:focus {
    outline: none;
    border-color: var(--vstrb-current-primary, #111);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.vstrb textarea {
    width: 100%;
    min-height: 100px;
}

.vstrb .vstrb-btn {
    border: 1px solid var(--vstrb-current-border, #d1d5db);
    color: var(--vstrb-current-text, #111);
    border-radius: var(--vstrb-current-radius, 10px);
    background: var(--vstrb-current-bg, #fff);
    padding: 10px 18px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vstrb .vstrb-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.vstrb .vstrb-btn-primary {
    background: var(--vstrb-current-primary, #111);
    color: #fff;
    border-color: var(--vstrb-current-primary, #111);
}

.vstrb .vstrb-btn-primary:hover {
    filter: brightness(1.1);
}

/* Calendar Styles */
.vstrb-calendar {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.vstrb-cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 24px;
}

.vstrb-prev,
.vstrb-next {
    min-width: 36px;
    height: 36px;
    padding: 0 10px !important;
    border-radius: 999px !important;
    font-size: 16px !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.vstrb-nav-arrow {
    font-size: 20px;
    line-height: 1;
}

.vstrb-nav-label {
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-transform: capitalize;
}

.vstrb-cal-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--vstrb-current-text, #111827);
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vstrb-cal-grid-container {
    display: grid;
    grid-template-columns: repeat(var(--vstrb-responsive-grid, var(--vstrb-grid, 1)), minmax(0, 1fr));
    gap: 32px;
    align-items: start;
    min-width: 0;
}

.vstrb-month-block {
    min-width: 0;
    max-width: none;
    container-type: inline-size;
    container-name: vstrb-month;
}

.vstrb-month-title {
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 20px;
    color: #111827;
}

.vstrb-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

.vstrb-cal-wd {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-align: center;
    padding-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vstrb-cal-day {
    border: 1px solid var(--vstrb-current-border, #e5e7eb);
    border-radius: var(--vstrb-current-radius, 12px);
    padding: 8px;
    min-height: 52px;
    cursor: pointer;
    background: var(--vstrb-current-bg, #fff);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s;
    user-select: none;
    min-width: 0;
    overflow: hidden;
    position: relative;
    container-type: inline-size;
    container-name: vstrb-day;
    align-self: start;
}

.vstrb-cal-day.free {
    background: var(--vstrb-current-free, var(--vstrb-current-bg, #fff));
}

.vstrb-cal-day:hover:not(.past):not(.occ):not(.vstrb-closed):not(.vstrb-checkin):not(.vstrb-checkout):not(.vstrb-checkout-checkin) {
    border-color: var(--vstrb-current-primary, #111);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.vstrb-cal-day.occ {
    background: #f9fafb;
    border-color: var(--vstrb-current-border, #f3f4f6);
    cursor: not-allowed;
    color: var(--vstrb-current-text, #9ca3af);
    opacity: 0.8;
}

.vstrb-cal-day.vstrb-closed {
    background: #f9fafb;
    border-color: var(--vstrb-current-border, #f3f4f6);
    cursor: not-allowed;
    color: var(--vstrb-current-text, #9ca3af);
    opacity: 0.8;
}

.vstrb-cal-day.past {
    opacity: 0.4;
    cursor: not-allowed;
}

.vstrb-cal-day.vstrb-checkout {
    background: linear-gradient(135deg, var(--vstrb-current-border, #f3f4f6) 50%, var(--vstrb-current-free, var(--vstrb-current-bg, #ffffff)) 50%);
}

.vstrb-cal-day.vstrb-checkin {
    background: linear-gradient(135deg, var(--vstrb-current-free, var(--vstrb-current-bg, #ffffff)) 50%, var(--vstrb-current-border, #f3f4f6) 50%);
}

.vstrb-cal-day.vstrb-checkout-checkin {
    background-color: var(--vstrb-current-occupied, var(--vstrb-current-border, #f3f4f6)) !important;
    background-image: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.28) 49%,
        transparent 49%
    ),
    linear-gradient(
        135deg,
        transparent 49%,
        var(--vstrb-current-bg, #ffffff) 49%,
        var(--vstrb-current-bg, #ffffff) 51%,
        transparent 51%
    );
}

.vstrb-cal-day .top-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px;
}

.vstrb-cal-day .d {
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.vstrb-cal-day .tag {
    font-size: 10px;
    opacity: 0.8;
    line-height: 1.1;
    text-align: right;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* "Available" is implicit for a selectable date and needlessly competes with price space. */
.vstrb-cal-day.free .tag {
    display: none;
}

.vstrb-cal-day .price {
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    padding: 2px 4px;
    border-radius: 4px;
    background: var(--vstrb-current-primary, #111);
    color: #fff;
    opacity: 0.82;
    pointer-events: none;
    align-self: flex-end;
}

.vstrb-cal-day .price.disc {
    background: #16a34a;
    color: #fff;
    opacity: 0.9;
}

.vstrb-cal-day .price.surch {
    background: #dc2626;
    color: #fff;
    opacity: 0.9;
}

.vstrb-cal-day .price.has-disc {
    background: #16a34a;
}

.vstrb-cal-day .price.has-surch {
    background: #dc2626;
}

.vstrb-price-currency {
    margin-left: 4px;
}

.vstrb-cal-day.sel {
    outline: 2px solid var(--vstrb-current-primary, #111);
    outline-offset: -2px;
    z-index: 10;
}

.vstrb-cal-day.inrange {
    background: rgba(0, 0, 0, 0.04);
}

.vstrb-cal-legend {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
    border-top: 1px solid #f3f4f6;
    padding-top: 20px;
}

.vstrb-pill {
    border: 1px solid var(--vstrb-current-border, #e5e7eb);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    background: var(--vstrb-current-bg, #fff);
    color: var(--vstrb-current-text, #374151);
}

.vstrb-price-mode-label {
    margin-left: auto;
    font-size: 11px;
    color: var(--vstrb-current-text, #6b7280);
    opacity: 0.7;
    align-self: center;
    font-style: italic;
}

.vstrb-pill-sel {
    border-color: var(--vstrb-current-primary, #111);
    font-weight: 600;
}

.vstrb-cal-selected {
    margin-top: 16px;
}

.vstrb-selected-range {
    font-weight: 700;
    font-size: 15px;
    color: var(--vstrb-current-primary, #111);
}

.vstrb-cal-selected .vstrb-selected-range {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.vstrb-cal-date-inputs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.vstrb-cal-date-inputs label {
    display: grid;
    gap: 5px;
    color: var(--vstrb-current-text, #374151);
    font-size: 12px;
    font-weight: 600;
}

.vstrb-cal-date-inputs input {
    min-width: 0;
    min-height: 42px;
    margin: 0;
}

/* Redundancy Management */
.vstrb-single-month .vstrb-month-title {
    display: none;
}

/* The month grid adapts to the width available from its parent, not just viewport width. */
@container vstrb-day (max-width: 110px) {

    .vstrb-cal-day.sel .price,
    .vstrb-cal-day.inrange .price {
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        margin-top: 10px;
        padding: 5px 4px;
        align-self: stretch;
        line-height: 1.15;
        text-align: center;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .vstrb-cal-day.sel .vstrb-price-value,
    .vstrb-cal-day.inrange .vstrb-price-value {
        display: block;
        min-width: 0;
        width: 100%;
        font-size: 9px !important;
        line-height: 1.15;
        overflow-wrap: anywhere;
        white-space: normal;
    }

    .vstrb-cal-day.sel .vstrb-price-currency,
    .vstrb-cal-day.inrange .vstrb-price-currency {
        margin-left: 0;
        font-size: 8px !important;
        line-height: 1.15;
        white-space: nowrap;
    }

    .vstrb-cal-day.sel .vstrb-price-currency,
    .vstrb-cal-day.inrange .vstrb-price-currency {
        margin-top: 2px;
        font-weight: 600;
    }

    .vstrb-cal-day.sel,
    .vstrb-cal-day.inrange {
        min-height: 82px;
        padding: 6px;
    }
}

.vstrb-cal-day[data-price]:not(.vstrb-price-fits):not(.sel):not(.inrange) .price {
    display: none;
}

/* A selected day whose full price fits stays compact as well. */
.vstrb-cal-day.sel.vstrb-price-fits .price,
.vstrb-cal-day.inrange.vstrb-price-fits .price {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    box-sizing: content-box;
    width: auto;
    max-width: none;
    margin-top: 0;
    padding: 2px 4px;
    align-self: flex-end;
    overflow: visible;
    white-space: nowrap;
}

.vstrb-cal-day.sel.vstrb-price-fits .vstrb-price-value,
.vstrb-cal-day.inrange.vstrb-price-fits .vstrb-price-value {
    display: inline !important;
    width: auto;
    font-size: inherit !important;
    overflow-wrap: normal;
    white-space: nowrap;
}

.vstrb-cal-day.sel.vstrb-price-fits .vstrb-price-currency,
.vstrb-cal-day.inrange.vstrb-price-fits .vstrb-price-currency {
    margin: 0 0 0 4px;
    font-size: inherit !important;
    white-space: nowrap;
}

.vstrb-cal-day.sel.vstrb-price-fits,
.vstrb-cal-day.inrange.vstrb-price-fits {
    min-height: 52px;
    padding: 8px;
}

/* Long prices are expanded only after the visitor explicitly selects the date. */
.vstrb-cal-day.sel:not(.vstrb-price-fits) .price,
.vstrb-cal-day.inrange:not(.vstrb-price-fits) .price {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
    padding: 5px 4px;
    align-self: stretch;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
}

.vstrb-cal-day.sel:not(.vstrb-price-fits) .vstrb-price-value,
.vstrb-cal-day.inrange:not(.vstrb-price-fits) .vstrb-price-value {
    display: block !important;
    min-width: 0;
    width: 100%;
    font-size: 9px !important;
    line-height: 1.15;
    overflow-wrap: anywhere;
    white-space: normal;
}

.vstrb-cal-day.sel:not(.vstrb-price-fits) .vstrb-price-currency,
.vstrb-cal-day.inrange:not(.vstrb-price-fits) .vstrb-price-currency {
    margin: 2px 0 0;
    font-size: 8px !important;
    line-height: 1.15;
    white-space: nowrap;
}

.vstrb-cal-day.sel:not(.vstrb-price-fits),
.vstrb-cal-day.inrange:not(.vstrb-price-fits) {
    min-height: 82px;
    padding: 6px;
}

@container vstrb-month (max-width: 380px) {
    .vstrb-cal-grid {
        gap: 4px;
    }

    .vstrb-cal-day {
        min-height: 44px;
        padding: 5px;
    }

    .vstrb-cal-day .tag {
        display: none;
    }

    .vstrb-cal-wd {
        font-size: 10px;
        padding-bottom: 6px;
    }
}

@container vstrb-month (max-width: 280px) {
    .vstrb-cal-grid {
        gap: 2px;
    }

    .vstrb-cal-day {
        min-height: 36px;
        padding: 3px;
    }

    .vstrb-cal-day .d {
        font-size: 12px;
    }
}

/* On desktop, reveal the compact details without shifting the calendar layout. */
@media (hover: hover) and (pointer: fine) {
    .vstrb-cal-day[data-price]:not(.vstrb-price-fits):hover:not(.past):not(.occ):not(.vstrb-closed):not(.vstrb-checkin):not(.vstrb-checkout):not(.vstrb-checkout-checkin) {
        position: relative;
        z-index: 20;
        min-width: 132px;
        overflow: visible;
        transform: scale(1.08);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
    }

    .vstrb-cal-day[data-price]:not(.vstrb-price-fits):hover .price {
        display: block !important;
    }

    /* Wide desktop cells keep the complete amount on one unobtrusive line. */
    .vstrb-cal-day.sel .price,
    .vstrb-cal-day.inrange .price {
        display: inline-flex;
        flex-direction: row;
        align-items: center;
        box-sizing: content-box;
        width: auto;
        max-width: none;
        min-height: 0;
        margin-top: 0;
        padding: 2px 4px;
        align-self: flex-end;
        overflow: visible;
        white-space: nowrap;
    }

    .vstrb-cal-day.sel .vstrb-price-value,
    .vstrb-cal-day.inrange .vstrb-price-value {
        display: inline !important;
        font-size: inherit !important;
        overflow-wrap: normal;
        white-space: nowrap;
    }

    .vstrb-cal-day.sel .vstrb-price-currency,
    .vstrb-cal-day.inrange .vstrb-price-currency {
        margin: 0 0 0 4px;
        font-size: inherit !important;
    }

    .vstrb-cal-day.sel,
    .vstrb-cal-day.inrange {
        min-height: 52px;
        padding: 8px;
    }
}

/* Use the actual day-cell width, so wide cells keep long prices on one line. */
@container vstrb-day (min-width: 110px) {
    .vstrb-cal-day.sel .price,
    .vstrb-cal-day.inrange .price {
        display: inline-flex;
        flex-direction: row;
        align-items: center;
        box-sizing: content-box;
        width: auto;
        max-width: none;
        min-height: 0;
        margin-top: 0;
        padding: 2px 4px;
        align-self: flex-end;
        overflow: visible;
        white-space: nowrap;
    }

    .vstrb-cal-day.sel .vstrb-price-value,
    .vstrb-cal-day.inrange .vstrb-price-value {
        display: inline !important;
        font-size: clamp(9px, 8cqi, 14px) !important;
        overflow-wrap: normal;
        white-space: nowrap;
    }

    .vstrb-cal-day.sel .vstrb-price-currency,
    .vstrb-cal-day.inrange .vstrb-price-currency {
        margin: 0 0 0 4px;
        font-size: clamp(8px, 7cqi, 12px) !important;
        white-space: nowrap;
    }
}

/* Mobile Optimizations */
@media (max-width: 640px) {
    .vstrb-calendar {
        padding: 16px;
    }

    .vstrb-cal-grid-container {
        grid-template-columns: 1fr;
        gap: 24px;
        overflow-x: visible;
    }

    .vstrb-cal-day {
        min-height: 48px;
        padding: 6px;
    }

    .vstrb-nav-label {
        display: none;
    }
}

@media (max-width: 320px) {
    .vstrb-month-block {
        min-width: 100%;
    }
}
.vstrb-unit-amenity-list ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vstrb-unit-amenity-list li {
  position: relative;
  padding-left: 20px;
}

.vstrb-unit-amenity-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.45;
}

.vstrb-unit-amenity-list small {
  display: block;
  margin-top: 2px;
  opacity: 0.72;
}

.vstrb-unit-amenity-group + .vstrb-unit-amenity-group {
  margin-top: 14px;
}
