/* PayPal checkout V2. This is the sole owner of the checkout page surface. */
html#mainLayout body.trav47-checkout-page #center #contentOuterContainer.trav47-checkout-window {
    /* Keep the desktop page in the original 600px content track.  The two
       sidebars are sized around that exact track; making checkout 620px wide
       forced the trailing sidebar onto a new row. */
    float: right !important;
    width: 600px !important;
    max-width: 600px !important;
    height: auto !important;
    min-height: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: none !important;
    background-image: none !important;
    box-shadow: none !important;
    filter: none !important;
    box-sizing: border-box !important;
    /* Do not create a local stacking context here.  The stock/resource HUD is
       a child of this container and must still be able to sit above the page
       chrome with its own z-index. */
    isolation: auto !important;
}

body.trav47-checkout-page #contentOuterContainer.trav47-checkout-window::before,
body.trav47-checkout-page #contentOuterContainer.trav47-checkout-window::after,
body.trav47-checkout-page #contentOuterContainer.trav47-checkout-window > .contentTitle::before,
body.trav47-checkout-page #contentOuterContainer.trav47-checkout-window > .contentTitle::after,
body.trav47-checkout-page #contentOuterContainer.trav47-checkout-window > .contentContainer::before,
body.trav47-checkout-page #contentOuterContainer.trav47-checkout-window > .contentContainer::after,
body.trav47-checkout-page #contentOuterContainer.trav47-checkout-window > .contentFooter::before,
body.trav47-checkout-page #contentOuterContainer.trav47-checkout-window > .contentFooter::after {
    content: none !important;
    display: none !important;
    background: none !important;
}

body.trav47-checkout-page #contentOuterContainer.trav47-checkout-window > .contentTitle {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 43px !important;
    min-height: 43px !important;
    margin: 0 !important;
    padding: 0 44px !important;
    overflow: hidden !important;
    border: 1px solid #5a402b !important;
    border-radius: 9px 9px 0 0 !important;
    color: #fff6df !important;
    background:
        linear-gradient(to bottom, rgba(255, 246, 217, .2), transparent 46%),
        linear-gradient(to bottom, #8d6c4c 0%, #6c4e35 55%, #4b3425 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -1px 0 rgba(35, 21, 12, .55) !important;
    box-sizing: border-box !important;
}

body.trav47-checkout-page .trav47CheckoutHeaderTitle {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    color: #fff6df !important;
    font: 700 15px/41px Tahoma, Arial, sans-serif !important;
    text-align: center !important;
    text-overflow: ellipsis !important;
    text-shadow: 0 1px 1px #352217 !important;
    white-space: nowrap !important;
}

body.trav47-checkout-page #contentOuterContainer.trav47-checkout-window > .contentTitle #closeContentButton {
    position: absolute !important;
    top: 10px !important;
    right: auto !important;
    left: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    min-width: 22px !important;
    height: 22px !important;
    min-height: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #304718 !important;
    border-radius: 4px !important;
    background: linear-gradient(#89b54b, #4e7824) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 1px 2px rgba(27, 18, 10, .45) !important;
    box-sizing: border-box !important;
}

body.trav47-checkout-page #contentOuterContainer.trav47-checkout-window > .contentTitle #closeContentButton::before,
body.trav47-checkout-page #contentOuterContainer.trav47-checkout-window > .contentTitle #closeContentButton::after {
    content: none !important;
    display: none !important;
}

body.trav47-checkout-page #contentOuterContainer.trav47-checkout-window > .contentTitle #closeContentButton svg {
    display: block !important;
    width: 11px !important;
    height: 11px !important;
    margin: 0 !important;
}

body.trav47-checkout-page #contentOuterContainer.trav47-checkout-window > .contentTitle #closeContentButton svg .outline {
    display: none !important;
}

body.trav47-checkout-page #contentOuterContainer.trav47-checkout-window > .contentTitle #closeContentButton svg .icon {
    fill: #fff !important;
}

body.trav47-checkout-page #contentOuterContainer.trav47-checkout-window > .contentContainer {
    position: relative !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-right: 2px solid #765d3f !important;
    border-left: 2px solid #765d3f !important;
    background:
        linear-gradient(rgba(250, 248, 238, .58), rgba(241, 239, 223, .64)),
        url("../../images/ui/paypal-checkout-panel-bg-v1.jpg") center / cover no-repeat !important;
    box-shadow: inset 1px 0 0 #d8c9a8, inset -1px 0 0 #d8c9a8 !important;
    box-sizing: border-box !important;
}

body.trav47-checkout-page #contentOuterContainer.trav47-checkout-window > .contentContainer > #content.trav47-checkout-content {
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 7px !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

body.trav47-checkout-page #contentOuterContainer.trav47-checkout-window > .contentFooter {
    position: static !important;
    inset: auto !important;
    float: none !important;
    clear: both !important;
    z-index: 2 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: 10px !important;
    min-height: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-right: 2px solid #765d3f !important;
    border-bottom: 2px solid #765d3f !important;
    border-left: 2px solid #765d3f !important;
    border-radius: 0 0 8px 8px !important;
    background: linear-gradient(to bottom, #dfcfaf 0%, #c7ae83 58%, #98794f 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .62), inset 0 -1px 0 rgba(78, 53, 31, .38) !important;
    font-size: 0 !important;
    line-height: 0 !important;
    box-sizing: border-box !important;
}

.trav47CheckoutV2 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    padding: 0;
    color: #394536;
    font-family: Tahoma, Arial, sans-serif;
    text-align: right;
    box-sizing: border-box;
}

.trav47CheckoutV2 *,
.trav47CheckoutV2 *::before,
.trav47CheckoutV2 *::after {
    box-sizing: border-box;
}

.trav47CheckoutV2__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 30px;
    padding: 0 4px;
}

.trav47CheckoutV2__back,
.trav47CheckoutV2__back:link,
.trav47CheckoutV2__back:visited {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    direction: rtl;
    color: #567d22;
    font-size: 12px;
    font-weight: 700;
    line-height: 28px;
    text-decoration: none;
}

.trav47CheckoutV2__back span {
    font: 700 20px/20px Arial, sans-serif;
    direction: ltr;
    unicode-bidi: isolate;
}

.trav47CheckoutV2__secure {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #657160;
    direction: ltr;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.trav47CheckoutV2__secureIcon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border: 1px solid #91ae68;
    border-radius: 50%;
    color: #537c22;
    background: #eef6e4;
}

.trav47CheckoutV2__summary {
    display: grid;
    grid-template-columns: minmax(118px, 34%) minmax(0, 1fr);
    min-height: 176px;
    overflow: hidden;
    border: 1px solid #aa9b75;
    border-radius: 8px;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .2)),
        url("../../images/ui/gold-package-card-bg-v3.jpg") center / cover no-repeat;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 2px 5px rgba(68, 55, 33, .15);
}

.trav47CheckoutV2__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
    border-left: 1px solid rgba(114, 91, 48, .28);
    background: radial-gradient(circle at 50% 48%, rgba(255, 238, 135, .62), rgba(255, 238, 135, 0) 62%);
}

.trav47CheckoutV2__glare {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 155px;
    max-width: 135%;
    height: 155px;
    max-height: 92%;
    object-fit: contain;
    opacity: .85;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.trav47CheckoutV2__packageImage {
    position: relative;
    z-index: 1;
    display: block;
    width: 118px;
    max-width: 82%;
    max-height: 138px;
    object-fit: contain;
    filter: drop-shadow(0 4px 4px rgba(54, 39, 13, .32));
}

.trav47CheckoutV2__delivery {
    position: absolute;
    z-index: 2;
    right: 50%;
    bottom: 7px;
    display: block;
    min-width: 46px;
    margin: 0;
    padding: 2px 8px 3px;
    border: 1px solid rgba(110, 130, 64, .42);
    border-radius: 10px;
    color: #4f701f;
    background: rgba(244, 249, 226, .78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78);
    font: 700 10px/14px Tahoma, Arial, sans-serif;
    text-align: center;
    transform: translateX(50%);
}

.trav47CheckoutV2__details {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 15px 14px 12px;
}

.trav47CheckoutV2__eyebrow {
    color: #7c765f;
    font-size: 10px;
    font-weight: 700;
    line-height: 15px;
}

.trav47CheckoutV2__details h2 {
    margin: 0 0 10px;
    padding: 0;
    overflow: hidden;
    color: #51402c;
    font: 700 18px/25px Tahoma, Arial, sans-serif;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.trav47CheckoutV2__totals {
    display: grid;
    gap: 6px;
    margin: auto 0 0;
}

.trav47CheckoutV2__totals > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    min-height: 34px;
    padding: 5px 9px;
    border: 1px solid rgba(128, 117, 83, .3);
    border-radius: 5px;
    background: rgba(255, 255, 255, .66);
}

.trav47CheckoutV2__totals dt {
    color: #677061;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.trav47CheckoutV2__totals dd {
    margin: 0;
}

.trav47CheckoutV2__goldAmount {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    min-width: 0;
    color: #9b6c0a;
    direction: ltr;
    font-size: 15px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.trav47CheckoutV2__goldAmount img {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.trav47CheckoutV2__price {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    color: #283c32;
    direction: ltr;
    font-size: 16px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.trav47CheckoutV2__currency {
    color: #6f8e39;
    font-size: 14px;
}

.trav47CheckoutV2__payment {
    padding: 10px;
    border: 1px solid #c0b99f;
    border-radius: 8px;
    background: rgba(255, 255, 255, .72);
    box-shadow: inset 0 1px 0 #fff;
}

.trav47CheckoutV2__paymentHeading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 8px;
}

.trav47CheckoutV2__paymentHeading h3 {
    margin: 0;
    padding: 0;
    color: #4c5546;
    font: 700 13px/20px Tahoma, Arial, sans-serif;
}

.trav47CheckoutV2__paymentHeading span {
    color: #1d4f91;
    font: italic 800 15px/20px Arial, sans-serif;
}

.trav47CheckoutV2__paypalButtons {
    width: 100%;
    max-width: 470px;
    min-height: 38px;
    margin: 0 auto;
    direction: ltr;
}

.trav47CheckoutV2__feedback {
    display: none;
    min-height: 0;
    margin: 0;
    padding: 0;
    color: #4e6351;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.trav47CheckoutV2__feedback.is-active {
    display: block;
    padding: 6px 8px;
    border: 1px solid #b8c5a4;
    border-radius: 5px;
    background: #f0f6e9;
}

.trav47CheckoutV2__feedback.is-success {
    color: #41681d;
    border-color: #9ebd74;
    background: #edf7e1;
}

.trav47CheckoutV2__feedback.is-error {
    color: #93453d;
    border-color: #d8aaa4;
    background: #fbecea;
}

.trav47CheckoutV2Notice {
    width: calc(100% - 12px);
    max-width: 560px;
    margin: 8px auto;
    padding: 12px 14px;
    direction: rtl;
    border: 1px solid #c5b58c;
    border-radius: 7px;
    color: #4f5949;
    background: #f5f4ea;
    font: 700 12px/20px Tahoma, Arial, sans-serif;
    text-align: center;
    box-sizing: border-box;
}

.trav47CheckoutV2Notice.is-error {
    color: #93453d;
    border-color: #d8aaa4;
    background: #fbecea;
}

/* The framed artwork contains its own thick side ornaments. Stretching it
   behind the compact desktop summary exposed those ornaments as repeated
   vertical lines. Desktop uses one clean surface; phones retain their layout. */
@media screen and (min-width: 1025px) {
    .trav47CheckoutV2__summary {
        background:
            radial-gradient(circle at 18% 48%, rgba(255, 235, 143, .38), transparent 34%),
            linear-gradient(135deg, #fbf9ef 0%, #eee6d2 58%, #ded0ae 100%) !important;
    }

    .trav47CheckoutV2__payment {
        align-self: center;
        width: 90%;
        margin-right: auto;
        margin-left: auto;
    }
}

@media screen and (max-width: 1024px) {
    html#mainLayout[data-trav47-layout="mobile"] body.trav47-checkout-page #center #contentOuterContainer.trav47-checkout-window {
        position: relative !important;
        top: 37px !important;
        display: flex !important;
        flex-direction: column !important;
        float: none !important;
        width: 100% !important;
        max-width: none !important;
        max-height: var(--trav47-checkout-max-height, calc(100dvh - 176px)) !important;
        margin: 0 !important;
        padding: 0 7px 12px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    html#mainLayout[data-trav47-layout="desktop"] body.trav47-checkout-page #center #contentOuterContainer.trav47-checkout-window {
        position: relative !important;
        top: 37px !important;
        display: flex !important;
        flex-direction: column !important;
        float: none !important;
        width: 100% !important;
        max-width: none !important;
        max-height: var(--trav47-checkout-max-height, calc(100dvh - 176px)) !important;
        margin: 0 !important;
        padding: 0 7px 12px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    body.trav47-checkout-page #contentOuterContainer.trav47-checkout-window > .contentTitle {
        flex: 0 0 43px !important;
    }

    body.trav47-checkout-page #contentOuterContainer.trav47-checkout-window > .contentContainer {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
    }

    body.trav47-checkout-page #contentOuterContainer.trav47-checkout-window > .contentContainer::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    body.trav47-checkout-page #contentOuterContainer.trav47-checkout-window > .contentFooter {
        flex: 0 0 10px !important;
    }

    body.trav47-checkout-page #contentOuterContainer.trav47-checkout-window > .contentContainer > #content.trav47-checkout-content {
        padding: 6px !important;
    }

    .trav47CheckoutV2 {
        gap: 6px;
        max-width: none;
    }

    .trav47CheckoutV2__toolbar {
        min-height: 27px;
    }

    .trav47CheckoutV2__summary {
        grid-template-columns: minmax(105px, 35%) minmax(0, 1fr);
        min-height: 164px;
    }

    .trav47CheckoutV2__details {
        padding: 11px 9px 9px;
    }

    .trav47CheckoutV2__details h2 {
        margin-bottom: 7px;
        font-size: 16px;
        line-height: 22px;
    }

    .trav47CheckoutV2__totals > div {
        min-height: 32px;
        padding: 4px 7px;
    }

    .trav47CheckoutV2__payment {
        padding: 8px;
    }
}

@media screen and (max-width: 360px) {
    .trav47CheckoutV2__summary {
        grid-template-columns: 102px minmax(0, 1fr);
    }

    .trav47CheckoutV2__packageImage {
        max-width: 88px;
    }

    .trav47CheckoutV2__details {
        padding-right: 7px;
        padding-left: 7px;
    }

    .trav47CheckoutV2__totals > div {
        padding-right: 5px;
        padding-left: 5px;
    }

    .trav47CheckoutV2__totals dt {
        font-size: 10px;
    }
}
