/* BanguiStore v0.1.31.22-r2 — actions client et calcul produit dynamique */

.orders-panel .order-line {
    grid-template-columns: 40px minmax(0, 1fr) max-content max-content max-content;
}

.orders-panel .order-line > .portal-primary {
    width: max-content !important;
    max-width: 100%;
    min-height: 34px;
    gap: 7px;
    padding-inline: 12px;
    white-space: nowrap;
    line-height: 1.2;
}

.product-offer__price[data-product-pricing] > [data-product-total-price] {
    min-width: 0;
    font-variant-numeric: tabular-nums;
    transition: color .15s ease;
}

.product-offer__calculation {
    flex: 1 0 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
    padding: 8px 10px;
    border: 1px solid #e2e4e8;
    border-radius: 7px;
    background: #f6f7f8;
    color: #626873;
    font-size: .72rem;
    line-height: 1.35;
}

.product-offer__calculation span {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap;
}

.product-offer__calculation small {
    font: inherit;
}

.product-offer__calculation small::after {
    content: ":";
}

.product-offer__calculation b {
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #20242b;
    font-size: .78rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    box-shadow: none;
}

.product-offer__calculation i {
    color: #8a6900;
    font-size: .9rem;
    font-style: normal;
    font-weight: 900;
}

.product-offer__calculation .is-total {
    padding: 3px 6px;
    border-radius: 5px;
    background: #fff0b3;
}

html.dark .product-offer__calculation {
    border-color: #444851;
    background: #292c32;
    color: #c6cad2;
}

html.dark .product-offer__calculation b {
    color: #fff;
}

html.dark .product-offer__calculation .is-total {
    background: #51420c;
}

@media (max-width: 1100px) {
    .orders-panel .order-line {
        grid-template-columns: 40px minmax(0, 1fr) max-content max-content;
    }

    .orders-panel .order-line > .portal-primary {
        grid-column: 2 / -1;
        justify-self: end;
        margin-bottom: 8px;
    }
}

@media (max-width: 640px) {
    .orders-panel .order-line {
        grid-template-columns: 36px minmax(0, 1fr) max-content;
    }

    .orders-panel .order-line > .portal-primary {
        grid-column: 1 / -1;
        justify-self: stretch;
        width: 100% !important;
        min-height: 42px;
        margin: 0 0 9px;
        white-space: normal;
        text-align: center;
    }

    .product-offer__calculation {
        gap: 5px;
        padding: 8px;
        font-size: .68rem;
    }

    .product-offer__calculation b {
        font-size: .74rem;
    }
}
