@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600;700&display=swap');

button.shb-week-tile:hover {
    background: #fff !important;
}
body .shb-flow span.shb-field-error {
    color: #e71919 !important;
}
button.shb-week-tile:focus {
    background: #fff !important;
}
button.shb-week-tile {
    min-height: 234px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    width: 25%;
    background: #fff;
    border-radius: 40px;
}

button.shb-week-picker-prev,
button.shb-week-picker-next {
    background: none;
    padding: 0;
    color: #000;
    border: 1px solid #00000026!IMPORTANT;
    line-height: 0px !IMPORTANT;
}
button.shb-week-picker-prev:hover,
button.shb-week-picker-next:hover {
    background: transparent;
    color: #000;
}


.shb-week-picker-nav strong {
    font-size: 28px;
    font-weight: 500;
    color: #111;
}

.shb-week-picker {
    padding: 40px;
    border-radius: 40px;
    color: #F3F5FF !important;
}

span.shb-week-picker-count {
    font-size: 22px;
    font-weight: 400;
    color: #111 !important;
}
.shb-week-tile-range {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}

button.shb-button.shb-modal-continue {
    margin: 0px !IMPORTANT;
    min-width: 144px;
    font-size: 18px !important;
}

button.shb-secondary.shb-modal-cancel {
    font-size: 18px !important;
}

.shb-week-picker-header {
    margin-bottom: 30px;
}



h2#shb-week-modal-title {
    font-family: Outfit;
    font-weight: 500;
    font-size: 44px;
    line-height: 1.3em;
    letter-spacing: 0%;
    color: #111;
}

p.shb-modal-subtitle {
    font-family: Outfit;
    font-weight: 400 !important;
    font-size: 18px;
    line-height: 1.5em;
}

button.shb-modal-close {
    padding: 0px;
    background: none;
    font-size: 34px;
    color: #000;
}
button.shb-modal-close:hover {
    background: none !important;
    color: #000;
}
.shb-week-picker-grid {
    display: flex;
}

/*  */
.shb-flow {
    display: grid;
    gap: 60px;
}

.shb-stepper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 40px;
    font-family: Outfit;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #1111110D;
}

.shb-step {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.shb-step-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-weight: 700;
    background: #eef1f6;
    color: #8891a5;
}

.shb-step-completed .shb-step-circle,
.shb-step-active .shb-step-circle {
    background: #ec7425;
    color: #fff;
}

.shb-step-text {
    display: grid;
    line-height: 1.3;
}

.shb-step-text strong {
    font-size: 22px;
    font-weight: 500;
    color: #111;
    margin-bottom: 4px;
}

.shb-step-text small {
    font-size: 16px;
    color: #777777;
}

.shb-step-active .shb-step-text small {
    color: #01234C;
    font-weight: 600;
}

.shb-step-line {
    flex: 1 1 auto;
    height: 2px;
    min-width: 24px;
    background: #e4e8f1;
}

.shb-step-line-filled {
    background: #062c57;
}


.shb-search,
.shb-booking-start,
.shb-application,
.shb-agreement,
.shb-payment,
.shb-confirmation {
    display: grid;
    gap: 18px;
    max-width: 100%;
    width: 100%;
}

.shb-book-now-page {
    max-width: 1180px;
    margin: 0 auto;
}

.shb-search {
    grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto;
    align-items: end;
    padding: 20px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(8, 43, 80, 0.08);
}

.shb-field {
    display: grid;
    gap: 8px;
    font-weight: 600;
}

.shb-field input,
.shb-field select,
.shb-field textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid #e2e6ef;
    border-radius: 24px;
    padding: 10px 16px;
    background: #f7f8fb;
}

.shb-field textarea {
    min-height: 120px;
    border-radius: 18px;
}

.shb-application-intro {
    margin: -8px 0 4px;
    color: #5b6579;
}

.shb-application-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.shb-application-section {
    display: grid;
    gap: 16px;
    align-content: start;
    padding: 40px;
    border: 1px solid #edf0f5;
    border-radius: 40px;
    background: #fff;
}

.shb-application-section h3 {
    margin: 0px 0px 40px 0px;
    font-size: 38px;
    color: #111111;
}

.shb-application-documents {
    grid-column: 1 / -1;
}

.shb-upload {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 56px 20px;
    border: 2px dashed #01234C;
    border-radius: 40px;
    text-align: center;
    cursor: pointer;
}

.shb-upload input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.shb-upload-icon {
    font-size: 22px;
    color: #6b7690;
}

.shb-upload-label {
    font-weight: 400;
    color: #111;
    font-size: 18px;
}
.shb-flow {
    gap: 30px;
}

p.shb-application-intro {
    margin-bottom: 20px;
}

.shb-application-section h3 {
    font-size: 30px;
    margin-bottom: 20px;
}
.shb-upload-hint {
    font-size: 13px;
    color: #8891a5;
}

.shb-upload-current {
    margin: 0;
    font-size: 14px;
}

.shb-card-subtitle {
    margin: -8px 0 0;
    color: #5b6579;
    font-size: 14px;
}

.shb-signature-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.shb-upload-signature {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 22px 30px;
    border-radius: 30px;
    background: #062c57;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
}

.shb-upload-signature input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.shb-signature-input {
    width: 100%;
    min-height: 90px;
    border: 1px solid #e2e6ef;
    border-radius: 16px;
    padding: 10px 20px;
    background: #f7f8fb;
    font-family: 'Dancing Script', cursive;
    font-size: 32px;
    color: #17203a;
}

.shb-signature-preview {
    display: block;
    margin-top: 8px;
    max-height: 90px;
}

.shb-signature-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shb-clear-signature {
    padding: 8px 16px;
    border: 1px solid #e2e6ef;
    border-radius: 24px;
    background: #fff;
    color: #062c57;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}

.shb-signature-pad-wrap {
    position: relative;
}
.shb-agreement button.shb-button {
    margin: auto 0 auto auto !important;
}
.shb-signature-pad {
    display: block;
    width: 100%;
    height: 180px;
    border: 1px dashed #d7dceb;
    border-radius: 40px;
    background: #f7f8fb;
    touch-action: none;
    cursor: crosshair;
}

.shb-signature-pad-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #b6bccb;
    font-size: 15px;
    pointer-events: none;
}

.shb-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.shb-payment-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 24px;
    align-items: start;
}

.shb-summary-list {
    display: grid;
    gap: 12px;
    margin: 0;
}

.shb-summary-list > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.shb-summary-list dt {
    color: #111111;
    font-size: 16px;
}
.shb-payment {
    font-family: Outfit;
}
.shb-payment h2 {
    font-size: 68px;
    margin: 0;
}
.shb-summary-list dd {
    margin: 0;
    font-weight: 600;
    text-align: right;
}

.shb-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #edf0f5;
}

.shb-summary-total strong {
    color: #062c57;
    font-size: 26px;
}

.shb-payment-method-card .woocommerce-billing-fields > h3,
.shb-payment-method-card .woocommerce-additional-fields,
.shb-payment-method-card #order_review_heading,
.shb-payment-method-card table.woocommerce-checkout-review-order-table,
.shb-payment-method-card .woocommerce-form-coupon-toggle {
    display: none;
}

.shb-payment-method-card #billing_first_name_field,
.shb-payment-method-card #billing_last_name_field,
.shb-payment-method-card #billing_email_field,
.shb-payment-method-card #billing_phone_field {
    display: none;
}

.shb-payment-method-card .woocommerce-checkout {
    margin: 0;
}

.shb-payment-method-card #customer_details,
.shb-payment-method-card .col2-set {
    display: block;
    width: 100%;
}

.shb-payment-method-card .col-1,
.shb-payment-method-card .col-2 {
    width: 100%;
    float: none;
}

.shb-payment-method-card .woocommerce-notices-wrapper:empty {
    display: none;
}

.shb-payment-method-card .woocommerce-notices-wrapper {
    margin-bottom: 16px;
}

.shb-payment-method-card ul.wc_payment_methods {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.shb-payment-row {
    border: 1px solid #edf0f5;
    border-radius: 14px;
    overflow: hidden;
}

.shb-payment-row-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    margin: 0;
    cursor: pointer;
}

.shb-payment-row-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shb-payment-row-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border-radius: 10px;
    background: #f7f8fb;
    color: #062c57;
}

.shb-payment-row-title {
    font-weight: 600;
    color: #17203a;
}

.shb-payment-row-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shb-payment-row-brand img {
    max-height: 22px;
    display: block;
}

.shb-payment-row-radio {
    width: 20px;
    height: 20px;
    accent-color: #ec7425;
    margin: 0;
}

.shb-payment-method-card .payment_box {
    margin: 0 18px 14px;
    padding: 14px;
    border-radius: 12px;
    background: #f7f8fb;
}

.shb-payment-method-card .form-row.place-order {
    margin-top: 16px;
}

.shb-payment-method-card #place_order {
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 24px;
    background: #ec7425;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}


.shb-button,
.shb-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 22px;
    border-radius: 24px;
    border: 0;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}

.shb-button {
    background: #ec7425;
    color: #fff;
}

.shb-elementor-button {
    min-height: 52px;
    border-radius: 999px;
    padding: 14px 28px;
    font-weight: 700;
    text-decoration: none;
}

.shb-elementor-button .elementor-button-content-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.shb-elementor-button-primary {
    background: #ec7425;
    color: #fff;
}

.shb-elementor-button-secondary {
    background: #fff;
    color: #062c57;
}

.shb-secondary {
    background: #fff;
    color: #062c57;
    border: 1px solid #e2e6ef;
}

.shb-results {
    display: grid;
    gap: 26px;
}

.shb-home-card {
    display: grid;
    grid-template-columns: 260px 1fr minmax(180px, 220px);
    gap: 30px;
    align-items: center;
    padding: 24px 0;
}

.shb-home-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 18px;
}

.shb-home-price,
.shb-booking-card {
    display: grid;
    gap: 12px;
    padding: 24px;
    border-radius: 22px;
    background: #eef2ff;
}

.shb-home-price strong,
.shb-booking-card strong {
    color: #062c57;
    font-size: 28px;
}

.shb-selected-house {
    display: grid;
    gap: 28px;
    padding: 30px;
    border: 1px solid #edf0f5;
    border-radius: 18px;
    background: #fff;
}

.shb-selected-house h2,
.shb-summary-card h2,
.shb-next-card h2 {
    margin: 0;
    font-size: 30px;
}

.shb-selected-house-grid {
    display: grid;
    grid-template-columns: 290px 1fr 230px;
    gap: 36px;
    align-items: center;
}

.shb-selected-house-image {
    min-height: 190px;
    border-radius: 14px;
    background: #eef2ff;
    overflow: hidden;
}

.shb-selected-house-image img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.shb-selected-house-details {
    display: grid;
    gap: 12px;
}

.shb-selected-house-details h3 {
    margin: 0;
    font-size: 30px;
}

.shb-meta-line {
    margin: 0;
}

.shb-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

.shb-pill-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 0;
    font-weight: 600;
}

.shb-selected-price {
    display: grid;
    gap: 16px;
    padding: 28px;
    border-radius: 22px;
    background: #eef2ff;
}

.shb-selected-price strong {
    color: #062c57;
    font-size: 32px;
    line-height: 1.1;
}

.shb-stay-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: end;
    padding: 26px;
    border-radius: 22px;
    background: #f0f3ff;
}

.shb-stay-panel h3 {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 20px;
}

.shb-stay-panel h3 span {
    color: #737985;
}

.shb-week-list {
    display: grid;
    gap: 12px;
}
.wrapper-div-weeklist {
    display: flex;
    align-items: end;
    width: 60% !important;
}

button.shb-button.shb-open-week-picker {
    margin: 0px 0px 0px 10px !IMPORTANT;
}

.shb-week-list {
    width: 100%;
}
.shb-week-chip {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 60px;
    padding: 6px 14px;
    border-radius: 24px;
    background: #fff;
}

.shb-week-range {
    color: #333b49;
    font-weight: 600;
    white-space: nowrap;
}

.shb-remove-week {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: #062c57;
    color: #fff;
    cursor: pointer;
}

body.shb-modal-open {
    overflow: hidden;
}

.shb-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(6, 15, 33, 0.55);
}

.shb-modal-overlay[hidden] {
    display: none;
}

.shb-modal {
    position: relative;
    width: 100%;
    max-width: 80%;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 30px 60px rgba(6, 15, 33, 0.25);
    padding: 60px;
    border-radius: 40px;
}

.shb-modal h2 {
    margin: 0 0 4px;
    font-size: 26px;
}

.shb-modal-subtitle {
    margin: 0 0 20px;
    color: #687080;
}

.shb-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border: 0;
    padding: 0 !important;
    border-radius: 50% !important;
    background: #f0f3ff;
    color: #062c57;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.shb-week-picker {
    padding: 40px;
    border-radius: 40px;
    background: #F3F5FF;
}

.shb-week-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.shb-week-picker-count {
    color: #3f4651;
    font-weight: 600;
}

.shb-week-picker-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 18px;
    font-weight: 700;
}

.shb-week-picker-prev,
.shb-week-picker-next {
    width: 32px;
    height: 32px;
    padding: 0px !important;
    border: 0 ;
    border-radius: 50% !important;
    background: #fff;
    color: #062c57;
    cursor: pointer;
}

.shb-week-picker-grid {
    display: flex;
    gap: 12px;
}

.shb-week-picker-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 20px;
    text-align: center;
    color: #687080;
}

.shb-week-tile {
    position: relative;
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 2px solid transparent;
    border-radius: 40px !important;
    background: #fff;
    text-align: left;
    cursor: pointer;
    white-space: wrap;
}

.shb-week-tile-check {
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 20px;
    left: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #062c57;
    color: #fff;
    font-size: 12px;
}

.shb-week-tile.is-selected {
    border-color: #062c57;
}

.shb-week-tile.is-selected .shb-week-tile-check {
    display: flex;
}

.shb-week-tile-range {
    font-weight: 400;
    color: #111;
    font-size: 20px;
    line-height: 1.5em;
}

.shb-week-tile-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 400;
    background: #e3fbe9;
    color: #1c8a44;
    margin-top: 6px;
}

.shb-week-tile.is-unavailable {
    cursor: not-allowed;
    opacity: 0.6;
}

.shb-week-tile.is-unavailable .shb-week-tile-status {
    background: #eef0f4;
    color: #8891a5;
}

.shb-week-tile.is-added {
    cursor: not-allowed;
    opacity: 0.6;
}

.shb-week-tile.is-added .shb-week-tile-status {
    background: #eef0f4;
    color: #8891a5;
}

.shb-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}



.shb-booking-lower {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
}

.shb-summary-card,
.shb-next-card {
    padding: 30px;
    border: 1px solid #edf0f5;
    border-radius: 18px;
    background: #fff;
}

.shb-summary-card dl {
    display: grid;
    gap: 18px;
    margin: 26px 0 0;
}

.shb-summary-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.shb-summary-card dt {
    color: #3f4651;
}

.shb-summary-card dd {
    margin: 0;
    font-weight: 700;
    text-align: right;
}

.shb-summary-total {
    align-items: baseline;
    margin-top: 8px;
}

.shb-summary-total dd {
    color: #062c57;
    font-size: 34px;
}

.shb-next-steps {
    display: grid;
    gap: 14px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.shb-next-steps li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: center;
}

.shb-next-steps li > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #062c57;
    color: #fff;
    font-weight: 700;
}

.shb-next-steps li > div {
    padding: 22px 26px;
    border-radius: 16px;
    background: #eef2ff;
}

.shb-next-steps strong {
    display: block;
    font-size: 20px;
}

.shb-next-steps p {
    margin: 5px 0 0;
    color: #687080;
}

.shb-booking-actions {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
}

.shb-error,
.shb-empty {
    padding: 16px 18px;
    border-radius: 12px;
    background: #fff5f5;
    color: #8a1f1f;
}

.shb-disclosure {
    max-height: 220px;
    overflow: auto;
    padding: 24px;
    border-radius: 18px;
    background: #f7f8fb;
}

.shb-home-gallery {
    display: grid;
    gap: 14px;
    text-align: center;
}

.shb-gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    margin-top: 18px;
}

.shb-gallery-item {
    grid-column: span 2;
    margin: 0;
}

.shb-gallery-wide {
    grid-column: span 3;
}

.shb-gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    border-radius: 18px;
}

.page-id-209 {
    background: #fdfdfd;
}
.shb-application h2 {
    font-family: Outfit;
    font-weight: 500;
    font-size: 68px;
    line-height: 1.3em;
    margin: 0px;
}

p.shb-application-intro {
    font-size: 20px;
    color: #414141;
    margin-bottom: 35px;
}
.shb-application-section label.shb-field {
    font-weight: 400;
}
div#payment {
    background: #fff !important;
}

@media (max-width: 1441px) {
    .shb-week-tile-range {
    font-size: 18px;
    line-height: 1.2em;
    }
    .shb-results-bar .shb-results-count {
        font-size: 20px !important;
    }
    button.shb-week-tile {
        min-height: 204px;
        width: 100%;
    }
    h2#shb-week-modal-title {
        font-size: 34px;
    }
    .shb-week-picker-nav strong {
        font-size: 22px;
    }
    button.shb-button.shb-modal-continue,
    button.shb-secondary.shb-modal-cancel {
        font-size: 16px !important;
    }
.shb-payment h2 {
    font-size: 48px;
    margin: 0;
}
.shb-flow {
    gap: 30px;
}

p.shb-application-intro {
    margin-bottom: 20px;
}

.shb-application-section h3 {
    font-size: 30px;
    margin-bottom: 20px;
}
.shb-application h2 {
    font-size: 48px;
    line-height: 1.3em;
}
.shb-application button.shb-button {
    margin: auto 0 auto auto !important;
}

}


@media (max-width: 1081px) {
    .shb-week-tile-range {
        font-size: 14px;
        line-height: 1.2em;
    }
    .shb-payment-method-card .form-row.place-order {
    margin-top: 0;
}
    .shb-results-bar .shb-results-count {
        font-size: 18px !important;
    }
    button.shb-week-tile {
        min-height: 160px;
        width: 23%;
    }
    h2#shb-week-modal-title {
        font-size: 28px;
    }
    span.shb-week-picker-count {
        font-size: 18px;
    }
    span.shb-week-tile-status {
    font-size: 12px;
    padding: 4px 10px;
}
    .shb-week-picker-nav strong {
        font-size: 22px;
    }
    button.shb-button.shb-modal-continue,
    button.shb-secondary.shb-modal-cancel {
        font-size: 16px !important;
        min-height: 50px !important;
    }
    button.shb-button.shb-open-week-picker,
    .shb-week-chip {
        min-height: 50px !IMPORTANT;
    }
    .shb-stay-panel {
        gap: 16px 12px;
    }
    .shb-week-picker {
        padding: 20px;
    }

    .shb-modal {
        padding: 30px;
    }

    p.shb-modal-subtitle {
        font-size: 16px !important;
    }
.shb-step-text strong {
    font-size: 18px;
}
.shb-step-text small {
    font-size: 14px;
}
.shb-stepper {
    padding: 20px;
}
.shb-application h2 {
        font-size: 34px;
        line-height: 1.3em;
}
.shb-application-section {
    padding: 30px 20px;
}
.shb-payment h2 {
    font-size: 38px;
    margin: 0;
}

}

@media (max-width: 981px) {
    .shb-week-tile-range {
        font-size: 14px;
        line-height: 1.2em;
    }

    button.shb-week-tile {
        min-height: 180px;
        width: 31%;
    }
    h2#shb-week-modal-title {
        font-size: 24px;
    }
        .shb-results-bar .shb-results-count {
        font-size: 16px !important;
    }
    .shb-week-picker-grid {
    flex-wrap: wrap;
}
    .shb-week-picker-nav strong {
        font-size: 18px;
    }
    button.shb-button.shb-modal-continue,
    button.shb-secondary.shb-modal-cancel {
        font-size: 16px !important;
    }
button.shb-week-picker-prev, button.shb-week-picker-next {
    width: 24px;
    height: 24px;
    font-size: 12px;
    line-height: 1em;
}
.shb-application-section h3 {
        font-size: 26px;
        margin-bottom: 10px;
}
.shb-upload {
    padding: 34px 20px;
}
.shb-payment h2 {
    font-size: 32px;
    margin: 0;
}

}

@media (max-width: 767px) {
    .shb-search,
    .shb-home-card,
    .shb-selected-house-grid,
    .shb-stay-panel,
    .shb-booking-lower {
        grid-template-columns: 1fr;
    }
    .shb-selected-house {
        padding: 20px;
    }

    .shb-booking-actions {
        justify-content: stretch;
        flex-direction: column;
    }

    .shb-gallery-grid,
    .shb-gallery-item,
    .shb-gallery-wide {
        display: block;
    }

    .shb-gallery-item {
        margin-bottom: 14px;
    }
.shb-modal {
    max-width: 100%;
    padding: 20px 20px;
    border-radius: 20px;
}

h2#shb-week-modal-title {
    font-size: 22px;
}

p.shb-modal-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
}

.shb-week-picker-header {
    flex-wrap: wrap;
}

span.shb-week-picker-count {
    font-size: 14px;
}

.shb-week-picker-nav strong {
    font-size: 16px;
}

.shb-week-picker-grid {
    flex-wrap: wrap;
}

button.shb-week-tile,
button.shb-week-tile.is-unavailable {
    width: 46.5%;
    min-height: 120px;
    border-radius: 8px !important;
    padding: 10px 10px;
}

span.shb-week-tile-range {
    font-size: 14px;
    line-height: 1.4em;
}
.shb-week-tile-check {
    top: 4px;
    left: 7px;
    width: 15px;
    height: 15px;
}
.shb-stepper {
    width: 100% !important;
    flex-wrap: wrap;
}
span.shb-step-line.shb-step-line-empty {
    max-width: 140px;
    margin: auto;
}

.shb-application-grid {
    display: flex;
    flex-wrap: wrap;
}

.shb-application-section {
    width: 100%;
}

label.shb-upload {
    font-size: 12px !important;
}

.shb-application-section h3 {
    margin-bottom: 0;
}

p.shb-application-intro {
    font-size: 14px;
    margin-bottom: 0;
}

.shb-step-text strong {
    font-size: 14px;
}

.shb-step-active .shb-step-text small {
    font-size: 10px;
}

.shb-step-text strong {
    font-size: 12px;
    margin: 0;
}

.shb-step-text small {
    font-size: 10px;
}

.shb-stepper {
    padding: 16px 6px;
    gap: 5px;
}

span.shb-step-line.shb-step-line-empty {
    max-width: 0px !important;
    margin: 0;
    min-width: 12px;
}

.shb-stepper .shb-step-circle {
    width: 12px !important;
    height: 20px !important;
    font-size: 10px !important;
}

.shb-step.shb-step-upcoming,
.shb-step.shb-step-active {
    gap: 5px;
}
.shb-upload-label {
    font-weight: 400;
    color: #111;
    font-size: 14px;
}
.shb-flow {
    display: flex;
    flex-direction: column;
}
h2.review-sign {
    padding: 0px !important;
}
.shb-signature-header {
    flex-direction: column;
}
.shb-signature-header {
    flex-direction: column;
}

.waiver-card,
.shb-disclosure .waiver-card {
    margin: 0px 0px;
}

.shb-agreement label,
button.shb-clear-signature {
    font-size: 14px !important;
    min-height: 48px !IMPORTANT;
    padding: 0px 30px;
}
.shb-payment h2 {
    font-size: 28px;
    margin: 0;
}
label.shb-checkbox {
    padding: 0px 0px;
}
.shb-payment-grid {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}
.shb-summary-list dd,
.shb-summary-list dt {
    font-size: 14px !important;
}

}


/* =========================================================================
   v1.7 – Booking flow & payment step aligned with "Application process" design
   ========================================================================= */

/* Breadcrumb */
.shb-breadcrumb {
    font-family: Outfit, sans-serif;
    margin: 0 !important;
}
/* Kept from 1.8.x: lays the breadcrumb items out on one line (Home / Our homes / …). */
.shb-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 16px;
    color: #4b4b4b;
}

.shb-breadcrumb li + li::before {
    content: "/";
    margin-right: 6px;
    color: #9aa0ab;
}
.shb-breadcrumb a {
    color: #4b4b4b;
    text-decoration: none;
}
.shb-breadcrumb a:hover {
    color: #062c57;
}
.shb-breadcrumb [aria-current="page"] {
    color: #062c57;
    font-weight: 600;
}

/* Required marker */
.shb-field span em {
    font-style: normal;
    color: #d0342c;
    margin-left: 2px;
}

/* Step action rows: [Back / Cancel] [Primary →] aligned right */
.shb-flow-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}
.shb-flow-actions .shb-secondary,
.shb-flow-actions .shb-button {
    gap: 8px;
    min-height: 46px !important;
    padding: 10px 24px !important;
    border-radius: 999px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    width: auto !important;
    margin: 0 !important;
}
.shb-flow-actions .shb-secondary {
    background: #fff;
    color: #17203a;
    border: 1px solid #d9dce3;
}
.shb-flow-actions .shb-secondary:hover {
    border-color: #062c57;
    color: #062c57;
}
.shb-arrow {
    flex: 0 0 auto;
}
.shb-button.is-busy,
.shb-button:disabled {
    opacity: .6;
    cursor: progress;
}

/* Payment step: summary total */
.shb-payment .shb-payment-total {
    border-top: 0;
    padding-top: 12px;
}
.shb-payment .shb-payment-total span:first-child {
    font-size: 18px;
    font-weight: 500;
    color: #111;
}
.shb-payment .shb-payment-total strong,
.shb-payment .shb-payment-total strong .woocommerce-Price-amount,
.shb-payment .shb-payment-total strong .woocommerce-Price-currencySymbol,
.shb-confirmation .shb-summary-total strong,
.shb-confirmation .shb-summary-total strong .woocommerce-Price-amount,
.shb-confirmation .shb-summary-total strong .woocommerce-Price-currencySymbol {
    font-size: 34px !important;
    font-weight: 600 !important;
    color: #062c57 !important;
    line-height: 1.1;
}

/* Payment step: WooCommerce form inside the "Payment method" card.
   Billing details come from the application, so the fields stay hidden. */
.shb-payment-method-card .woocommerce-billing-fields,
.shb-payment-method-card .woocommerce-shipping-fields,
.shb-payment-method-card .woocommerce-additional-fields,
.shb-payment-method-card #wc-stripe-express-checkout-element,
.shb-payment-method-card #wc-stripe-express-checkout-button-separator,
.shb-payment-method-card #billing_country_field,
.shb-payment-method-card .woocommerce-privacy-policy-text:empty {
    display: none !important;
}
.shb-payment-method-card #payment,
.shb-payment-method-card div#payment {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
}
.shb-payment-method-card #payment .form-row.place-order {
    padding: 0 !important;
    margin: 0 !important;
}
/* WooCommerce's own button stays in the form (gateways need it) but is hidden;
   the visible "Pay & book now" below the cards clicks it. */
.shb-payment-method-card #place_order {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
}

/* Payment method cards */
.shb-payment-method-card ul.wc_payment_methods {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid;
    gap: 16px;
    border: 0 !important;
}
.shb-payment-method-card li.shb-payment-row {
    position: relative;
    border: 1px solid #e9ebf0 !important;
    border-radius: 16px !important;
    background: #fff;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    transition: border-color .15s ease;
}
.shb-payment-method-card li.shb-payment-row:has(> .shb-payment-row-radio:checked) {
    border-color: #cfd5e2 !important;
}
.shb-payment-row > .shb-payment-row-radio {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    pointer-events: none;
}
.shb-payment-method-card .shb-payment-row-label {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 20px !important;
    margin: 0 !important;
    border: 0 !important;
    cursor: pointer;
    font-family: Outfit, sans-serif;
}
.shb-payment-method-card .shb-payment-row-main {
    display: flex;
    align-items: center;
    gap: 10px;
}
.shb-payment-method-card .shb-payment-row-icon {
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    color: #17203a;
    display: inline-flex;
}
.shb-payment-method-card .shb-payment-row-title {
    font-size: 17px;
    font-weight: 500;
    color: #111;
}
.shb-payment-method-card .shb-payment-row-right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
}
.shb-card-brands {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.shb-radio-ui {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid #b8bdc8;
    background: #fff;
    flex: 0 0 auto;
    box-sizing: border-box;
}
.shb-payment-row > .shb-payment-row-radio:checked + label .shb-radio-ui {
    border: 4.5px solid #062c57;
}
.shb-payment-row > .shb-payment-row-radio:focus-visible + label {
    outline: 2px solid #062c57;
    outline-offset: -2px;
}
.shb-payment-method-card .payment_box {
    margin: 0 !important;
    padding: 0 20px 20px !important;
    background: transparent !important;
    border-radius: 0 !important;
    font-family: Outfit, sans-serif;
    font-size: 14px;
    color: #4b4b4b;
}
.shb-payment-method-card .payment_box fieldset {
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
.shb-payment-method-card .payment_box::before {
    display: none !important;
}
.shb-payment-method-card .payment_box p:last-child {
    margin-bottom: 0;
}

/* Name on card – matches Stripe inputs styled via the Appearance API */
.shb-card-name-row {
    margin: 14px 0 0 !important;
    padding: 0 !important;
}
.shb-card-name-row label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #17203a;
    margin-bottom: 8px;
}
.shb-card-name-row input {
    width: 100%;
    min-height: 44px;
    padding: 12px 16px !important;
    border: 1px solid #e7e7e7 !important;
    border-radius: 999px !important;
    background: #f3f3f3 !important;
    font-family: Outfit, sans-serif;
    font-size: 14px;
    color: #17203a;
    box-shadow: none !important;
}
.shb-card-name-row input:focus {
    border-color: #062c57 !important;
    outline: none;
}

/* Errors inside the payment card */
.shb-payment-method-card .woocommerce-NoticeGroup-checkout,
.shb-payment-method-card .woocommerce-error {
    margin: 0 0 16px !important;
    border-radius: 12px;
}

@media (max-width: 767px) {
    .shb-flow-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }
    .shb-flow-actions .shb-secondary,
    .shb-flow-actions .shb-button {
        width: 100% !important;
    }
    .shb-payment .shb-payment-total strong,
    .shb-payment .shb-payment-total strong .woocommerce-Price-amount,
    .shb-payment .shb-payment-total strong .woocommerce-Price-currencySymbol {
        font-size: 28px !important;
    }
}


/* =========================================================================
   v1.8 – QA report fixes (search bar, results, book now, steps)
   ========================================================================= */

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

/* Search bar – correct icons (home / calendar were swapped) */
body .shb-search .shb-field-home::before {
    background-image: url('/wp-content/uploads/2026/09/home-icon.svg') !important;
}
body .shb-search .shb-field-dates::before {
    background-image: url('/wp-content/uploads/2026/09/hugeicons_date-time.svg') !important;
}
body .shb-search .shb-button {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
}
.shb-search .shb-field-dates { position: relative; }
.shb-search .shb-field-dates.is-empty input[type="date"] { color: transparent !important; }
.shb-search .shb-week-placeholder {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-style: normal;
    font-weight: 400;
    color: #777;
    pointer-events: none;
    white-space: nowrap;
    align-items: center;
    gap: 12px;
}
.shb-search .shb-field-dates.is-empty .shb-week-placeholder { display: inline-flex; }

/* Results page */
.shb-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 24px;
}
.shb-results-bar .shb-results-count {
    margin: 0;
    font-size: 24px;
    color: #17203a;
}
.shb-gender-filter { margin: 0; }
.shb-gender-filter label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #f3f5ff;
    border: 1px solid #e6e9f5;
    cursor: pointer;
}
.shb-gender-filter img { width: 18px; height: 18px; }
body .shb-gender-filter select {
    border: 0 !important;
    background: transparent !important;
    font: 500 14px/1.2 Outfit, sans-serif !important;
    color: #17203a !important;
    padding: 0 4px !important;
    min-height: 0 !important;
    height: auto !important;
    cursor: pointer;
}

.shb-amenities {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0 0 8px !important;
    padding: 0 !important;
    font-family: Outfit, sans-serif;
    color: #17203a;
}
.shb-amenities li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    margin: 0;
}
.shb-amenities li + li::before {
    content: "•";
    margin: 0 12px;
    color: #17203a;
    font-weight: 700;
}
.shb-amenities img { width: 18px; height: 18px !important; min-height: 0 !important; flex: 0 0 auto; }

body .shb-meta-line {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 12px !important;
    font-family: Outfit, sans-serif;
    font-size: 15px;
    color: #17203a;
}
.shb-meta-line img { width: 18px; height: 18px !important; min-height: 0 !important; }
body .shb-meta-line .shb-meta-label { font-weight: 500; text-decoration: none !important; }
body .shb-meta-line a { color: #062c57; text-decoration: underline; text-underline-offset: 2px; }
body .shb-meta-line .shb-meta-value { text-decoration: none !important; }

body .shb-results .shb-home-price strong,
body .shb-results .shb-home-price strong * {
    color: #062c57 !important;
    line-height: 1.2 !important;
}
.shb-home-price .shb-arrow,
.shb-home-price a { gap: 6px; }

/* Book now – selected house & summary */

body .shb-booking-actions .shb-button { display: inline-flex !important; align-items: center; gap: 8px; }

/* Application steps */
body .shb-flow .shb-field input,
body .shb-flow .shb-field select,
body .shb-flow .shb-field textarea {
    color: #17203a !important;
}
body .shb-flow .shb-field input::placeholder,
body .shb-flow .shb-field textarea::placeholder {
    color: #9aa0ab !important;
}
body .shb-flow form .shb-flow-actions > .shb-button,
body .shb-flow form .shb-flow-actions > .shb-secondary,
body .shb-flow .shb-flow-actions > .shb-button,
body .shb-flow .shb-flow-actions > .shb-secondary {
    margin: 0 !important;
    width: auto !important;
    flex: 0 0 auto !important;
}
.shb-step-completed .shb-step-circle { font-weight: 600; }

@media (max-width: 767px) {
    .shb-results-bar { flex-wrap: wrap; }
    body .shb-results .shb-home-price strong,
    body .shb-results .shb-home-price strong * { font-size: 24px !important; }
}

/* Result card image link (keeps theme's 34% image column) */
body .shb-results .shb-home-card .shb-home-image-link {
    display: block;
    width: 33%;
    flex: 0 0 33%;
    border-radius: 24px;
    overflow: hidden;
}
body .shb-results .shb-home-card .shb-home-image-link img.shb-home-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}
body .shb-meta-line,
body .shb-meta-line .shb-meta-label { text-decoration: none !important; }
@media (max-width: 767px) {
    body .shb-results .shb-home-card .shb-home-image-link { width: 100%; flex-basis: 100%; }
}


/* v1.8.1 – date field: hide the native dd/mm/yyyy text (and its focus highlight) while empty */
body .shb-search .shb-field-dates.is-empty input[type="date"] { opacity: 0 !important; }
body .shb-search .shb-field-dates.is-empty input[type="date"]::-webkit-datetime-edit { color: transparent !important; }
body .shb-search .shb-field-dates.is-empty input[type="date"]::-webkit-datetime-edit-fields-wrapper { color: transparent !important; }

/* v1.8.1 – upload previews */
.shb-upload.has-file .shb-upload-icon,
.shb-upload.has-file .shb-upload-label,
.shb-upload.has-file .shb-upload-hint { display: none; }
.shb-upload.has-file { padding: 20px !important; }
.shb-upload-preview,
.shb-upload-current {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    pointer-events: none;
}
.shb-upload-current {
    margin: 12px 0 0 !important;
    padding: 12px 14px;
    border: 1px solid #e6e9f0;
    border-radius: 16px;
    background: #f7f8fb;
    pointer-events: auto;
}
.shb-upload-preview img,
.shb-upload-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #e6e9f0;
    background: #fff;
    flex: 0 0 auto;
}
.shb-upload-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #062c57;
    color: #fff;
    font: 700 13px/1 Outfit, sans-serif;
    flex: 0 0 auto;
}
.shb-upload-meta { display: grid; gap: 2px; min-width: 0; }
.shb-upload-meta strong {
    font: 500 15px/1.3 Outfit, sans-serif;
    color: #17203a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.shb-upload-meta small { font-size: 13px; color: #6b7690; }
.shb-upload.is-invalid { border-color: #d0342c !important; }
.shb-upload.is-invalid .shb-upload-meta small { color: #d0342c; }

.shb-signature-pad-wrap { position: relative; }
.shb-signature-upload-preview {
    position: absolute;
    inset: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    object-fit: contain;
    background: #f7f8fb;
    border-radius: 12px;
}

/* =========================================================================
   v1.8.2 – Booking confirmation page (matches the booking-flow design)
   ========================================================================= */
.shb-confirm {
    display: grid;
    gap: 28px;
    font-family: Outfit, sans-serif;
    color: #17203a;
    max-width: 100%;
    margin: 0 0 60px;
}
.shb-confirm .shb-breadcrumb { margin: 10px 0 0; }
.shb-confirm-hero {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px 36px;
    border-radius: 24px;
    background: #f3f5ff;
    border: 1px solid #e6e9f5;
}
.shb-confirm-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    flex: 0 0 auto;
    color: #fff;
    background: #067647;
    box-shadow: 0 0 0 8px rgba(6, 118, 71, .12);
}
.shb-confirm-pending .shb-confirm-icon { background: #ec7425; box-shadow: 0 0 0 8px rgba(236, 116, 37, .15); }
.shb-confirm-error .shb-confirm-icon { background: #d0342c; box-shadow: 0 0 0 8px rgba(208, 52, 44, .12); }
body .shb-confirm-hero h2 {
    margin: 0 0 6px !important;
    font-size: 44px !important;
    line-height: 1.15 !important;
    font-weight: 500 !important;
    color: #111 !important;
}
.shb-confirm-hero p { margin: 0 0 6px; font-size: 18px; color: #414141; max-width: 760px; }
.shb-confirm-hero .shb-confirm-ref { font-size: 15px; color: #5b6478; margin: 8px 0 0; }
.shb-confirm-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.shb-confirm .shb-application-section h3 { margin: 0 0 18px; }
.shb-confirm-home {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    margin: 0 0 18px;
    border-radius: 18px;
    background: #f7f8fb;
}
.shb-confirm-home img.shb-confirm-home-img {
    width: 96px !important;
    height: 72px !important;
    object-fit: cover;
    border-radius: 12px;
    flex: 0 0 auto;
}
.shb-confirm-home strong { display: block; font-size: 20px; font-weight: 500; }
.shb-confirm-home span { display: block; font-size: 14px; color: #5b6478; }
.shb-confirm .shb-summary-list { margin-bottom: 16px; }
.shb-confirm .shb-summary-list dt { font-size: 16px; color: #414141; }
.shb-confirm .shb-summary-list dd { font-size: 16px; font-weight: 500; }
.shb-confirm-weeks dd { display: grid; gap: 2px; justify-items: end; }
.shb-status-pill {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    background: #dcfae6;
    color: #067647;
}
.shb-status-pending { background: #ffead5; color: #b54708; }
.shb-status-error { background: #fee4e2; color: #b42318; }
.shb-confirm .shb-summary-total span:first-child { font-size: 18px; font-weight: 500; }
.shb-confirm-next .shb-next-steps { margin: 0 0 18px; }
.shb-confirm-payinfo {
    margin: 0 0 18px;
    padding: 16px;
    border-radius: 16px;
    background: #fff8f1;
    border: 1px solid #fbd9bf;
    font-size: 14px;
}
.shb-confirm-payinfo h2, .shb-confirm-payinfo h3 { font-size: 18px !important; margin: 0 0 8px !important; }
.shb-confirm-payinfo ul { margin: 0; padding-left: 18px; }
.shb-confirm-help { margin: 0; font-size: 15px; color: #5b6478; }
.shb-confirm-help a { color: #062c57; font-weight: 600; }
body .shb-confirm .shb-flow-actions > .shb-button,
body .shb-confirm .shb-flow-actions > .shb-secondary {
    margin: 0 !important;
    width: auto !important;
    min-height: 46px !important;
    padding: 10px 24px !important;
    border-radius: 999px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
}
.shb-confirm-error .shb-confirm-grid { grid-template-columns: minmax(0, 640px); }
@media (max-width: 900px) {
    .shb-confirm-grid { grid-template-columns: 1fr; }
    .shb-confirm-hero { flex-direction: column; align-items: flex-start; padding: 24px; }
    body .shb-confirm-hero h2 { font-size: 32px !important; }
}
body .shb-confirm .shb-payment-total strong,
body .shb-confirm .shb-payment-total strong .woocommerce-Price-amount,
body .shb-confirm .shb-payment-total strong .woocommerce-Price-currencySymbol {
    font-size: 34px !important;
    font-weight: 600 !important;
    color: #062c57 !important;
    line-height: 1.1 !important;
}

/* =========================================================================
   v1.11 – Agreement PDF viewer (agreement step)
   ========================================================================= */
body .shb-disclosure.has-pdf {
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}
.shb-pdf-viewer {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
    font-family: Outfit, sans-serif;
}
/* Rendered pages must never widen the layout (grid items default to min-width: auto). */
.shb-application-section > .shb-disclosure.has-pdf,
.shb-pdf-viewer > *,
.shb-pdf-pages,
.shb-pdf-page { min-width: 0; max-width: 100%; }
.shb-pdf-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.shb-pdf-pageinfo {
    font-size: 15px;
    color: #5b6478;
}
body .shb-pdf-viewer a.shb-pdf-open {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid #d9dce3;
    background: #fff;
    color: #062c57;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}
body .shb-pdf-viewer a.shb-pdf-open:hover { border-color: #062c57; }
.shb-pdf-open small { color: #5b6478; font-weight: 400; }
.shb-pdf-scroll {
    height: 78vh;
    min-height: 420px;
    max-height: 860px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px;
    border: 1px solid #e2e6ef;
    border-radius: 20px;
    background: #eef1f6;
}
.shb-pdf-scroll:focus-visible { outline: 2px solid #062c57; outline-offset: 2px; }
.shb-pdf-page {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 16px;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(6, 44, 87, .10);
}
.shb-pdf-page:last-child { margin-bottom: 0; }
.shb-pdf-page canvas { display: block; width: 100%; max-width: 100%; height: auto; }
.shb-pdf-status {
    margin: 0;
    padding: 40px 20px;
    text-align: center;
    color: #5b6478;
    font-size: 15px;
}
.shb-pdf-status.shb-pdf-error { color: #b42318; }
body .shb-disclosure.has-pdf .shb-pdf-progress {
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 500;
    color: #b54708;
}
body .shb-disclosure.has-pdf .shb-pdf-progress.is-done { color: #067647; }

/* Signing stays locked until the guest has scrolled to the end of the PDF. */
.shb-agreement-locked .shb-agreement-gated {
    opacity: .45;
    pointer-events: none;
    user-select: none;
}
.shb-agreement-lock-note {
    margin: 0 !important;
    padding: 12px 16px;
    border-radius: 12px;
    background: #fff8f1;
    border: 1px solid #fbd9bf;
    color: #8a4b00;
    font-size: 15px;
}
.shb-agreement-submit:disabled { opacity: .5; cursor: not-allowed; }

@media (max-width: 767px) {
    .shb-pdf-scroll {
        height: 65vh;
        padding: 8px;
        border-radius: 14px;
    }
    .shb-pdf-page { margin-bottom: 8px; }
    body .shb-pdf-viewer a.shb-pdf-open { width: 100%; justify-content: center; }
}
