.order-page {
    max-width: 1700px;
    margin: 0 auto;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 25px;
    margin-bottom: 20px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #9da7b3;
    text-decoration: none;
}

.back-link:hover {
    color: #ffffff;
}

.order-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.order-title-row h1 {
    margin: 0;
    font-size: 30px;
}

.order-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 12px;
    color: #9da7b3;
    font-size: 13px;
}

.order-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.order-status-large {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    padding: 5px 12px;
    border-radius: 20px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.order-waiting-payment {
    background: #dc2626;
}

.order-new {
    background: #f59e0b;
    color: #111827;
}

.order-waiting-product {
    background: #0284c7;
}

.order-picking {
    background: #7c3aed;
}

.order-ready {
    background: #0891b2;
}

.order-shipped {
    background: #16a34a;
}

.order-cancelled {
    background: #64748b;
}

.order-value {
    min-width: 220px;
    padding: 17px 20px;
    background: #242a31;
    border: 1px solid #363e47;
    border-radius: 9px;
    text-align: right;
}

.order-value > span {
    display: block;
    color: #9da7b3;
    font-size: 12px;
    text-transform: uppercase;
}

.order-value > strong {
    display: block;
    margin: 5px 0;
    color: #4ade80;
    font-size: 28px;
}

.order-value small {
    display: block;
}

.paid-label {
    color: #86efac;
}

.unpaid-label {
    color: #fbbf24;
}

.order-notice {
    margin-bottom: 15px;
    padding: 12px 15px;
    border-radius: 7px;
    font-weight: 700;
}

.order-notice.success {
    color: #86efac;
    background: rgba(34, 197, 94, .15);
    border: 1px solid rgba(34, 197, 94, .45);
}

.order-notice.error {
    color: #fca5a5;
    background: rgba(239, 68, 68, .15);
    border: 1px solid rgba(239, 68, 68, .45);
}

.shipment-card .button {
    justify-content: center;
    width: 100%;
    margin-top: 7px;
}

.shipment-ready {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #86efac;
    font-weight: 800;
}

.shipment-form {
    max-width: 980px;
}

.shipment-products-card {
    margin-bottom: 16px;
    padding: 18px 22px;
    background:
        linear-gradient(
            135deg,
            rgba(37, 99, 235, .10),
            rgba(15, 23, 42, 0) 48%
        ),
        #242a31;
    border-color: rgba(96, 165, 250, .32);
}

.shipment-products-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.shipment-products-heading h2 {
    margin: 0;
    color: #dbeafe;
}

.shipment-products-heading h2 i {
    margin-right: 7px;
    color: #60a5fa;
}

.shipment-products-heading > strong {
    flex: 0 0 auto;
    padding: 6px 10px;
    color: #bbf7d0;
    background: rgba(34, 197, 94, .14);
    border: 1px solid rgba(74, 222, 128, .38);
    border-radius: 6px;
    font-size: 13px;
}

.shipment-product-list {
    overflow: hidden;
    border: 1px solid #3a434d;
    border-radius: 7px;
}

.shipment-product-row {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    align-items: center;
    min-height: 52px;
    background: rgba(24, 31, 40, .94);
    transition:
        background .15s ease,
        border-color .15s ease;
}

.shipment-product-row:nth-child(even) {
    background: rgba(29, 39, 50, .94);
}

.shipment-product-row:hover {
    background: rgba(37, 99, 235, .10);
}

.shipment-product-row + .shipment-product-row {
    border-top: 1px solid #3a434d;
}

.shipment-product-quantity {
    align-self: stretch;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 10px;
    color: #bbf7d0;
    background:
        linear-gradient(
            135deg,
            rgba(34, 197, 94, .18),
            rgba(15, 118, 110, .08)
        ),
        #263039;
    border-right: 1px solid rgba(74, 222, 128, .25);
    font-size: 20px;
    font-weight: 900;
}

.shipment-product-quantity small {
    color: #86efac;
    font-size: 11px;
}

.shipment-product-info {
    min-width: 0;
    padding: 10px 14px;
}

.shipment-product-info strong {
    display: block;
    color: #f8fafc;
    line-height: 1.3;
}

.shipment-product-info span {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 6px;
    color: #a5f3fc;
    background: rgba(6, 182, 212, .10);
    border: 1px solid rgba(34, 211, 238, .22);
    border-radius: 4px;
    font-size: 11px;
}

.shipment-products-empty {
    margin: 0;
    padding: 16px;
    color: #9da7b3;
}

.shipment-drawer[hidden] {
    display: none;
}

.shipment-drawer {
    position: fixed;
    inset: 0;
    z-index: 1200;
}

.shipment-drawer-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    background: rgba(4, 8, 13, .70);
    border: 0;
    cursor: pointer;
    backdrop-filter: blur(2px);
}

.shipment-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    width: min(920px, 96vw);
    height: 100%;
    background: #171b20;
    border-left: 1px solid #3d4855;
    box-shadow: -18px 0 55px rgba(0, 0, 0, .48);
    animation: shipment-drawer-in .18s ease-out;
}

.shipment-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 0 0 auto;
    min-height: 76px;
    padding: 13px 18px;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, .18), transparent),
        #222831;
    border-bottom: 1px solid #3d4855;
}

.shipment-drawer-header span {
    color: #93c5fd;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.shipment-drawer-header h2 {
    margin: 3px 0 0;
    font-size: 21px;
}

.shipment-drawer-close {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: #dbe4ee;
    background: #303945;
    border: 1px solid #4a5664;
    border-radius: 7px;
    cursor: pointer;
    font-size: 18px;
}

.shipment-drawer-close:hover {
    color: #fff;
    background: #3a4654;
}

.shipment-drawer-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
    color: #bfdbfe;
    font-weight: 700;
}

.shipment-drawer-loading[hidden] {
    display: none;
}

#shipment-drawer-frame {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    background: #171b20;
    border: 0;
}

body.shipment-drawer-open {
    overflow: hidden;
}

@keyframes shipment-drawer-in {
    from {
        transform: translateX(28px);
        opacity: .72;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.shipment-embed {
    min-width: 0;
    overflow-x: hidden;
    background: #171b20;
}

.shipment-embed main {
    width: 100%;
}

.shipment-embed .order-page {
    width: 100%;
    max-width: none;
    padding: 18px;
}

.shipment-embed .order-header {
    display: none;
}

.shipment-embed .shipment-form,
.shipment-embed .shipment-success-card {
    max-width: none;
}

.shipment-embed .shipment-products-card,
.shipment-embed .shipment-details-card {
    margin-bottom: 14px;
}

.shipment-embed .shipment-fields {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.shipment-embed .shipment-label-text {
    grid-column: 1 / -1;
}

@media (max-width: 780px) {
    .shipment-embed .shipment-fields {
        grid-template-columns: repeat(2, minmax(130px, 1fr));
    }
}

@media (max-width: 520px) {
    .shipment-drawer-panel {
        width: 100%;
    }

    .shipment-embed .shipment-fields {
        grid-template-columns: 1fr;
    }

    .shipment-embed .shipment-label-text {
        grid-column: auto;
    }
}

.shipment-details-card {
    padding: 22px;
}

.shipment-package-block {
    overflow: hidden;
    margin-top: 12px;
    background: #1d2228;
    border: 1px solid #3a434d;
    border-radius: 8px;
}

.shipment-package-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 40px;
    padding: 7px 11px;
    color: #bfdbfe;
    background:
        linear-gradient(90deg, rgba(37, 99, 235, .16), transparent),
        #28303a;
    border-bottom: 1px solid #3a434d;
}

.shipment-package-remove {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    color: #fecaca;
    background: rgba(239, 68, 68, .10);
    border: 1px solid rgba(248, 113, 113, .30);
    border-radius: 5px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
}

.shipment-package-remove[hidden] {
    display: none;
}

.shipment-package-block .shipment-fields {
    padding: 12px;
}

.shipment-add-package {
    margin-top: 11px;
}

.shipment-add-package:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.shipment-common-label {
    margin-top: 15px;
}

.shipment-common-label .shipment-label-text {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 700;
}

.shipment-common-label input {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    color: #fff;
    background: #171b20;
    border: 1px solid #46505c;
    border-radius: 6px;
}

.shipment-common-label small {
    display: block;
    margin-top: 5px;
    color: #93c5fd;
    font-size: 11px;
}

.shipment-hint {
    margin: 0 0 20px;
    color: #cbd5e1;
    line-height: 1.55;
}

.shipment-fields {
    display: grid;
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    gap: 14px;
}

.shipment-fields label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 700;
}

.shipment-fields input,
.shipment-fields select {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    color: #fff;
    background: #171b20;
    border: 1px solid #46505c;
    border-radius: 6px;
}

.measurement-input {
    display: flex;
    align-items: center;
    background: #171b20;
    border: 1px solid #46505c;
    border-radius: 6px;
}

.measurement-input input {
    border: 0;
}

.measurement-input span {
    padding-right: 10px;
    color: #94a3b8;
}

.shipment-label-text {
    grid-column: 1 / -1;
}

.shipment-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}

.shipment-success-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    max-width: 980px;
    padding: 24px;
    background: rgba(34, 197, 94, .12);
    border: 1px solid rgba(34, 197, 94, .45);
    border-radius: 9px;
}

.shipment-success-card h2 {
    margin: 0 0 8px;
    color: #86efac;
}

.shipment-success-card p {
    margin: 0;
}

.shipment-success-multiple {
    margin-bottom: 16px;
}

.shipment-success-actions {
    flex: 0 0 auto;
}

.shipment-history-card {
    max-width: 980px;
    padding: 20px 22px;
}

.shipment-history-card h2 {
    margin: 0 0 13px;
}

.shipment-history-list {
    overflow: hidden;
    border: 1px solid #3a434d;
    border-radius: 7px;
}

.shipment-history-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 11px 13px;
    background: #1d2228;
}

.shipment-history-row + .shipment-history-row {
    border-top: 1px solid #3a434d;
}

.shipment-history-row > div {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
}

.shipment-history-row span {
    color: #bfdbfe;
    font-weight: 800;
}

.shipment-history-row small {
    color: #94a3b8;
}

.shipment-new-notice {
    max-width: 980px;
    color: #bfdbfe;
    background: rgba(37, 99, 235, .12);
    border: 1px solid rgba(96, 165, 250, .30);
}

.order-shipment-history {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid #3a434d;
}

.order-shipment-history a {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #bfdbfe;
    font-size: 12px;
    text-decoration: none;
}

.order-shipment-history a:hover {
    color: #fff;
}

.order-progress-panel {
    margin-bottom: 18px;
    padding: 17px 19px;
    background: #242a31;
    border: 1px solid #363e47;
    border-radius: 9px;
}

.progress-description {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.progress-description div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-description span {
    color: #9da7b3;
    font-size: 13px;
}

.progress-track {
    height: 10px;
    overflow: hidden;
    background: #171b20;
    border-radius: 20px;
}

.progress-value {
    height: 100%;
    background: #22c55e;
    border-radius: 20px;
    transition: width .25s ease;
}

.order-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 18px;
    align-items: start;
}

@media (max-width: 1050px) {
    .shipment-fields {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }
}

@media (max-width: 620px) {
    .shipment-fields {
        grid-template-columns: 1fr;
    }

    .shipment-label-text {
        grid-column: auto;
    }

    .shipment-success-card {
        align-items: stretch;
        flex-direction: column;
    }

    .shipment-history-row {
        align-items: stretch;
        flex-direction: column;
    }
}

.order-main {
    min-width: 0;
    padding: 18px;
    background: #242a31;
    border: 1px solid #363e47;
    border-radius: 9px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.section-heading h2 {
    margin: 0 0 3px;
    font-size: 20px;
}

.section-heading span {
    color: #9da7b3;
    font-size: 13px;
}

.small-action {
    padding: 8px 11px;
    color: #ffffff;
    background: #303740;
    border: 1px solid #46505c;
    border-radius: 6px;
    cursor: pointer;
}

.small-action:hover {
    background: #3a444f;
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-card {
    display: grid;
    grid-template-columns: 34px 64px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    padding: 13px;
    background: #1d2228;
    border: 1px solid #363e47;
    border-radius: 8px;
    cursor: pointer;
}

.product-card:hover {
    border-color: #64748b;
    background: #20262d;
}

.product-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.custom-check {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    border: 2px solid #64748b;
    border-radius: 5px;
}

.product-check input:checked + .custom-check {
    background: #22c55e;
    border-color: #22c55e;
}

.product-check input:checked + .custom-check::after {
    content: "✓";
    color: #07140b;
    font-size: 17px;
    font-weight: 900;
}

.product-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    background: #2b323a;
    border-radius: 7px;
    color: #9da7b3;
    font-size: 25px;
    text-decoration: none;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #ffffff;
}

.product-name-link {
    color: #f5f7fa;
    text-decoration: none;
}

.product-name-link:hover {
    color: #60a5fa;
    text-decoration: underline;
}

.product-offer-link,
.allegro-offer-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #bfdbfe;
    border: 1px solid rgba(96, 165, 250, .35);
    background: rgba(59, 130, 246, .12);
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}

.product-offer-link {
    padding: 5px 9px;
    border-radius: 5px;
}

.product-offer-link:hover,
.allegro-offer-button:hover {
    color: #ffffff;
    border-color: #60a5fa;
    background: rgba(59, 130, 246, .28);
}

.product-content {
    min-width: 0;
}

.product-main-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.product-main-row h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
}

.product-codes {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
    color: #9da7b3;
    font-size: 12px;
}

.product-codes strong {
    color: #dce2e8;
}

.product-quantity {
    min-width: 70px;
    text-align: right;
}

.product-quantity strong {
    display: block;
    font-size: 24px;
}

.product-quantity span {
    color: #9da7b3;
    font-size: 12px;
}

.product-bottom-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 11px;
}

.location-badge,
.location-missing,
.completed-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 800;
}

.location-badge {
    color: #bae6fd;
    background: rgba(2, 132, 199, .25);
    border: 1px solid rgba(56, 189, 248, .4);
}

.location-missing {
    color: #fca5a5;
    background: rgba(239, 68, 68, .16);
}

.completed-badge {
    color: #86efac;
    background: rgba(34, 197, 94, .15);
}

.products-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #363e47;
}

.save-picking {
    gap: 8px;
}

.order-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-card {
    overflow: hidden;
    background: #242a31;
    border: 1px solid #363e47;
    border-radius: 9px;
}

.detail-card h2 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 13px 15px;
    background: #2b323a;
    border-bottom: 1px solid #363e47;
    font-size: 14px;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 15px;
    color: #cbd2d9;
    font-size: 13px;
}

.detail-content a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7dd3fc;
    text-decoration: none;
}

.detail-main-value {
    color: #ffffff;
    font-size: 15px;
}

.detail-content.address {
    line-height: 1.45;
}

.invoice-required {
    color: #86efac;
    font-weight: 800;
}

.invoice-data {
    margin-top: 14px;
    overflow: hidden;
    border: 1px solid #3b4652;
    border-radius: 7px;
}

.invoice-data-row {
    display: grid;
    grid-template-columns: 95px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 11px;
    border-bottom: 1px solid #363e47;
}

.invoice-data-row:last-child {
    border-bottom: 0;
}

.invoice-data-row > span {
    color: #9da7b3;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.invoice-data-row > strong {
    overflow-wrap: anywhere;
    color: #ffffff;
    line-height: 1.45;
}

.invoice-data-row.tax-id {
    background: rgba(59, 130, 246, .1);
}

.invoice-data-row.tax-id > strong {
    color: #93c5fd;
    font-size: 15px;
    letter-spacing: .03em;
}

.invoice-data-missing {
    margin: 12px 0 0;
    color: #fbbf24;
    font-size: 12px;
    line-height: 1.45;
}

.buyer-message {
    padding: 15px;
    color: #fde68a;
    background: rgba(245, 158, 11, .09);
    line-height: 1.55;
    font-size: 13px;
}

.status-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
}

.status-form select {
    width: 100%;
    min-height: 42px;
    padding: 8px 10px;
    color: #ffffff;
    background: #171b20;
    border: 1px solid #46505c;
    border-radius: 6px;
}

.empty-products {
    padding: 35px;
    color: #9da7b3;
    text-align: center;
}

.payment-breakdown-panel {
    margin-bottom: 20px;
    overflow: hidden;
    background: #242a31;
    border: 1px solid #363e47;
    border-radius: 9px;
}

.payment-breakdown-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    border-bottom: 1px solid #363e47;
}

.payment-breakdown-heading h2 {
    margin: 3px 0 0;
    font-size: 17px;
}

.payment-breakdown-heading > i {
    color: #60a5fa;
    font-size: 22px;
}

.panel-eyebrow {
    color: #9da7b3;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.payment-breakdown-items {
    padding: 4px 20px;
}

.payment-breakdown-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.payment-breakdown-row:last-child {
    border-bottom: 0;
}

.payment-breakdown-row > div {
    min-width: 0;
}

.payment-breakdown-row > div > strong,
.payment-breakdown-row > div > small {
    display: block;
}

.payment-breakdown-row > div > strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.payment-product-row {
    display: grid;
    grid-template-columns: minmax(300px, 1.5fr) minmax(190px, .7fr) auto;
}

.payment-product-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-product-info > div {
    min-width: 0;
}

.payment-product-thumb {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 48px;
    height: 48px;
    border-radius: 7px;
    background: #2b323a;
    color: #9da7b3;
    text-decoration: none;
}

.payment-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #ffffff;
}

.payment-product-name {
    display: block;
    overflow: hidden;
    color: #f5f7fa;
    font-weight: 800;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.payment-product-name:hover {
    color: #60a5fa;
    text-decoration: underline;
}

.allegro-offer-button {
    justify-self: start;
    padding: 8px 11px;
    border-radius: 6px;
}

.payment-breakdown-row small {
    margin-top: 4px;
    color: #9da7b3;
    font-size: 12px;
}

.vat-rate-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 7px;
    padding: 2px 6px;
    color: #bfdbfe;
    background: rgba(59, 130, 246, .14);
    border: 1px solid rgba(96, 165, 250, .32);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .02em;
    vertical-align: 1px;
}

.payment-breakdown-row > strong {
    flex: 0 0 auto;
    white-space: nowrap;
}

.payment-breakdown-row.adjustment > strong {
    color: #fbbf24;
}

@media (max-width: 900px) {
    .payment-product-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .payment-product-row .allegro-offer-button {
        grid-column: 1;
    }
}

.payment-breakdown-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 20px;
    background: #1b2026;
    border-top: 1px solid #363e47;
}

.payment-breakdown-total span {
    font-weight: 800;
}

.payment-breakdown-total strong {
    color: #4ade80;
    font-size: 20px;
}

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

    .order-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .order-header {
        align-items: stretch;
        flex-direction: column;
    }

    .order-value {
        width: 100%;
        text-align: left;
    }

    .order-sidebar {
        display: flex;
    }

    .product-card {
        grid-template-columns: 30px 48px minmax(0, 1fr);
    }

    .product-image {
        width: 48px;
        height: 48px;
    }

    .product-main-row {
        flex-direction: column;
    }

    .product-quantity {
        text-align: left;
    }

    .product-quantity strong,
    .product-quantity span {
        display: inline;
    }

    .products-footer {
        flex-direction: column;
    }

    .payment-breakdown-row {
        align-items: flex-start;
    }
}
