.fw-ca-mixmatch {
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 16px;
    margin: 18px 0;
    background: #fff;
}

.fw-ca-mixmatch-title {
    margin: 0 0 12px;
}

.fw-ca-mixmatch-tier-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.fw-ca-mixmatch-current-tier {
    font-weight: 600;
}

.fw-ca-mixmatch-tiers-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.fw-ca-mixmatch-tier-pill {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.92em;
}

.fw-ca-mixmatch-tier-pill.is-active {
    border-color: currentColor;
    font-weight: 700;
}

.fw-ca-mixmatch-grid {
    display: grid;
    gap: 8px;
}

.fw-ca-mixmatch-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
}

.fw-ca-mixmatch-row.is-disabled {
    opacity: 0.55;
}

.fw-ca-mixmatch-row-main {
    min-width: 0;
}

.fw-ca-mixmatch-label {
    display: block;
}

.fw-ca-mixmatch-sku,
.fw-ca-mixmatch-stock {
    display: inline-block;
    margin-right: 8px;
    font-size: 0.88em;
    opacity: 0.76;
}

.fw-ca-mixmatch-qty-wrap {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.fw-ca-mixmatch-qty-wrap button {
    min-width: 32px;
    min-height: 32px;
    line-height: 1;
    padding: 0;
}

.fw-ca-mixmatch-qty {
    width: 58px;
    text-align: center;
}

.fw-ca-mixmatch-error {
    margin: 10px 0;
    font-weight: 600;
}

.fw-ca-mixmatch-add:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

@media (max-width: 540px) {
    .fw-ca-mixmatch-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .fw-ca-mixmatch-qty-wrap {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }
}
