.panel-header-wrapper {
    background-color: #fff;
    padding: 24px 30px;
    color: #072653;
    border-top: 1px solid #e0e5e7;
}

@media (max-width: 650px) {
    .panel-header-wrapper {
        padding: 8px 16px;
    }

    .panel-header-wrapper:not(.sticky-disabled) {
        position: sticky;
        position: -webkit-sticky;
        top: var(--header-height);
        background: white;
        z-index: 1000;
        box-shadow: none;
    }

    .panel-header-wrapper.sticky-shadow {
        box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.1);
    }

    .panel-header-wrapper .payment-for-text {
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }
}

.panel-header-wrapper .info-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.panel-header-wrapper .info-value {
    display: none;
}

.panel-header-wrapper .back-to-shop {
    opacity: 0.7;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
    color: #000000;
    font-weight: 700;
    font-size: 12px;
    line-height: 18px;
}

.panel-header-wrapper .back-to-shop:hover {
    opacity: 0.9;
}

.panel-header-wrapper .back-to-shop i {
    margin-right: 5px;
    font-size: 10px;
    position: relative;
    top: -1px;
    color: #000000;
}

.panel-header-wrapper .back-to-shop-link {
    cursor: pointer;
    text-decoration: none;
    color: #000000;
    font-size: 12px;
}

.panel-header-wrapper .payment-for {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
    min-width: 0;
}

.panel-header-wrapper .payment-for-text {
    max-width: 100%;
    cursor: default;
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    overflow: hidden;
}

.panel-header-wrapper .payment-for-who-text {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 100%;
    cursor: default;
    font-weight: 400;
    line-height: 21px;
    font-size: 14px;
}

.payment-for-who__merchant-name {
    font-weight: 700;
}

.panel-header-wrapper .amount-info {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: end;
}

.panel-header-wrapper .amount-holder {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    align-self: flex-end;
}

.panel-header-wrapper .transaction-surcharge {
    text-align: right;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

.panel-header-wrapper .transaction-surcharge-amount-wrapper {
    display: block;
}

.panel-header-wrapper .transaction-surcharge-amount {
    font-weight: 700;
}

.panel-header-wrapper .transaction-surcharge-description {
    display: block;
}

@media (min-width: 551px) {
    .panel-header-wrapper .transaction-surcharge {
        font-size: 14px;
    }

    .panel-header-wrapper .transaction-surcharge-amount {
        font-size: 20px;
    }
}

.panel-header-wrapper .info-ico {
    height: 24px;
    width: 24px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.panel-header-wrapper .amount {
    white-space: nowrap;
    margin-left: 15px;
    font-size: 30px;
    line-height: 45px;
    font-weight: 700;
    margin-left: 7px;
}

.panel-header-wrapper .currency-name {
    font-size: 18px;
    line-height: 27px;
    font-weight: 700;
}

.panel-header-wrapper .info-ico img {
    color: #1b2257;
    height: 16px;
    width: 16px;
}

@media only screen and (max-width: 550px) {
    .panel-header-wrapper .amount {
        font-size: 20px;
        line-height: 1.5;
    }

    .panel-header-wrapper .payment-for-text {
        font-size: 16px;
    }
}
