.cl-tnt-booking-widget {
    display: grid;
    gap: 12px;
    max-width: 520px;
    padding: 16px;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    background: #ffffff;
}

.cl-tnt-transaction {
    display: grid;
    gap: 22px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.cl-tnt-transaction-header {
    display: grid;
    gap: 14px;
    align-self: start;
}

.cl-tnt-transaction-image {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    border-radius: 6px;
    background: transparent;
}

.cl-tnt-transaction-image[hidden],
.cl-tnt-transaction-image.is-missing {
    display: none;
}

.cl-tnt-transaction-heading {
    display: grid;
    gap: 6px;
}

.cl-tnt-transaction-heading h1,
.cl-tnt-transaction-description,
.cl-tnt-transaction-description p,
.cl-tnt-transaction-description ul,
.cl-tnt-transaction-description ol {
    margin: 0;
}

.cl-tnt-transaction-heading h1 {
    color: #202020;
    font-size: 28px;
    line-height: 1.15;
}

.cl-tnt-transaction-description {
    color: #3d3d3d;
    font-size: 15px;
    line-height: 1.5;
}

.cl-tnt-transaction-description {
    display: grid;
    gap: 8px;
}

.cl-tnt-transaction-description ul,
.cl-tnt-transaction-description ol {
    padding-left: 20px;
}

.cl-tnt-transaction-error {
    display: grid;
    grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    max-width: 720px;
    padding: 18px;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    background: #ffffff;
}

.cl-tnt-transaction-error-visual {
    min-height: 120px;
    border-radius: 6px;
    border: 1px solid #d6e8d9;
    background: #f2f7f3;
}

.cl-tnt-transaction-error-copy {
    display: grid;
    gap: 8px;
}

.cl-tnt-transaction-error-copy h1,
.cl-tnt-transaction-error-copy p {
    margin: 0;
}

.cl-tnt-transaction-error-copy h1 {
    color: #202020;
    font-size: 24px;
    line-height: 1.2;
}

.cl-tnt-transaction-error-copy p {
    color: #3d3d3d;
    font-size: 15px;
    line-height: 1.5;
}

.cl-tnt-transaction-error-copy a {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 40px;
    box-sizing: border-box;
    padding: 0 14px;
    border-radius: 6px;
    background: #166534;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.cl-tnt-booking-fields {
    display: grid;
    grid-template-columns: minmax(104px, 0.85fr) minmax(122px, 1fr) minmax(122px, 1fr);
    column-gap: 16px;
    row-gap: 8px;
    align-items: end;
}

.cl-tnt-booking-mode-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    box-sizing: border-box;
    padding: 4px 10px;
    border: 1px solid #b45309;
    border-radius: 6px;
    background: #fff7ed;
    color: #7c2d12;
    font-size: 13px;
    font-weight: 700;
}

.cl-tnt-booking-debug {
    margin: 0;
    padding: 8px 10px;
    border: 1px dashed #8a8a8a;
    border-radius: 6px;
    background: #f7f7f7;
    color: #333333;
    font-size: 12px;
    line-height: 1.4;
}

.cl-tnt-booking-field {
    display: grid;
    grid-template-rows: auto 40px;
    gap: 5px;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
}

.cl-tnt-booking-field input,
.cl-tnt-booking-field select {
    width: 100%;
    height: 40px;
    min-height: 40px;
    box-sizing: border-box;
    padding: 0 10px;
    border: 1px solid #b8b8b8;
    border-radius: 6px;
    background: #ffffff;
    color: #202020;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 38px;
}

.cl-tnt-date-summary {
    display: none;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 40px;
    min-height: 40px;
    box-sizing: border-box;
    padding: 0 10px;
    border: 1px solid #b8b8b8;
    border-radius: 6px;
    background: #ffffff;
    color: #202020;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 38px;
    white-space: nowrap;
    text-align: left;
}

.cl-tnt-date-summary:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.cl-tnt-booking-widget.is-calendar-mode .cl-tnt-date-summary {
    display: flex;
}

.cl-tnt-booking-widget.is-calendar-mode .cl-tnt-date-select {
    display: none;
}

.cl-tnt-booking-widget.is-date-list-mode .cl-tnt-date-summary {
    display: none;
}

.cl-tnt-booking-widget.is-date-list-mode .cl-tnt-date-select {
    display: block;
}

.cl-tnt-guest-stepper {
    display: grid;
    grid-template-columns: 34px minmax(34px, 1fr) 34px;
    width: 100%;
    height: 40px;
    min-height: 40px;
}

.cl-tnt-guest-stepper input {
    min-width: 0;
    padding: 0;
    border-radius: 0;
    text-align: center;
    border-left: 0;
    border-right: 0;
}

.cl-tnt-guest-stepper button {
    width: 34px;
    min-width: 0;
    height: 40px;
    min-height: 40px;
    box-sizing: border-box;
    padding: 0;
    border: 1px solid #b8b8b8;
    background: #f7f7f7;
    color: #202020;
    cursor: pointer;
    font: inherit;
    font-size: 18px;
    font-weight: 700;
}

.cl-tnt-guest-stepper button:first-child {
    border-radius: 6px 0 0 6px;
}

.cl-tnt-guest-stepper button:last-child {
    border-radius: 0 6px 6px 0;
}

.cl-tnt-booking-hint {
    grid-column: 1 / -1;
    min-height: 16px;
    color: #5f5f5f;
    font-size: 12px;
    font-weight: 400;
}

.cl-tnt-booking-hint.is-error {
    color: #b42318;
}

.cl-tnt-booking-action {
    min-height: 44px;
    border: 0;
    border-radius: 6px;
    background: #166534;
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.cl-tnt-booking-action:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.cl-tnt-booking-status {
    min-height: 20px;
    margin: 0;
    color: #3d3d3d;
    font-size: 14px;
}

.cl-tnt-booking-assistance {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid #b42318;
    border-radius: 6px;
    background: #fff8f6;
}

.cl-tnt-checkout-finalization {
    width: min(760px, calc(100% - 32px));
    margin: 12px auto 0;
}

.cl-tnt-checkout-finalization > p {
    margin: 0 0 10px;
    font-weight: 700;
}

.cl-tnt-booking-assistance[hidden],
.cl-tnt-booking-assistance [hidden] {
    display: none;
}

.cl-tnt-booking-assistance p {
    margin: 0;
}

.cl-tnt-booking-assistance-actions {
    display: flex;
    gap: 8px;
}

.cl-tnt-booking-assistance form {
    display: grid;
    gap: 10px;
}

.cl-tnt-booking-assistance label {
    display: grid;
    gap: 4px;
    font-weight: 600;
}

.cl-tnt-booking-assistance input,
.cl-tnt-booking-assistance select {
    width: 100%;
    min-height: 40px;
}

.cl-tnt-booking-honeypot {
    position: absolute;
    left: -10000px;
}

.cl-tnt-booking-timer {
    margin: -4px 0 0;
    color: #6b3d00;
    font-size: 14px;
    font-weight: 700;
}

.cl-tnt-calendar {
    display: grid;
    gap: 8px;
    padding: 10px 8px;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    background: #f8fafc;
}

.cl-tnt-calendar[hidden] {
    display: none;
}

.cl-tnt-calendar-header {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    align-items: center;
    gap: 6px;
    min-height: 32px;
}

.cl-tnt-calendar-header span {
    min-width: 0;
    color: #202020;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.cl-tnt-calendar-header button,
.cl-tnt-calendar-toggle {
    min-width: 0;
    min-height: 32px;
    box-sizing: border-box;
    padding: 0;
    border: 1px solid #b8b8b8;
    border-radius: 6px;
    background: #ffffff;
    color: #202020;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    line-height: 1;
}

.cl-tnt-calendar-header button {
    width: 32px;
}

.cl-tnt-calendar-header button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.cl-tnt-calendar-weekdays,
.cl-tnt-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
}

.cl-tnt-calendar-weekdays span {
    min-width: 0;
    color: #5f5f5f;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.cl-tnt-calendar-empty,
.cl-tnt-calendar-day {
    min-width: 0;
    min-height: 42px;
    box-sizing: border-box;
}

.cl-tnt-calendar-day {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 1px;
    padding: 3px;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    background: #ffffff;
    color: #202020;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
}

.cl-tnt-calendar-day:disabled {
    border-color: #e5e7eb;
    background: #f1f3f5;
    color: #9ca3af;
    cursor: not-allowed;
}

.cl-tnt-calendar-day.is-available {
    border-color: #86b98c;
    background: #effaf0;
}

.cl-tnt-calendar-day.is-selected {
    border-color: #166534;
    background: #166534;
    color: #ffffff;
}

.cl-tnt-calendar-count {
    min-height: 12px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
}

.cl-tnt-calendar-toggle {
    width: fit-content;
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
}

.cl-tnt-checkout-hold-timer {
    box-sizing: border-box;
    justify-content: center;
    margin: 0;
    color: #6b3d00;
    font-size: 15px;
    font-weight: 700;
    text-align: right;
}

.cl-tnt-checkout-hold-timer.is-error {
    color: #b42318;
}

.cl-tnt-checkout-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    box-sizing: border-box;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #c9c2b7;
    border-radius: 6px;
    background: #ffffff;
    color: #24364a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.cl-tnt-checkout-back:hover,
.cl-tnt-checkout-back:focus {
    border-color: #8aa37f;
    color: #1f5131;
}

body.cl-tnt-surecart-checkout .cl-tnt-checkout-back {
    width: fit-content;
}

body.cl-tnt-surecart-checkout .cl-tnt-checkout-reservation-panel {
    display: grid;
    grid-template-columns: auto minmax(220px, 1fr) auto;
    align-items: center;
    gap: 16px;
    width: min(100%, 764px);
    max-width: 764px;
    box-sizing: border-box;
    margin: 24px auto 14px;
    padding: 14px 16px;
    border: 1px solid #d6d0c5;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(32, 32, 32, 0.04);
}

body.cl-tnt-surecart-checkout .cl-tnt-checkout-reservation-info {
    display: grid;
    gap: 3px;
    min-width: 0;
    color: #24364a;
    font-size: 14px;
    line-height: 1.35;
}

body.cl-tnt-surecart-checkout .cl-tnt-checkout-reservation-info span {
    color: #5f5f5f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

body.cl-tnt-surecart-checkout .cl-tnt-checkout-reservation-info strong {
    font-size: 15px;
    font-weight: 700;
}

body.cl-tnt-surecart-checkout .cl-tnt-checkout-hold-timer,
body.cl-tnt-surecart-checkout .cl-tnt-checkout-back {
    display: flex;
}

body.cl-tnt-surecart-checkout .entry-content > sc-checkout,
body.cl-tnt-surecart-checkout .entry-content > .wp-block-surecart-checkout,
body.cl-tnt-surecart-checkout .entry-content > .surecart-checkout,
body.cl-tnt-surecart-checkout .entry-content > [class*="surecart"][class*="checkout"],
body.cl-tnt-surecart-checkout main sc-checkout,
body.cl-tnt-surecart-checkout main .wp-block-surecart-checkout,
body.cl-tnt-surecart-checkout main .surecart-checkout {
    display: block;
    width: min(100%, 980px);
    box-sizing: border-box;
    margin: 0 auto 48px;
    overflow: hidden;
    border: 1px solid #d6d0c5;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(32, 32, 32, 0.06);
}

body.cl-tnt-surecart-checkout [class*="payment" i] [role="tablist"],
body.cl-tnt-surecart-checkout [class*="payment" i] [class*="tabs" i],
body.cl-tnt-surecart-checkout sc-payment-method-selector {
    width: 100%;
    min-width: 220px;
}

body.cl-tnt-surecart-checkout [class*="payment" i] [role="tab"],
body.cl-tnt-surecart-checkout [class*="payment" i] button {
    min-width: 64px;
}

body.cl-tnt-surecart-checkout [class*="summary" i] [class*="quantity" i],
body.cl-tnt-surecart-checkout [class*="summary" i] [class*="line-item-quantity" i],
body.cl-tnt-surecart-checkout sc-quantity-select,
body.cl-tnt-surecart-checkout [class*="summary" i] sc-quantity-selector,
body.cl-tnt-surecart-checkout [class*="summary" i] sc-quantity-select,
body.cl-tnt-surecart-checkout [class*="summary" i] button[aria-label*="increase" i],
body.cl-tnt-surecart-checkout [class*="summary" i] button[aria-label*="decrease" i],
body.cl-tnt-surecart-checkout [class*="summary" i] button[aria-label*="remove" i],
body.cl-tnt-surecart-checkout [class*="summary" i] a[aria-label*="remove" i],
body.cl-tnt-surecart-checkout [class*="summary" i] [class*="remove" i] {
    display: none !important;
}

body.cl-tnt-surecart-checkout .cl-tnt-summary-control-hidden {
    display: none !important;
}

body.cl-tnt-surecart-checkout sc-quantity-select::part(quantity),
body.cl-tnt-surecart-checkout sc-quantity-select::part(quantity__minus),
body.cl-tnt-surecart-checkout sc-quantity-select::part(quantity__minus-icon),
body.cl-tnt-surecart-checkout sc-quantity-select::part(quantity__plus),
body.cl-tnt-surecart-checkout sc-quantity-select::part(quantity__plus-icon),
body.cl-tnt-surecart-checkout sc-quantity-select::part(quantity__input),
body.cl-tnt-surecart-checkout sc-quantity-selector::part(quantity),
body.cl-tnt-surecart-checkout sc-quantity-selector::part(quantity__minus),
body.cl-tnt-surecart-checkout sc-quantity-selector::part(quantity__plus),
body.cl-tnt-surecart-checkout sc-quantity-selector::part(quantity__input) {
    display: none !important;
}

@media (max-width: 720px) {
    body.cl-tnt-surecart-checkout .cl-tnt-checkout-reservation-panel {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    body.cl-tnt-surecart-checkout .cl-tnt-checkout-hold-timer {
        justify-content: flex-start;
        text-align: left;
    }
}

.cl-tnt-booking-status.is-error,
.cl-tnt-booking-error {
    color: #b42318;
}

@media (max-width: 620px) {
    .cl-tnt-transaction-error {
        grid-template-columns: 1fr;
    }

    .cl-tnt-transaction-error-visual {
        min-height: 92px;
    }

    .cl-tnt-booking-fields {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 860px) {
    .cl-tnt-transaction {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
        align-items: start;
    }

    .cl-tnt-transaction-header {
        grid-column: 1;
    }

    .cl-tnt-transaction > .cl-tnt-booking-widget {
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        max-width: none;
    }
}
