.beeben-orders,
.beeben-orders * {
    box-sizing: border-box;
    letter-spacing: 0;
}

.beeben-orders {
    color: #222222;
    background: #f7f7fb;
    font-family: 'Open Sans', sans-serif;
}

.beeben-orders h1,
.beeben-orders h2,
.beeben-orders h3,
.beeben-orders p {
    margin-top: 0;
}

.orders-hero {
    min-height: 310px;
    padding: 145px 0 58px;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-color: #f4f2ff;
    background-image: url('../img/banner.png');
    background-position: center bottom;
    background-size: cover;
}

.orders-hero::after {
    content: '';
    position: absolute;
    width: 170px;
    height: 170px;
    right: 7%;
    top: 92px;
    border: 1px solid rgba(28, 0, 175, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.orders-hero .container {
    position: relative;
    z-index: 1;
}

.orders-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
    color: #77758a;
    font-size: 13px;
}

.orders-breadcrumbs a {
    color: #222222;
    font-weight: 600;
}

.orders-breadcrumbs a:hover,
.orders-breadcrumbs i {
    color: #1c00af;
}

.orders-hero-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.orders-hero-copy {
    min-width: 0;
}

.orders-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #1c00af;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.orders-hero h1 {
    margin-bottom: 10px;
    color: #222222;
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 600;
    line-height: 1.2;
}

.orders-hero-copy > p {
    max-width: 650px;
    margin-bottom: 14px;
    color: #6e6d79;
    font-size: 15px;
    line-height: 1.7;
}

.orders-reference {
    color: #77758a;
    font-size: 12px;
}

.orders-reference strong {
    margin-left: 6px;
    color: #222222;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.orders-merchant {
    width: 220px;
    min-height: 86px;
    padding: 14px 18px;
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    border: 1px solid rgba(28, 0, 175, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 30px rgba(28, 0, 175, 0.06);
}

.orders-merchant span {
    margin-bottom: 8px;
    color: #8a8897;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.orders-merchant img {
    display: block;
    max-width: 180px;
    max-height: 42px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.orders-content {
    padding: 72px 0 100px;
}

.orders-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(350px, 0.75fr);
    gap: 24px;
    align-items: start;
}

.orders-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.orders-panel {
    padding: 28px;
    border: 1px solid #ebeaf2;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(24, 0, 152, 0.05);
}

.orders-panel-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #efedf5;
}

.orders-panel-icon {
    width: 42px;
    height: 42px;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #ffffff;
    background: linear-gradient(142deg, #1c00af 0%, #0e0058 100%);
    font-size: 16px;
}

.orders-step {
    display: block;
    margin-bottom: 3px;
    color: #77758a;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.orders-panel h2,
.orders-summary h2 {
    margin: 0;
    color: #222222;
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
}

.orders-contact-value {
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-radius: 8px;
    background: #f8f8fb;
}

.orders-contact-value span,
.orders-field span {
    color: #858392;
    font-size: 11px;
    font-weight: 600;
}

.orders-contact-value strong,
.orders-field strong {
    color: #2e2d35;
    font-size: 13px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.orders-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.orders-field {
    min-height: 72px;
    padding: 13px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    border: 1px solid #efedf5;
    border-radius: 8px;
    background: #fbfbfd;
}

.orders-field-wide {
    grid-column: 1 / -1;
}

.orders-summary {
    position: sticky;
    top: 24px;
    padding: 0;
    overflow: hidden;
}

.orders-summary-head {
    min-height: 82px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid #efedf5;
}

.orders-item-count {
    padding: 6px 9px;
    flex: none;
    border-radius: 6px;
    color: #1c00af;
    background: #f1efff;
    font-size: 10px;
    font-weight: 700;
}

.orders-products {
    padding: 4px 24px;
}

.orders-product {
    padding: 18px 0;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 13px;
    position: relative;
    border-bottom: 1px solid #efedf5;
}

.orders-product-image {
    width: 58px;
    height: 58px;
    overflow: hidden;
    border: 1px solid #efedf5;
    border-radius: 8px;
    background: #f7f7fb;
}

.orders-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.orders-product-copy {
    min-width: 0;
    padding-right: 88px;
}

.orders-product-copy h3 {
    margin-bottom: 5px;
    color: #2d2c34;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}

.orders-product-copy p {
    margin-bottom: 4px;
    color: #1c00af;
    font-size: 10px;
    font-weight: 700;
}

.orders-product-copy span {
    display: block;
    color: #8a8897;
    font-size: 9px;
    line-height: 1.55;
}

.orders-product-total {
    position: absolute;
    top: 20px;
    right: 0;
    color: #2d2c34;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 600;
}

.orders-totals {
    padding: 18px 24px 0;
}

.orders-totals > div {
    padding: 8px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #797785;
    font-size: 12px;
}

.orders-totals strong {
    color: #2d2c34;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.orders-totals .orders-grand-total {
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px solid #dfddea;
    color: #222222;
    font-weight: 700;
}

.orders-grand-total strong {
    color: #1c00af;
    font-size: 21px;
}

.orders-payment-form {
    padding: 20px 24px 0;
}

.orders-payment-form label {
    display: block;
    margin-bottom: 8px;
    color: #5f5d69;
    font-size: 11px;
    font-weight: 600;
}

.beeben-orders .orders-payment-form input[type='text'] {
    width: 100%;
    height: 46px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #dfddea;
    border-radius: 8px;
    outline: none;
    color: #2d2c34;
    background: #fbfbfd;
    font-size: 12px;
}

.beeben-orders .orders-payment-form input[type='text']:focus {
    border-color: #1c00af;
    box-shadow: 0 0 0 3px rgba(28, 0, 175, 0.08);
}

.orders-pay-button {
    width: 100%;
    min-height: 50px;
    margin-top: 14px;
    padding: 0 17px;
    display: grid;
    grid-template-columns: 20px 1fr 20px;
    align-items: center;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    background: linear-gradient(142deg, #1c00af 0%, #0e0058 100%);
    box-shadow: 0 12px 25px rgba(28, 0, 175, 0.2);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.orders-pay-button:hover {
    color: #ffffff;
    background: linear-gradient(142deg, #0e0058 0%, #1c00af 100%);
    box-shadow: 0 15px 30px rgba(28, 0, 175, 0.25);
    transform: translateY(-1px);
}

.orders-security-note {
    margin: 14px 24px 24px;
    color: #8a8897;
    font-size: 9px;
    line-height: 1.6;
    text-align: center;
}

.orders-security-note i {
    margin-right: 5px;
    color: #1c00af;
}

.orders-status-hero {
    min-height: 270px;
    padding-bottom: 45px;
}

.orders-status-hero h1 {
    margin: 0;
}

.orders-status-content {
    padding: 70px 0 100px;
}

.orders-status-card {
    width: min(680px, 100%);
    margin: 0 auto;
    padding: 48px;
    border: 1px solid #ebeaf2;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(24, 0, 152, 0.07);
    text-align: center;
}

.orders-status-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(142deg, #1c00af 0%, #0e0058 100%);
    box-shadow: 0 10px 25px rgba(28, 0, 175, 0.18);
    font-size: 23px;
}

.orders-status-label {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 11px;
    border-radius: 6px;
    color: #1c00af;
    background: #f1efff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.orders-status-card h2 {
    margin-bottom: 12px;
    color: #222222;
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.35;
}

.orders-status-card > p {
    max-width: 520px;
    margin: 0 auto 28px;
    color: #77758a;
    font-size: 14px;
    line-height: 1.75;
}

.orders-status-meta {
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid #efedf5;
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
}

.orders-status-meta > div {
    min-width: 0;
    padding: 17px 20px;
    background: #fbfbfd;
}

.orders-status-meta > div + div {
    border-left: 1px solid #efedf5;
}

.orders-status-meta dt {
    margin-bottom: 6px;
    color: #858392;
    font-size: 10px;
    font-weight: 600;
}

.orders-status-meta dd {
    margin: 0;
    color: #2d2c34;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.orders-status-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.orders-primary-link,
.orders-secondary-link {
    min-height: 46px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.orders-primary-link {
    color: #ffffff;
    background: linear-gradient(142deg, #1c00af 0%, #0e0058 100%);
}

.orders-primary-link:hover {
    color: #ffffff;
    background: linear-gradient(142deg, #0e0058 0%, #1c00af 100%);
}

.orders-secondary-link {
    border: 1px solid #dfddea;
    color: #4e4c59;
    background: #ffffff;
}

.orders-secondary-link:hover {
    border-color: #1c00af;
    color: #1c00af;
}

.orders-error-icon {
    color: #a53232;
    background: #fff0f0;
    box-shadow: none;
}

.orders-error-label {
    color: #a53232;
    background: #fff0f0;
}

@media (max-width: 991.98px) {
    .orders-layout {
        grid-template-columns: 1fr;
    }

    .orders-summary {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .orders-hero {
        min-height: 270px;
        padding: 118px 0 42px;
    }

    .orders-hero::after {
        display: none;
    }

    .orders-hero-row {
        display: block;
    }

    .orders-hero h1 {
        font-size: 32px;
    }

    .orders-merchant {
        width: 100%;
        min-height: 68px;
        margin-top: 22px;
        align-items: flex-start;
    }

    .orders-content,
    .orders-status-content {
        padding: 45px 0 70px;
    }

    .orders-panel,
    .orders-status-card {
        padding: 22px;
    }

    .orders-summary {
        padding: 0;
    }

    .orders-info-grid,
    .orders-status-meta {
        grid-template-columns: 1fr;
    }

    .orders-field-wide {
        grid-column: auto;
    }

    .orders-status-meta > div + div {
        border-top: 1px solid #efedf5;
        border-left: 0;
    }

    .orders-status-card h2 {
        font-size: 24px;
    }
}

@media (max-width: 430px) {
    .orders-breadcrumbs {
        margin-bottom: 16px;
        font-size: 11px;
    }

    .orders-panel-head {
        align-items: flex-start;
    }

    .orders-contact-value {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .orders-summary-head,
    .orders-products,
    .orders-totals,
    .orders-payment-form {
        padding-right: 18px;
        padding-left: 18px;
    }

    .orders-product-copy {
        padding-right: 0;
    }

    .orders-product-total {
        position: static;
        grid-column: 2;
        margin-top: -5px;
    }

    .orders-security-note {
        margin-right: 18px;
        margin-left: 18px;
    }

    .orders-status-actions,
    .orders-primary-link,
    .orders-secondary-link {
        width: 100%;
    }
}
