html body.gg-native-theme .gg-order-confirmation {
    padding: 22px 0 72px;
}

/* The legacy desktop rail becomes a fixed 1720px at 1200px. Keep the order
 * confirmation responsive at laptop widths while preserving the 1920px rail. */
@media (min-width: 1200px) {
	html body.page-id-52012.gg-native-theme .gg-site-header > .gg-container,
	html body.page-id-52012.gg-native-theme .gg-site-footer > .gg-container,
	html body.page-id-52012.gg-native-theme .gg-page:not(.gg-home-page):not(.gg-page--builder-content) > .gg-container {
		width: min(1720px, calc(100% - 48px)) !important;
		max-width: 1720px !important;
		margin-right: auto !important;
        margin-left: auto !important;
    }
}

html body.gg-native-theme .gg-thankyou {
    color: #24334d;
}

html body.gg-native-theme .gg-thankyou__hero {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    min-height: 190px;
    padding: 38px 44px;
    border-top: 4px solid #77afe8;
    background: #162d57;
    color: #fff;
}

html body.gg-native-theme .gg-thankyou__success-icon,
html body.gg-native-theme .gg-thankyou__notice-icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border: 1px solid rgba(255, 255, 255, .55);
    color: #77afe8;
}

html body.gg-native-theme .gg-thankyou__success-icon svg {
    width: 34px;
    height: 34px;
}

html body.gg-native-theme .gg-thankyou__hero-copy h1 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(30px, 2.15vw, 42px);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: 0;
}

html body.gg-native-theme .gg-thankyou__hero-copy p {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, .76);
    font-size: 16px;
    line-height: 1.55;
}

html body.gg-native-theme .gg-thankyou__order-number {
    min-width: 220px;
    padding-left: 30px;
    border-left: 1px solid rgba(255, 255, 255, .28);
}

html body.gg-native-theme .gg-thankyou__order-number span,
html body.gg-native-theme .gg-thankyou__order-number strong {
    display: block;
}

html body.gg-native-theme .gg-thankyou__order-number span {
    margin-bottom: 7px;
    color: rgba(255, 255, 255, .66);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

html body.gg-native-theme .gg-thankyou__order-number strong {
    color: #fff;
    font-size: 30px;
    line-height: 1;
}

html body.gg-native-theme .gg-thankyou__meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    border: 1px solid #d9dee7;
    border-top: 0;
    background: #fff;
}

html body.gg-native-theme .gg-thankyou__meta > div {
    min-width: 0;
    padding: 22px 26px;
    border-right: 1px solid #d9dee7;
}

html body.gg-native-theme .gg-thankyou__meta > div:last-child {
    border-right: 0;
}

html body.gg-native-theme .gg-thankyou__meta dt {
    margin-bottom: 6px;
    color: #778196;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

html body.gg-native-theme .gg-thankyou__meta dd {
    overflow-wrap: anywhere;
    margin: 0;
    color: #162d57;
    font-size: 16px;
    font-weight: 700;
}

html body.gg-native-theme .gg-thankyou__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    align-items: start;
    gap: 34px;
    margin-top: 44px;
}

html body.gg-native-theme .gg-thankyou__details {
    min-width: 0;
}

html body.gg-native-theme .gg-thankyou__details .woocommerce-order-details,
html body.gg-native-theme .gg-thankyou__details .woocommerce-customer-details,
html body.gg-native-theme .gg-thankyou-bank {
    margin: 0 0 34px;
}

html body.gg-native-theme .gg-thankyou__details h2,
html body.gg-native-theme .gg-thankyou__next h2,
html body.gg-native-theme .gg-thankyou-bank h2 {
    margin: 0 0 18px;
    color: #162d57;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
}

html body.gg-native-theme .gg-thankyou__details table {
    width: 100%;
    margin: 0;
    border: 1px solid #d9dee7;
    border-collapse: collapse;
    background: #fff;
}

html body.gg-native-theme .gg-thankyou__details table th,
html body.gg-native-theme .gg-thankyou__details table td {
    padding: 17px 20px;
    border: 0;
    border-bottom: 1px solid #d9dee7;
    color: #24334d;
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
    vertical-align: middle;
}

html body.gg-native-theme .gg-thankyou__details table thead th {
    background: #162d57;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

html body.gg-native-theme .gg-thankyou__details table th:last-child,
html body.gg-native-theme .gg-thankyou__details table td:last-child {
    text-align: right;
}

html body.gg-native-theme .gg-thankyou__details table tr:last-child th,
html body.gg-native-theme .gg-thankyou__details table tr:last-child td {
    border-bottom: 0;
}

html body.gg-native-theme .gg-thankyou__details table tfoot tr:last-child {
    background: #162d57;
}

html body.gg-native-theme .gg-thankyou__details table tfoot tr:last-child th,
html body.gg-native-theme .gg-thankyou__details table tfoot tr:last-child td {
    color: #fff;
    font-size: 16px;
}

html body.gg-native-theme .gg-thankyou__details .woocommerce-order-details table tfoot th {
    color: #fff;
}

html body.gg-native-theme .gg-thankyou__details .woocommerce-order-details tbody .product-quantity {
    color: #24334d;
}

html body.gg-native-theme .gg-thankyou__details address {
    flex: 1 1 auto;
    min-height: 0;
    padding: 22px;
    border: 1px solid #d9dee7;
    background: #fff;
    color: #48546a;
    font-style: normal;
    line-height: 1.7;
}

html body.gg-native-theme .gg-thankyou__details .woocommerce-columns--addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
}

html body.gg-native-theme .gg-thankyou__details .woocommerce-columns--addresses::before,
html body.gg-native-theme .gg-thankyou__details .woocommerce-columns--addresses::after {
    display: none;
    content: none;
}

html body.gg-native-theme .gg-thankyou__details .woocommerce-column {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: auto;
    max-width: none;
    float: none;
    padding: 0;
}

html body.gg-native-theme .gg-thankyou__next {
    padding: 28px;
    border: 1px solid #d9dee7;
    border-top: 4px solid #77afe8;
    background: #f7f9fc;
}

html body.gg-native-theme .gg-thankyou__next ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: thankyou-step;
}

html body.gg-native-theme .gg-thankyou__next li {
    position: relative;
    min-height: 54px;
    padding: 0 0 22px 48px;
    counter-increment: thankyou-step;
}

html body.gg-native-theme .gg-thankyou__next li::before {
    content: counter(thankyou-step);
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    background: #162d57;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

html body.gg-native-theme .gg-thankyou__next li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 36px;
    bottom: 4px;
    left: 15px;
    width: 1px;
    background: #cbd3df;
}

html body.gg-native-theme .gg-thankyou__next li strong,
html body.gg-native-theme .gg-thankyou__next li span {
    display: block;
}

html body.gg-native-theme .gg-thankyou__next li strong {
    margin-bottom: 4px;
    color: #162d57;
    font-size: 15px;
}

html body.gg-native-theme .gg-thankyou__next li span {
    color: #667085;
    font-size: 13px;
    line-height: 1.5;
}

html body.gg-native-theme .gg-thankyou__next-actions {
    display: grid;
    gap: 10px;
    margin-top: 8px;
}

html body.gg-native-theme .gg-thankyou .gg-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 22px;
    border: 1px solid #162d57;
    border-radius: 0;
    font-weight: 700;
    text-decoration: none;
}

html body.gg-native-theme .gg-thankyou .gg-button--primary {
    background: linear-gradient(90deg, #162d57 0%, #77afe8 100%);
    color: #fff;
}

html body.gg-native-theme .gg-thankyou .gg-button--secondary {
    background: #fff;
    color: #162d57;
}

html body.gg-native-theme .gg-thankyou-bank {
    padding-top: 4px;
}

html body.gg-native-theme .gg-thankyou-bank__heading p {
    margin: -10px 0 18px;
    color: #667085;
    font-size: 14px;
}

html body.gg-native-theme .gg-thankyou-bank__accounts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

html body.gg-native-theme .gg-thankyou-bank__account {
    padding: 20px;
    border: 1px solid #d9dee7;
    border-top: 2px solid #77afe8;
    background: #f7f9fc;
}

html body.gg-native-theme .gg-thankyou-bank__account h3 {
    margin: 0 0 9px;
    color: #162d57;
    font-size: 16px;
}

html body.gg-native-theme .gg-thankyou-bank__account div {
    color: #536078;
    font-size: 13px;
    line-height: 1.65;
}

html body.gg-native-theme .gg-thankyou--invalid,
html body.gg-native-theme .gg-thankyou--failed {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 34px;
    border: 1px solid #d9dee7;
    border-top: 3px solid #77afe8;
    background: #f7f9fc;
}

html body.gg-native-theme .gg-thankyou--invalid .gg-thankyou__notice-icon,
html body.gg-native-theme .gg-thankyou--failed .gg-thankyou__notice-icon {
    width: 58px;
    height: 58px;
    border-color: #162d57;
    color: #162d57;
    font-size: 25px;
    font-weight: 700;
}

html body.gg-native-theme .gg-thankyou--invalid h1,
html body.gg-native-theme .gg-thankyou--failed h1 {
    margin: 0 0 6px;
    color: #162d57;
    font-size: 26px;
}

html body.gg-native-theme .gg-thankyou--invalid p,
html body.gg-native-theme .gg-thankyou--failed p {
    margin: 0;
    color: #667085;
}

html body.gg-native-theme .gg-thankyou__failed-actions {
    display: flex;
    gap: 10px;
}

@media (max-width: 980px) {
    html body.gg-native-theme .gg-thankyou__hero {
        grid-template-columns: 60px minmax(0, 1fr);
        padding: 32px;
    }

    html body.gg-native-theme .gg-thankyou__success-icon {
        width: 58px;
        height: 58px;
    }

    html body.gg-native-theme .gg-thankyou__order-number {
        grid-column: 2;
        min-width: 0;
        padding: 16px 0 0;
        border-top: 1px solid rgba(255, 255, 255, .28);
        border-left: 0;
    }

    html body.gg-native-theme .gg-thankyou__meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    html body.gg-native-theme .gg-thankyou__meta > div:nth-child(2) {
        border-right: 0;
    }

    html body.gg-native-theme .gg-thankyou__meta > div:nth-child(-n+2) {
        border-bottom: 1px solid #d9dee7;
    }

    html body.gg-native-theme .gg-thankyou__content {
        grid-template-columns: 1fr;
    }

    html body.gg-native-theme .gg-thankyou__next {
        max-width: none;
    }
}

@media (max-width: 640px) {
    html body.gg-native-theme .gg-order-confirmation {
        padding: 12px 0 44px;
    }

    html body.gg-native-theme .gg-thankyou__hero {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 26px 22px;
    }

    html body.gg-native-theme .gg-thankyou__hero-copy h1 {
        font-size: 28px;
    }

    html body.gg-native-theme .gg-thankyou__order-number {
        grid-column: auto;
    }

    html body.gg-native-theme .gg-thankyou__meta {
        grid-template-columns: 1fr;
    }

    html body.gg-native-theme .gg-thankyou__meta > div,
    html body.gg-native-theme .gg-thankyou__meta > div:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid #d9dee7;
    }

    html body.gg-native-theme .gg-thankyou__meta > div:last-child {
        border-bottom: 0;
    }

    html body.gg-native-theme .gg-thankyou__content {
        gap: 24px;
        margin-top: 30px;
    }

    html body.gg-native-theme .gg-thankyou__details table th,
    html body.gg-native-theme .gg-thankyou__details table td {
        padding: 13px 10px;
        font-size: 12px;
    }

    html body.gg-native-theme .gg-thankyou__details .woocommerce-columns--addresses,
    html body.gg-native-theme .gg-thankyou-bank__accounts {
        grid-template-columns: 1fr;
    }

    html body.gg-native-theme .gg-thankyou__next {
        padding: 22px;
    }

    html body.gg-native-theme .gg-thankyou--invalid,
    html body.gg-native-theme .gg-thankyou--failed {
        grid-template-columns: 1fr;
        padding: 26px 22px;
    }

    html body.gg-native-theme .gg-thankyou__failed-actions {
        display: grid;
    }
}
