.page-template-template-checkout .footer-newsletter{
	display:none;
}
.page-template-template-checkout .main-nav{
	display:none;
}
.th-checkout {
    max-width: 1500px;
    margin: 0 auto;
    padding: 125px 2.5% 75px;
    color: #16343d;
}
main#main.th-checkout.container{
	max-width:1500px !important;
}
.th-checkout-title {
    font-size: clamp(27px, 3vw, 38px);
    margin: 0 0 30px;
}

/* Checkout layout */

.th-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(280px, 1fr);
    gap: 38px;
    align-items: start;
}

.th-checkout-main {
    display: grid;
    gap: 22px;
    min-width: 0;
}

/* Panels */

.th-panel {
    background: #fff;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 8px 45px rgba(22, 52, 61, .07);
}

.th-panel h2 {
    font-size: 22px;
    line-height: 1.25;
    margin: 0 0 24px;
}

.th-panel h3 {
    font-size: 17px;
    margin: 0 0 18px;
}

.th-panel h3 small {
    font-size: 12px;
    font-weight: 400;
    margin-left: 8px;
}

/* Form fields */

.th-fields {
    display: grid;
    gap: 10px;
}

.th-fields.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.th-fields.traveller {
    grid-template-columns: 90px 1fr 1fr 1.2fr;
}

.th-fields label,
.th-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .025em;
    text-transform: uppercase;
    display: grid;
    gap: 8px;
}

.th-fields input,
.th-fields select,
.th-panel textarea {
    width: 100%;
    min-width: 0;
    background: #f4f5f6;
    border: 1px solid transparent;
    border-radius: 5px;
    padding: 13px 11px;
    color: #16343d;
    font: inherit;
    font-size: 14px;
    box-sizing: border-box;
}

.th-fields input:focus,
.th-fields select:focus,
.th-panel textarea:focus {
    outline: 2px solid #d76c39;
    outline-offset: 1px;
}

.th-panel textarea {
    resize: vertical;
    margin-top: 10px;
}

/* Travellers */

.th-traveller + .th-traveller {
    border-top: 1px solid #dce2e4;
    margin-top: 24px;
    padding-top: 24px;
}

/* Booking summary */

.th-summary {
    position: sticky;
    top: 24px;
}

.th-summary-inner {
    padding: 0;
    overflow: hidden;
}

.th-summary-image {
    display: block;
    width: 100%;
    height: 235px;
    object-fit: cover;
}

.th-summary-body {
    padding: 25px;
}

.th-summary-body h2 {
    margin: 0 0 7px;
    font-size: 22px;
}

.th-destination {
    color: #66757b;
    font-size: 13px;
    margin: 0 0 20px;
}

.th-summary dl {
    margin: 0;
}

.th-summary dl div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 0;
    padding: 9px 0;
    font-size: 13px;
}

.th-summary dt {
    color: #5a7077;
}

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

.th-total {
    border-top: 1px solid #cbd5d9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    padding-top: 20px;
    font-size: 21px;
    font-weight: 700;
}

/* Payment methods */

.th-methods {
    display: grid;
    gap: 10px;
}

.th-method {
    border: 1px solid #dce2e4;
    padding: 14px 16px;
    border-radius: 8px;
    display: flex;
    gap: 12px;
    align-items: center;
    cursor: pointer;

    transition: border-color .15s ease, box-shadow .15s ease;
}

/*
 * Vanemteema annab kõigile input-elementidele width: 100% ja
 * min-height: 52px. Raadionupu ja märkeruudu puhul teeb see
 * hiiglasliku ringi, mis surub sildi rea lõppu. Taastame
 * brauseri mõõdud ainult checkouti sees.
 */
.th-checkout input[type="radio"],
.th-checkout input[type="checkbox"] {
    width: 18px;
    min-width: 18px;
    height: 18px;
    min-height: 0;

    margin: 0;
    padding: 0;

    border-radius: 0;

    accent-color: var(--th-color-accent, #da723a);

    flex: 0 0 auto;
}

.th-method-logo {
    width: auto;
    height: 24px;
    max-width: 72px;

    object-fit: contain;

    flex: 0 0 auto;
}

.th-method-label {
    margin-right: auto;
}

.th-method:hover {
    border-color: #b8c7cd;
}

/*
 * Valitud makseviis. :has toetus puudub vanemates brauserites -
 * siis jääb lihtsalt tavaline ääris, mitte katki.
 */
.th-method:has(input:checked) {
    border-color: var(--th-color-accent, #da723a);
    box-shadow: 0 0 0 1px var(--th-color-accent, #da723a);
}

.th-method:focus-within {
    border-color: var(--th-color-accent, #da723a);
}

/* Terms and submit */

.th-terms {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 25px;
    font-size: 13px;
}

.th-terms input {
    margin-top: 2px;
}

.th-submit {
    width: 100%;
    border: 0;
    border-radius: 6px;
    background: #d86d3b;
    color: #fff;
    padding: 21px 16px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
}

.th-submit:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* Additional text and notices */

.th-small {
    font-size: 12px;
    text-align: center;
    color: #63747a;
    margin: 0;
}

.th-notice {
    background: #fff4eb;
    border-radius: 6px;
    padding: 14px;
    font-size: 14px;
}

/* Tablet */

@media (max-width: 980px) {

    .th-checkout-grid {
        grid-template-columns: 1fr;
    }

    .th-summary {
        position: static;
        grid-row: 1;
    }

    .th-fields.four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */

@media (max-width: 600px) {

    .th-checkout {
        padding: 28px 15px 50px;
    }

    .th-panel {
        padding: 20px;
    }

    .th-fields.four,
    .th-fields.traveller {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .th-summary-image {
        height: 180px;
    }
}
